You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by se...@apache.org on 2014/08/11 13:36:54 UTC
svn commit: r1617257 -
/creadur/rat/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java
Author: sebb
Date: Mon Aug 11 11:36:54 2014
New Revision: 1617257
URL: http://svn.apache.org/r1617257
Log:
assertions are not related to RAT-168
Modified:
creadur/rat/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java
Modified: creadur/rat/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java
URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java?rev=1617257&r1=1617256&r2=1617257&view=diff
==============================================================================
--- creadur/rat/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java (original)
+++ creadur/rat/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java Mon Aug 11 11:36:54 2014
@@ -177,9 +177,9 @@ public class RatCheckMojoTest extends Ab
}
};
setVariableValueToObject( mojo, "project", project );
- assertNotNull("RAT-168: Problem in test setup - you are missing a project in your mojo.", project);
- assertNotNull("RAT-168: The mojo is missing its MavenProject, which will result in an NPE during rat runs.", mojo.getProject());
- assertNotNull("RAT-168: No artifactRepos found, which will result in an NPE during rat runs.", project.getRemoteArtifactRepositories());
+ assertNotNull("Problem in test setup - you are missing a project in your mojo.", project);
+ assertNotNull("The mojo is missing its MavenProject, which will result in an NPE during rat runs.", mojo.getProject());
+ assertNotNull("No artifactRepos found, which will result in an NPE during rat runs.", project.getRemoteArtifactRepositories());
if (mojo instanceof RatReportMojo)
{
setVariableValueToObject( mojo, "localRepository", newArtifactRepository() );