コード例 #1
0
  public void test99Quit() {
    albert.logoff();
    tina.logoff();
    xen.logoff();

    albert = null;
    tina = null;
    xen = null;
    image = null;
    requestedFile = null;
    requestedFile1 = null;
    requestedFile2 = null;

    RobotiumTestUtils.quit(solo);
  }
コード例 #2
0
  public void test09UserLoggingOffShouldCancelFileTransferRequest() {
    checkThatTheFilesHaveNotBeenTransferred();

    tina.changeNickName("TinaTurner");
    solo.sleep(500);

    tina.sendFile(me, image.getFile());
    solo.sleep(500);

    checkMainChatMessage("*** TinaTurner is trying to send the file kouchat-1600x1600.png");
    checkActiveFileTransferNotifications(10);
    solo.sleep(500);

    tina.logoff();
    solo.sleep(1000);

    checkMainChatMessage("*** TinaTurner logged off");
    checkThatNoFileTransferNotificationsAreActive();
  }