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

Cosmetics.

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

View file

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

View file

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

View file

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