Search in sources :

Example 26 with TestProjectSetup

use of org.eclipse.wst.jsdt.web.ui.tests.internal.TestProjectSetup in project webtools.sourceediting by eclipse.

the class AllContentAssistTests method suite.

public static Test suite() {
    TestSuite all = new TestSuite(TEST_NAME);
    all.addTest(BrowserLibraryTests.suite());
    all.addTest(CamelCasingTests.suite());
    all.addTest(CamelCasingTests_Edited.suite());
    all.addTest(ClosureTests.suite());
    all.addTest(ConstructorTests.suite());
    all.addTest(ConstructorTests_Edited.suite());
    all.addTest(DoublyNestedFunctionTests.suite());
    all.addTest(DoublyNestedFunctionTests_Edited.suite());
    all.addTest(DuplicatesTests.suite());
    all.addTest(GlobalFunctionTests.suite());
    all.addTest(GlobalFunctionTests_Edited.suite());
    all.addTest(GlobalObjectLiteralTests.suite());
    all.addTest(GlobalVariableTests.suite());
    all.addTest(GlobalVariableTests_Edited.suite());
    all.addTest(InnerFunctionTests.suite());
    all.addTest(InnerFunctionTests_Edited.suite());
    all.addTest(LocalVarDefinedInFunctionInObjectLiteralTests.suite());
    all.addTest(OtherContentAssistTests.suite());
    all.addTest(ProposalInfoTest.suite());
    all.addTest(ProposalInfoTest_Edited.suite());
    all.addTest(StaticTests.suite());
    all.addTest(StaticTests_Edited.suite());
    all.addTest(TemplateTests.suite());
    all.addTest(SingleLineSriptTagTests.suite());
    all.addTest(TypeTests.suite());
    all.addTest(TypeTests_Edited.suite());
    // delete the project after running all JSDT content assist tests
    return new TestProjectSetup(all, "JSDTWebContentAssist", "WebContent", true);
}
Also used : TestSuite(junit.framework.TestSuite) TestProjectSetup(org.eclipse.wst.jsdt.web.ui.tests.internal.TestProjectSetup)

Example 27 with TestProjectSetup

use of org.eclipse.wst.jsdt.web.ui.tests.internal.TestProjectSetup in project webtools.sourceediting by eclipse.

the class CamelCasingTests method suite.

/**
 * <p>
 * Use this method to add these tests to a larger test suite so set up and tear down can be
 * performed
 * </p>
 *
 * @return a {@link TestSetup} that will run all of the tests in this class
 *         with set up and tear down.
 */
public static Test suite() {
    TestSuite ts = new TestSuite(CamelCasingTests.class, TEST_NAME);
    fTestProjectSetup = new TestProjectSetup(ts, "JSDTWebContentAssist", "WebContent", false);
    return fTestProjectSetup;
}
Also used : TestSuite(junit.framework.TestSuite) TestProjectSetup(org.eclipse.wst.jsdt.web.ui.tests.internal.TestProjectSetup)

Aggregations

TestSuite (junit.framework.TestSuite)27 TestProjectSetup (org.eclipse.wst.jsdt.web.ui.tests.internal.TestProjectSetup)27