org.finra.jtaf.core.parsing
Class TestDataPlugin

java.lang.Object
  extended by org.finra.jtaf.core.parsing.TestDataPlugin
All Implemented Interfaces:
IPostParseTestPlugin

public class TestDataPlugin
extends Object
implements IPostParseTestPlugin

Parser plugin to handle testdata element in a test script.


Field Summary
protected  TestDigraph testDigraph
           
 
Constructor Summary
TestDataPlugin(AutomationEngine automationEngine)
           
 
Method Summary
 void execute(PostTestParserPluginContext ctx)
          This method executes after each test is parsed which has the tag name returned by getTagName()
 String getTagName()
          This will return the tag name the ScriptParser will be looking for in the test body.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

testDigraph

protected TestDigraph testDigraph
Constructor Detail

TestDataPlugin

public TestDataPlugin(AutomationEngine automationEngine)
Method Detail

getTagName

public String getTagName()
Description copied from interface: IPostParseTestPlugin
This will return the tag name the ScriptParser will be looking for in the test body. If not found, the execute method will not be run.

Specified by:
getTagName in interface IPostParseTestPlugin

execute

public void execute(PostTestParserPluginContext ctx)
             throws ParserPluginException
Description copied from interface: IPostParseTestPlugin
This method executes after each test is parsed which has the tag name returned by getTagName()

Specified by:
execute in interface IPostParseTestPlugin
Throws:
ParserPluginException


Copyright © 2014. All rights reserved.