Skip to content

Commit

Permalink
update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
bsorrentino committed Jan 26, 2013
1 parent 0abf98d commit e29da4c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/test/java/org/bsc/maven/plugin/processor/ProcessorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit e29da4c

Please sign in to comment.