From c84df9bf2b02253fa3df8e7fe7c9008c27b51e0f Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Mon, 16 Jul 2012 16:08:00 -0700 Subject: [PATCH] Adding test suite for quick testing --- .../org/eclipse/jetty/websocket/AllTests.java | 24 +++++++++++++++++++ .../eclipse/jetty/websocket/ab/AllTests.java | 12 ++++++++++ 2 files changed, 36 insertions(+) create mode 100644 jetty-websocket/websocket-core/src/test/java/org/eclipse/jetty/websocket/AllTests.java create mode 100644 jetty-websocket/websocket-core/src/test/java/org/eclipse/jetty/websocket/ab/AllTests.java diff --git a/jetty-websocket/websocket-core/src/test/java/org/eclipse/jetty/websocket/AllTests.java b/jetty-websocket/websocket-core/src/test/java/org/eclipse/jetty/websocket/AllTests.java new file mode 100644 index 00000000000..444448b8fb2 --- /dev/null +++ b/jetty-websocket/websocket-core/src/test/java/org/eclipse/jetty/websocket/AllTests.java @@ -0,0 +1,24 @@ +package org.eclipse.jetty.websocket; + +import org.eclipse.jetty.websocket.driver.EventMethodsCacheTest; +import org.eclipse.jetty.websocket.driver.WebSocketEventDriverTest; +import org.eclipse.jetty.websocket.protocol.AcceptHashTest; +import org.eclipse.jetty.websocket.protocol.ClosePayloadParserTest; +import org.eclipse.jetty.websocket.protocol.ParserTest; +import org.eclipse.jetty.websocket.protocol.PingPayloadParserTest; +import org.eclipse.jetty.websocket.protocol.RFC6455ExamplesGeneratorTest; +import org.eclipse.jetty.websocket.protocol.RFC6455ExamplesParserTest; +import org.eclipse.jetty.websocket.protocol.TextPayloadParserTest; +import org.eclipse.jetty.websocket.protocol.WebSocketFrameTest; +import org.junit.runner.RunWith; +import org.junit.runners.Suite; + +@RunWith(Suite.class) +@Suite.SuiteClasses( + { org.eclipse.jetty.websocket.ab.AllTests.class, EventMethodsCacheTest.class, WebSocketEventDriverTest.class, AcceptHashTest.class, + ClosePayloadParserTest.class, ParserTest.class, PingPayloadParserTest.class, RFC6455ExamplesGeneratorTest.class, RFC6455ExamplesParserTest.class, + TextPayloadParserTest.class, WebSocketFrameTest.class, GeneratorParserRoundtripTest.class }) +public class AllTests +{ + /* nothing to do here */ +} diff --git a/jetty-websocket/websocket-core/src/test/java/org/eclipse/jetty/websocket/ab/AllTests.java b/jetty-websocket/websocket-core/src/test/java/org/eclipse/jetty/websocket/ab/AllTests.java new file mode 100644 index 00000000000..e575d8f54cf --- /dev/null +++ b/jetty-websocket/websocket-core/src/test/java/org/eclipse/jetty/websocket/ab/AllTests.java @@ -0,0 +1,12 @@ +package org.eclipse.jetty.websocket.ab; + +import org.junit.runner.RunWith; +import org.junit.runners.Suite; + +@RunWith(Suite.class) +@Suite.SuiteClasses( +{ TestABCase1_1.class, TestABCase1_2.class, TestABCase2.class, TestABCase3.class, TestABCase4.class, TestABCase7_3.class }) +public class AllTests +{ + /* nothing to do here, its all done in the annotations */ +}