]> source.dussan.org Git - sonarqube.git/commitdiff
add missing dir in IT
authorsimonbrandhof <simon.brandhof@gmail.com>
Wed, 26 Jan 2011 13:20:17 +0000 (14:20 +0100)
committersimonbrandhof <simon.brandhof@gmail.com>
Wed, 26 Jan 2011 13:20:17 +0000 (14:20 +0100)
tests/integration/tests/custom-projects/ant-dynamic-junit/test/FailTest.java [new file with mode: 0644]
tests/integration/tests/custom-projects/ant-dynamic-junit/test/ant/HelloWorldTest.java [new file with mode: 0644]

diff --git a/tests/integration/tests/custom-projects/ant-dynamic-junit/test/FailTest.java b/tests/integration/tests/custom-projects/ant-dynamic-junit/test/FailTest.java
new file mode 100644 (file)
index 0000000..7cdd825
--- /dev/null
@@ -0,0 +1,10 @@
+public class FailTest extends junit.framework.TestCase {
+
+    public void testNothing() {
+    }
+    
+    public void testWillAlwaysFail() {
+        fail("An error message");
+    }
+    
+}
\ No newline at end of file
diff --git a/tests/integration/tests/custom-projects/ant-dynamic-junit/test/ant/HelloWorldTest.java b/tests/integration/tests/custom-projects/ant-dynamic-junit/test/ant/HelloWorldTest.java
new file mode 100644 (file)
index 0000000..47ae3ad
--- /dev/null
@@ -0,0 +1,14 @@
+package ant;
+
+public class HelloWorldTest extends junit.framework.TestCase {
+
+    public void testClone() {
+         HelloWorld hello = new HelloWorld();
+         assertEquals(hello, hello.clone());
+    }
+    
+    public void testWillAlwaysFail() {
+        fail("An error message");
+    }
+    
+}
\ No newline at end of file