Loading archetypes/alfresco-amp-archetype/src/main/resources/archetype-resources/pom.xml +5 −0 Original line number Diff line number Diff line Loading @@ -68,5 +68,10 @@ <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-repository</artifactId> </dependency> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <version>2.39.0</version> </dependency> </dependencies> </project> archetypes/alfresco-amp-archetype/src/main/resources/archetype-resources/src/integration/java/org/alfresco/demoamp/Demo.java→archetypes/alfresco-amp-archetype/src/main/resources/archetype-resources/src/integration/java/org/alfresco/demoamp/DemoTestIT.java +5 −5 Original line number Diff line number Diff line Loading @@ -15,16 +15,16 @@ package org.alfresco.demoamp; import org.alfresco.demoamp.po.HelloWorldPage; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; import org.testng.Assert; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; public class Demo public class DemoTestIT { private static WebDriver driver; Loading poms/alfresco-sdk-parent/pom.xml +44 −0 Original line number Diff line number Diff line Loading @@ -759,6 +759,50 @@ </plugins> </build> </profile> <profile> <id>integration</id> <activation> <file> <exists>src/integration/java</exists> </file> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.9.1</version> <executions> <execution> <id>add-test-source</id> <phase>generate-sources</phase> <goals> <goal>add-test-source</goal> </goals> <configuration> <sources> <source>src/integration/java</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.17</version> <configuration> <includes> <include>**/*Test.java</include> </includes> <excludes> <exclude>%regex[.Test*[a-z|A-Z].class]</exclude> </excludes> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>ui-test</id> <properties> Loading Loading
archetypes/alfresco-amp-archetype/src/main/resources/archetype-resources/pom.xml +5 −0 Original line number Diff line number Diff line Loading @@ -68,5 +68,10 @@ <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-repository</artifactId> </dependency> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <version>2.39.0</version> </dependency> </dependencies> </project>
archetypes/alfresco-amp-archetype/src/main/resources/archetype-resources/src/integration/java/org/alfresco/demoamp/Demo.java→archetypes/alfresco-amp-archetype/src/main/resources/archetype-resources/src/integration/java/org/alfresco/demoamp/DemoTestIT.java +5 −5 Original line number Diff line number Diff line Loading @@ -15,16 +15,16 @@ package org.alfresco.demoamp; import org.alfresco.demoamp.po.HelloWorldPage; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; import org.testng.Assert; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; public class Demo public class DemoTestIT { private static WebDriver driver; Loading
poms/alfresco-sdk-parent/pom.xml +44 −0 Original line number Diff line number Diff line Loading @@ -759,6 +759,50 @@ </plugins> </build> </profile> <profile> <id>integration</id> <activation> <file> <exists>src/integration/java</exists> </file> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.9.1</version> <executions> <execution> <id>add-test-source</id> <phase>generate-sources</phase> <goals> <goal>add-test-source</goal> </goals> <configuration> <sources> <source>src/integration/java</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.17</version> <configuration> <includes> <include>**/*Test.java</include> </includes> <excludes> <exclude>%regex[.Test*[a-z|A-Z].class]</exclude> </excludes> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>ui-test</id> <properties> Loading