mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-12 10:45:37 +02:00
Bug 515178: Convert ui AutomatedSuite to new style
This change enables future tests to use new style annotations, for example using @RunWith(Parameterized.class) Change-Id: I4998e8b50fc7574c057b4f4a556205ce5a2497d6
This commit is contained in:
parent
f5aa2f3d65
commit
8592b892dc
19 changed files with 313 additions and 424 deletions
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2007, 2011 Symbian Software Limited and others.
|
||||
* Copyright (c) 2007, 2017 Symbian Software Limited and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -7,11 +7,12 @@
|
|||
*
|
||||
* Contributors:
|
||||
* Bala Torati (Symbian) - Initial API and implementation
|
||||
* Jonah Graham (Kichwa Coders) - converted to new style suite (Bug 515178)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.ui.tests.templateengine;
|
||||
|
||||
import junit.framework.Test;
|
||||
import junit.framework.TestSuite;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
/**
|
||||
* This is a TestSuite, the TestCases created to test Template engine are
|
||||
|
@ -20,33 +21,15 @@ import junit.framework.TestSuite;
|
|||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public class AllTemplateEngineTests extends TestSuite {
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({
|
||||
TestTemplateEngine.class,
|
||||
TestTemplateCore.class,
|
||||
TestValueStore.class,
|
||||
TestSharedDefaults.class,
|
||||
TestProcesses.class,
|
||||
TestTemplateEngineBugs.class,
|
||||
|
||||
public static void main(String[] args) {
|
||||
junit.textui.TestRunner.run(AllTemplateEngineTests.suite());
|
||||
}
|
||||
|
||||
/**
|
||||
* Since the TemplateEngine consists of UI(Wizard).
|
||||
* A TestWizard is created to which the dynamically generated
|
||||
* UIPages are added. The Wizard is launched from here.
|
||||
* The TestCases created to test the TemplateEngine is initialized here.
|
||||
* @return
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public static Test suite() {
|
||||
TestSuite suite = new TestSuite("Template engine tests"); //$NON-NLS-1$
|
||||
//$JUnit-BEGIN$
|
||||
|
||||
suite.addTestSuite(TestTemplateEngine.class);
|
||||
suite.addTestSuite(TestTemplateCore.class);
|
||||
suite.addTestSuite(TestValueStore.class);
|
||||
suite.addTestSuite(TestSharedDefaults.class);
|
||||
suite.addTestSuite(TestProcesses.class);
|
||||
suite.addTestSuite(TestTemplateEngineBugs.class);
|
||||
|
||||
//$JUnit-END$
|
||||
return suite;
|
||||
}
|
||||
})
|
||||
public class AllTemplateEngineTests {
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2000, 2015 IBM Corporation and others.
|
||||
* Copyright (c) 2000, 2017 IBM Corporation and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -9,104 +9,38 @@
|
|||
* IBM - Initial API and implementation
|
||||
* Anton Leherbauer (Wind River Systems)
|
||||
* Markus Schorn (Wind River Systems)
|
||||
* Jonah Graham (Kichwa Coders) - converted to new style suite (Bug 515178)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.ui.tests;
|
||||
|
||||
import junit.framework.Test;
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
import org.eclipse.cdt.ui.tests.buildconsole.BuildConsoleTests;
|
||||
import org.eclipse.cdt.ui.tests.callhierarchy.CallHierarchyTestSuite;
|
||||
import org.eclipse.cdt.ui.tests.chelp.CHelpTest;
|
||||
import org.eclipse.cdt.ui.tests.editor.EditorTestSuite;
|
||||
import org.eclipse.cdt.ui.tests.includebrowser.IncludeBrowserTestSuite;
|
||||
import org.eclipse.cdt.ui.tests.misc.MiscTestSuite;
|
||||
import org.eclipse.cdt.ui.tests.outline.OutlineTestSuite;
|
||||
import org.eclipse.cdt.ui.tests.quickfix.AssistQuickFixTest;
|
||||
import org.eclipse.cdt.ui.tests.refactoring.RefactoringTestSuite;
|
||||
import org.eclipse.cdt.ui.tests.search.SearchTestSuite;
|
||||
import org.eclipse.cdt.ui.tests.templateengine.AllTemplateEngineTests;
|
||||
import org.eclipse.cdt.ui.tests.text.TextTestSuite;
|
||||
import org.eclipse.cdt.ui.tests.text.contentassist.ContentAssistTestSuite;
|
||||
import org.eclipse.cdt.ui.tests.text.contentassist2.ContentAssist2TestSuite;
|
||||
import org.eclipse.cdt.ui.tests.text.selection.SelectionTestSuite;
|
||||
import org.eclipse.cdt.ui.tests.typehierarchy.TypeHierarchyTestSuite;
|
||||
import org.eclipse.cdt.ui.tests.viewsupport.ViewSupportTestSuite;
|
||||
import org.eclipse.cdt.ui.tests.wizards.classwizard.ClassWizardTestSuite;
|
||||
import org.eclipse.cdt.ui.tests.wizards.settingswizards.SettingsWizardTestSuite;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
/**
|
||||
* Test all areas of the UI.
|
||||
*/
|
||||
public class AutomatedSuite extends TestSuite {
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({
|
||||
org.eclipse.cdt.ui.tests.text.TextTestSuite.class,
|
||||
org.eclipse.cdt.ui.tests.outline.OutlineTestSuite.class,
|
||||
org.eclipse.cdt.ui.tests.viewsupport.ViewSupportTestSuite.class,
|
||||
org.eclipse.cdt.ui.tests.callhierarchy.CallHierarchyTestSuite.class,
|
||||
org.eclipse.cdt.ui.tests.typehierarchy.TypeHierarchyTestSuite.class,
|
||||
org.eclipse.cdt.ui.tests.includebrowser.IncludeBrowserTestSuite.class,
|
||||
org.eclipse.cdt.ui.tests.text.contentassist.ContentAssistTestSuite.class,
|
||||
org.eclipse.cdt.ui.tests.text.contentassist2.ContentAssist2TestSuite.class,
|
||||
org.eclipse.cdt.ui.tests.text.selection.SelectionTestSuite.class,
|
||||
org.eclipse.cdt.ui.tests.quickfix.AssistQuickFixTest.class,
|
||||
org.eclipse.cdt.ui.tests.buildconsole.BuildConsoleTests.class,
|
||||
org.eclipse.cdt.ui.tests.search.SearchTestSuite.class,
|
||||
org.eclipse.cdt.ui.tests.refactoring.RefactoringTestSuite.class,
|
||||
org.eclipse.cdt.ui.tests.chelp.CHelpTest.class,
|
||||
org.eclipse.cdt.ui.tests.wizards.classwizard.ClassWizardTestSuite.class,
|
||||
org.eclipse.cdt.ui.tests.wizards.settingswizards.SettingsWizardTestSuite.class,
|
||||
org.eclipse.cdt.ui.tests.misc.MiscTestSuite.class,
|
||||
org.eclipse.cdt.ui.tests.editor.EditorTestSuite.class,
|
||||
org.eclipse.cdt.ui.tests.templateengine.AllTemplateEngineTests.class,
|
||||
|
||||
/**
|
||||
* Returns the suite. This is required to
|
||||
* use the JUnit Launcher.
|
||||
*/
|
||||
public static Test suite() throws Exception {
|
||||
return new AutomatedSuite();
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct the test suite.
|
||||
*/
|
||||
public AutomatedSuite() throws Exception {
|
||||
|
||||
// tests from package org.eclipse.cdt.ui.tests.text
|
||||
addTest(TextTestSuite.suite());
|
||||
|
||||
// tests from package org.eclipse.cdt.ui.tests.outline
|
||||
addTest(OutlineTestSuite.suite());
|
||||
|
||||
// tests for package org.eclipse.cdt.ui.tests.viewsupport
|
||||
addTest(ViewSupportTestSuite.suite());
|
||||
|
||||
// tests for package org.eclipse.cdt.ui.tests.callhierarchy
|
||||
addTest(CallHierarchyTestSuite.suite());
|
||||
|
||||
// tests for package org.eclipse.cdt.ui.tests.typehierarchy
|
||||
addTest(TypeHierarchyTestSuite.suite());
|
||||
|
||||
// tests for package org.eclipse.cdt.ui.tests.includebrowser
|
||||
addTest(IncludeBrowserTestSuite.suite());
|
||||
|
||||
// tests from package org.eclipse.cdt.ui.tests.text.contentAssist
|
||||
addTest(ContentAssistTestSuite.suite());
|
||||
|
||||
// tests from package org.eclipse.cdt.ui.tests.text.contentAssist2
|
||||
addTest(ContentAssist2TestSuite.suite());
|
||||
|
||||
// tests from package org.eclipse.cdt.ui.tests.text.selection
|
||||
addTest(SelectionTestSuite.suite());
|
||||
|
||||
// tests from package org.eclipse.cdt.ui.tests.quickfix
|
||||
addTest(AssistQuickFixTest.suite());
|
||||
|
||||
// tests from package org.eclipse.cdt.ui.tests.buildconsole
|
||||
addTest(BuildConsoleTests.suite());
|
||||
|
||||
// tests from package org.eclipse.cdt.ui.tests.search
|
||||
addTest(SearchTestSuite.suite());
|
||||
|
||||
// tests from package org.eclipse.cdt.ui.tests.refactoring
|
||||
addTest(RefactoringTestSuite.suite());
|
||||
|
||||
// tests from package org.eclipse.cdt.ui.tests.chelp
|
||||
addTest(CHelpTest.suite());
|
||||
|
||||
// tests from package org.eclipse.cdt.ui.tests.wizards.classwizard
|
||||
addTest(ClassWizardTestSuite.suite());
|
||||
|
||||
// tests from package org.eclipse.cdt.ui.tests.wizards.settingswizards
|
||||
addTest(SettingsWizardTestSuite.suite());
|
||||
|
||||
// tests from package org.eclipse.cdt.ui.tests.misc
|
||||
addTest(MiscTestSuite.suite());
|
||||
|
||||
// tests from package org.eclipse.cdt.ui.tests.editor
|
||||
addTest(EditorTestSuite.suite());
|
||||
|
||||
addTest(AllTemplateEngineTests.suite());
|
||||
}
|
||||
})
|
||||
public class AutomatedSuite {
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2006, 2007 Wind River Systems, Inc. and others.
|
||||
* Copyright (c) 2006, 2017 Wind River Systems, Inc. and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -7,25 +7,23 @@
|
|||
*
|
||||
* Contributors:
|
||||
* Markus Schorn - initial API and implementation
|
||||
* Jonah Graham (Kichwa Coders) - converted to new style suite (Bug 515178)
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.ui.tests.callhierarchy;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
public class CallHierarchyTestSuite extends TestSuite {
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({
|
||||
BasicCallHierarchyTest.class,
|
||||
BasicCppCallHierarchyTest.class,
|
||||
InitializersInCallHierarchyTest.class,
|
||||
CppCallHierarchyTest.class,
|
||||
CallHierarchyAcrossProjectsTest.class,
|
||||
CallHierarchyBugs.class,
|
||||
})
|
||||
public class CallHierarchyTestSuite {
|
||||
|
||||
public static TestSuite suite() {
|
||||
return new CallHierarchyTestSuite();
|
||||
}
|
||||
|
||||
public CallHierarchyTestSuite() {
|
||||
super(CallHierarchyTestSuite.class.getName());
|
||||
addTest(BasicCallHierarchyTest.suite());
|
||||
addTest(BasicCppCallHierarchyTest.suite());
|
||||
addTest(InitializersInCallHierarchyTest.suite());
|
||||
addTest(CppCallHierarchyTest.suite());
|
||||
addTest(CallHierarchyAcrossProjectsTest.suite());
|
||||
addTest(CallHierarchyBugs.suite());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2015 Nathan Ridge.
|
||||
* Copyright (c) 2015, 2017 Nathan Ridge and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -7,22 +7,20 @@
|
|||
*
|
||||
* Contributors:
|
||||
* Nathan Ridge - initial implementation
|
||||
* Jonah Graham (Kichwa Coders) - converted to new style suite (Bug 515178)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.ui.tests.editor;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
/**
|
||||
* Tests for functionality in the package org.eclipse.cdt.internal.ui.editor.
|
||||
*/
|
||||
public class EditorTestSuite extends TestSuite {
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({
|
||||
SourceHeaderPartnerFinderTest.class,
|
||||
|
||||
public static TestSuite suite() {
|
||||
return new EditorTestSuite();
|
||||
}
|
||||
|
||||
public EditorTestSuite() {
|
||||
super(EditorTestSuite.class.getName());
|
||||
addTest(SourceHeaderPartnerFinderTest.suite());
|
||||
}
|
||||
})
|
||||
public class EditorTestSuite {
|
||||
}
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
*******************************************************************************/
|
||||
package org.eclipse.cdt.ui.tests.editor;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
import org.eclipse.core.resources.IFile;
|
||||
import org.eclipse.core.resources.IProject;
|
||||
import org.eclipse.core.runtime.IProgressMonitor;
|
||||
|
@ -31,9 +29,6 @@ import org.eclipse.cdt.internal.ui.editor.SourceHeaderPartnerFinder;
|
|||
*/
|
||||
public class SourceHeaderPartnerFinderTest extends BaseUITestCase {
|
||||
|
||||
public static TestSuite suite() {
|
||||
return suite(SourceHeaderPartnerFinderTest.class);
|
||||
}
|
||||
|
||||
protected static IProgressMonitor NPM= new NullProgressMonitor();
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2006, 2007 Wind River Systems, Inc. and others.
|
||||
* Copyright (c) 2006, 2017 Wind River Systems, Inc. and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -7,20 +7,18 @@
|
|||
*
|
||||
* Contributors:
|
||||
* Markus Schorn - initial API and implementation
|
||||
* Jonah Graham (Kichwa Coders) - converted to new style suite (Bug 515178)
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.ui.tests.includebrowser;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
public class IncludeBrowserTestSuite extends TestSuite {
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({
|
||||
BasicIncludeBrowserTest.class,
|
||||
|
||||
public static TestSuite suite() {
|
||||
return new IncludeBrowserTestSuite();
|
||||
}
|
||||
|
||||
public IncludeBrowserTestSuite() {
|
||||
super(IncludeBrowserTestSuite.class.getName());
|
||||
addTest(BasicIncludeBrowserTest.suite());
|
||||
}
|
||||
})
|
||||
public class IncludeBrowserTestSuite {
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2010, 2013 Andrew Gvozdev and others.
|
||||
* Copyright (c) 2010, 2017 Andrew Gvozdev and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -7,24 +7,23 @@
|
|||
*
|
||||
* Contributors:
|
||||
* Andrew Gvozdev (Quoin Inc.) - initial API and implementation
|
||||
* Jonah Graham (Kichwa Coders) - converted to new style suite (Bug 515178)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.ui.tests.misc;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
/**
|
||||
* Test suite for miscellaneous tests which do not fit neatly to other
|
||||
* categories.
|
||||
*/
|
||||
public class MiscTestSuite extends TestSuite {
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({
|
||||
CDTSharedImagesTests.class,
|
||||
LanguageVerifierTests.class,
|
||||
|
||||
public static TestSuite suite() {
|
||||
return new MiscTestSuite();
|
||||
}
|
||||
|
||||
public MiscTestSuite() {
|
||||
super(MiscTestSuite.class.getName());
|
||||
addTestSuite(CDTSharedImagesTests.class);
|
||||
addTestSuite(LanguageVerifierTests.class);
|
||||
}
|
||||
})
|
||||
public class MiscTestSuite {
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2009 Wind River Systems, Inc. and others.
|
||||
* Copyright (c) 2009, 2017 Wind River Systems, Inc. and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -7,19 +7,15 @@
|
|||
*
|
||||
* Contributors:
|
||||
* Anton Leherbauer (Wind River Systems) - initial implementation
|
||||
* Jonah Graham (Kichwa Coders) - converted to new style suite (Bug 515178)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.ui.tests.outline;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
public class OutlineTestSuite extends TestSuite {
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({ BasicOutlineTest.class, })
|
||||
public class OutlineTestSuite {
|
||||
|
||||
public static TestSuite suite() {
|
||||
return new OutlineTestSuite();
|
||||
}
|
||||
|
||||
public OutlineTestSuite() {
|
||||
super(OutlineTestSuite.class.getName());
|
||||
addTest(BasicOutlineTest.suite());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2008, 2013 Institute for Software, HSR Hochschule fuer Technik
|
||||
* Copyright (c) 2008, 2017 Institute for Software, HSR Hochschule fuer Technik
|
||||
* Rapperswil, University of applied sciences and others
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
|
@ -10,11 +10,12 @@
|
|||
* Institute for Software - initial API and implementation
|
||||
* Tom Ball (Google)
|
||||
* Sergey Prigogin (Google)
|
||||
* Jonah Graham (Kichwa Coders) - converted to new style suite (Bug 515178)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.ui.tests.refactoring;
|
||||
|
||||
import junit.framework.Test;
|
||||
import junit.framework.TestSuite;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
import org.eclipse.cdt.ui.tests.refactoring.extractconstant.ExtractConstantRefactoringTest;
|
||||
import org.eclipse.cdt.ui.tests.refactoring.extractfunction.ExtractFunctionRefactoringTest;
|
||||
|
@ -30,20 +31,19 @@ import org.eclipse.cdt.ui.tests.refactoring.utils.UtilTestSuite;
|
|||
/**
|
||||
* @author Emanuel Graf
|
||||
*/
|
||||
public class RefactoringTestSuite extends TestSuite {
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({
|
||||
UtilTestSuite.class,
|
||||
RenameRegressionTests.class,
|
||||
ExtractFunctionRefactoringTest.class,
|
||||
ExtractConstantRefactoringTest.class,
|
||||
HideMethodRefactoringTest.class,
|
||||
GenerateGettersAndSettersTest.class,
|
||||
ImplementMethodRefactoringTest.class,
|
||||
ExtractLocalVariableRefactoringTest.class,
|
||||
ToggleRefactoringTest.class,
|
||||
IncludesTestSuite.class,
|
||||
|
||||
public static Test suite() throws Exception {
|
||||
TestSuite suite = new RefactoringTestSuite();
|
||||
suite.addTest(UtilTestSuite.suite());
|
||||
suite.addTest(RenameRegressionTests.suite());
|
||||
suite.addTest(ExtractFunctionRefactoringTest.suite());
|
||||
suite.addTest(ExtractConstantRefactoringTest.suite());
|
||||
suite.addTest(HideMethodRefactoringTest.suite());
|
||||
suite.addTest(GenerateGettersAndSettersTest.suite());
|
||||
suite.addTest(ImplementMethodRefactoringTest.suite());
|
||||
suite.addTest(ExtractLocalVariableRefactoringTest.suite());
|
||||
suite.addTest(ToggleRefactoringTest.suite());
|
||||
suite.addTest(IncludesTestSuite.suite());
|
||||
return suite;
|
||||
}
|
||||
})
|
||||
public class RefactoringTestSuite {
|
||||
}
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2016 Nathan Ridge.
|
||||
* Copyright (c) 2016, 2017 Nathan Ridge and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
* http://www.eclipse.org/legal/epl-v10.html
|
||||
*
|
||||
* Contributors:
|
||||
* Nathan Ridge - initial implementation
|
||||
* Jonah Graham (Kichwa Coders) - converted to new style suite (Bug 515178)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.ui.tests.search;
|
||||
|
||||
|
@ -44,9 +48,11 @@ public class FindReferencesTest extends SearchTestBase {
|
|||
public static TestSuite suite() { return suite(ReferencedProject.class); }
|
||||
}
|
||||
|
||||
public static void addTests(TestSuite suite) {
|
||||
suite.addTest(SingleProject.suite());
|
||||
suite.addTest(ReferencedProject.suite());
|
||||
public static TestSuite suite() {
|
||||
TestSuite suite = new TestSuite();
|
||||
suite.addTestSuite(SingleProject.class);
|
||||
suite.addTestSuite(ReferencedProject.class);
|
||||
return suite;
|
||||
}
|
||||
|
||||
public FindReferencesTest() {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2007, 2015 Symbian Software Systems and others.
|
||||
* Copyright (c) 2007, 2017 Symbian Software Systems and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -7,21 +7,20 @@
|
|||
*
|
||||
* Contributors:
|
||||
* Andrew Ferguson (Symbian) - Initial implementation
|
||||
* Jonah Graham (Kichwa Coders) - converted to new style suite (Bug 515178)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.ui.tests.search;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
public class SearchTestSuite extends TestSuite {
|
||||
public static TestSuite suite() {
|
||||
return new SearchTestSuite();
|
||||
}
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({
|
||||
BasicSearchTest.class,
|
||||
LinkedNamesFinderTest.class,
|
||||
SearchReferencesAcrossLanguagesTest.class,
|
||||
FindReferencesTest.class,
|
||||
|
||||
public SearchTestSuite() {
|
||||
super(SearchTestSuite.class.getName());
|
||||
addTest(BasicSearchTest.suite());
|
||||
addTest(LinkedNamesFinderTest.suite());
|
||||
addTest(SearchReferencesAcrossLanguagesTest.suite());
|
||||
FindReferencesTest.addTests(this);
|
||||
}
|
||||
})
|
||||
public class SearchTestSuite {
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2006, 2010 Wind River Systems, Inc. and others.
|
||||
* Copyright (c) 2006, 2017 Wind River Systems, Inc. and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -9,75 +9,72 @@
|
|||
* Markus Schorn - initial API and implementation
|
||||
* Andrew Ferguson (Symbian)
|
||||
* Sergey Prigogin (Google)
|
||||
* Jonah Graham (Kichwa Coders) - converted to new style suite (Bug 515178)
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.ui.tests.text;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
import org.eclipse.cdt.ui.tests.text.doctools.DocCommentTestSuite;
|
||||
|
||||
public class TextTestSuite extends TestSuite {
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({
|
||||
|
||||
public static TestSuite suite() {
|
||||
return new TextTestSuite();
|
||||
}
|
||||
// documentation tool extension tests
|
||||
DocCommentTestSuite.class,
|
||||
|
||||
public TextTestSuite() {
|
||||
super(TextTestSuite.class.getName());
|
||||
// partitioning tests
|
||||
PartitionTokenScannerTest.class,
|
||||
CPartitionerTest.class,
|
||||
AsmPartitionerTest.class,
|
||||
|
||||
// documentation tool extension tests
|
||||
addTest(DocCommentTestSuite.suite());
|
||||
// smart edit tests
|
||||
CAutoIndentTest.class,
|
||||
CHeuristicScannerTest.class,
|
||||
BracketInserterTest.class,
|
||||
IndentActionTest.class,
|
||||
FormatActionTest.class,
|
||||
ShiftActionTest.class,
|
||||
CodeFormatterTest.class,
|
||||
CIndenterTest.class,
|
||||
TemplateFormatterTest.class,
|
||||
|
||||
// partitioning tests
|
||||
addTest(PartitionTokenScannerTest.suite());
|
||||
addTest(CPartitionerTest.suite());
|
||||
addTest(AsmPartitionerTest.suite());
|
||||
// Break iterator tests.
|
||||
CBreakIteratorTest.class,
|
||||
CWordIteratorTest.class,
|
||||
|
||||
// smart edit tests
|
||||
addTest(CAutoIndentTest.suite());
|
||||
addTest(CHeuristicScannerTest.suite());
|
||||
addTest(BracketInserterTest.suite());
|
||||
addTest(IndentActionTest.suite());
|
||||
addTest(FormatActionTest.suite());
|
||||
addTest(ShiftActionTest.suite());
|
||||
addTest(CodeFormatterTest.suite());
|
||||
addTest(CIndenterTest.suite());
|
||||
addTest(TemplateFormatterTest.suite());
|
||||
// highlighting tests
|
||||
SemanticHighlightingTest.class,
|
||||
InactiveCodeHighlightingTest.class,
|
||||
CHeaderRuleTest.class,
|
||||
NumberRuleTest.class,
|
||||
PairMatcherTest.class,
|
||||
MarkOccurrenceTest.class,
|
||||
|
||||
// Break iterator tests.
|
||||
addTest(CBreakIteratorTest.suite());
|
||||
addTest(CWordIteratorTest.suite());
|
||||
// folding tests
|
||||
FoldingTest.class,
|
||||
|
||||
// highlighting tests
|
||||
addTest(SemanticHighlightingTest.suite());
|
||||
addTest(InactiveCodeHighlightingTest.suite());
|
||||
addTest(CHeaderRuleTest.suite());
|
||||
addTest(NumberRuleTest.suite());
|
||||
addTest(PairMatcherTest.suite());
|
||||
addTest(MarkOccurrenceTest.suite());
|
||||
// basic editing tests
|
||||
BasicCEditorTest.class,
|
||||
|
||||
// folding tests
|
||||
addTest(FoldingTest.suite());
|
||||
// editor hyperlink tests
|
||||
HyperlinkTest.class,
|
||||
|
||||
// basic editing tests
|
||||
addTest(BasicCEditorTest.suite());
|
||||
// word detection
|
||||
CWordFinderTest.class,
|
||||
|
||||
// editor hyperlink tests
|
||||
addTest(HyperlinkTest.suite());
|
||||
// compare tests
|
||||
CStructureCreatorTest.class,
|
||||
|
||||
// word detection
|
||||
addTest(CWordFinderTest.suite());
|
||||
// source manipulation tests
|
||||
AddBlockCommentTest.class,
|
||||
RemoveBlockCommentTest.class,
|
||||
SortLinesTest.class,
|
||||
|
||||
// compare tests
|
||||
addTest(CStructureCreatorTest.suite());
|
||||
|
||||
// source manipulation tests
|
||||
addTest(AddBlockCommentTest.suite());
|
||||
addTest(RemoveBlockCommentTest.suite());
|
||||
addTest(SortLinesTest.suite());
|
||||
|
||||
// add include
|
||||
addTest(AddIncludeTest.suite());
|
||||
}
|
||||
// add include
|
||||
AddIncludeTest.class,
|
||||
})
|
||||
public class TextTestSuite {
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2006, 2014 Wind River Systems, Inc. and others.
|
||||
* Copyright (c) 2006, 2017 Wind River Systems, Inc. and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -7,20 +7,18 @@
|
|||
*
|
||||
* Contributors:
|
||||
* Markus Schorn - initial API and implementation
|
||||
* Jonah Graham (Kichwa Coders) - converted to new style suite (Bug 515178)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.ui.tests.text.contentassist;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
public class ContentAssistTestSuite extends TestSuite {
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({
|
||||
|
||||
public static TestSuite suite() {
|
||||
return new ContentAssistTestSuite();
|
||||
}
|
||||
ContentAssistTests.class,
|
||||
|
||||
public ContentAssistTestSuite() {
|
||||
super(ContentAssistTestSuite.class.getName());
|
||||
|
||||
addTest(ContentAssistTests.suite());
|
||||
}
|
||||
})
|
||||
public class ContentAssistTestSuite {
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2006, 2015 Siemens AG and others.
|
||||
* Copyright (c) 2006, 2017 Siemens AG and others.
|
||||
* All rights reserved. This content and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -10,74 +10,71 @@
|
|||
* Bryan Wilkinson (QNX)
|
||||
* Andrew Ferguson (Symbian)
|
||||
* Mohamed Azab (Mentor Graphics) - Bug 438549. Add mechanism for parameter guessing.
|
||||
* Jonah Graham (Kichwa Coders) - converted to new style suite (Bug 515178)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.ui.tests.text.contentassist2;
|
||||
|
||||
import junit.framework.Test;
|
||||
import junit.framework.TestSuite;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
/**
|
||||
* This suite bundles all tests for the CContentAssistProcessor
|
||||
*/
|
||||
public class ContentAssist2TestSuite extends TestSuite {
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({
|
||||
|
||||
public static Test suite() {
|
||||
return new ContentAssist2TestSuite();
|
||||
}
|
||||
CompletionTest_AnonymousTypes.class,
|
||||
CompletionTest_ArgumentType_Prefix.class,
|
||||
CompletionTest_ArgumentType_Prefix2.class,
|
||||
CompletionTest_ClassReference_NoPrefix.class,
|
||||
CompletionTest_ClassReference_Prefix.class,
|
||||
CompletionTest_ConstructorReference.class,
|
||||
CompletionTest_ExceptionReference_NoPrefix.class,
|
||||
CompletionTest_ExceptionReference_Prefix.class,
|
||||
CompletionTest_FieldType_NoPrefix.class,
|
||||
CompletionTest_FieldType_NoPrefix2.class,
|
||||
CompletionTest_FieldType_Prefix.class,
|
||||
CompletionTest_FunctionReference_Prefix.class,
|
||||
CompletionTest_MacroRef_NoPrefix.class,
|
||||
CompletionTest_MacroRef_Prefix.class,
|
||||
CompletionTest_MemberReference_Arrow_NoPrefix.class,
|
||||
CompletionTest_MemberReference_Arrow_NoPrefix2.class,
|
||||
CompletionTest_MemberReference_Arrow_NoPrefix3.class,
|
||||
CompletionTest_MemberReference_Arrow_Prefix.class,
|
||||
CompletionTest_MemberReference_Arrow_Prefix2.class,
|
||||
CompletionTest_MemberReference_Dot_NoPrefix.class,
|
||||
CompletionTest_MemberReference_Dot_Prefix.class,
|
||||
CompletionTest_NamespaceRef_NoPrefix.class,
|
||||
CompletionTest_NamespaceRef_Prefix.class,
|
||||
CompletionTest_NewTypeReference_NoPrefix.class,
|
||||
CompletionTest_NewTypeReference_Prefix.class,
|
||||
CompletionTest_ScopedReference_NonCodeScope.class,
|
||||
CompletionTest_ScopedReference_NoPrefix.class,
|
||||
CompletionTest_ScopedReference_Prefix.class,
|
||||
CompletionTest_SingleName_Method_NoPrefix.class,
|
||||
CompletionTest_SingleName_Method_Prefix.class,
|
||||
CompletionTest_SingleName_NoPrefix.class,
|
||||
CompletionTest_SingleName_Prefix.class,
|
||||
CompletionTest_SingleName_Prefix2.class,
|
||||
CompletionTest_TypeDef_NoPrefix.class,
|
||||
CompletionTest_TypeDef_Prefix.class,
|
||||
CompletionTest_TypeRef_NoPrefix.class,
|
||||
CompletionTest_TypeRef_Prefix.class,
|
||||
CompletionTest_VariableType_NestedPrefix.class,
|
||||
CompletionTest_VariableType_NoPrefix.class,
|
||||
CompletionTest_VariableType_Prefix.class,
|
||||
|
||||
public ContentAssist2TestSuite() {
|
||||
super(ContentAssist2TestSuite.class.getName());
|
||||
CompletionTests.class,
|
||||
HelpProposalTests.class,
|
||||
CompletionTests_PlainC.class,
|
||||
ParameterHintTests.class,
|
||||
CPPParameterGuessingTests.class,
|
||||
CParameterGuessingTests.class,
|
||||
|
||||
addTest(CompletionTest_AnonymousTypes.suite());
|
||||
addTest(CompletionTest_ArgumentType_Prefix.suite());
|
||||
addTest(CompletionTest_ArgumentType_Prefix2.suite());
|
||||
addTest(CompletionTest_ClassReference_NoPrefix.suite());
|
||||
addTest(CompletionTest_ClassReference_Prefix.suite());
|
||||
addTest(CompletionTest_ConstructorReference.suite());
|
||||
addTest(CompletionTest_ExceptionReference_NoPrefix.suite());
|
||||
addTest(CompletionTest_ExceptionReference_Prefix.suite());
|
||||
addTest(CompletionTest_FieldType_NoPrefix.suite());
|
||||
addTest(CompletionTest_FieldType_NoPrefix2.suite());
|
||||
addTest(CompletionTest_FieldType_Prefix.suite());
|
||||
addTest(CompletionTest_FunctionReference_Prefix.suite());
|
||||
addTest(CompletionTest_MacroRef_NoPrefix.suite());
|
||||
addTest(CompletionTest_MacroRef_Prefix.suite());
|
||||
addTest(CompletionTest_MemberReference_Arrow_NoPrefix.suite());
|
||||
addTest(CompletionTest_MemberReference_Arrow_NoPrefix2.suite());
|
||||
addTest(CompletionTest_MemberReference_Arrow_NoPrefix3.suite());
|
||||
addTest(CompletionTest_MemberReference_Arrow_Prefix.suite());
|
||||
addTest(CompletionTest_MemberReference_Arrow_Prefix2.suite());
|
||||
addTest(CompletionTest_MemberReference_Dot_NoPrefix.suite());
|
||||
addTest(CompletionTest_MemberReference_Dot_Prefix.suite());
|
||||
addTest(CompletionTest_NamespaceRef_NoPrefix.suite());
|
||||
addTest(CompletionTest_NamespaceRef_Prefix.suite());
|
||||
addTest(CompletionTest_NewTypeReference_NoPrefix.suite());
|
||||
addTest(CompletionTest_NewTypeReference_Prefix.suite());
|
||||
addTest(CompletionTest_ScopedReference_NonCodeScope.suite());
|
||||
addTest(CompletionTest_ScopedReference_NoPrefix.suite());
|
||||
addTest(CompletionTest_ScopedReference_Prefix.suite());
|
||||
addTest(CompletionTest_SingleName_Method_NoPrefix.suite());
|
||||
addTest(CompletionTest_SingleName_Method_Prefix.suite());
|
||||
addTest(CompletionTest_SingleName_NoPrefix.suite());
|
||||
addTest(CompletionTest_SingleName_Prefix.suite());
|
||||
addTest(CompletionTest_SingleName_Prefix2.suite());
|
||||
addTest(CompletionTest_TypeDef_NoPrefix.suite());
|
||||
addTest(CompletionTest_TypeDef_Prefix.suite());
|
||||
addTest(CompletionTest_TypeRef_NoPrefix.suite());
|
||||
addTest(CompletionTest_TypeRef_Prefix.suite());
|
||||
addTest(CompletionTest_VariableType_NestedPrefix.suite());
|
||||
addTest(CompletionTest_VariableType_NoPrefix.suite());
|
||||
addTest(CompletionTest_VariableType_Prefix.suite());
|
||||
ShowCamelCasePreferenceTest.class,
|
||||
|
||||
addTest(CompletionTests.suite());
|
||||
addTest(HelpProposalTests.suite());
|
||||
addTest(CompletionTests_PlainC.suite());
|
||||
addTest(ParameterHintTests.suite());
|
||||
addTest(CPPParameterGuessingTests.suite());
|
||||
addTest(CParameterGuessingTests.suite());
|
||||
TemplateProposalTest.class,
|
||||
|
||||
addTest(ShowCamelCasePreferenceTest.suite());
|
||||
|
||||
addTest(TemplateProposalTest.suite());
|
||||
}
|
||||
})
|
||||
public class ContentAssist2TestSuite {
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2006, 2015 Wind River Systems, Inc. and others.
|
||||
* Copyright (c) 2006, 2017 Wind River Systems, Inc. and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -7,26 +7,24 @@
|
|||
*
|
||||
* Contributors:
|
||||
* Markus Schorn - initial API and implementation
|
||||
* Jonah Graham (Kichwa Coders) - converted to new style suite (Bug 515178)
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.ui.tests.text.selection;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
public class SelectionTestSuite extends TestSuite {
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({
|
||||
|
||||
public static TestSuite suite() {
|
||||
return new SelectionTestSuite();
|
||||
}
|
||||
// selection tests
|
||||
ResolveBindingTests.class,
|
||||
CPPSelectionTestsNoIndexer.class,
|
||||
CSelectionTestsNoIndexer.class,
|
||||
CPPSelectionTestsIndexer.class,
|
||||
CSelectionTestsIndexer.class,
|
||||
|
||||
public SelectionTestSuite() {
|
||||
super(SelectionTestSuite.class.getName());
|
||||
|
||||
// selection tests
|
||||
addTest(ResolveBindingTests.suite());
|
||||
addTest(CPPSelectionTestsNoIndexer.suite());
|
||||
addTest(CSelectionTestsNoIndexer.suite());
|
||||
addTest(CPPSelectionTestsIndexer.suite());
|
||||
addTest(CSelectionTestsIndexer.suite());
|
||||
}
|
||||
})
|
||||
public class SelectionTestSuite {
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2007, 2013 Wind River Systems, Inc. and others.
|
||||
* Copyright (c) 2007, 2017 Wind River Systems, Inc. and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -7,23 +7,20 @@
|
|||
*
|
||||
* Contributors:
|
||||
* Markus Schorn - initial API and implementation
|
||||
* Jonah Graham (Kichwa Coders) - converted to new style suite (Bug 515178)
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.ui.tests.typehierarchy;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
public class TypeHierarchyTestSuite extends TestSuite {
|
||||
|
||||
public static TestSuite suite() {
|
||||
return new TypeHierarchyTestSuite();
|
||||
}
|
||||
|
||||
public TypeHierarchyTestSuite() {
|
||||
super(TypeHierarchyTestSuite.class.getName());
|
||||
addTest(CTypeHierarchyTest.suite());
|
||||
addTest(CppTypeHierarchyTest.suite());
|
||||
addTest(QuickTypeHierarchyTest.suite());
|
||||
addTest(TypeHierarchyAcrossProjectsTest.suite());
|
||||
}
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({
|
||||
CTypeHierarchyTest.class,
|
||||
CppTypeHierarchyTest.class,
|
||||
QuickTypeHierarchyTest.class,
|
||||
TypeHierarchyAcrossProjectsTest.class,
|
||||
})
|
||||
public class TypeHierarchyTestSuite {
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2006, 2007 Wind River Systems, Inc. and others.
|
||||
* Copyright (c) 2006, 2017 Wind River Systems, Inc. and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -7,20 +7,21 @@
|
|||
*
|
||||
* Contributors:
|
||||
* Markus Schorn - initial API and implementation
|
||||
* Jonah Graham (Kichwa Coders) - converted to new style suite (Bug 515178)
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.ui.tests.viewsupport;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({
|
||||
|
||||
AsyncViewerTest.class,
|
||||
})
|
||||
public class ViewSupportTestSuite extends TestSuite {
|
||||
|
||||
public static TestSuite suite() {
|
||||
return new ViewSupportTestSuite();
|
||||
}
|
||||
|
||||
public ViewSupportTestSuite() {
|
||||
super(ViewSupportTestSuite.class.getName());
|
||||
addTestSuite(AsyncViewerTest.class);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2011 Stefan Ghiaus.
|
||||
* Copyright (c) 2011, 2017 Stefan Ghiaus and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -7,19 +7,17 @@
|
|||
*
|
||||
* Contributors:
|
||||
* Stefan Ghiaus - initial API and implementation
|
||||
* Jonah Graham (Kichwa Coders) - converted to new style suite (Bug 515178)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.ui.tests.wizards.classwizard;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
public class ClassWizardTestSuite extends TestSuite {
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({
|
||||
ClassWizardNameTest.class,
|
||||
|
||||
public static TestSuite suite() {
|
||||
return new ClassWizardTestSuite();
|
||||
}
|
||||
|
||||
public ClassWizardTestSuite() {
|
||||
super(ClassWizardTestSuite.class.getName());
|
||||
addTestSuite(ClassWizardNameTest.class);
|
||||
}
|
||||
})
|
||||
public class ClassWizardTestSuite {
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2008 IBM Corporation and others.
|
||||
* Copyright (c) 2008, 2017 IBM Corporation and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -7,19 +7,16 @@
|
|||
*
|
||||
* Contributors:
|
||||
* IBM Corporation - initial API and implementation
|
||||
* Jonah Graham (Kichwa Coders) - converted to new style suite (Bug 515178)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.ui.tests.wizards.settingswizards;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
public class SettingsWizardTestSuite extends TestSuite {
|
||||
|
||||
public static TestSuite suite() {
|
||||
return new SettingsWizardTestSuite();
|
||||
}
|
||||
|
||||
public SettingsWizardTestSuite() {
|
||||
super(SettingsWizardTestSuite.class.getName());
|
||||
addTestSuite(SettingsImportExportTest.class);
|
||||
}
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({
|
||||
SettingsImportExportTest.class
|
||||
})
|
||||
public class SettingsWizardTestSuite {
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue