creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r1618014 - in /creadur/rat/trunk/apache-rat-plugin/src/test: it1/ it2/ it3/ java/org/apache/rat/mp/RatTestHelpers.java resources/ resources/unit/ resources/unit/it1/ resources/unit/it2/ resources/unit/it3/
Date Thu, 14 Aug 2014 19:00:06 GMT
Author: dennisl
Date: Thu Aug 14 19:00:06 2014
New Revision: 1618014

URL: http://svn.apache.org/r1618014
Log:
[RAT-169] IT tests it2 and it3 don't appear to be run
These tests are really run during unit testing, but their placement in the directory structure
is misleading. Move them to test/resources/unit to make it more obvious that they are resources
used during unit testing.

Added:
    creadur/rat/trunk/apache-rat-plugin/src/test/resources/
    creadur/rat/trunk/apache-rat-plugin/src/test/resources/unit/
    creadur/rat/trunk/apache-rat-plugin/src/test/resources/unit/it1/
      - copied from r1618008, creadur/rat/trunk/apache-rat-plugin/src/test/it1/
    creadur/rat/trunk/apache-rat-plugin/src/test/resources/unit/it2/
      - copied from r1618008, creadur/rat/trunk/apache-rat-plugin/src/test/it2/
    creadur/rat/trunk/apache-rat-plugin/src/test/resources/unit/it3/
      - copied from r1618008, creadur/rat/trunk/apache-rat-plugin/src/test/it3/
Removed:
    creadur/rat/trunk/apache-rat-plugin/src/test/it1/
    creadur/rat/trunk/apache-rat-plugin/src/test/it2/
    creadur/rat/trunk/apache-rat-plugin/src/test/it3/
Modified:
    creadur/rat/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatTestHelpers.java

Modified: creadur/rat/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatTestHelpers.java
URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatTestHelpers.java?rev=1618014&r1=1618013&r2=1618014&view=diff
==============================================================================
--- creadur/rat/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatTestHelpers.java
(original)
+++ creadur/rat/trunk/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatTestHelpers.java
Thu Aug 14 19:00:06 2014
@@ -219,7 +219,7 @@ public final class RatTestHelpers {
     public static File getSourceDirectory(String mvnBaseDir, String pDir,
             boolean pCreateCopy, final File baseDir) throws IOException {
         return makeSourceDirectory(mvnBaseDir, new File(new File(baseDir,
-                "src/test"), pDir), pDir, pCreateCopy);
+                "src/test/resources/unit"), pDir), pDir, pCreateCopy);
     }
 
     /**



Mime
View raw message