From 88f4d7f9010557fdb7f4c5be585e14d494882200 Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Tue, 9 Jan 2007 22:53:13 +0000 Subject: [PATCH] o adding a couple more ITs as a result of trying to do the release git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@494638 13f79535-47bb-0310-9956-ffa450edef68 --- .../IntegrationTestSuite.java | 2 +- ...inDependenciesComeFromPluginReposTest.java | 27 +++++++++++++++++++ ...atRequireAResourceFromAnExtensionTest.java | 27 +++++++++++++++++++ 3 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0110PluginDependenciesComeFromPluginReposTest.java create mode 100644 its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0111PluginsThatRequireAResourceFromAnExtensionTest.java diff --git a/its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/IntegrationTestSuite.java b/its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/IntegrationTestSuite.java index 9dfbf42860..612c83f0e6 100644 --- a/its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/IntegrationTestSuite.java +++ b/its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/IntegrationTestSuite.java @@ -116,7 +116,7 @@ public class IntegrationTestSuite suite.addTestSuite( MavenIT0105Test.class ); // suite.addTestSuite(MavenIT0106Test.class); // suite.addTestSuite(MavenIT0107Test.class); - suite.addTestSuite( MavenSnapshotUpdateITest.class ); + suite.addTestSuite( MavenIT0109SnapshotUpdateTest.class ); return suite; } } diff --git a/its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0110PluginDependenciesComeFromPluginReposTest.java b/its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0110PluginDependenciesComeFromPluginReposTest.java new file mode 100644 index 0000000000..2322814bfe --- /dev/null +++ b/its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0110PluginDependenciesComeFromPluginReposTest.java @@ -0,0 +1,27 @@ +package org.apache.maven.integrationtests; + +import java.io.File; + +/** + * #it0104 Commenting out, not fixed until post-2.0.4, due to dependency on new plexus-container-default version. + */ +public class MavenIT0110PluginDependenciesComeFromPluginReposTest + extends AbstractMavenIntegrationTestCase +{ + + /** + * Verify that plugin configurations are resolved correctly, particularly + * when they contain ${project.build.directory} in the string value of a + * Map.Entry. + */ + public void testit0110() + throws Exception + { + File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0110-pluginDependenciesComeFromPluginRepos" ); + Verifier verifier = new Verifier( testDir.getAbsolutePath() ); + verifier.executeGoal( "test" ); + verifier.verifyErrorFreeLog(); + verifier.resetStreams(); + + } +} diff --git a/its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0111PluginsThatRequireAResourceFromAnExtensionTest.java b/its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0111PluginsThatRequireAResourceFromAnExtensionTest.java new file mode 100644 index 0000000000..5ab1243afa --- /dev/null +++ b/its/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0111PluginsThatRequireAResourceFromAnExtensionTest.java @@ -0,0 +1,27 @@ +package org.apache.maven.integrationtests; + +import java.io.File; + +/** + * #it0104 Commenting out, not fixed until post-2.0.4, due to dependency on new plexus-container-default version. + */ +public class MavenIT0111PluginsThatRequireAResourceFromAnExtensionTest + extends AbstractMavenIntegrationTestCase +{ + + /** + * Verify that plugin configurations are resolved correctly, particularly + * when they contain ${project.build.directory} in the string value of a + * Map.Entry. + */ + public void testit0111() + throws Exception + { + File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0111-pluginThatRequiresResourceFromAnExtension" ); + Verifier verifier = new Verifier( testDir.getAbsolutePath() ); + verifier.executeGoal( "test" ); + verifier.verifyErrorFreeLog(); + verifier.resetStreams(); + + } +}