From 6538efe0bb0eeddc169414a84d262577c4a0987f Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Tue, 23 Sep 2008 21:52:37 +0000 Subject: [PATCH] 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@698368 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/maven/it/IntegrationTestSuite.java | 1 - .../org/apache/maven/it/MavenIT0055Test.java | 50 ------------------- .../src/test/resources/it0055/pom.xml | 36 ------------- .../java/org/apache/maven/it0055/Person.java | 16 ------ .../org/apache/maven/it0055/PersonTwo.java | 16 ------ .../src/main/resources/it0055.properties | 1 - .../org/apache/maven/it0055/PersonTest.java | 16 ------ .../apache/maven/it0055/PersonTwoTest.java | 16 ------ 8 files changed, 152 deletions(-) delete mode 100644 its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0055Test.java delete mode 100644 its/core-it-suite/src/test/resources/it0055/pom.xml delete mode 100644 its/core-it-suite/src/test/resources/it0055/src/main/java/org/apache/maven/it0055/Person.java delete mode 100644 its/core-it-suite/src/test/resources/it0055/src/main/java/org/apache/maven/it0055/PersonTwo.java delete mode 100644 its/core-it-suite/src/test/resources/it0055/src/main/resources/it0055.properties delete mode 100644 its/core-it-suite/src/test/resources/it0055/src/test/java/org/apache/maven/it0055/PersonTest.java delete mode 100644 its/core-it-suite/src/test/resources/it0055/src/test/java/org/apache/maven/it0055/PersonTwoTest.java diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java b/its/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java index ab52a6577c..4be9c770f7 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/IntegrationTestSuite.java @@ -206,7 +206,6 @@ MavenITmng3645POMSyntaxErrorTest suite.addTestSuite( MavenIT0058Test.class ); suite.addTestSuite( MavenIT0057Test.class ); suite.addTestSuite( MavenIT0056Test.class ); - suite.addTestSuite( MavenIT0055Test.class ); suite.addTestSuite( MavenIT0053Test.class ); suite.addTestSuite( MavenIT0052Test.class ); suite.addTestSuite( MavenIT0051Test.class ); diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0055Test.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0055Test.java deleted file mode 100644 index 81ee59cab0..0000000000 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0055Test.java +++ /dev/null @@ -1,50 +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 MavenIT0055Test - extends AbstractMavenIntegrationTestCase -{ - - /** - * Test that source includes/excludes with in the compiler plugin config. - * This will test excludes and testExcludes... - */ - public void testit0055() - throws Exception - { - File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0055" ); - Verifier verifier = new Verifier( testDir.getAbsolutePath() ); - verifier.executeGoal( "test-compile" ); - verifier.assertFilePresent( "target/classes/org/apache/maven/it0055/Person.class" ); - verifier.assertFilePresent( "target/test-classes/org/apache/maven/it0055/PersonTest.class" ); - verifier.assertFileNotPresent( "target/classes/org/apache/maven/it0055/PersonTwo.class" ); - verifier.assertFileNotPresent( "target/test-classes/org/apache/maven/it0055/PersonTwoTest.class" ); - verifier.verifyErrorFreeLog(); - verifier.resetStreams(); - - } -} - diff --git a/its/core-it-suite/src/test/resources/it0055/pom.xml b/its/core-it-suite/src/test/resources/it0055/pom.xml deleted file mode 100644 index 96b72908c0..0000000000 --- a/its/core-it-suite/src/test/resources/it0055/pom.xml +++ /dev/null @@ -1,36 +0,0 @@ - - 4.0.0 - Maven Integration Test :: it0055 - org.apache.maven.its.it0055 - maven-it-it0055 - Test that source includes/excludes with in the compiler plugin config. - This will test excludes and testExcludes... - jar - 1.0 - - - junit - junit - 3.8.1 - jar - test - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - - - **/PersonTwo.java - - - **/PersonTwoTest.java - - - - - - diff --git a/its/core-it-suite/src/test/resources/it0055/src/main/java/org/apache/maven/it0055/Person.java b/its/core-it-suite/src/test/resources/it0055/src/main/java/org/apache/maven/it0055/Person.java deleted file mode 100644 index 9107bee73a..0000000000 --- a/its/core-it-suite/src/test/resources/it0055/src/main/java/org/apache/maven/it0055/Person.java +++ /dev/null @@ -1,16 +0,0 @@ -package org.apache.maven.it0055; - -public class Person -{ - private String name; - - public void setName( String name ) - { - this.name = name; - } - - public String getName() - { - return name; - } -} diff --git a/its/core-it-suite/src/test/resources/it0055/src/main/java/org/apache/maven/it0055/PersonTwo.java b/its/core-it-suite/src/test/resources/it0055/src/main/java/org/apache/maven/it0055/PersonTwo.java deleted file mode 100644 index c93882fa88..0000000000 --- a/its/core-it-suite/src/test/resources/it0055/src/main/java/org/apache/maven/it0055/PersonTwo.java +++ /dev/null @@ -1,16 +0,0 @@ -package org.apache.maven.it0055; - -public class PersonTwo -{ - private String name; - - public void setName( String name ) - { - this.name = name; - } - - public String getName() - { - return name; - } -} diff --git a/its/core-it-suite/src/test/resources/it0055/src/main/resources/it0055.properties b/its/core-it-suite/src/test/resources/it0055/src/main/resources/it0055.properties deleted file mode 100644 index f54f8ab106..0000000000 --- a/its/core-it-suite/src/test/resources/it0055/src/main/resources/it0055.properties +++ /dev/null @@ -1 +0,0 @@ -name = jason diff --git a/its/core-it-suite/src/test/resources/it0055/src/test/java/org/apache/maven/it0055/PersonTest.java b/its/core-it-suite/src/test/resources/it0055/src/test/java/org/apache/maven/it0055/PersonTest.java deleted file mode 100644 index acf784e387..0000000000 --- a/its/core-it-suite/src/test/resources/it0055/src/test/java/org/apache/maven/it0055/PersonTest.java +++ /dev/null @@ -1,16 +0,0 @@ -package org.apache.maven.it0055; - -import junit.framework.TestCase; - -public class PersonTest - extends TestCase -{ - public void testPerson() - { - Person person = new Person(); - - person.setName( "foo" ); - - assertEquals( "foo", person.getName() ); - } -} diff --git a/its/core-it-suite/src/test/resources/it0055/src/test/java/org/apache/maven/it0055/PersonTwoTest.java b/its/core-it-suite/src/test/resources/it0055/src/test/java/org/apache/maven/it0055/PersonTwoTest.java deleted file mode 100644 index ccec93c557..0000000000 --- a/its/core-it-suite/src/test/resources/it0055/src/test/java/org/apache/maven/it0055/PersonTwoTest.java +++ /dev/null @@ -1,16 +0,0 @@ -package org.apache.maven.it0001; - -import junit.framework.TestCase; - -public class PersonTwoTest - extends TestCase -{ - public void testPerson() - { - Person person = new Person(); - - person.setName( "foo" ); - - assertEquals( "foo", person.getName() ); - } -}