make sure the entire directory is extracted, because the settings template is in a parent directory

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@720464 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2008-11-25 10:54:48 +00:00
parent 735798f2ba
commit e36cf037be
1 changed files with 6 additions and 6 deletions

View File

@ -53,8 +53,8 @@ public class MavenITmng2883LegacyRepoOfflineTest
public void testParentUnresolvable()
throws Exception
{
String testName = "parent";
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2883/" + testName );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2883" );
testDir = new File( testDir, "parent" );
Verifier verifier;
@ -150,8 +150,8 @@ public class MavenITmng2883LegacyRepoOfflineTest
public void testDependencyUnresolvable()
throws Exception
{
String testName = "dependency";
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2883/" + testName );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2883" );
testDir = new File( testDir, "dependency" );
Verifier verifier;
@ -251,8 +251,8 @@ public class MavenITmng2883LegacyRepoOfflineTest
public void testPluginUnresolvable()
throws Exception
{
String testName = "plugin";
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2883/" + testName );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2883" );
testDir = new File( testDir, "plugin" );
Verifier verifier;