Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordstadnik2006-01-30 18:45:27 +0000
committerdstadnik2006-01-30 18:45:27 +0000
commit3c1eac22bce3dedf8241b0a0bbe8930f2833fd95 (patch)
tree7adeb10a05b3a045121936dbe0f4efe641c4f9cf /tests
parent41315226dba889f8bf0e63c1d754efc6514eecfe (diff)
downloadorg.eclipse.gmf-tooling-3c1eac22bce3dedf8241b0a0bbe8930f2833fd95.tar.gz
org.eclipse.gmf-tooling-3c1eac22bce3dedf8241b0a0bbe8930f2833fd95.tar.xz
org.eclipse.gmf-tooling-3c1eac22bce3dedf8241b0a0bbe8930f2833fd95.zip
compatibility with jdk1.4
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/AllTests.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/AllTests.java b/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/AllTests.java
index 01f583748..91b650221 100644
--- a/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/AllTests.java
+++ b/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/AllTests.java
@@ -102,8 +102,8 @@ public class AllTests {
}
}
if (m == null) {
- String methodInvocation = NeedsSetup.METHOD_NAME + "(" + config.getClass().getSimpleName() + " arg);";
- return new ConfigurationFailedCase(theClass.getCanonicalName() + " has no method compatible with " + methodInvocation);
+ String methodInvocation = NeedsSetup.METHOD_NAME + "(" + config.getClass().getName() + " arg);";
+ return new ConfigurationFailedCase(theClass.getName() + " has no method compatible with " + methodInvocation);
}
final Object[] args = new Object[] { config };
for (Enumeration en = suite.tests(); en.hasMoreElements(); ) {
@@ -111,11 +111,11 @@ public class AllTests {
m.invoke(nextTest, args);
}
} catch (SecurityException ex) {
- return new ConfigurationFailedCase(theClass.getCanonicalName() + ": " + ex.getMessage());
+ return new ConfigurationFailedCase(theClass.getName() + ": " + ex.getMessage());
} catch (IllegalAccessException ex) {
- return new ConfigurationFailedCase(theClass.getCanonicalName() + ": " + ex.getMessage());
+ return new ConfigurationFailedCase(theClass.getName() + ": " + ex.getMessage());
} catch (InvocationTargetException ex) {
- return new ConfigurationFailedCase(theClass.getCanonicalName() + ": " + ex.getMessage());
+ return new ConfigurationFailedCase(theClass.getName() + ": " + ex.getMessage());
}
return suite;
}

Back to the top