Author: max.andersen(a)jboss.com
Date: 2006-11-14 08:07:51 -0500 (Tue, 14 Nov 2006)
New Revision: 10805
Modified:
branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/ant/AntAllTests.java
branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/ant/JavaFormatterTest.java
Log:
javaformat test
Modified:
branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/ant/AntAllTests.java
===================================================================
---
branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/ant/AntAllTests.java 2006-11-14
13:07:25 UTC (rev 10804)
+++
branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/ant/AntAllTests.java 2006-11-14
13:07:51 UTC (rev 10805)
@@ -10,6 +10,7 @@
//$JUnit-BEGIN$
suite.addTestSuite(HibernateToolTest.class);
suite.addTestSuite(SeamAntTest.class);
+ suite.addTestSuite(JavaFormatterTask.class);
//$JUnit-END$
return suite;
}
Modified:
branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/ant/JavaFormatterTest.java
===================================================================
---
branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/ant/JavaFormatterTest.java 2006-11-14
13:07:25 UTC (rev 10804)
+++
branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/ant/JavaFormatterTest.java 2006-11-14
13:07:51 UTC (rev 10805)
@@ -54,7 +54,7 @@
executeTarget("prepare");
- File file = new File(project.getProperty( "build.dir" ),
"formatting/Simple5One.java");
+ File file = new File(project.getProperty( "build.dir" ),
"formatting/Simple5One.java5");
assertFileAndExists( file );
long before = file.lastModified();
@@ -87,7 +87,7 @@
executeTarget("prepare");
- File jdk5file = new File(project.getProperty( "build.dir" ),
"formatting/Simple5One.java");
+ File jdk5file = new File(project.getProperty( "build.dir" ),
"formatting/Simple5One.java5");
File jdkfile = new File(project.getProperty( "build.dir" ),
"formatting/SimpleOne.java");
assertFileAndExists( jdkfile );
long jdk5before = jdk5file.lastModified();