Author: kenney Date: Mon Aug 15 11:47:28 2005 New Revision: 232852 URL: http://svn.apache.org/viewcvs?rev=232852&view=rev Log: Added integration test to prove MNG-739 cannot be reproduced.
Btw, FIXME: should we, if just one include is given, take that as the only include, or add it to the default include of **/*Test.java? Added: maven/components/trunk/maven-core-it/it0050/ maven/components/trunk/maven-core-it/it0050/expected-results.txt (with props) maven/components/trunk/maven-core-it/it0050/goals.txt (with props) maven/components/trunk/maven-core-it/it0050/pom.xml (with props) maven/components/trunk/maven-core-it/it0050/src/ maven/components/trunk/maven-core-it/it0050/src/test/ maven/components/trunk/maven-core-it/it0050/src/test/java/ maven/components/trunk/maven-core-it/it0050/src/test/java/DefaultTest.java (with props) maven/components/trunk/maven-core-it/it0050/src/test/java/DontRunTest.java (with props) maven/components/trunk/maven-core-it/it0050/src/test/java/NotIncludedByDefault.java (with props) Added: maven/components/trunk/maven-core-it/it0050/expected-results.txt URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0050/expected-results.txt?rev=232852&view=auto ============================================================================== --- maven/components/trunk/maven-core-it/it0050/expected-results.txt (added) +++ maven/components/trunk/maven-core-it/it0050/expected-results.txt Mon Aug 15 11:47:28 2005 @@ -0,0 +1,3 @@ +touchFile.txt +testTouchFile.txt +defaultTestFile.txt Propchange: maven/components/trunk/maven-core-it/it0050/expected-results.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/components/trunk/maven-core-it/it0050/expected-results.txt ------------------------------------------------------------------------------ svn:keywords = "Author Date Id Revision" Added: maven/components/trunk/maven-core-it/it0050/goals.txt URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0050/goals.txt?rev=232852&view=auto ============================================================================== --- maven/components/trunk/maven-core-it/it0050/goals.txt (added) +++ maven/components/trunk/maven-core-it/it0050/goals.txt Mon Aug 15 11:47:28 2005 @@ -0,0 +1 @@ +package Propchange: maven/components/trunk/maven-core-it/it0050/goals.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/components/trunk/maven-core-it/it0050/goals.txt ------------------------------------------------------------------------------ svn:keywords = "Author Date Id Revision" Added: maven/components/trunk/maven-core-it/it0050/pom.xml URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0050/pom.xml?rev=232852&view=auto ============================================================================== --- maven/components/trunk/maven-core-it/it0050/pom.xml (added) +++ maven/components/trunk/maven-core-it/it0050/pom.xml Mon Aug 15 11:47:28 2005 @@ -0,0 +1,32 @@ +<project> + <modelVersion>4.0.0</modelVersion> + <groupId>org.apache.maven.it</groupId> + <artifactId>maven-it0050</artifactId> + <version>1.0-SNAPSHOT</version> + + <dependencies> + <dependency> + <artifactId>junit</artifactId> + <groupId>junit</groupId> + <version>3.8.1</version> + <scope>test</scope> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <excludes> + <exclude implementation="java.lang.String">DontRunTest.*</exclude> + </excludes> + <includes> + <include implementation="java.lang.String">NotIncludedByDefault.java</include> + <include implementation="java.lang.String">*Test.java</include> + </includes> + </configuration> + </plugin> + </plugins> + </build> +</project> Propchange: maven/components/trunk/maven-core-it/it0050/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/components/trunk/maven-core-it/it0050/pom.xml ------------------------------------------------------------------------------ svn:keywords = "Author Date Id Revision" Added: maven/components/trunk/maven-core-it/it0050/src/test/java/DefaultTest.java URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0050/src/test/java/DefaultTest.java?rev=232852&view=auto ============================================================================== --- maven/components/trunk/maven-core-it/it0050/src/test/java/DefaultTest.java (added) +++ maven/components/trunk/maven-core-it/it0050/src/test/java/DefaultTest.java Mon Aug 15 11:47:28 2005 @@ -0,0 +1,13 @@ +import java.io.FileOutputStream; + +public class DefaultTest +{ + public void testRun() + throws Exception + { + FileOutputStream fout = new FileOutputStream("target/defaultTestTouchFile.txt"); + fout.write('!'); + fout.flush(); + fout.close(); + } +} Propchange: maven/components/trunk/maven-core-it/it0050/src/test/java/DefaultTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/components/trunk/maven-core-it/it0050/src/test/java/DefaultTest.java ------------------------------------------------------------------------------ svn:keywords = "Author Date Id Revision" Added: maven/components/trunk/maven-core-it/it0050/src/test/java/DontRunTest.java URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0050/src/test/java/DontRunTest.java?rev=232852&view=auto ============================================================================== --- maven/components/trunk/maven-core-it/it0050/src/test/java/DontRunTest.java (added) +++ maven/components/trunk/maven-core-it/it0050/src/test/java/DontRunTest.java Mon Aug 15 11:47:28 2005 @@ -0,0 +1,9 @@ +import junit.framework.TestCase; + +public class DontRunTest extends TestCase +{ + public void testRun() + { + assertEquals(true, false); + } +} Propchange: maven/components/trunk/maven-core-it/it0050/src/test/java/DontRunTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/components/trunk/maven-core-it/it0050/src/test/java/DontRunTest.java ------------------------------------------------------------------------------ svn:keywords = "Author Date Id Revision" Added: maven/components/trunk/maven-core-it/it0050/src/test/java/NotIncludedByDefault.java URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0050/src/test/java/NotIncludedByDefault.java?rev=232852&view=auto ============================================================================== --- maven/components/trunk/maven-core-it/it0050/src/test/java/NotIncludedByDefault.java (added) +++ maven/components/trunk/maven-core-it/it0050/src/test/java/NotIncludedByDefault.java Mon Aug 15 11:47:28 2005 @@ -0,0 +1,13 @@ +import java.io.FileOutputStream; + +public class NotIncludedByDefault +{ + public void testRun() + throws Exception + { + FileOutputStream fout = new FileOutputStream("target/testTouchFile.txt"); + fout.write('!'); + fout.flush(); + fout.close(); + } +} Propchange: maven/components/trunk/maven-core-it/it0050/src/test/java/NotIncludedByDefault.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/components/trunk/maven-core-it/it0050/src/test/java/NotIncludedByDefault.java ------------------------------------------------------------------------------ svn:keywords = "Author Date Id Revision" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]