@Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) @Inherited public @interface Timeout
TestRule
s, Before
and After
hooks
and Test
methods. Suite class's constructor is not part of the
measured code (see TimeoutSuite
).
Overrides a global default RandomizedRunner.DEFAULT_TIMEOUT
or a
system property override SysGlobals.SYSPROP_TIMEOUT
.
TimeoutSuite
Modifier and Type | Required Element and Description |
---|---|
int |
millis
Timeout time in millis.
|
Copyright © 2011–2015 Carrot Search s.c.. All rights reserved.