From e29da4cf58db458da6b540bcbe5cefa6c502627f Mon Sep 17 00:00:00 2001 From: softphone Date: Sat, 26 Jan 2013 22:19:00 +0100 Subject: [PATCH] update unit test --- .../bsc/maven/plugin/processor/ProcessorTest.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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() {