Package | Description |
---|---|
com.carrotsearch.randomizedtesting |
Provides
RandomizedRunner : randomized tests under control and more. |
Modifier and Type | Method and Description |
---|---|
static LifecycleScope |
LifecycleScope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LifecycleScope[] |
LifecycleScope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
<T extends Closeable> |
RandomizedContext.closeAtEnd(T resource,
LifecycleScope scope)
Dispose the given resource at the end of a given lifecycle scope.
|
static ServerSocket |
RandomizedTest.newServerSocket(LifecycleScope scope)
Assign a temporary server socket.
|
static File |
RandomizedTest.newTempDir(LifecycleScope scope)
Creates a temporary directory, deleted after the given lifecycle phase.
|
static File |
RandomizedTest.newTempFile(LifecycleScope scope)
Creates a new temporary file deleted after the given lifecycle phase completes.
|
Copyright © 2011–2015 Carrot Search s.c.. All rights reserved.