Author: jvanzyl
Date: Sat Oct 21 13:32:24 2006
New Revision: 466528

URL: http://svn.apache.org/viewvc?view=rev&rev=466528
Log:
o reformat and optimize imports

Modified:
    
maven/components/trunk/maven-core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0079Test.java

Modified: 
maven/components/trunk/maven-core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0079Test.java
URL: 
http://svn.apache.org/viewvc/maven/components/trunk/maven-core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0079Test.java?view=diff&rev=466528&r1=466527&r2=466528
==============================================================================
--- 
maven/components/trunk/maven-core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0079Test.java
 (original)
+++ 
maven/components/trunk/maven-core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0079Test.java
 Sat Oct 21 13:32:24 2006
@@ -1,28 +1,37 @@
 package org.apache.maven.integrationtests;
-import java.io.*;
-import java.util.*;
 
-import junit.framework.*;
+import junit.framework.TestCase;
+import org.apache.maven.it.Verifier;
+import org.apache.maven.it.util.FileUtils;
+import org.apache.maven.it.util.ResourceExtractor;
 
-import org.apache.maven.it.*;
-import org.apache.maven.it.util.*;
+import java.io.File;
 
-public class MavenIT0079Test extends TestCase /*extends 
AbstractMavenIntegrationTest*/ {    
+public class MavenIT0079Test
+    extends TestCase /*extends AbstractMavenIntegrationTest*/
+{
 
-/** Test that source attachments have the same build number as the main
-        artifact when deployed. */
-public void testit0079() throws Exception {
-String basedir = System.getProperty("maven.test.tmpdir", 
System.getProperty("java.io.tmpdir"));
-File testDir = new File(basedir, getName());
-FileUtils.deleteDirectory(testDir);
-System.out.println("Extracting it0079 to " + testDir.getAbsolutePath());
-ResourceExtractor.extractResourcePath(getClass(), "/it0079", testDir);
-Verifier verifier = new Verifier(testDir.getAbsolutePath());
-verifier.executeGoal("deploy");
-verifier.assertFilePresent("target/test-repo/org/apache/maven/it/maven-core-it0079/SNAPSHOT/maven-core-it0079-*-1.jar");
-verifier.assertFilePresent("target/test-repo/org/apache/maven/it/maven-core-it0079/SNAPSHOT/maven-core-it0079-*-1-sources.jar");
-verifier.verifyErrorFreeLog();
-verifier.resetStreams();
-System.out.println("PASS");
-}}
+    /**
+     * Test that source attachments have the same build number as the main
+     * artifact when deployed.
+     */
+    public void testit0079()
+        throws Exception
+    {
+        String basedir = System.getProperty( "maven.test.tmpdir", 
System.getProperty( "java.io.tmpdir" ) );
+        File testDir = new File( basedir, getName() );
+        FileUtils.deleteDirectory( testDir );
+        System.out.println( "Extracting it0079 to " + 
testDir.getAbsolutePath() );
+        ResourceExtractor.extractResourcePath( getClass(), "/it0079", testDir 
);
+        Verifier verifier = new Verifier( testDir.getAbsolutePath() );
+        verifier.executeGoal( "deploy" );
+        verifier.assertFilePresent(
+            
"target/test-repo/org/apache/maven/it/maven-core-it0079/SNAPSHOT/maven-core-it0079-*-1.jar"
 );
+        verifier.assertFilePresent(
+            
"target/test-repo/org/apache/maven/it/maven-core-it0079/SNAPSHOT/maven-core-it0079-*-1-sources.jar"
 );
+        verifier.verifyErrorFreeLog();
+        verifier.resetStreams();
+        System.out.println( "PASS" );
+    }
+}
 


Reply via email to