From a53df412fd319645dc9309746cd7e2e1d73c0764 Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Wed, 26 Jan 2011 14:20:17 +0100 Subject: [PATCH] add missing dir in IT --- .../ant-dynamic-junit/test/FailTest.java | 10 ++++++++++ .../ant-dynamic-junit/test/ant/HelloWorldTest.java | 14 ++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 tests/integration/tests/custom-projects/ant-dynamic-junit/test/FailTest.java create mode 100644 tests/integration/tests/custom-projects/ant-dynamic-junit/test/ant/HelloWorldTest.java 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 -- 2.39.5