org.finra.jtaf.core.parsing
Class TestDependenciesPlugin

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

public class TestDependenciesPlugin
extends Object
implements IPostParseTestPlugin

parser plugin to parse the dependencies defined in a test script.


Field Summary
static String DEPENDENCIES_NAME
           
static String TEST_NAME
           
static String TEST_SUITE_NAME
           
 
Constructor Summary
TestDependenciesPlugin()
           
 
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

DEPENDENCIES_NAME

public static final String DEPENDENCIES_NAME
See Also:
Constant Field Values

TEST_NAME

public static final String TEST_NAME
See Also:
Constant Field Values

TEST_SUITE_NAME

public static final String TEST_SUITE_NAME
See Also:
Constant Field Values
Constructor Detail

TestDependenciesPlugin

public TestDependenciesPlugin()
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.