@Test public void instantiateDashlet() { customiseSiteDashBoard = siteDashBoard.getSiteNav().selectCustomizeDashboard(); customiseSiteDashBoard.render(); siteDashBoard = customiseSiteDashBoard.addDashlet(Dashlets.SITE_LINKS, 1).render(); siteLinksDashlet = siteDashBoard.getDashlet(SITE_LINKS_DASHLET).render(); assertNotNull(siteLinksDashlet); }
@SuppressWarnings("unchecked") @Override public synchronized SiteLinksDashlet render(RenderTime timer) { try { while (true) { timer.start(); synchronized (this) { try { this.wait(50L); } catch (InterruptedException e) { } } try { this.dashlet = drone.findAndWait((DASHLET_CONTAINER_PLACEHOLDER), 100L, 10L); break; } catch (NoSuchElementException e) { } catch (StaleElementReferenceException ste) { } finally { timer.end(); } } } catch (PageRenderTimeException te) { throw new NoSuchDashletExpection(this.getClass().getName() + " failed to find site links dashlet", te); } return this; }
SiteLinksDashlet extends AbstractDashlet implements Dashlet { @SuppressWarnings("unchecked") @Override public synchronized SiteLinksDashlet render(RenderTime timer) { try { while (true) { timer.start(); synchronized (this) { try { this.wait(50L); } catch (InterruptedException e) { } } try { this.dashlet = drone.findAndWait((DASHLET_CONTAINER_PLACEHOLDER), 100L, 10L); break; } catch (NoSuchElementException e) { } catch (StaleElementReferenceException ste) { } finally { timer.end(); } } } catch (PageRenderTimeException te) { throw new NoSuchDashletExpection(this.getClass().getName() + " failed to find site links dashlet", te); } return this; } }
SiteLinksDashlet extends AbstractDashlet implements Dashlet { @SuppressWarnings("unchecked") @Override public synchronized SiteLinksDashlet render(RenderTime timer) { try { while (true) { timer.start(); synchronized (this) { try { this.wait(50L); } catch (InterruptedException e) { } } try { this.dashlet = drone.findAndWait((DASHLET_CONTAINER_PLACEHOLDER), 100L, 10L); break; } catch (NoSuchElementException e) { } catch (StaleElementReferenceException ste) { } finally { timer.end(); } } } catch (PageRenderTimeException te) { throw new NoSuchDashletExpection(this.getClass().getName() + " failed to find site links dashlet", te); } return this; } protected  SiteLinksDashlet(WebDrone drone); }
SiteLinksDashlet extends AbstractDashlet implements Dashlet { @SuppressWarnings("unchecked") @Override public synchronized SiteLinksDashlet render(RenderTime timer) { try { while (true) { timer.start(); synchronized (this) { try { this.wait(50L); } catch (InterruptedException e) { } } try { this.dashlet = drone.findAndWait((DASHLET_CONTAINER_PLACEHOLDER), 100L, 10L); break; } catch (NoSuchElementException e) { } catch (StaleElementReferenceException ste) { } finally { timer.end(); } } } catch (PageRenderTimeException te) { throw new NoSuchDashletExpection(this.getClass().getName() + " failed to find site links dashlet", te); } return this; } protected  SiteLinksDashlet(WebDrone drone); @SuppressWarnings("unchecked") @Override synchronized SiteLinksDashlet render(RenderTime timer); @SuppressWarnings("unchecked") @Override SiteLinksDashlet render(long time); @SuppressWarnings("unchecked") @Override SiteLinksDashlet render(); int getLinksCount(); boolean isLinkDisplayed(String linkName); LinksDetailsPage createLink(String name, String url); boolean isDetailsLinkDisplayed(); }
SiteLinksDashlet extends AbstractDashlet implements Dashlet { @SuppressWarnings("unchecked") @Override public synchronized SiteLinksDashlet render(RenderTime timer) { try { while (true) { timer.start(); synchronized (this) { try { this.wait(50L); } catch (InterruptedException e) { } } try { this.dashlet = drone.findAndWait((DASHLET_CONTAINER_PLACEHOLDER), 100L, 10L); break; } catch (NoSuchElementException e) { } catch (StaleElementReferenceException ste) { } finally { timer.end(); } } } catch (PageRenderTimeException te) { throw new NoSuchDashletExpection(this.getClass().getName() + " failed to find site links dashlet", te); } return this; } protected  SiteLinksDashlet(WebDrone drone); @SuppressWarnings("unchecked") @Override synchronized SiteLinksDashlet render(RenderTime timer); @SuppressWarnings("unchecked") @Override SiteLinksDashlet render(long time); @SuppressWarnings("unchecked") @Override SiteLinksDashlet render(); int getLinksCount(); boolean isLinkDisplayed(String linkName); LinksDetailsPage createLink(String name, String url); boolean isDetailsLinkDisplayed();  }