Skip to content

Commit

Permalink
make "AllTests" more specific (#1487)
Browse files Browse the repository at this point in the history
Avoid duplicate class names to make it easier to find the right one
  • Loading branch information
jukzi authored Jan 3, 2025
1 parent 9c3b475 commit 2213f68
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion org.eclipse.jdt.ui.tests.refactoring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
<testSuite>${project.artifactId}</testSuite>
<testClass>org.eclipse.jdt.ui.tests.refactoring.all.AllAllRefactoringTests</testClass>
<testClass>org.eclipse.jdt.ui.tests.refactoring.all.AllRefactoringTestsSuite</testClass>
</properties>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
SurroundWithTests16.class,
SurroundWithResourcesTests1d8.class,
})
public class AllTests {
public class RefactoringTestSuite {
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
StructureSelectionActionTests.class,
GoToNextPreviousMemberActionTests.class
})
public class AllTests {
public class RefactoringActionsTestSuite {
}


Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@

@Suite
@SelectClasses({
org.eclipse.jdt.ui.tests.refactoring.actions.AllTests.class,
org.eclipse.jdt.ui.tests.refactoring.actions.RefactoringActionsTestSuite.class,
org.eclipse.jdt.ui.tests.refactoring.nls.NLSTestSuite.class,
org.eclipse.jdt.ui.tests.refactoring.AllTests.class,
org.eclipse.jdt.ui.tests.refactoring.extensions.AllTests.class,
org.eclipse.jdt.ui.tests.refactoring.changes.AllTests.class,
org.eclipse.jdt.ui.tests.refactoring.ccp.AllTests.class,
org.eclipse.jdt.ui.tests.refactoring.typeconstraints.AllTests.class
org.eclipse.jdt.ui.tests.refactoring.RefactoringTestSuite.class,
org.eclipse.jdt.ui.tests.refactoring.extensions.RefactoringExtensionPointTestSuite.class,
org.eclipse.jdt.ui.tests.refactoring.changes.RefactoringChangesTestSuite.class,
org.eclipse.jdt.ui.tests.refactoring.ccp.RefactoringCCPTestSuite.class,
org.eclipse.jdt.ui.tests.refactoring.typeconstraints.RefactoringTypeContraintTestSuite.class
})
public class AllAllRefactoringTests {
public class AllRefactoringTestsSuite {
}

Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
//------old reorg tests
CopyResourcesToClipboardActionTest.class
})
public class AllTests {
public class RefactoringCCPTestSuite {
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
TrackPositionTest.class,
TextDiffContentTest.class
})
public class AllTests {
public class RefactoringChangesTestSuite {
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
@SelectClasses({
ExtensionPointTests.class
})
public class AllTests {
public class RefactoringExtensionPointTestSuite {
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
TypeConstraintTests.class,
TypeEnvironmentTests.class
})
public class AllTests {
public class RefactoringTypeContraintTestSuite {
}
2 changes: 1 addition & 1 deletion org.eclipse.jdt.ui.tests.refactoring/test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<property name="data-dir" value="${refactoring-folder}"/>
<property name="plugin-name" value="${plugin-name}"/>
<property name="classname"
value="org.eclipse.jdt.ui.tests.refactoring.all.AllAllRefactoringTests"/>
value="org.eclipse.jdt.ui.tests.refactoring.all.AllRefactoringTestsSuite"/>
</ant>
</target>

Expand Down

0 comments on commit 2213f68

Please sign in to comment.