summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-02-15 15:03:51 (EST)
committerEike Stepper2007-02-15 15:03:51 (EST)
commit66ca74412b6ab4f569d018077f8ebcf872d1e2fa (patch)
tree795aaa070960db664dcaacd2358aa094bd06cfea
parent016c747478962c782bdedbca9bb83a8a0611cc5b (diff)
downloadcdo-66ca74412b6ab4f569d018077f8ebcf872d1e2fa.zip
cdo-66ca74412b6ab4f569d018077f8ebcf872d1e2fa.tar.gz
cdo-66ca74412b6ab4f569d018077f8ebcf872d1e2fa.tar.bz2
Develop CDO2 - http://www.eclipse.org/emft/projects/cdo/#cdo
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AbstractTCPTest.java7
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/TCPTransportTest.java4
2 files changed, 9 insertions, 2 deletions
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AbstractTCPTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AbstractTCPTest.java
index 1217a6c..ff0059e 100644
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AbstractTCPTest.java
+++ b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AbstractTCPTest.java
@@ -103,7 +103,10 @@ public abstract class AbstractTCPTest extends AbstractOMTest
protected void startTransport()
{
- assertTrue(getAcceptor().isActive());
- assertTrue(getConnector().isActive());
+ if (container != null)
+ {
+ assertTrue(getAcceptor().isActive());
+ assertTrue(getConnector().isActive());
+ }
}
}
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/TCPTransportTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/TCPTransportTest.java
index c91f173..1e36f47 100644
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/TCPTransportTest.java
+++ b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/TCPTransportTest.java
@@ -202,6 +202,10 @@ public class TCPTransportTest extends AbstractTCPTest
}
}
+ /**
+ * TODO Fails occasionally ;-( Caused by: java.lang.IllegalStateException:
+ * selectionKey == null
+ */
public void testTextStreaming() throws Exception
{
final int COUNT = 1;