public class LifecycleTestEnrichmentWatcher extends Object
Inspection objects and on Before event, it stores all fields which have been changed during
that event.
These changes are the Inspection enrichment actions.
Then on After method, it restores all the changed fields, which deenrich the instance.
| Constructor and Description |
|---|
LifecycleTestEnrichmentWatcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
rememberFieldValues(org.jboss.arquillian.core.spi.EventContext<org.jboss.arquillian.test.spi.event.suite.Before> context) |
void |
restoreOriginalFieldValues(org.jboss.arquillian.core.spi.EventContext<org.jboss.arquillian.test.spi.event.suite.After> context) |
public void rememberFieldValues(@Observes(precedence=100)
org.jboss.arquillian.core.spi.EventContext<org.jboss.arquillian.test.spi.event.suite.Before> context)
public void restoreOriginalFieldValues(@Observes(precedence=100)
org.jboss.arquillian.core.spi.EventContext<org.jboss.arquillian.test.spi.event.suite.After> context)
Copyright © 2019 JBoss by Red Hat. All rights reserved.