diff options
author | Sergey Prigogin | 2013-06-15 00:12:19 +0000 |
---|---|---|
committer | Sergey Prigogin | 2013-06-15 00:12:19 +0000 |
commit | 2a976059185b0b008919a96a18b45a269662d17a (patch) | |
tree | 616b3431e8eaec82f54ac74f93de92a5e6d1e66c | |
parent | a79028d2fcbfb91f1c65aab267e2b8e9e75d4d85 (diff) | |
download | org.eclipse.cdt-2a976059185b0b008919a96a18b45a269662d17a.tar.gz org.eclipse.cdt-2a976059185b0b008919a96a18b45a269662d17a.tar.xz org.eclipse.cdt-2a976059185b0b008919a96a18b45a269662d17a.zip |
Cosmetics.
3 files changed, 8 insertions, 9 deletions
diff --git a/build/org.eclipse.cdt.make.core.tests/src/org/eclipse/cdt/make/core/tests/AutomatedIntegrationSuite.java b/build/org.eclipse.cdt.make.core.tests/src/org/eclipse/cdt/make/core/tests/AutomatedIntegrationSuite.java index 35b84c29cf1..79d22f841d3 100644 --- a/build/org.eclipse.cdt.make.core.tests/src/org/eclipse/cdt/make/core/tests/AutomatedIntegrationSuite.java +++ b/build/org.eclipse.cdt.make.core.tests/src/org/eclipse/cdt/make/core/tests/AutomatedIntegrationSuite.java @@ -43,5 +43,4 @@ public class AutomatedIntegrationSuite extends TestSuite { suite.addTest(MakefileReaderProviderTests.suite()); return suite; } - } diff --git a/core/org.eclipse.cdt.core.tests/suite/org/eclipse/cdt/core/suite/AutomatedIntegrationSuite.java b/core/org.eclipse.cdt.core.tests/suite/org/eclipse/cdt/core/suite/AutomatedIntegrationSuite.java index 251313e5c27..f13d89a24f2 100644 --- a/core/org.eclipse.cdt.core.tests/suite/org/eclipse/cdt/core/suite/AutomatedIntegrationSuite.java +++ b/core/org.eclipse.cdt.core.tests/suite/org/eclipse/cdt/core/suite/AutomatedIntegrationSuite.java @@ -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()); diff --git a/core/org.eclipse.cdt.core.tests/suite/org/eclipse/cdt/core/testplugin/CProjectHelper.java b/core/org.eclipse.cdt.core.tests/suite/org/eclipse/cdt/core/testplugin/CProjectHelper.java index 55334c3ee27..9efeb754287 100644 --- a/core/org.eclipse.cdt.core.tests/suite/org/eclipse/cdt/core/testplugin/CProjectHelper.java +++ b/core/org.eclipse.cdt.core.tests/suite/org/eclipse/cdt/core/testplugin/CProjectHelper.java @@ -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; |