Exemplo n.º 1
0
  protected static void init(final UITestContext context) {
    sContext = context;
    sSolo = context.getSolo();

    sAppMenu = (AppMenuComponent) context.getComponent(ComponentType.APPMENU);
    sToolbar = (ToolbarComponent) context.getComponent(ComponentType.TOOLBAR);
  }
Exemplo n.º 2
0
  /** Returns a new URL with the docshell HTTP server host prefix. */
  public static String adjustUrl(final String url) {
    fAssertNotNull("url is not null", url);

    if (url.startsWith("about:") || url.startsWith("chrome:")) {
      return url;
    }

    return sContext.getAbsoluteHostnameUrl(url);
  }
Exemplo n.º 3
0
 protected static void init(final UITestContext context) {
   sSolo = context.getSolo();
 }