org.specrunner.listeners.core
Class AbstractScenarioWrapperAfterListener
java.lang.Object
org.specrunner.listeners.core.AbstractScenarioWrapperListener
org.specrunner.listeners.core.AbstractScenarioWrapperAfterListener
- All Implemented Interfaces:
- IScenarioListener
public abstract class AbstractScenarioWrapperAfterListener
- extends AbstractScenarioWrapperListener
Wrapp a scenario with a end tag.
- Author:
- Thiago Santos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractScenarioWrapperAfterListener
public AbstractScenarioWrapperAfterListener()
beforeScenario
public void beforeScenario(String title,
nu.xom.Node node,
IContext context,
IResultSet result,
Object instance)
throws SpecRunnerException
- Description copied from interface:
IScenarioListener
- Perform something before each scenario.
- Specified by:
beforeScenario in interface IScenarioListener- Overrides:
beforeScenario in class AbstractScenarioWrapperListener
- Parameters:
title - The scenario title.node - The scenario node.context - The test context.result - The result set.instance - The fixture object, if it exists, null, otherwise.
- Throws:
SpecRunnerException - Exception for scenarios.
getOnStart
protected Class<? extends IPlugin> getOnStart()
- Description copied from class:
AbstractScenarioWrapperListener
- On start plugin type.
- Specified by:
getOnStart in class AbstractScenarioWrapperListener
- Returns:
- A type.
getOnStartMessage
protected String getOnStartMessage()
- Description copied from class:
AbstractScenarioWrapperListener
- On start message.
- Specified by:
getOnStartMessage in class AbstractScenarioWrapperListener
- Returns:
- A message.
Copyright © 2015. All rights reserved.