public class Suite extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Modifier and Type | Method and Description |
|---|---|
void |
addTest(Test test) |
boolean |
allTestsIgnored() |
int |
getNumberOfTests() |
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 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 org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionCopyright © 2018. All rights reserved.