From 2ab5c79e1de59decca61f9706a1745b82473c8e7 Mon Sep 17 00:00:00 2001 From: Andrey Loskutov Date: Tue, 16 Jul 2024 11:35:40 +0200 Subject: [PATCH] Fixed testsuite name that should be unique That was missing in https://github.com/eclipse-jdt/eclipse.jdt.core/pull/2710 See https://github.com/eclipse-jdt/eclipse.jdt.core/issues/2536 --- .../org/eclipse/jdt/core/tests/util/CleanupAfterSuiteTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/util/CleanupAfterSuiteTests.java b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/util/CleanupAfterSuiteTests.java index c3d97a7388b..1aea7d630f9 100644 --- a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/util/CleanupAfterSuiteTests.java +++ b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/util/CleanupAfterSuiteTests.java @@ -25,7 +25,7 @@ public CleanupAfterSuiteTests(String name) { } public static Test suite() { - TestSuite testSuite = new TestSuite("HouseKeeping_" + count); + TestSuite testSuite = new TestSuite("HouseKeeping_" + (count ++)); testSuite.addTest(new TestSuite(CleanupAfterSuiteTests.class)); return testSuite; }