Пример #1
0
 /** Configures project and GWT module for given version. */
 protected final void configureForGWT_version(String location) throws Exception {
   do_projectDispose();
   do_projectCreate();
   GTestUtils.configure(location, m_testProject);
   IFile moduleFile = GTestUtils.createModule(m_testProject, "test.Module");
   ModuleDescription moduleDescription = Utils.getExactModule(moduleFile);
   configureModule(moduleDescription);
 }
Пример #2
0
 /** Configures created project. */
 @Override
 protected void configureNewProject() throws Exception {
   GTestUtils.configure(getGWTLocation_forProject(), m_testProject);
   IFile moduleFile = GTestUtils.createModule(m_testProject, "test.Module");
   ModuleDescription moduleDescription = Utils.getExactModule(moduleFile);
   configureModule(moduleDescription);
   waitForAutoBuild();
 }
Пример #3
0
 /**
  * @return the location of GWT to use for this test, can be changed to test something with
  *     non-default GWT version.
  */
 protected String getGWTLocation_forProject() {
   return GTestUtils.getLocation();
 }