@Test(expectedExceptions = UnsupportedOperationException.class, groups = { "alfresco-one" }, dependsOnMethods = "testGetContentNameFromInfoMenu") public void testGetVersionInfo() throws Exception { documentLibPage = documentLibPage.getNavigation().selectTableView().render(); FileDirectoryInfo thisRow = documentLibPage.getFileDirectoryInfo(file1.getName() + " updated"); thisRow.getVersionInfo(); }
@Override public String getVersionInfo() { throw new UnsupportedOperationException("Version info not available in Table view."); }
TableViewFileDirectoryInfo extends SimpleDetailTableView { @Override public String getVersionInfo() { throw new UnsupportedOperationException("Version info not available in Table view."); } }
TableViewFileDirectoryInfo extends SimpleDetailTableView { @Override public String getVersionInfo() { throw new UnsupportedOperationException("Version info not available in Table view."); } TableViewFileDirectoryInfo(String nodeRef, WebElement webElement, WebDrone drone); }
TableViewFileDirectoryInfo extends SimpleDetailTableView { @Override public String getVersionInfo() { throw new UnsupportedOperationException("Version info not available in Table view."); } TableViewFileDirectoryInfo(String nodeRef, WebElement webElement, WebDrone drone); String getCreator(); HtmlPage selectCreator(); String getCreated(); String getModifier(); HtmlPage selectModifier(); String getModified(); @Override HtmlPage clickShareLink(); @Override HtmlPage clickCommentsLink(); @Override String getCommentsToolTip(); @Override int getCommentsCount(); @Override boolean isCommentLinkPresent(); @Override String getVersionInfo(); }
TableViewFileDirectoryInfo extends SimpleDetailTableView { @Override public String getVersionInfo() { throw new UnsupportedOperationException("Version info not available in Table view."); } TableViewFileDirectoryInfo(String nodeRef, WebElement webElement, WebDrone drone); String getCreator(); HtmlPage selectCreator(); String getCreated(); String getModifier(); HtmlPage selectModifier(); String getModified(); @Override HtmlPage clickShareLink(); @Override HtmlPage clickCommentsLink(); @Override String getCommentsToolTip(); @Override int getCommentsCount(); @Override boolean isCommentLinkPresent(); @Override String getVersionInfo();  }