289149 - tweak to stop testDebug from failing.
diff --git a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/JpaModelTests.java b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/JpaModelTests.java
index 2889d96..b47fb0b 100644
--- a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/JpaModelTests.java
+++ b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/JpaModelTests.java
@@ -90,6 +90,19 @@
return p.getProject().getFile(new Path(path));
}
+ /**
+ * make sure the DEBUG constants are 'false' before checking in the code
+ */
+ public void testDEBUG() {
+ this.verifyDEBUG(JpaModelManager.class);
+ this.verifyDEBUG(GenericJpaModel.class);
+ }
+
+ private void verifyDEBUG(Class<?> clazz) {
+ assertFalse("Recompile with \"DEBUG = false\": " + clazz.getName(),
+ ((Boolean) ClassTools.staticFieldValue(clazz, "DEBUG")).booleanValue());
+ }
+
public void testJpaModel() {
assertNotNull(JptCorePlugin.getJpaModel());
}
@@ -211,17 +224,6 @@
}
}
*/
- /**
- * make sure the DEBUG constants are 'false' before checking in the code
- */
- public void testDEBUG() {
- this.verifyDEBUG(JpaModelManager.class);
- this.verifyDEBUG(GenericJpaModel.class);
- }
- private void verifyDEBUG(Class<?> clazz) {
- assertFalse("Recompile with \"DEBUG = false\": " + clazz.getName(),
- ((Boolean) ClassTools.staticFieldValue(clazz, "DEBUG")).booleanValue());
- }
}