@Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface TimeoutSuite
TestRule
s, BeforeClass
and AfterClass
hooks, suite class's constructor, instance-scope
TestRule
s, Before
and After
hooks and Test
methods.
The suite class's static initializer is not part of the measured code (if you have static initializers in your tests, get rid of them).
Overrides the global default RandomizedRunner.DEFAULT_TIMEOUT
or a
system property override SysGlobals.SYSPROP_TIMEOUT
.
Timeout
Modifier and Type | Required Element and Description |
---|---|
int |
millis
Timeout time in millis.
|
Copyright © 2011–2015 Carrot Search s.c.. All rights reserved.