myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hno...@apache.org
Subject [myfaces-tobago] branch master updated: Release version for docker-qunit-tests
Date Wed, 06 Jun 2018 09:58:17 GMT
This is an automated email from the ASF dual-hosted git repository.

hnoeth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/master by this push:
     new fa40e42  Release version for docker-qunit-tests
fa40e42 is described below

commit fa40e424585b9cf38556b3d88c539764dcc90989
Author: Henning Noeth <hnoeth@apache.org>
AuthorDate: Wed Jun 6 11:58:00 2018 +0200

    Release version for docker-qunit-tests
---
 .../java/org/apache/myfaces/tobago/example/demo/ApiController.java    | 4 ++++
 .../src/main/webapp/content/10-intro/70-faq/faq.xhtml                 | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/ApiController.java
b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/ApiController.java
index 23309ab..2188e1f 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/ApiController.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/ApiController.java
@@ -67,4 +67,8 @@ public class ApiController implements Serializable {
   public void setOnlyCurrent(boolean onlyCurrent) {
     this.onlyCurrent = onlyCurrent;
   }
+
+  public String getDockerQUnitTestsVersion() {
+    return Release.v4_2_2.getVersion();
+  }
 }
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/70-faq/faq.xhtml
b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/70-faq/faq.xhtml
index d2aa878..80bc9f2 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/70-faq/faq.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/70-faq/faq.xhtml
@@ -339,7 +339,7 @@ mvn verify -Pqunit-integration-tests</code></pre>
     </tc:section>
 
     <tc:section id="integrationTestTobago4" label="Tobago 4">
-      <p>Since Tobago 4.2.2 the integration tests are reimplemented with docker.</p>
+      <p>Since Tobago #{apiController.dockerQUnitTestsVersion} the integration tests
are reimplemented with docker.</p>
       <p>To run the integration tests:</p>
       <pre><code class="language-markup">cd tobago-example/tobago-example-demo
 mvn -Pdocker-qunit-tests</code></pre>

-- 
To stop receiving notification emails like this one, please contact
hnoeth@apache.org.

Mime
View raw message