You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2018/12/01 10:32:23 UTC

[maven-help-plugin] branch MPH-159 created (now e10140c)

This is an automated email from the ASF dual-hosted git repository.

khmarbaise pushed a change to branch MPH-159
in repository https://gitbox.apache.org/repos/asf/maven-help-plugin.git.


      at e10140c  [MPH-159] - Upgrade JUnit 4.12

This branch includes the following new commits:

     new e10140c  [MPH-159] - Upgrade JUnit 4.12

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-help-plugin] 01/01: [MPH-159] - Upgrade JUnit 4.12

Posted by kh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

khmarbaise pushed a commit to branch MPH-159
in repository https://gitbox.apache.org/repos/asf/maven-help-plugin.git

commit e10140c8e4bef5392dc11a95ff98029e101bcd00
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Sat Dec 1 11:32:19 2018 +0100

    [MPH-159] - Upgrade JUnit 4.12
---
 pom.xml                                                           | 2 +-
 src/test/java/org/apache/maven/plugins/help/DescribeMojoTest.java | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/pom.xml b/pom.xml
index f695a9e..0f8e98a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -199,7 +199,7 @@
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
-      <version>3.8.2</version>
+      <version>4.12</version>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git a/src/test/java/org/apache/maven/plugins/help/DescribeMojoTest.java b/src/test/java/org/apache/maven/plugins/help/DescribeMojoTest.java
index af88caa..a7a0dff 100644
--- a/src/test/java/org/apache/maven/plugins/help/DescribeMojoTest.java
+++ b/src/test/java/org/apache/maven/plugins/help/DescribeMojoTest.java
@@ -19,8 +19,8 @@ package org.apache.maven.plugins.help;
  * under the License.
  */
 
-import static org.mockito.Mockito.any;
-import static org.mockito.Mockito.eq;
+import static org.mockito.Matchers.any;
+import static org.mockito.Matchers.eq;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.never;
 import static org.mockito.Mockito.verify;
@@ -40,9 +40,9 @@ import org.apache.maven.project.MavenProject;
 import org.apache.maven.reporting.exec.MavenPluginManagerHelper;
 import org.mockito.ArgumentCaptor;
 
-import junit.framework.Assert;
 import junit.framework.TestCase;
 import junitx.util.PrivateAccessor;
+
 /**
  * @author <a href="mailto:vincent.siveton@gmail.com">Vincent Siveton</a>
  */
@@ -66,7 +66,7 @@ public class DescribeMojoTest
         }
         catch ( Throwable e )
         {
-            Assert.fail( "The API changes" );
+            fail( "The API changes" );
         }
     }