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@698152 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2008-09-23 12:16:50 +00:00
parent f46e4cd6fa
commit 4728faaf9c
6 changed files with 0 additions and 101 deletions

View File

@ -245,7 +245,6 @@ MavenITmng3645POMSyntaxErrorTest
suite.addTestSuite( MavenIT0021Test.class );
suite.addTestSuite( MavenIT0019Test.class );
suite.addTestSuite( MavenIT0017Test.class );
suite.addTestSuite( MavenIT0016Test.class );
suite.addTestSuite( MavenIT0014Test.class );
suite.addTestSuite( MavenIT0012Test.class );
suite.addTestSuite( MavenIT0011Test.class );

View File

@ -1,36 +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 MavenIT0016Test
extends AbstractMavenIntegrationTestCase
{
/**
* Test a WAR generation
*/
public void testit0016()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0016" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.executeGoal( "package" );
verifier.assertFilePresent( "target/classes/org/apache/maven/it0016/Person.class" );
verifier.assertFilePresent( "target/maven-it-it0016-1.0/index.html" );
verifier.assertFilePresent( "target/maven-it-it0016-1.0/WEB-INF/classes/org/apache/maven/it0016/Person.class" );
verifier.assertFilePresent( "target/maven-it-it0016-1.0/WEB-INF/lib/commons-logging-1.0.3.jar" );
verifier.assertFileNotPresent( "target/maven-it-it0016-1.0/WEB-INF/lib/servletapi-2.4-20040521.jar" );
verifier.assertFilePresent( "target/maven-it-it0016-1.0.war" );
verifier.assertFilePresent( "target/maven-it-it0016-1.0.war!/index.html" );
verifier.assertFilePresent(
"target/maven-it-it0016-1.0.war!/WEB-INF/classes/org/apache/maven/it0016/Person.class" );
verifier.assertFilePresent( "target/maven-it-it0016-1.0.war!/WEB-INF/lib/commons-logging-1.0.3.jar" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
}
}

View File

@ -1,38 +0,0 @@
<project>
<modelVersion>4.0.0</modelVersion>
<name>Maven Integration Test :: it0016</name>
<groupId>org.apache.maven.its.it0016</groupId>
<artifactId>maven-it-it0016</artifactId>
<description>Test a WAR generation</description>
<packaging>war</packaging>
<version>1.0</version>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.3</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

View File

@ -1,16 +0,0 @@
package org.apache.maven.it0016;
public class Person
{
private String name;
public void setName( String name )
{
this.name = name;
}
public String getName()
{
return name;
}
}

View File

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app >
</web-app>

View File

@ -1,5 +0,0 @@
<html>
<body>
Hello World
</body>
</html>