org.finra.jtaf.core.parsing
Class TestExclusionsPlugin

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

public class TestExclusionsPlugin
extends Object
implements IPostParseTestPlugin

Parser plugin responsible for parsing exclusions in test script.


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

EXCLUSIONS_NAME

public static final String EXCLUSIONS_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

TestExclusionsPlugin

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