aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AllTests.java4
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/SampleTest.java10
2 files changed, 12 insertions, 2 deletions
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AllTests.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AllTests.java
index 2c4b0616e0..4b412c98af 100644
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AllTests.java
+++ b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AllTests.java
@@ -8,8 +8,8 @@ public class AllTests {
public static Test suite() {
TestSuite suite = new TestSuite("Test for org.eclipse.net4j.tests");
-// TODO: connect JUnit tests here.
-
+// TODO: add real JUnit tests here
+ suite.addTestSuite(SampleTest.class);
return suite;
}
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/SampleTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/SampleTest.java
new file mode 100644
index 0000000000..ae16417da5
--- /dev/null
+++ b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/SampleTest.java
@@ -0,0 +1,10 @@
+package org.eclipse.net4j.tests;
+
+import junit.framework.TestCase;
+
+public class SampleTest extends TestCase
+{
+ public static void testSample() throws Exception {
+ assertTrue(true); // TODO: add real JUnit tests here
+ }
+}