o Deleted IT thas has been migrated to the corresponding plugin project

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@698190 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2008-09-23 14:28:03 +00:00
parent 33978a0814
commit a1416e48c1
6 changed files with 0 additions and 98 deletions

View File

@ -212,7 +212,6 @@ MavenITmng3645POMSyntaxErrorTest
suite.addTestSuite( MavenIT0053Test.class );
suite.addTestSuite( MavenIT0052Test.class );
suite.addTestSuite( MavenIT0051Test.class );
suite.addTestSuite( MavenIT0050Test.class );
suite.addTestSuite( MavenIT0049Test.class );
suite.addTestSuite( MavenIT0048Test.class );
suite.addTestSuite( MavenIT0047Test.class );

View File

@ -1,28 +0,0 @@
package org.apache.maven.integrationtests;
import org.apache.maven.it.Verifier;
import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
public class MavenIT0050Test
extends AbstractMavenIntegrationTestCase
{
/**
* Test surefire inclusion/exclusions
*/
public void testit0050()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0050" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.executeGoal( "package" );
verifier.assertFilePresent( "target/testTouchFile.txt" );
verifier.assertFilePresent( "target/defaultTestTouchFile.txt" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
}
}

View File

@ -1,34 +0,0 @@
<project>
<modelVersion>4.0.0</modelVersion>
<name>Maven Integration Test :: it0050</name>
<groupId>org.apache.maven.its.it0050</groupId>
<artifactId>maven-it-it0050</artifactId>
<description>Test surefire inclusion/exclusions</description>
<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>

View File

@ -1,13 +0,0 @@
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();
}
}

View File

@ -1,9 +0,0 @@
import junit.framework.TestCase;
public class DontRunTest extends TestCase
{
public void testRun()
{
assertEquals(true, false);
}
}

View File

@ -1,13 +0,0 @@
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();
}
}