commit | 6242abed8e9b3dfa44eeabd002ccc23c29792c08 | [log] [tgz] |
---|---|---|
author | apanchenk <apanchenk> | Tue Sep 02 15:22:31 2008 +0000 |
committer | apanchenk <apanchenk> | Tue Sep 02 15:22:31 2008 +0000 |
tree | 57dadab051e82a6194b4ee4fb501864a45f639d9 | |
parent | 3adc7d32d6c3b80bb38d7157fdf2af0de6753e2e [diff] |
getTestMethodName() removed
diff --git a/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/TestCaseElement.java b/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/TestCaseElement.java index 83b5e42..98c5f3d 100755 --- a/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/TestCaseElement.java +++ b/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/internal/testing/model/TestCaseElement.java
@@ -28,22 +28,6 @@ /** * {@inheritDoc} - * @see org.eclipse.jdt.internal.junit.runner.MessageIds#TEST_IDENTIFIER_MESSAGE_FORMAT - * @see org.eclipse.jdt.internal.junit.runner.MessageIds#IGNORED_TEST_PREFIX - */ - public String getTestMethodName() { - String testName= getTestName(); - int index= testName.indexOf('('); - if (index > 0) - return testName.substring(0, index); - index= testName.indexOf('@'); - if (index > 0) - return testName.substring(0, index); - return testName; - } - - /** - * {@inheritDoc} * @see org.eclipse.dltk.testing.model.ITestCaseElement#getTestClassName() */ public String getTestClassName() {
diff --git a/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/testing/model/ITestCaseElement.java b/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/testing/model/ITestCaseElement.java index 7b607a2..ae381bf 100755 --- a/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/testing/model/ITestCaseElement.java +++ b/core/plugins/org.eclipse.dltk.testing/src/org/eclipse/dltk/testing/model/ITestCaseElement.java
@@ -31,14 +31,6 @@ public String getTestName(); /** - * Returns the name of the test method. - * - * @return returns the name of the test method. - * @deprecated - */ - public String getTestMethodName(); - - /** * Returns the qualified type name of the class the test is contained in. * * @return the qualified type name of the class the test is contained in.