From: <tk...@hy...> - 2007-07-11 21:26:48
|
Author: tkeeney Date: 2007-07-11 14:20:00 -0700 (Wed, 11 Jul 2007) New Revision: 5141 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=5141 Modified: trunk/build.xml trunk/src/org/hyperic/util/filter/test/TokenReplacerFilterInputStream_test.java Log: Enabled unit tests, adding a failing unit test. Checking the CI server behavior when unit tests are present. Modified: trunk/build.xml =================================================================== --- trunk/build.xml 2007-07-11 21:03:52 UTC (rev 5140) +++ trunk/build.xml 2007-07-11 21:20:00 UTC (rev 5141) @@ -235,7 +235,7 @@ <include name="*/src"/> </dirset> </src> - <exclude name="**/*_test.java" /> + <!--exclude name="**/*_test.java" /--> </hq-javac> </target> Modified: trunk/src/org/hyperic/util/filter/test/TokenReplacerFilterInputStream_test.java =================================================================== --- trunk/src/org/hyperic/util/filter/test/TokenReplacerFilterInputStream_test.java 2007-07-11 21:03:52 UTC (rev 5140) +++ trunk/src/org/hyperic/util/filter/test/TokenReplacerFilterInputStream_test.java 2007-07-11 21:20:00 UTC (rev 5141) @@ -73,6 +73,11 @@ assertEquals(result.trim(), "user id is 10001, username is rmorgan"); } + + public void testFails() throws Exception + { + fail("This test always fails."); + } public static void main ( String[] args ) { try { |