|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pmd.cpd.CPDTest
public class CPDTest
Unit test for CPD
Constructor Summary | |
---|---|
CPDTest()
|
Method Summary | |
---|---|
void |
setup()
|
void |
testFileAddedAsSymlinkAndReal()
A file should be added only once - even if it was found twice, because of a sym link. |
void |
testFileAddedWithRelativePath()
Add a file with a relative path - should still be added and not be detected as a sym link. |
void |
testFileSectionWithBrokenSymlinks()
A broken symlink (which is basically a not existing file), should be skipped. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CPDTest()
Method Detail |
---|
public void setup() throws Exception
Exception
public void testFileSectionWithBrokenSymlinks() throws Exception
Exception
- any errorpublic void testFileAddedAsSymlinkAndReal() throws Exception
Exception
- any errorpublic void testFileAddedWithRelativePath() throws Exception
Exception
- any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |