public interface PluginContainerOperationRemedy
PluginContainerOperations
are run. They are meant to "cure" the Plugin Container from the state the operations put it in.
For example, running the discovery on the plugin container in the full agent-mode will kick off asynchronous child discoveries for each committed resource. This is not desirable in the test environment because we don't want any asynchronous activity during test execution.
Therefore there can be a "remedy" for the PluginContainer which is going to wait until
all the async work has completed and PluginContainer is therefore in a predictable state.
| Modifier and Type | Method and Description |
|---|---|
void |
cure(PluginContainer pc,
org.jboss.arquillian.test.spi.event.suite.TestEvent event)
Puts the
PluginContainer in a stable state after some operation execution. |
void cure(PluginContainer pc, org.jboss.arquillian.test.spi.event.suite.TestEvent event)
PluginContainer in a stable state after some operation execution.pc - event - Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.