public class Suite extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
Suite(String path) |
Suite(String path,
String parameterization) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTest(Test test) |
boolean |
allTestsIgnored() |
int |
getNumberOfTests() |
String |
getParameterization() |
String |
getPath() |
protected void |
handleBeforeSuiteEndByException(String flowName,
Throwable cause) |
protected void |
process(SimpleFlow simpleFlow,
org.mule.runtime.api.event.Event event) |
SuiteResult |
run()
Runs all the tests of the suite
|
void |
setAfterSuite(AfterSuite afterSuite) |
void |
setBeforeSuite(BeforeSuite beforeSuite) |
void |
setSuiteRunEventListener(org.mule.munit.common.protocol.listeners.SuiteRunEventListener suiteRunEventListener) |
public Suite(String path)
public void setSuiteRunEventListener(org.mule.munit.common.protocol.listeners.SuiteRunEventListener suiteRunEventListener)
public String getPath()
public String getParameterization()
public void setBeforeSuite(BeforeSuite beforeSuite)
public void addTest(Test test)
public void setAfterSuite(AfterSuite afterSuite)
public int getNumberOfTests()
public boolean allTestsIgnored()
public SuiteResult run() throws Exception
Exception - If the suite failed for one reason.protected void handleBeforeSuiteEndByException(String flowName, Throwable cause)
protected void process(SimpleFlow simpleFlow, org.mule.runtime.api.event.Event event) throws Throwable
ThrowableCopyright © 2019. All rights reserved.