Package org.xwiki.extension.test.po

Examples of org.xwiki.extension.test.po.ExtensionDescriptionPane


        Assert.assertEquals("Thomas", authors.get(0).getText());
        Assert.assertEquals("Marius", authors.get(1).getText());
        Assert.assertEquals(extension.getSummary(), extensionPane.getSummary());

        // Check the extension details.
        ExtensionDescriptionPane descriptionPane = extensionPane.openDescriptionSection();
        Assert.assertEquals(extension.getLicenses().iterator().next().getName(), descriptionPane.getLicense());
        Assert.assertEquals(extension.getId().getId(), descriptionPane.getId());
        Assert.assertEquals(extension.getType(), descriptionPane.getType());
        WebElement webSiteLink = descriptionPane.getWebSite();
        Assert.assertEquals(extension.getWebSite().substring("http://".length()), webSiteLink.getText());
        Assert.assertEquals(extension.getWebSite() + '/', webSiteLink.getAttribute("href"));
    }
View Full Code Here

TOP

Related Classes of org.xwiki.extension.test.po.ExtensionDescriptionPane

Copyright © 2018 www.massapicom. 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.