You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2016/06/20 17:29:15 UTC

[14/15] wicket git commit: Add a Start.java for the JS test project so it is easier to debug them in a real browser

Add a Start.java for the JS test project so it is easier to debug them in a real browser


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/9b3d3008
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/9b3d3008
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/9b3d3008

Branch: refs/heads/master
Commit: 9b3d30085b77327e78f41002880d6aa75e3978ca
Parents: fd46d29
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Mon Jun 20 19:21:49 2016 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Mon Jun 20 19:28:54 2016 +0200

----------------------------------------------------------------------
 testing/wicket-js-tests/pom.xml                 | 27 ++++++++++++++++++++
 .../testing/jstest/StartJavaScriptTests.java    |  4 +--
 2 files changed, 29 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/9b3d3008/testing/wicket-js-tests/pom.xml
----------------------------------------------------------------------
diff --git a/testing/wicket-js-tests/pom.xml b/testing/wicket-js-tests/pom.xml
index cf9e9df..bec9c04 100644
--- a/testing/wicket-js-tests/pom.xml
+++ b/testing/wicket-js-tests/pom.xml
@@ -100,4 +100,31 @@
 			</build>
 		</profile>
 	</profiles>
+
+	<dependencies>
+		<dependency>
+			<groupId>org.eclipse.jetty</groupId>
+			<artifactId>jetty-server</artifactId>
+			<version>${jetty.version}</version>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.jetty</groupId>
+			<artifactId>jetty-webapp</artifactId>
+			<version>${jetty.version}</version>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.jetty</groupId>
+			<artifactId>jetty-util</artifactId>
+			<version>${jetty.version}</version>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.jetty</groupId>
+			<artifactId>jetty-jmx</artifactId>
+			<version>${jetty.version}</version>
+			<scope>test</scope>
+		</dependency>
+	</dependencies>
 </project>

http://git-wip-us.apache.org/repos/asf/wicket/blob/9b3d3008/testing/wicket-js-tests/src/test/java/org/apache/wicket/testing/jstest/StartJavaScriptTests.java
----------------------------------------------------------------------
diff --git a/testing/wicket-js-tests/src/test/java/org/apache/wicket/testing/jstest/StartJavaScriptTests.java b/testing/wicket-js-tests/src/test/java/org/apache/wicket/testing/jstest/StartJavaScriptTests.java
index 9ba3ae8..8b5da32 100644
--- a/testing/wicket-js-tests/src/test/java/org/apache/wicket/testing/jstest/StartJavaScriptTests.java
+++ b/testing/wicket-js-tests/src/test/java/org/apache/wicket/testing/jstest/StartJavaScriptTests.java
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.wicket.examples;
+package org.apache.wicket.testing.jstest;
 
 import java.lang.management.ManagementFactory;
 
@@ -92,7 +92,7 @@ public class StartJavaScriptTests
 		WebAppContext bb = new WebAppContext();
 		bb.setServer(server);
 		bb.setContextPath("/ajax-tests");
-		bb.setWar("../wicket-core/src");
+		bb.setWar("../../wicket-core/src");
 
 
 		// uncomment next line if you want to test with JSESSIONID encoded in the urls