public static enum ThreadLeakScope.Scope extends java.lang.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
Rules) or the
entire suite (including ClassRules). |
| Modifier and Type | Method and Description |
|---|---|
static ThreadLeakScope.Scope |
valueOf(java.lang.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
Rules) or the
entire suite (including ClassRules).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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2011–2018 Carrot Search s.c.. All rights reserved.