Skip to main content
summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJonah Graham2018-11-20 18:43:38 -0500
committerJonah Graham2018-11-22 15:34:33 -0500
commit37f0f660c868b7570516843db01d51c08cbc75e2 (patch)
tree9ca791af1aed5cf6eeb73a1ed6f3ad31e87b0772 /core
parent086e6e30b7a4ba995a33da9db14066c3fec0fb9e (diff)
downloadorg.eclipse.cdt-37f0f660c868b7570516843db01d51c08cbc75e2.tar.gz
org.eclipse.cdt-37f0f660c868b7570516843db01d51c08cbc75e2.tar.xz
org.eclipse.cdt-37f0f660c868b7570516843db01d51c08cbc75e2.zip
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
Diffstat (limited to 'core')
-rw-r--r--core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCPPBindingResolutionBugsSingleProjectFirstAST.java4
1 files 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 63bba8e537..9e1873f16f 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

Back to the top