You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by jk...@apache.org on 2015/09/16 10:05:41 UTC

tapestry-5 git commit: run tests with Prototype in CI

Repository: tapestry-5
Updated Branches:
  refs/heads/master b9b6ccd92 -> 4162a1a9a


run tests with Prototype in CI


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/4162a1a9
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/4162a1a9
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/4162a1a9

Branch: refs/heads/master
Commit: 4162a1a9a1301bd7cdd846b0d753f5003a98211e
Parents: b9b6ccd
Author: Jochen Kemnade <jo...@eddyson.de>
Authored: Wed Sep 16 10:04:30 2015 +0200
Committer: Jochen Kemnade <jo...@eddyson.de>
Committed: Wed Sep 16 10:04:30 2015 +0200

----------------------------------------------------------------------
 build.gradle               | 4 ++--
 tapestry-core/build.gradle | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/4162a1a9/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index a0a2a9e6..3a6e15e 100755
--- a/build.gradle
+++ b/build.gradle
@@ -186,7 +186,7 @@ subprojects {
         }
     }
 
-    test {
+    tasks.withType(Test) {
         useTestNG()
 
         options.suites("src/test/conf/testng.xml")
@@ -422,7 +422,7 @@ task combinedJacocoReport(type:JacocoReport){
 }
 
 task continuousIntegration {
-    dependsOn subprojects.build, aggregateJavadoc, combinedJacocoReport
+    dependsOn subprojects.build, testWithPrototype, aggregateJavadoc, combinedJacocoReport
     description "Task executed on Jenkins CI server after SVN commits"
 }
 

http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/4162a1a9/tapestry-core/build.gradle
----------------------------------------------------------------------
diff --git a/tapestry-core/build.gradle b/tapestry-core/build.gradle
index 1ade4cd..12b1c60 100644
--- a/tapestry-core/build.gradle
+++ b/tapestry-core/build.gradle
@@ -69,4 +69,8 @@ task runTestApp1(type:JavaExec) {
   main = 'org.apache.tapestry5.test.Jetty7Runner'
   args "-d", "src/test/app1", "-p", "8080"
   classpath += project.sourceSets.test.runtimeClasspath
+}
+
+task testWithPrototype(type:Test) {
+  systemProperties."tapestry.javascript-infrastructure-provider" = "prototype"
 }
\ No newline at end of file