Ejemplo n.º 1
0
 @Override
 public void setUp() {
   super.setUp();
   // Open Internal Web Browser
   // TODO: should be replaced with Internal Web Browses view once it's implemented
   new DefaultShell();
   RegexMatchers m = new RegexMatchers("Window.*", "Show View.*", "Other...*");
   Menu menu = new ShellMenu(m.getMatchers());
   menu.select();
   new DefaultShell("Show View");
   new DefaultTreeItem("General", "Internal Web Browser").select();
   new PushButton("OK").click();
 }
Ejemplo n.º 2
0
 @Override
 protected void setUp() {
   super.setUp();
   NewJavaProjectWizardDialog dialog = new NewJavaProjectWizardDialog();
   dialog.open();
   NewJavaProjectWizardPage page1 = dialog.getFirstPage();
   page1.setProjectName(ProjectItemTest.PROJECT_NAME);
   dialog.finish();
   packageExplorer = new PackageExplorer();
   projectItem =
       packageExplorer
           .getProject(ProjectItemTest.PROJECT_NAME)
           .getProjectItem(ProjectItemTest.PROJECT_ITEM_TEXT);
 }
Ejemplo n.º 3
0
 @Before
 public void setUpRDT() {
   setUp();
 }