/** * file -> test2_0.js Awesome -> Awesomeness Class1 -> ClassOne Class2 -> ClassTwo Class3 -> * ClassThree * * @throws Exception */ private static void editFile_test2_0() throws Exception { fTestProjectSetup.editFile("test2_0.js", 0, 9, 7, "Awesomeness"); fTestProjectSetup.editFile("test2_0.js", 10, 4, 6, "ClassOne"); fTestProjectSetup.editFile("test2_0.js", 11, 4, 6, "ClassOne"); fTestProjectSetup.editFile("test2_0.js", 12, 4, 6, "ClassTwo"); fTestProjectSetup.editFile("test2_0.js", 13, 4, 6, "ClassTwo"); fTestProjectSetup.editFile("test2_0.js", 14, 8, 6, "ClassThree"); fTestProjectSetup.editFile("test2_0.js", 15, 8, 6, "ClassThree"); }
/** * file -> test9_0.js test -> testEdit * * @throws Exception */ private static void editFile_test9_0() throws Exception { fTestProjectSetup.editFile("test9_0.js", 0, 4, 4, "testEdit"); fTestProjectSetup.editFile("test9_0.js", 1, 0, 4, "testEdit"); }
/** * file -> test5.js MyClass1 -> MyClassEdit1 MyClass2 -> MyClassEdit2 * * @throws Exception */ private static void editFile_test4() throws Exception { fTestProjectSetup.editFile("test5.js", 0, 9, 8, "MyClassEdit1"); fTestProjectSetup.editFile("test5.js", 4, 4, 8, "MyClassEdit2"); fTestProjectSetup.editFile("test5.js", 5, 0, 8, "MyClassEdit2"); }
@AfterClass public static void tearDown() throws Exception { fTestProjectSetup.tearDown(); }
@BeforeClass public static void setup() throws Exception { fTestProjectSetup = new TestProjectSetup("ContentAssist", "root", false); fTestProjectSetup.setUp(); }