qat.parser.qaxmlparser
Class QAXMLTestFinder

java.lang.Object
  extended byqat.parser.qaxmlparser.QAXMLTestFinder
All Implemented Interfaces:
TestFinderInterface

public class QAXMLTestFinder
extends java.lang.Object
implements TestFinderInterface


Constructor Summary
QAXMLTestFinder()
           
 
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 QAXML 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

QAXMLTestFinder

public QAXMLTestFinder()
Method Detail

setProjectRoot

public void setProjectRoot(java.lang.String rootDirectory)
Description copied from interface: TestFinderInterface
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.

Specified by:
setProjectRoot in interface TestFinderInterface

isTestFile

public boolean isTestFile(java.io.File file)
Return true if this file is a QAXML file.

Specified by:
isTestFile in interface TestFinderInterface

getParser

public ParserInterface getParser(java.io.File file)
Return a parser for the specified file type, or null * if it's not one we recognise.

Specified by:
getParser in interface TestFinderInterface


See QAT project for licensing details