maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rfscho...@apache.org
Subject svn commit: r1668231 - /maven/shared/trunk/maven-invoker/src/test/java/org/apache/maven/shared/invoker/MavenCommandLineBuilderTest.java
Date Sat, 21 Mar 2015 10:38:24 GMT
Author: rfscholte
Date: Sat Mar 21 10:38:24 2015
New Revision: 1668231

URL: http://svn.apache.org/r1668231
Log:
Also annotate the setUp and tearDown

Modified:
    maven/shared/trunk/maven-invoker/src/test/java/org/apache/maven/shared/invoker/MavenCommandLineBuilderTest.java

Modified: maven/shared/trunk/maven-invoker/src/test/java/org/apache/maven/shared/invoker/MavenCommandLineBuilderTest.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-invoker/src/test/java/org/apache/maven/shared/invoker/MavenCommandLineBuilderTest.java?rev=1668231&r1=1668230&r2=1668231&view=diff
==============================================================================
--- maven/shared/trunk/maven-invoker/src/test/java/org/apache/maven/shared/invoker/MavenCommandLineBuilderTest.java
(original)
+++ maven/shared/trunk/maven-invoker/src/test/java/org/apache/maven/shared/invoker/MavenCommandLineBuilderTest.java
Sat Mar 21 10:38:24 2015
@@ -42,7 +42,9 @@ import org.codehaus.plexus.util.IOUtil;
 import org.codehaus.plexus.util.Os;
 import org.codehaus.plexus.util.cli.CommandLineException;
 import org.codehaus.plexus.util.cli.Commandline;
+import org.junit.After;
 import org.junit.Assume;
+import org.junit.Before;
 import org.junit.Test;
 
 public class MavenCommandLineBuilderTest
@@ -1238,6 +1240,7 @@ public class MavenCommandLineBuilderTest
         assertEnvironmentVariablePresent( commandline, envVar2Name, envVar2Value );
     }
 
+    @Before
     public void setUp()
     {
         sysProps = System.getProperties();
@@ -1247,6 +1250,7 @@ public class MavenCommandLineBuilderTest
         System.setProperties( p );
     }
 
+    @After
     public void tearDown()
         throws IOException
     {



Mime
View raw message