1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

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
This commit is contained in:
Jonah Graham 2018-11-20 23:43:38 +00:00
parent 086e6e30b7
commit 37f0f660c8

View file

@ -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() {}
}