use of org.eclipse.wst.jsdt.web.ui.tests.internal.TestProjectSetup in project webtools.sourceediting by eclipse.
the class BrowserLibraryTests 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(BrowserLibraryTests.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 TemplateTests 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(TemplateTests.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 TypeTests_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(TypeTests_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 -> JSClassesII.js
* IntelQuadCore -> IntelCentrino
* IntelDualCore -> IntelXeonProc
* Installed -> Developed */
this.editFile("JSClassesII.js", 15, 19, 8, "Centrino");
this.editFile("JSClassesII.js", 9, 19, 8, "XeonProc");
this.editFile("JSClassesII.js", 12, 19, 8, "XeonProc");
this.editFile("JSClassesII.js", 7, 4, 9, "Developed");
this.editFile("JSClassesII.js", 22, 0, 9, "Developed");
this.editFile("JSClassesII.js", 27, 1, 1, "X");
this.editFile("JSClassesII.js", 31, 1, 2, "XP");
this.editFile("JSClassesII.html", 8, 1, 1, "X");
this.editFile("JSClassesII.js", 35, 0, 3, "Dev");
this.editFile("JSClassesII.html", 12, 1, 2, "XP");
this.editFile("JSClassesII.html", 16, 0, 3, "Dev");
}
};
return fTestProjectSetup;
}
use of org.eclipse.wst.jsdt.web.ui.tests.internal.TestProjectSetup in project webtools.sourceediting by eclipse.
the class ConstructorTests 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(ConstructorTests.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 {
// for some reason this test suite wants an extra second before running otherwise
// the first test fails...
Thread.sleep(1000);
}
};
return fTestProjectSetup;
}
use of org.eclipse.wst.jsdt.web.ui.tests.internal.TestProjectSetup in project webtools.sourceediting by eclipse.
the class GlobalObjectLiteralTests 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(GlobalObjectLiteralTests.class, TEST_NAME);
fTestProjectSetup = new TestProjectSetup(ts, "JSDTWebContentAssist", "WebContent", false);
return fTestProjectSetup;
}
Aggregations