commit | fc55f7f010d49b2341138c640d76780be926a745 | [log] [tgz] |
---|---|---|
author | Endera Linton <ruwan@apache.org> | Mon Mar 08 04:27:23 2010 +0000 |
committer | Endera Linton <ruwan@apache.org> | Mon Mar 08 04:27:23 2010 +0000 |
tree | c4d098bd23ba8539f55d1c79d413a5e276d58a26 | |
parent | 9d6a5ee4bad9c54063a25654544d576a465859ba [diff] |
Fixing a mistakenly commited code bit, thanks andreas for pointing this git-svn-id: https://svn.apache.org/repos/asf/synapse/branches/1.3@920195 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/modules/extensions/src/test/java/org/apache/synapse/mediators/bsf/ScriptMediatorTest.java b/modules/extensions/src/test/java/org/apache/synapse/mediators/bsf/ScriptMediatorTest.java index c5da4f1..08cec12 100644 --- a/modules/extensions/src/test/java/org/apache/synapse/mediators/bsf/ScriptMediatorTest.java +++ b/modules/extensions/src/test/java/org/apache/synapse/mediators/bsf/ScriptMediatorTest.java
@@ -54,13 +54,13 @@ } -// public static Test suite() { -// TestSuite suite = new TestSuite(); -// for (int i = 0; i < 10; i++) { -// suite.addTest(new RepeatedTest(new ScriptMediatorTest("testThreadSafety"), 10)); -// } -// return suite; -// } + public static Test suite() { + TestSuite suite = new TestSuite(); + for (int i = 0; i < 10; i++) { + suite.addTest(new RepeatedTest(new ScriptMediatorTest("testThreadSafety"), 10)); + } + return suite; + } public ScriptMediatorTest(String name) { super(name);
diff --git a/modules/transports/core/nhttp/src/test/java/org/apache/synapse/transport/nhttp/HttpCoreNIOListenerTest.java b/modules/transports/core/nhttp/src/test/java/org/apache/synapse/transport/nhttp/HttpCoreNIOListenerTest.java index 4c497a7..b4418c2 100644 --- a/modules/transports/core/nhttp/src/test/java/org/apache/synapse/transport/nhttp/HttpCoreNIOListenerTest.java +++ b/modules/transports/core/nhttp/src/test/java/org/apache/synapse/transport/nhttp/HttpCoreNIOListenerTest.java
@@ -33,13 +33,6 @@ // These tests don't work because of a problem similar to SYNAPSE-418 suite.addExclude("(test=EchoXML)"); - suite.addExclude("(test=AsyncXML)"); - suite.addExclude("(test=AsyncTextPlain)"); - suite.addExclude("(test=AsyncBinary)"); - suite.addExclude("(test=AsyncSwA)"); - suite.addExclude("(test=AsyncSOAPLarge)"); - suite.addExclude("(test=REST)"); - suite.addExclude("(test=MinConcurrency)"); TransportDescriptionFactory tdfNIO = new SimpleTransportDescriptionFactory("http", HttpCoreNIOListener.class,