Skip to content

Commit 84a57c6

Browse files
committed
Match also junit-platform-commons-* file name when detecting a JUnit 6 launch type
Fixes: #2625
1 parent 756f421 commit 84a57c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/util/CoreTestSearchEngine.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060
*/
6161
public class CoreTestSearchEngine {
6262

63-
private static final String JUNIT_PLATFORM_SUITE_API_PREFIX= BuildPathSupport.JUNIT_PLATFORM_SUITE_API + "_"; //$NON-NLS-1$
64-
private static final String JUNIT_PLATFORM_COMMONS_PREFIX= BuildPathSupport.JUNIT_PLATFORM_COMMONS + "_"; //$NON-NLS-1$
63+
private static final String JUNIT_PLATFORM_SUITE_API_PREFIX= BuildPathSupport.JUNIT_PLATFORM_SUITE_API;
64+
private static final String JUNIT_PLATFORM_COMMONS_PREFIX= BuildPathSupport.JUNIT_PLATFORM_COMMONS;
6565
private static final String JAR_EXTENSION= ".jar"; //$NON-NLS-1$
6666

6767
public static boolean isTestOrTestSuite(IType declaringType) throws CoreException {

0 commit comments

Comments
 (0)