Beispiel #1
0
 /** TODO run tests in parallel */
 public static void compareFromDifferentFoldersByExtension(
     final File sourceFolder,
     final File targetFolder,
     final String extension,
     final ResourcePostProcessor processor)
     throws IOException {
   compareFromDifferentFolders(
       sourceFolder,
       targetFolder,
       new WildcardFileFilter("*." + extension),
       Transformers.noOpTransformer(),
       processor);
 }
Beispiel #2
0
 /**
  * Process and compare all the files from the sourceFolder and compare them with the files from
  * the targetFolder.
  */
 public static void compareFromDifferentFolders(
     final File sourceFolder, final File targetFolder, final ResourcePreProcessor processor)
     throws IOException {
   compareFromDifferentFolders(
       sourceFolder, targetFolder, TrueFileFilter.TRUE, Transformers.noOpTransformer(), processor);
 }