|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqat.parser.GenericTestFinder
This class is responsible for mapping registered test finders to their corresponding * parsers.
Constructor Summary | |
GenericTestFinder(java.util.Properties properties)
Creates a tesfinder and registers a list of testfinder classes |
Method Summary | |
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 QASH 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 GenericTestFinder(java.util.Properties properties)
Method Detail |
public void setProjectRoot(java.lang.String rootDirectory)
TestFinderInterface
setProjectRoot
in interface TestFinderInterface
public boolean isTestFile(java.io.File file)
isTestFile
in interface TestFinderInterface
public ParserInterface getParser(java.io.File file)
TestFinderInterface
getParser
in interface TestFinderInterface
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |