mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-22 08:25:25 +02:00
Removed test exclusions for various tests recently fixed by Markus.
Added exception for CPPSelectionTestsFastIndexer.testBug103697, which is failing consistently
This commit is contained in:
parent
57c9d6bd71
commit
4de3c2e62c
3 changed files with 111 additions and 123 deletions
|
@ -71,10 +71,7 @@ public class AutomatedIntegrationSuite extends TestSuite {
|
||||||
suite.addTest(CDescriptorOldTests.suite());
|
suite.addTest(CDescriptorOldTests.suite());
|
||||||
suite.addTest(IEnvironmentVariableManagerTests.suite());
|
suite.addTest(IEnvironmentVariableManagerTests.suite());
|
||||||
suite.addTest(ErrorParserTests.suite());
|
suite.addTest(ErrorParserTests.suite());
|
||||||
// Has intermittent failures
|
|
||||||
if (System.getProperty("cdt.skip.known.test.failures") == null) {
|
|
||||||
suite.addTest(ParserTestSuite.suite());
|
suite.addTest(ParserTestSuite.suite());
|
||||||
}
|
|
||||||
suite.addTest(AllCoreTests.suite());
|
suite.addTest(AllCoreTests.suite());
|
||||||
suite.addTest(ElementDeltaTests.suite());
|
suite.addTest(ElementDeltaTests.suite());
|
||||||
suite.addTest(WorkingCopyTests.suite());
|
suite.addTest(WorkingCopyTests.suite());
|
||||||
|
@ -91,12 +88,9 @@ public class AutomatedIntegrationSuite extends TestSuite {
|
||||||
suite.addTest(EFSExtensionTests.suite());
|
suite.addTest(EFSExtensionTests.suite());
|
||||||
suite.addTest(ByteUtilsTest.suite());
|
suite.addTest(ByteUtilsTest.suite());
|
||||||
|
|
||||||
// Has intermittent failures
|
|
||||||
if (System.getProperty("cdt.skip.known.test.failures") == null) { //$NON-NLS-1$
|
|
||||||
// Add in PDOM tests
|
// Add in PDOM tests
|
||||||
suite.addTest(PDOMTests.suite());
|
suite.addTest(PDOMTests.suite());
|
||||||
suite.addTest(IndexTests.suite());
|
suite.addTest(IndexTests.suite());
|
||||||
}
|
|
||||||
|
|
||||||
suite.addTest(RefreshScopeTests.suite());
|
suite.addTest(RefreshScopeTests.suite());
|
||||||
|
|
||||||
|
|
|
@ -61,11 +61,8 @@ public class AutomatedSuite extends TestSuite {
|
||||||
// tests for package org.eclipse.cdt.ui.tests.viewsupport
|
// tests for package org.eclipse.cdt.ui.tests.viewsupport
|
||||||
addTest(ViewSupportTestSuite.suite());
|
addTest(ViewSupportTestSuite.suite());
|
||||||
|
|
||||||
// Has intermittent failures
|
|
||||||
if (System.getProperty("cdt.skip.known.test.failures") == null) { //$NON-NLS-1$
|
|
||||||
// tests for package org.eclipse.cdt.ui.tests.callhierarchy
|
// tests for package org.eclipse.cdt.ui.tests.callhierarchy
|
||||||
addTest(CallHierarchyTestSuite.suite());
|
addTest(CallHierarchyTestSuite.suite());
|
||||||
}
|
|
||||||
|
|
||||||
// tests for package org.eclipse.cdt.ui.tests.typehierarchy
|
// tests for package org.eclipse.cdt.ui.tests.typehierarchy
|
||||||
addTest(TypeHierarchyTestSuite.suite());
|
addTest(TypeHierarchyTestSuite.suite());
|
||||||
|
@ -79,11 +76,8 @@ public class AutomatedSuite extends TestSuite {
|
||||||
// tests from package org.eclipse.cdt.ui.tests.text.contentAssist2
|
// tests from package org.eclipse.cdt.ui.tests.text.contentAssist2
|
||||||
addTest(ContentAssist2TestSuite.suite());
|
addTest(ContentAssist2TestSuite.suite());
|
||||||
|
|
||||||
// Has intermittent failures
|
|
||||||
if (System.getProperty("cdt.skip.known.test.failures") == null) { //$NON-NLS-1$
|
|
||||||
// tests from package org.eclipse.cdt.ui.tests.text.selection
|
// tests from package org.eclipse.cdt.ui.tests.text.selection
|
||||||
addTest(SelectionTestSuite.suite());
|
addTest(SelectionTestSuite.suite());
|
||||||
}
|
|
||||||
|
|
||||||
// tests from package org.eclipse.cdt.ui.tests.quickfix
|
// tests from package org.eclipse.cdt.ui.tests.quickfix
|
||||||
addTest(AssistQuickFixTest.suite());
|
addTest(AssistQuickFixTest.suite());
|
||||||
|
@ -94,11 +88,8 @@ public class AutomatedSuite extends TestSuite {
|
||||||
// tests from package org.eclipse.cdt.ui.tests.search
|
// tests from package org.eclipse.cdt.ui.tests.search
|
||||||
addTest(SearchTestSuite.suite());
|
addTest(SearchTestSuite.suite());
|
||||||
|
|
||||||
// Has intermittent failures
|
|
||||||
if (System.getProperty("cdt.skip.known.test.failures") == null) { //$NON-NLS-1$
|
|
||||||
// tests from package org.eclipse.cdt.ui.tests.refactoring
|
// tests from package org.eclipse.cdt.ui.tests.refactoring
|
||||||
addTest(RefactoringTestSuite.suite());
|
addTest(RefactoringTestSuite.suite());
|
||||||
}
|
|
||||||
|
|
||||||
// tests from package org.eclipse.cdt.ui.tests.chelp
|
// tests from package org.eclipse.cdt.ui.tests.chelp
|
||||||
addTest(CHelpTest.suite());
|
addTest(CHelpTest.suite());
|
||||||
|
|
|
@ -770,6 +770,9 @@ public abstract class CPPSelectionTestsAnyIndexer extends BaseSelectionTestsInde
|
||||||
// return x;
|
// return x;
|
||||||
// }
|
// }
|
||||||
public void testBug103697() throws Exception {
|
public void testBug103697() throws Exception {
|
||||||
|
if (System.getProperty("cdt.skip.known.test.failures") == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
StringBuilder[] buffers= getContents(2);
|
StringBuilder[] buffers= getContents(2);
|
||||||
String hcode= buffers[0].toString();
|
String hcode= buffers[0].toString();
|
||||||
String scode= buffers[1].toString();
|
String scode= buffers[1].toString();
|
||||||
|
|
Loading…
Add table
Reference in a new issue