public class ObjectManagerCleaner extends Object implements IScenarioListener
| Constructor and Description |
|---|
ObjectManagerCleaner() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterScenario(String title,
nu.xom.Node node,
IContext context,
IResultSet result,
Object instance)
Perform something after each scenario.
|
void |
beforeScenario(String title,
nu.xom.Node node,
IContext context,
IResultSet result,
Object instance)
Perform something before each scenario.
|
public void beforeScenario(String title, nu.xom.Node node, IContext context, IResultSet result, Object instance) throws SpecRunnerException
IScenarioListenerbeforeScenario in interface IScenarioListenertitle - The scenario title.node - The scenario node.context - The test context.result - The result set.instance - The fixture object, if it exists, null, otherwise.SpecRunnerException - Exception for scenarios.public void afterScenario(String title, nu.xom.Node node, IContext context, IResultSet result, Object instance) throws SpecRunnerException
IScenarioListenerafterScenario in interface IScenarioListenertitle - The scenario title.node - The scenario node.context - The test context.result - The result set.instance - The fixture object, if it exists, null, otherwise.SpecRunnerException - Exception for scenarios.Copyright © 2016. All rights reserved.