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

Cosmetics.

This commit is contained in:
Sergey Prigogin 2013-06-14 17:12:19 -07:00
parent a0d72e24cc
commit 355a61adba
3 changed files with 8 additions and 9 deletions

View file

@ -43,5 +43,4 @@ public class AutomatedIntegrationSuite extends TestSuite {
suite.addTest(MakefileReaderProviderTests.suite()); suite.addTest(MakefileReaderProviderTests.suite());
return suite; return suite;
} }
} }

View file

@ -13,6 +13,7 @@
package org.eclipse.cdt.core.suite; package org.eclipse.cdt.core.suite;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite; import junit.framework.TestSuite;
import org.eclipse.cdt.core.cdescriptor.tests.CDescriptorOldTests; import org.eclipse.cdt.core.cdescriptor.tests.CDescriptorOldTests;
@ -47,11 +48,11 @@ public class AutomatedIntegrationSuite extends TestSuite {
public AutomatedIntegrationSuite() { public AutomatedIntegrationSuite() {
} }
public AutomatedIntegrationSuite(Class theClass, String name) { public AutomatedIntegrationSuite(Class<? extends TestCase> theClass, String name) {
super(theClass, name); super(theClass, name);
} }
public AutomatedIntegrationSuite(Class theClass) { public AutomatedIntegrationSuite(Class<? extends TestCase> theClass) {
super(theClass); super(theClass);
} }
@ -62,12 +63,10 @@ public class AutomatedIntegrationSuite extends TestSuite {
public static Test suite() throws Exception { public static Test suite() throws Exception {
final AutomatedIntegrationSuite suite = new AutomatedIntegrationSuite(); final AutomatedIntegrationSuite suite = new AutomatedIntegrationSuite();
// Add all success tests // Has intermittent failures
if (System.getProperty("cdt.skip.known.test.failures") == null) {
// Has intermittent failures suite.addTest(CDescriptorTests.suite());
if (System.getProperty("cdt.skip.known.test.failures") == null) { }
suite.addTest(CDescriptorTests.suite());
}
suite.addTest(CDescriptorOldTests.suite()); suite.addTest(CDescriptorOldTests.suite());
suite.addTest(IEnvironmentVariableManagerTests.suite()); suite.addTest(IEnvironmentVariableManagerTests.suite());
suite.addTest(ErrorParserTests.suite()); suite.addTest(ErrorParserTests.suite());

View file

@ -12,6 +12,7 @@
* Anton Leherbauer (Wind River Systems) * Anton Leherbauer (Wind River Systems)
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.testplugin; package org.eclipse.cdt.core.testplugin;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
import java.lang.reflect.InvocationTargetException; import java.lang.reflect.InvocationTargetException;