@BeforeClass
 public static void setUpBeforeClass() throws Exception {
   Settings.init();
   WebElement chooseFile = Settings.driver.findElement(By.id("chooseFile"));
   chooseFile.sendKeys(UIUtils.pathUI + "plan.xml");
   chooseFile.submit();
 }
Exemplo n.º 2
0
 public static void main(String[] args) throws Exception {
   try {
     Settings settings = Settings.init();
     new GalaxyViewer(settings, false);
   } catch (Exception ex) {
     ex.printStackTrace();
     System.err.println(ex.toString());
     JOptionPane.showMessageDialog(null, ex.toString());
     System.exit(0);
   }
 }
Exemplo n.º 3
0
 @Override
 public void onCreate() {
   super.onCreate();
   Settings.init(this.getApplicationContext());
 }