org.finra.jtaf.core.parsing
Class ExceptionPlugin

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

public class ExceptionPlugin
extends Object
implements IPostParseTestPlugin

This is internal class meant for verification of expected exception in the script


Field Summary
static String NODE_NAME
           
 
Constructor Summary
ExceptionPlugin()
           
 
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

NODE_NAME

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

ExceptionPlugin

public ExceptionPlugin()
Method Detail

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

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


Copyright © 2014. All rights reserved.