Last active
August 29, 2015 14:07
-
-
Save tremes/fd17b06fc47881fd4558 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.jboss.arquillian.core.spi.LoadableExtension; | |
public class TckTestExtension implements LoadableExtension { | |
@Override | |
public void register(ExtensionBuilder extensionBuilder) { | |
extensionBuilder.observer(TckTestObserver.class); | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.jboss.arquillian.core.api.annotation.Observes; | |
import org.jboss.arquillian.test.spi.event.suite.Before; | |
public class TckTestObserver { | |
public void beforeObserver(@Observes Before event){ | |
try { | |
Thread.sleep(5000); | |
} catch (InterruptedException e) { | |
e.printStackTrace(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment