o Deleted it0053 which duplicates the IT for MNG-1021

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@732095 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-01-06 20:21:19 +00:00
parent bb6ea50e0b
commit fee41bd09f
6 changed files with 0 additions and 110 deletions

View File

@ -297,7 +297,6 @@ public class IntegrationTestSuite
suite.addTestSuite( MavenIT0064Test.class );
suite.addTestSuite( MavenIT0063Test.class );
suite.addTestSuite( MavenIT0056Test.class );
suite.addTestSuite( MavenIT0053Test.class );
suite.addTestSuite( MavenIT0052Test.class );
suite.addTestSuite( MavenIT0051Test.class );
suite.addTestSuite( MavenIT0041Test.class );

View File

@ -1,49 +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 MavenIT0053Test
extends AbstractMavenIntegrationTestCase
{
/**
* Test that attached artifacts have the same buildnumber and timestamp
* as the main artifact. This will not correctly verify until we have
* some way to pattern-match the buildnumber/timestamp...
*/
public void testit0053()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0053" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.executeGoal( "package" );
verifier.assertFilePresent( "target/maven-it-it0053-1.0-SNAPSHOT.jar" );
verifier.assertFileNotPresent( "target/maven-it-it0053-1.0-SNAPSHOT-sources.jar" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
}
}

View File

@ -1,27 +0,0 @@
<project>
<modelVersion>4.0.0</modelVersion>
<name>Maven Integration Test :: it0053</name>
<groupId>org.apache.maven.its.it0053</groupId>
<artifactId>maven-it-it0053</artifactId>
<description>Test that attached artifacts have the same buildnumber and timestamp
as the main artifact. This will not correctly verify until we have
some way to pattern-match the buildnumber/timestamp...</description>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<type>jar</type>
<scope>test</scope>
</dependency>
</dependencies>
<distributionManagement>
<snapshotRepository>
<id>test</id>
<url>file:target/test-repo</url>
</snapshotRepository>
</distributionManagement>
</project>

View File

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

View File

@ -1,16 +0,0 @@
package org.apache.maven.it0053;
import junit.framework.TestCase;
public class PersonTest
extends TestCase
{
public void testPerson()
{
Person person = new Person();
person.setName( "foo" );
assertEquals( "foo", person.getName() );
}
}