Created
April 5, 2012 03:23
-
-
Save jfuerth/2307711 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Profile that must be enabled when running integration tests (any test that extends GWTTestCase directly or indirectly) --> | |
<profile> | |
<id>integration-test</id> | |
<properties> | |
<profile.testOutputDirectory>\${basedir}/target/test-classes</profile.testOutputDirectory> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>com.google.gwt</groupId> | |
<artifactId>gwt-dev</artifactId> | |
<version>\${gwt.version}</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<testResources> | |
<testResource> | |
<directory>src/test/java</directory> | |
</testResource> | |
<testResource> | |
<directory>src/test/resources</directory> | |
</testResource> | |
</testResources> | |
<plugins> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<configuration> | |
<source>1.6</source> | |
<target>1.6</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.5</version> | |
<configuration> | |
<skipTests>false</skipTests> | |
<additionalClasspathElements> | |
<additionalClasspathElement>\${profile.testOutputDirectory}/</additionalClasspathElement> | |
<additionalClasspathElement>\${basedir}/src/test/java/</additionalClasspathElement> | |
<additionalClasspathElement>\${basedir}/src/main/java/</additionalClasspathElement> | |
</additionalClasspathElements> | |
<useManifestOnlyJar>false</useManifestOnlyJar> | |
<forkMode>pertest</forkMode> | |
<!-- Note: to run the test in a real browser, set -DargLine='-Dgwt.args="-runStyle Manual:1"' --> | |
<argLine>-Xmx2048m \${argLine}</argLine> | |
<systemProperties> | |
<!-- Must disable long polling for automated tests to succeed --> | |
<property> | |
<name>errai.hosted_mode_testing</name> | |
<value>true</value> | |
</property> | |
<property> | |
<name>gwt.args</name> | |
<value>-war src/main/webapp</value> | |
</property> | |
</systemProperties> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment