[hibernate-commits] Hibernate SVN: r10805 - branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/ant

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Tue Nov 14 08:07:53 EST 2006


Author: max.andersen at 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();




More information about the hibernate-commits mailing list