use of org.eclipse.wst.jsdt.web.ui.tests.internal.TestProjectSetup in project webtools.sourceediting by eclipse.
the class DuplicatesTests 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(DuplicatesTests.class, TEST_NAME);
fTestProjectSetup = new TestProjectSetup(ts, "JSDTWebContentAssist", "WebContent", false);
return fTestProjectSetup;
}
use of org.eclipse.wst.jsdt.web.ui.tests.internal.TestProjectSetup in project webtools.sourceediting by eclipse.
the class GlobalFunctionTests_Edited 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(GlobalFunctionTests_Edited.class, TEST_NAME);
fTestProjectSetup = new TestProjectSetup(ts, "JSDTWebContentAssist", "WebContent", false) {
/**
* @see org.eclipse.wst.jsdt.ui.tests.contentassist.ContentAssistTestUtilities.ContentAssistTestsSetup#additionalSetUp()
*/
public void additionalSetUp() throws Exception {
/* file -> GlobalFunctions.js
* funcOne -> functionOne
* funcTwo -> functionTwo */
this.editFile("GlobalFunctions.js", 0, 9, 4, "function");
this.editFile("GlobalFunctions.js", 4, 9, 4, "function");
this.editFile("NamedFunctionAssignedToVariables.js", 0, 4, 4, "foo1Edit");
this.editFile("NamedFunctionAssignedToVariables.js", 0, 24, 4, "foo1Edit");
this.editFile("NamedFunctionAssignedToVariables.js", 4, 0, 4, "foo2Edit");
this.editFile("NamedFunctionAssignedToVariables.js", 4, 20, 4, "foo2Edit");
}
};
return fTestProjectSetup;
}
use of org.eclipse.wst.jsdt.web.ui.tests.internal.TestProjectSetup in project webtools.sourceediting by eclipse.
the class ClosureTests 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(ClosureTests.class, TEST_NAME);
fTestProjectSetup = new TestProjectSetup(ts, "JSDTWebContentAssist", "WebContent", false);
return fTestProjectSetup;
}
use of org.eclipse.wst.jsdt.web.ui.tests.internal.TestProjectSetup in project webtools.sourceediting by eclipse.
the class InnerFunctionTests 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(InnerFunctionTests.class, TEST_NAME);
fTestProjectSetup = new TestProjectSetup(ts, "JSDTWebContentAssist", "WebContent", false);
return fTestProjectSetup;
}
use of org.eclipse.wst.jsdt.web.ui.tests.internal.TestProjectSetup in project webtools.sourceediting by eclipse.
the class ProposalInfoTest 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(ProposalInfoTest.class, TEST_NAME);
fTestProjectSetup = new TestProjectSetup(ts, "JSDTWebContentAssist", "WebContent", false);
return fTestProjectSetup;
}
Aggregations