コード例 #1
0
 @Override
 public void setUp() throws Exception {
   super.setUp();
   clearAppData();
   launchChromiumTestShellWithUrl(PAGE_DATA);
   assertTrue(waitForActiveShellToBeDoneLoading());
   mHelper = new AutofillTestHelper();
 }
コード例 #2
0
  @Override
  protected void setUp() throws Exception {
    super.setUp();
    launchChromiumTestShellWithUrl(null);

    mImageBlobs =
        new byte[][] {
          BookmarkUtils.getIcon("chrome/provider/icon1.png"),
          BookmarkUtils.getIcon("chrome/provider/icon2.png"),
          BookmarkUtils.getIcon("chrome/provider/icon3.png"),
        };

    for (byte[] icon : mImageBlobs) {
      assertNotNull(icon);
    }
  }