use of org.eclipse.wst.jsdt.web.ui.tests.internal.TestProjectSetup in project webtools.sourceediting by eclipse.
the class InnerFunctionTests_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(InnerFunctionTests_Edited.class, TEST_NAME);
fTestProjectSetup = new TestProjectSetup(ts, "JSDTWebContentAssist", "WebContent", false) {
public void additionalSetUp() throws Exception {
this.editFile("InnerFunctions.js", 1, 22, 0, "Edit");
this.editFile("InnerFunctions.js", 5, 17, 0, "Edit");
this.editFile("InnerFunctions.js", 9, 13, 0, "Edit");
}
};
return fTestProjectSetup;
}
use of org.eclipse.wst.jsdt.web.ui.tests.internal.TestProjectSetup in project webtools.sourceediting by eclipse.
the class ProposalInfoTest_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(ProposalInfoTest_Edited.class, TEST_NAME);
fTestProjectSetup = new TestProjectSetup(ts, "JSDTWebContentAssist", "WebContent", false) {
public void additionalSetUp() throws Exception {
/* File Edited : ProposalInfo.js
* World -> Earth
* State -> NC
* City -> Wake
* nodeOne = test -> nodeOne = Edit */
this.editFile("ProposalInfo.js", 1, 9, 5, "Earth");
this.editFile("ProposalInfo.js", 8, 10, 5, "NC");
this.editFile("ProposalInfo.js", 18, 13, 4, "Edit");
}
};
return fTestProjectSetup;
}
use of org.eclipse.wst.jsdt.web.ui.tests.internal.TestProjectSetup in project webtools.sourceediting by eclipse.
the class LocalVarDefinedInFunctionInObjectLiteralTests 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(LocalVarDefinedInFunctionInObjectLiteralTests.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 SingleLineSriptTagTests 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(SingleLineSriptTagTests.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 StaticTests_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(StaticTests_Edited.class, TEST_NAME);
fTestProjectSetup = new TestProjectSetup(ts, "JSDTWebContentAssist", "WebContent", false) {
public void additionalSetUp() throws Exception {
/* file -> StaticTests.js
* getServerIP -> getRouterIP
* serverIP -> routerIP
* gSIP -> gRIP
* client -> switch
* Client -> Switch
* cIP -> sIP */
this.editFile("StaticTests.js", 7, 10, 6, "Router");
this.editFile("StaticTests.js", 10, 7, 8, "routerIP");
this.editFile("StaticTests.js", 8, 15, 8, "routerIP");
this.editFile("StaticTests.js", 28, 8, 1, "R");
this.editFile("StaticTests.js", 14, 20, 6, "Switch");
this.editFile("StaticTests.js", 17, 17, 8, "switchIP");
this.editFile("StaticTests.js", 18, 20, 8, "SwitchIP");
this.editFile("StaticTests.js", 19, 13, 8, "switchIP");
this.editFile("StaticTests.js", 32, 12, 1, "s");
/* file -> StaticTests.html */
this.editFile("StaticTests.html", 8, 8, 1, "R");
this.editFile("StaticTests.html", 12, 12, 1, "s");
}
};
return fTestProjectSetup;
}
Aggregations