From 37f0f660c868b7570516843db01d51c08cbc75e2 Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Tue, 20 Nov 2018 23:43:38 +0000 Subject: [PATCH] Bug 540373: Fix tests that rely on format of Java code TestSourceReader.getContentsForTest() does not examine lines containing @ to see if they have the test method. This means that changing the formatting of this test could break it as the reader would see the // comments as test data. Things which are comments and not test data should have /**/ comments as this commit now does. Change-Id: Ic30a63df3910c6a5643b4ac734c05526e3420095 --- .../IndexCPPBindingResolutionBugsSingleProjectFirstAST.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCPPBindingResolutionBugsSingleProjectFirstAST.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCPPBindingResolutionBugsSingleProjectFirstAST.java index 63bba8e5379..9e1873f16fa 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCPPBindingResolutionBugsSingleProjectFirstAST.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCPPBindingResolutionBugsSingleProjectFirstAST.java @@ -24,11 +24,11 @@ public class IndexCPPBindingResolutionBugsSingleProjectFirstAST extends IndexCPP return suite(IndexCPPBindingResolutionBugsSingleProjectFirstAST.class); } - // Invalid tests for this strategy, they assume that the second file is already indexed. + /* Invalid tests for this strategy, they assume that the second file is already indexed. */ @Override public void test_208558() {} @Override public void test_176708_CCE() {} @Override public void testIsSameAnonymousType_193962() {} @Override public void testIsSameNestedAnonymousType_193962() {} - // For some unknown reason this test is flaky for this strategy. + /* For some unknown reason this test is flaky for this strategy. */ @Override public void testTemplateArgumentResolution_450888() {} } \ No newline at end of file