mirror of https://github.com/apache/maven.git
o Deleted it0004 and it0005 which are subsets of the ITs for MNG-1021 and MNG-3892
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@729941 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7dd34a41de
commit
4f5c327c32
|
@ -315,8 +315,6 @@ public class IntegrationTestSuite
|
|||
suite.addTestSuite( MavenIT0009Test.class );
|
||||
suite.addTestSuite( MavenIT0008Test.class );
|
||||
suite.addTestSuite( MavenIT0007Test.class );
|
||||
suite.addTestSuite( MavenIT0005Test.class );
|
||||
suite.addTestSuite( MavenIT0004Test.class );
|
||||
|
||||
/*
|
||||
* Add tests in reverse alpha order above.
|
||||
|
|
|
@ -1,48 +0,0 @@
|
|||
package org.apache.maven.it;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
import org.apache.maven.it.Verifier;
|
||||
import org.apache.maven.it.util.ResourceExtractor;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
public class MavenIT0004Test
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* The simplest of pom installation. We have a pom and we install it in
|
||||
* local repository.
|
||||
*/
|
||||
public void testit0004()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0004" );
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.deleteArtifact( "org.apache.maven", "maven-it-it0004", "1.0", "pom" );
|
||||
verifier.executeGoal( "install:install" );
|
||||
verifier.assertArtifactPresent( "org.apache.maven.its.it0004", "maven-it-it0004", "1.0", "pom" );
|
||||
verifier.verifyErrorFreeLog();
|
||||
verifier.resetStreams();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,48 +0,0 @@
|
|||
package org.apache.maven.it;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
import org.apache.maven.it.Verifier;
|
||||
import org.apache.maven.it.util.ResourceExtractor;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
public class MavenIT0005Test
|
||||
extends AbstractMavenIntegrationTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* The simplest of pom installation. We have a snapshot pom and we install
|
||||
* it in local repository.
|
||||
*/
|
||||
public void testit0005()
|
||||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0005" );
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.deleteArtifact( "org.apache.maven", "maven-it-it0005", "1.0-SNAPSHOT", "pom" );
|
||||
verifier.executeGoal( "install:install" );
|
||||
verifier.assertArtifactPresent( "org.apache.maven.its.it0005", "maven-it-it0005", "1.0-SNAPSHOT", "pom" );
|
||||
verifier.verifyErrorFreeLog();
|
||||
verifier.resetStreams();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>Maven Integration Test :: it0004</name>
|
||||
<groupId>org.apache.maven.its.it0004</groupId>
|
||||
<artifactId>maven-it-it0004</artifactId>
|
||||
<description>The simplest of pom installation. We have a pom and we install it in
|
||||
local repository.
|
||||
</description>
|
||||
<packaging>pom</packaging>
|
||||
<version>1.0</version>
|
||||
</project>
|
|
@ -1,10 +0,0 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>Maven Integration Test :: it0005</name>
|
||||
<groupId>org.apache.maven.its.it0005</groupId>
|
||||
<artifactId>maven-it-it0005</artifactId>
|
||||
<description>The simplest of pom installation. We have a snapshot pom and we install
|
||||
it in local repository.</description>
|
||||
<packaging>pom</packaging>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</project>
|
Loading…
Reference in New Issue