public static enum ThreadLeakScope.Scope extends Enum<ThreadLeakScope.Scope>
Enum Constant and Description |
---|
NONE
No thread leak checks at all.
|
SUITE
No thread leaks from entire suite scope (individual tests may leak threads,
they become part of the suite scope).
|
TEST
No thread leaks from any individual test (including
Rule s) or the
entire suite (including ClassRule s). |
Modifier and Type | Method and Description |
---|---|
static ThreadLeakScope.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreadLeakScope.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadLeakScope.Scope TEST
Rule
s) or the
entire suite (including ClassRule
s).public static final ThreadLeakScope.Scope SUITE
public static final ThreadLeakScope.Scope NONE
public static ThreadLeakScope.Scope[] values()
for (ThreadLeakScope.Scope c : ThreadLeakScope.Scope.values()) System.out.println(c);
public static ThreadLeakScope.Scope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2011–2015 Carrot Search s.c.. All rights reserved.