|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectqat.parser.junitparser.JUnitTestFinder
| Constructor Summary | |
JUnitTestFinder()
|
|
| Method Summary | |
static java.lang.String |
convertPathToClassName(java.lang.String pathToFile,
java.lang.String rootDirectory)
|
ParserInterface |
getParser(java.io.File file)
Return a parser for the specified file type, or null * if it's not one we recognise. |
boolean |
isTestFile(java.io.File file)
Return true if this file is a JUnit file. |
void |
setProjectRoot(java.lang.String rootDirectory)
This method should be called by the class instanciating this TestFinder, to indicate the root path to the current file offset, as set in the project setings. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JUnitTestFinder()
| Method Detail |
public void setProjectRoot(java.lang.String rootDirectory)
TestFinderInterface
setProjectRoot in interface TestFinderInterfacepublic boolean isTestFile(java.io.File file)
isTestFile in interface TestFinderInterface
public static java.lang.String convertPathToClassName(java.lang.String pathToFile,
java.lang.String rootDirectory)
public ParserInterface getParser(java.io.File file)
getParser in interface TestFinderInterface
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||