Open Wanderer777 opened 13 years ago
I just checked out a fresh instance of Eclipse without CodingSpectator/CodingTracker.
I installed all the prerequisites for running org.eclipse.jdt.ui.tests.refactoring. I observed the same problems reported above. Specifically org.eclipse.jdt.ui.tests.refactoring.SurroundWithTestSetup
, org.eclipse.jdt.ui.tests.refactoring.infra.AbstractRefactoringTestSetup
, and org.eclipse.jdt.ui.tests.refactoring.extensions.ExtensionPointTestSetup
fail because
junit.framework.AssertionFailedError: Class org.eclipse.jdt.ui.tests.refactoring.SurroundWithTestSetup has no public constructor TestCase(String name) or TestCase()
at junit.framework.Assert.fail(Assert.java:47)
...
This seems to be a problem with the setup and has nothing to do with CodingSpectator/CodingTracker.
Usually when we create a release for CodingSpectator we only run the tests in the AllRefactoringTests suite.
Running tests in
org.eclipse.jdt.ui.tests.refactoring
I observed that there are errors and failures. In particular, all tests inorg.eclipse.jdt.ui.tests.refactoring.infra.RefactoringPerformanceTestSetup
throwIllegalArgumentException
. Also, testsorg.eclipse.jdt.ui.tests.refactoring.SurroundWithTestSetup
,org.eclipse.jdt.ui.tests.refactoring.infra.AbstractRefactoringTestSetup
, andorg.eclipse.jdt.ui.tests.refactoring.extensions.ExtensionPointTestSetup
fail.I did not finish running all the tests, so there might be some other failing tests as well.