Adding inverse test of it0051.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233251 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2005-08-17 19:36:05 +00:00
parent 659a1f4736
commit 9bd6219732
9 changed files with 58 additions and 0 deletions

View File

@ -142,6 +142,10 @@ it0049: Test parameter alias usage.
it0050: Test surefire inclusion/exclusions
it0051: Test source attachment when -DperformRelease=true is specified.
it0052: Test that source attachment doesn't take place when
-DperformRelease=true is missing.
-------------------------------------------------------------------------------
- generated sources

View File

@ -1,3 +1,4 @@
it0052
it0051
#it0050
it0049

View File

@ -0,0 +1 @@
--check-plugin-latest --no-plugin-registry

View File

@ -0,0 +1,2 @@
target/maven-core-it0051-1.0.jar
!target/maven-core-it0051-1.0-sources.jar

View File

@ -0,0 +1 @@
package

View File

@ -0,0 +1,16 @@
<model>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven.it</groupId>
<artifactId>maven-core-it0051</artifactId>
<packaging>jar</packaging>
<version>1.0</version>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<type>jar</type>
<scope>test</scope>
</dependency>
</dependencies>
</model>

View File

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

View File

@ -0,0 +1 @@
name = jason

View File

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