diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-01-26 14:20:17 +0100 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-01-26 14:20:17 +0100 |
commit | a53df412fd319645dc9309746cd7e2e1d73c0764 (patch) | |
tree | 759705b6cdc1ccc051cd2e11ae7fba2c4f435804 /tests | |
parent | 98f3bef8be5eb8b9e29b3e7a4604b616462118d7 (diff) | |
download | sonarqube-a53df412fd319645dc9309746cd7e2e1d73c0764.tar.gz sonarqube-a53df412fd319645dc9309746cd7e2e1d73c0764.zip |
add missing dir in IT
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/tests/custom-projects/ant-dynamic-junit/test/FailTest.java | 10 | ||||
-rw-r--r-- | tests/integration/tests/custom-projects/ant-dynamic-junit/test/ant/HelloWorldTest.java | 14 |
2 files changed, 24 insertions, 0 deletions
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 index 00000000000..7cdd82548ee --- /dev/null +++ b/tests/integration/tests/custom-projects/ant-dynamic-junit/test/FailTest.java @@ -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 index 00000000000..47ae3adeb1d --- /dev/null +++ b/tests/integration/tests/custom-projects/ant-dynamic-junit/test/ant/HelloWorldTest.java @@ -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 |