public interface TestMixIn
SwitchYardTestKit
.
See the org.switchyard.test.mixins
package for a list of the TestMixIns
available out of the box.
Test Mix-Ins have a lifecycle associated with your TestCase. They are created
and destroyed with the TestCase instance and the before(org.switchyard.deploy.internal.AbstractDeployment)
and after(org.switchyard.deploy.internal.AbstractDeployment)
methods are called @Before and @After)
each test method. See the javadoc on each of the methods of this class.Modifier and Type | Method and Description |
---|---|
void |
after(org.switchyard.deploy.internal.AbstractDeployment deployment)
After test method execution (cleanup).
|
void |
before(org.switchyard.deploy.internal.AbstractDeployment deployment)
Before test method execution (init).
|
void |
initialize()
MixIn initialization.
|
void |
setTestKit(SwitchYardTestKit kit)
Set the test kit instance on the MixIn.
|
void |
uninitialize()
MixIn uninitialize.
|
void setTestKit(SwitchYardTestKit kit)
kit
- The kit instance.void initialize()
void before(org.switchyard.deploy.internal.AbstractDeployment deployment)
deployment
- The deployment.void after(org.switchyard.deploy.internal.AbstractDeployment deployment)
deployment
- The deployment.void uninitialize()
Copyright © 2013–2020 JBoss by Red Hat. All rights reserved.