Author: max.andersen(a)jboss.com
Date: 2006-11-08 06:58:44 -0500 (Wed, 08 Nov 2006)
New Revision: 10769
Modified:
branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/BaseTestCase.java
branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/NonReflectiveTestCase.java
Log:
move methods up
Modified:
branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/BaseTestCase.java
===================================================================
---
branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/BaseTestCase.java 2006-11-08
11:58:22 UTC (rev 10768)
+++
branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/BaseTestCase.java 2006-11-08
11:58:44 UTC (rev 10769)
@@ -48,7 +48,11 @@
}
- static protected void assertFileAndExists(File file) {
+ protected String findFirstString(String string, File file) {
+ return TestHelper.findFirstString(string, file);
+ }
+
+ protected void assertFileAndExists(File file) {
assertTrue(file + " does not exist", file.exists() );
assertTrue(file + " not a file", file.isFile() );
assertTrue(file + " does not have any contents", file.length()>0);
Modified:
branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/NonReflectiveTestCase.java
===================================================================
---
branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/NonReflectiveTestCase.java 2006-11-08
11:58:22 UTC (rev 10768)
+++
branches/Branch_3_2/HibernateExt/tools/src/test/org/hibernate/tool/NonReflectiveTestCase.java 2006-11-08
11:58:44 UTC (rev 10769)
@@ -176,9 +176,6 @@
return cfg;
}
- protected String findFirstString(String string, File file) {
- return TestHelper.findFirstString(string, file);
- }
public Configuration getConfiguration() {
return getCfg();
Show replies by date