Examples of openTab()


Examples of com.atlassian.jira.pageobjects.pages.project.BrowseProjectPage.openTab()

{
  @Test
  public void shouldShowAdminAsLeadUserDeveloperAndTester()
  {
    BrowseProjectPage browseProjectPage = jira.gotoLoginPage().loginAsSysAdmin(BrowseProjectPage.class, "DBW");
    BrowseVersionPage browseVersionPage = browseProjectPage.openTab(VersionsTab.class).getVersion("NEXT").goToBrowseVersion();

    LeaderboardVersionTab leaderboardVersionTab = browseVersionPage.openTab(LeaderboardVersionTab.class);

    assertEquals("admin", leaderboardVersionTab.getUserLeader());
  }
View Full Code Here

Examples of com.atlassian.jira.pageobjects.pages.project.BrowseProjectPage.openTab()

  @Test
  public void firstUserInDetailsShouldBeLeader()
  {
    BrowseProjectPage browseProjectPage = jira.gotoLoginPage().loginAsSysAdmin(BrowseProjectPage.class, "DBW");
    BrowseVersionPage browseVersionPage = browseProjectPage.openTab(VersionsTab.class).getVersion("NEXT").goToBrowseVersion();

    LeaderboardVersionTab leaderboardVersionTab = browseVersionPage.openTab(LeaderboardVersionTab.class);

    UserDetailsRow userDetailsFirstRow = leaderboardVersionTab.getUserDetails().iterator().next();
    assertEquals(leaderboardVersionTab.getUserLeader(), userDetailsFirstRow.getUsername());
View Full Code Here

Examples of com.atlassian.jira.pageobjects.pages.project.BrowseProjectPage.openTab()

{
  @Test
  public void shouldShowAdminAsLeadUserDeveloperAndTester()
  {
    BrowseProjectPage browseProjectPage = jira.gotoLoginPage().loginAsSysAdmin(BrowseProjectPage.class, "DBW");
    LeaderboardProjectTab leaderboardProjectTab = browseProjectPage.openTab(LeaderboardProjectTab.class);

    assertEquals("admin", leaderboardProjectTab.getUserLeader());
  }

  @Test
View Full Code Here

Examples of com.atlassian.jira.pageobjects.pages.project.BrowseProjectPage.openTab()

  @Test
  public void firstUserInDetailsShouldBeLeader()
  {
    BrowseProjectPage browseProjectPage = jira.gotoLoginPage().loginAsSysAdmin(BrowseProjectPage.class, "DBW");
    LeaderboardProjectTab leaderboardProjectTab = browseProjectPage.openTab(LeaderboardProjectTab.class);

    UserDetailsRow userDetailsFirstRow = leaderboardProjectTab.getUserDetails().iterator().next();
    assertEquals(leaderboardProjectTab.getUserLeader(), userDetailsFirstRow.getUsername());
  }
}
View Full Code Here

Examples of com.atlassian.jira.pageobjects.pages.project.browseversion.BrowseVersionPage.openTab()

  public void shouldShowAdminAsLeadUserDeveloperAndTester()
  {
    BrowseProjectPage browseProjectPage = jira.gotoLoginPage().loginAsSysAdmin(BrowseProjectPage.class, "DBW");
    BrowseVersionPage browseVersionPage = browseProjectPage.openTab(VersionsTab.class).getVersion("NEXT").goToBrowseVersion();

    LeaderboardVersionTab leaderboardVersionTab = browseVersionPage.openTab(LeaderboardVersionTab.class);

    assertEquals("admin", leaderboardVersionTab.getUserLeader());
  }

  @Test
View Full Code Here

Examples of com.atlassian.jira.pageobjects.pages.project.browseversion.BrowseVersionPage.openTab()

  public void firstUserInDetailsShouldBeLeader()
  {
    BrowseProjectPage browseProjectPage = jira.gotoLoginPage().loginAsSysAdmin(BrowseProjectPage.class, "DBW");
    BrowseVersionPage browseVersionPage = browseProjectPage.openTab(VersionsTab.class).getVersion("NEXT").goToBrowseVersion();

    LeaderboardVersionTab leaderboardVersionTab = browseVersionPage.openTab(LeaderboardVersionTab.class);

    UserDetailsRow userDetailsFirstRow = leaderboardVersionTab.getUserDetails().iterator().next();
    assertEquals(leaderboardVersionTab.getUserLeader(), userDetailsFirstRow.getUsername());
  }
}
View Full Code Here

Examples of org.eclipse.ecf.presence.ui.MessagesView.openTab()

          MessagesView messageView = getMessagesView();

          IWorkbenchSiteProgressService service = (IWorkbenchSiteProgressService) messageView.getSite().getAdapter(IWorkbenchSiteProgressService.class);

          if (container.getPrivateMessageSender() != null) {
            messageView.openTab(container.getPrivateMessageSender(), null, targetID, message.getFromID());

            messageView.showMessage(message);
            service.warnOfContentChange();
          }
        } catch (Exception e) {
View Full Code Here

Examples of org.eclipse.ecf.presence.ui.MessagesView.openTab()

    Display.getDefault().asyncExec(new Runnable() {
      public void run() {
        MessagesView view = (MessagesView) workbench.getActiveWorkbenchWindow().getActivePage().findView(MessagesView.VIEW_ID);
        if (view != null) {
          final IWorkbenchSiteProgressService service = (IWorkbenchSiteProgressService) view.getSite().getAdapter(IWorkbenchSiteProgressService.class);
          view.openTab(icms, itms, targetID, message.getFromID());
          view.showMessage(message);
          service.warnOfContentChange();
        } else {
          try {
            final IWorkbenchPage page = workbench.getActiveWorkbenchWindow().getActivePage();
View Full Code Here

Examples of org.eclipse.ecf.presence.ui.MessagesView.openTab()

            view = (MessagesView) page.showView(MessagesView.VIEW_ID, null, IWorkbenchPage.VIEW_CREATE);
            if (!page.isPartVisible(view)) {
              final IWorkbenchSiteProgressService service = (IWorkbenchSiteProgressService) view.getSite().getAdapter(IWorkbenchSiteProgressService.class);
              service.warnOfContentChange();
            }
            view.openTab(icms, itms, targetID, message.getFromID());
            view.showMessage(message);
          } catch (final PartInitException e) {
            e.printStackTrace();
          }
        }
View Full Code Here

Examples of org.eclipse.ecf.presence.ui.MessagesView.openTab()

    if (this.view.lch != null) {
      IPresenceContainerAdapter ipca = this.view.lch.getPresenceContainer();
      MessagesView messagesView = this.view.lch.findMessagesView();
      if (messagesView != null) {
        IChatManager chatManager = ipca.getChatManager();
        messagesView.openTab(chatManager.getChatMessageSender(), chatManager.getTypingMessageSender(), this.view.lch.getContainerID(), data.getID());
      }
    }
  }

  protected void sendRepObjectToGroup(IUser user) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.