• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • Android的自動測試研究--Robotium(2)

    發表于:2013-05-29來源:Csdn作者:xyz_lmn點擊數: 標簽:Android
    //Clicks on Delete in the context menu solo.clickOnText((?i).*?Delete.*); actual = solo.searchText(Note 2); //Assert that Note 2 is not found assertEquals(Note 2 is found, expected, actual); } @Overri

      //Clicks on Delete in the context menu

      solo.clickOnText("(?i).*?Delete.*");

      actual = solo.searchText("Note 2");

      //Assert that Note 2 is not found

      assertEquals("Note 2 is found", expected, actual);

      }

      @Override

      public void tearDown() throws Exception {

      try {

      //Robotium will finish all the activities that have been opened

      solo.finalize();

      } catch (Throwable e) {

      e.printStackTrace();

      }

      getActivity().finish();

      super.tearDown();

      }

      }

    原文轉自:http://blog.csdn.net/xyz_lmn/article/details/6899905

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>