*** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1631 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
17
pmd/regress/test/net/sourceforge/pmd/cpd/MarkTest.java
Normal file
17
pmd/regress/test/net/sourceforge/pmd/cpd/MarkTest.java
Normal file
@ -0,0 +1,17 @@
|
||||
package test.net.sourceforge.pmd.cpd;
|
||||
|
||||
import net.sourceforge.pmd.cpd.Mark;
|
||||
import net.sourceforge.pmd.cpd.Locator;
|
||||
import net.sourceforge.pmd.cpd.CPDNullListener;
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class MarkTest extends TestCase {
|
||||
|
||||
public void testSimple() {
|
||||
Locator loc = new Locator("/var/foo.java", 10);
|
||||
Mark mark = new Mark(new ArrayList(), 5, loc, new CPDNullListener());
|
||||
assertEquals(mark.getLocator(), loc);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user