diff --git a/src/test/java/org/bsc/maven/plugin/processor/ProcessorTest.java b/src/test/java/org/bsc/maven/plugin/processor/ProcessorTest.java index da93218..afe4c1a 100644 --- a/src/test/java/org/bsc/maven/plugin/processor/ProcessorTest.java +++ b/src/test/java/org/bsc/maven/plugin/processor/ProcessorTest.java @@ -13,6 +13,18 @@ */ public class ProcessorTest { + @Test + public void compareFile() { + + final java.io.File f = new java.io.File( "target/test-classes"); + final java.io.File f2 = new java.io.File( "target/classes"); + + Assert.assertThat( f.equals(f2), Is.is(false)); + + final java.io.File f3 = new java.io.File( "target/classes"); + + Assert.assertThat( f3.equals(f2), Is.is(true)); + } @Test public void testDuplicatePath() {