@Test(dependsOnMethods="getAvailablePages", groups="Enterprise-only") public void getCurrentPages() { List<SitePageType> currentPageTypes = customizeSitePage.getCurrentPages(); assertNotNull(currentPageTypes); List<SitePageType> expectedPageTypes = new ArrayList<SitePageType>(); expectedPageTypes.add(SitePageType.DOCUMENT_LIBRARY); assertEquals(currentPageTypes.size(), expectedPageTypes.size()); assertEquals(currentPageTypes, expectedPageTypes); }
public List<SitePageType> getCurrentPages() { return getPages(CURRENT_PAGES); }
CustomizeSitePage extends SitePage { public List<SitePageType> getCurrentPages() { return getPages(CURRENT_PAGES); } }
CustomizeSitePage extends SitePage { public List<SitePageType> getCurrentPages() { return getPages(CURRENT_PAGES); } CustomizeSitePage(WebDrone drone); }
CustomizeSitePage extends SitePage { public List<SitePageType> getCurrentPages() { return getPages(CURRENT_PAGES); } CustomizeSitePage(WebDrone drone); @SuppressWarnings("unchecked") @Override CustomizeSitePage render(RenderTime timer); @SuppressWarnings("unchecked") @Override CustomizeSitePage render(long time); @SuppressWarnings("unchecked") @Override CustomizeSitePage render(); List<SitePageType> getCurrentPages(); List<SitePageType> getAvailablePages(); SiteDashboardPage addPages(List<SitePageType> pageTypes); SiteDashboardPage addAllPages(); }
CustomizeSitePage extends SitePage { public List<SitePageType> getCurrentPages() { return getPages(CURRENT_PAGES); } CustomizeSitePage(WebDrone drone); @SuppressWarnings("unchecked") @Override CustomizeSitePage render(RenderTime timer); @SuppressWarnings("unchecked") @Override CustomizeSitePage render(long time); @SuppressWarnings("unchecked") @Override CustomizeSitePage render(); List<SitePageType> getCurrentPages(); List<SitePageType> getAvailablePages(); SiteDashboardPage addPages(List<SitePageType> pageTypes); SiteDashboardPage addAllPages();  }