org.jboss.arquillian.warp.server.test
Class LifecycleTestDeenricher
java.lang.Object
org.jboss.arquillian.warp.server.test.LifecycleTestDeenricher
public class LifecycleTestDeenricher
- extends Object
Watches the ServerAssertion objects and on Before event, it stores all fields which have been changed during
that event.
These changes are the ServerAssertion enrichment actions.
Then on After method, it restores all the changed fields, which deenrich the instance.
- Author:
- Lukas Fryc
|
Method Summary |
void |
afterTest(org.jboss.arquillian.core.spi.EventContext<org.jboss.arquillian.test.spi.event.suite.After> context)
|
void |
beforeTest(org.jboss.arquillian.core.spi.EventContext<org.jboss.arquillian.test.spi.event.suite.Before> context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LifecycleTestDeenricher
public LifecycleTestDeenricher()
beforeTest
public void beforeTest(@Observes(precedence=100)
org.jboss.arquillian.core.spi.EventContext<org.jboss.arquillian.test.spi.event.suite.Before> context)
afterTest
public void afterTest(@Observes(precedence=100)
org.jboss.arquillian.core.spi.EventContext<org.jboss.arquillian.test.spi.event.suite.After> context)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.