* under the License.
*/
-import java.io.File;
import java.util.List;
import org.apache.commons.collections.Predicate;
// Timestamp finished points to the last successful scan, not this current one.
if ( basefile.lastModified() < changesSince )
{
- // MRM-1246
- // compares the lastModified of the version-level (basefile) and the project-level (parent) metadata
- File parent = basefile.getParentFile().getParentFile();
-
- if ( parent.lastModified() > basefile.lastModified() )
- {
- satisfies = true;
- }
- else
- {
- // Skip file as no change has occurred.
- satisfies = false;
- }
+ // Skip file as no change has occurred.
+ satisfies = false;
}
}
}
assertNotNull( "Stats should not be null.", stats );
assertEquals( "Stats.totalFileCount", 4, stats.getTotalFileCount() );
assertEquals( "Stats.newFileCount", 3, stats.getNewFileCount() );
- assertEquals( "Processed Count", 3, consumer.getProcessCount() );
+ assertEquals( "Processed Count", 2, consumer.getProcessCount() );
assertEquals( "Processed Count (of invalid items)", 1, badconsumer.getProcessCount() );
}