- accept(Field) - Method in class com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule
-
- afterAlways(List<Throwable>) - Method in class com.carrotsearch.randomizedtesting.rules.StatementAdapter
-
Always called after the delegate Statement
, even if an exception
(or assumption failure) occurs.
- afterAlways(List<Throwable>) - Method in class com.carrotsearch.randomizedtesting.rules.TestRuleAdapter
-
Always called after the delegate Statement
, even if an exception
(or assumption failure) occurs.
- afterIfSuccessful() - Method in class com.carrotsearch.randomizedtesting.rules.StatementAdapter
-
Called only if the delegate Statement
returned successfully.
- afterIfSuccessful() - Method in class com.carrotsearch.randomizedtesting.rules.TestRuleAdapter
-
Called only if the delegate Statement
returned successfully.
- AnnotatedMethodProvider - Class in com.carrotsearch.randomizedtesting
-
- AnnotatedMethodProvider(Class<? extends Annotation>) - Constructor for class com.carrotsearch.randomizedtesting.AnnotatedMethodProvider
-
- appendAllOpts(Description) - Method in class com.carrotsearch.randomizedtesting.ReproduceErrorMessageBuilder
-
Append all JVM options that may help in reproducing the error.
- appendEnvironmentSettings() - Method in class com.carrotsearch.randomizedtesting.ReproduceErrorMessageBuilder
-
- appendOpt(String, String) - Method in class com.carrotsearch.randomizedtesting.ReproduceErrorMessageBuilder
-
Append a single VM option.
- appendRunnerProperties() - Method in class com.carrotsearch.randomizedtesting.ReproduceErrorMessageBuilder
-
- appendTestGroupOptions(RandomizedContext) - Method in class com.carrotsearch.randomizedtesting.ReproduceErrorMessageBuilder
-
- apply(Statement, Description) - Method in class com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule
-
- apply(Statement, Description) - Method in class com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule
-
- apply(Statement, Description) - Method in class com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule
-
- apply(Statement, Description) - Method in class com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule
-
- apply(Statement, Description) - Method in class com.carrotsearch.randomizedtesting.rules.TestRuleAdapter
-
- AsciiAlphanumGenerator - Class in com.carrotsearch.randomizedtesting.generators
-
A generator emitting simple ASCII alphanumeric letters and numbers
from the set (newlines not counted):
- AsciiAlphanumGenerator() - Constructor for class com.carrotsearch.randomizedtesting.generators.AsciiAlphanumGenerator
-
- asciiAlphanumGenerator - Static variable in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- ASCIIGenerator - Class in com.carrotsearch.randomizedtesting.generators
-
- ASCIIGenerator() - Constructor for class com.carrotsearch.randomizedtesting.generators.ASCIIGenerator
-
Deprecated.
- asciiGenerator - Static variable in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- AsciiLettersGenerator - Class in com.carrotsearch.randomizedtesting.generators
-
A generator emitting simple ASCII characters from the set
(newlines not counted):
- AsciiLettersGenerator() - Constructor for class com.carrotsearch.randomizedtesting.generators.AsciiLettersGenerator
-
- asciiLettersGenerator - Static variable in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- AssertingRandom - Class in com.carrotsearch.randomizedtesting
-
A random with a delegate, preventing Random.setSeed(long)
and locked
to be used by a single thread.
- AssertingRandom(Thread, Random) - Constructor for class com.carrotsearch.randomizedtesting.AssertingRandom
-
- assumeFalse(boolean) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- assumeFalse(String, boolean) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- assumeNoException(String, Throwable) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Assume t
is null
.
- assumeNoException(Throwable) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Making Assume.assumeNoException(Throwable)
directly available.
- assumeNotNull(Object...) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Making Assume.assumeNotNull(Object...)
directly available.
- assumeTrue(boolean) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Making Assume.assumeTrue(boolean)
directly available.
- assumeTrue(String, boolean) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- atLeast(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Returns a random value greater or equal to min
.
- atMost(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Returns a non-negative random value smaller or equal max
.
- AUGMENTED_SEED_PACKAGE - Static variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Fake package of a stack trace entry inserted into exceptions thrown by
test methods.
- randomAsciiAlphanumOfLength(Random, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- randomAsciiAlphanumOfLength(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomAsciiAlphanumOfLengthBetween(Random, int, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- randomAsciiAlphanumOfLengthBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomAsciiLettersOfLength(Random, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- randomAsciiLettersOfLength(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomAsciiLettersOfLengthBetween(Random, int, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- randomAsciiLettersOfLengthBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomAsciiOfLength(Random, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- randomAsciiOfLength(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomAsciiOfLengthBetween(Random, int, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- randomAsciiOfLengthBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomBoolean() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomByte() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- RandomBytes - Class in com.carrotsearch.randomizedtesting.generators
-
Random byte sequence generators.
- RandomBytes() - Constructor for class com.carrotsearch.randomizedtesting.generators.RandomBytes
-
- randomBytesOfLength(Random, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomBytes
-
- randomBytesOfLength(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Returns a byte array with random content.
- randomBytesOfLength(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Returns a byte array with random content.
- randomBytesOfLengthBetween(Random, int, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomBytes
-
- randomDouble() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomDoubleBetween(Random, double, double) - Static method in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
-
A random double between min
(inclusive) and max
(inclusive).
- randomFloat() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomFloatBetween(Random, float, float) - Static method in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
-
A random float between min
(inclusive) and max
(inclusive).
- randomFrom(Random, byte[]) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
-
- randomFrom(Random, short[]) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
-
- randomFrom(Random, int[]) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
-
- randomFrom(Random, char[]) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
-
- randomFrom(Random, float[]) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
-
- randomFrom(Random, long[]) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
-
- randomFrom(Random, double[]) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
-
- randomFrom(Random, T[]) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
-
Pick a random object from the given array.
- randomFrom(Random, List<T>) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
-
Pick a random object from the given list.
- randomFrom(Random, Collection<T>) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
-
Pick a random object from the collection.
- randomFrom(T[]) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Pick a random object from the given array.
- randomFrom(List<T>) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Pick a random object from the given list.
- randomFrom(byte[]) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomFrom(short[]) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomFrom(int[]) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomFrom(char[]) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomFrom(float[]) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomFrom(long[]) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomFrom(double[]) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomGaussian() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomInt() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomInt(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
A random integer from 0..max (inclusive).
- randomIntBetween(Random, int, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomNumbers
-
A random integer between min
(inclusive) and max
(inclusive).
- randomIntBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
A random integer from min
to max
(inclusive).
- RandomizedContext - Class in com.carrotsearch.randomizedtesting
-
Context variables for an execution of a test suite (hooks and tests) running
under a
RandomizedRunner
.
- RandomizedRunner - Class in com.carrotsearch.randomizedtesting
-
A Runner
implementation for running randomized test cases with
predictable and repeatable randomness.
- RandomizedRunner(Class<?>) - Constructor for class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Creates a new runner for the given class.
- RandomizedTest - Class in com.carrotsearch.randomizedtesting
-
Common scaffolding for subclassing randomized tests.
- RandomizedTest() - Constructor for class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomLocale() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Return a random Locale from the available locales on the system.
- randomLong() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomLong(long) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
A random long from 0..max (inclusive).
- randomLongBetween(Random, long, long) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomNumbers
-
A random long between min
(inclusive) and max
(inclusive).
- randomLongBetween(long, long) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
A random long from min
to max
(inclusive).
- Randomness - Class in com.carrotsearch.randomizedtesting
-
Per-thread, per-lifecycle state randomness defined as an initial seed and
the current Random instance.
- Randomness(Thread, RandomSupplier, long, SeedDecorator...) - Constructor for class com.carrotsearch.randomizedtesting.Randomness
-
- Randomness(long, RandomSupplier, SeedDecorator...) - Constructor for class com.carrotsearch.randomizedtesting.Randomness
-
- RandomNumbers - Class in com.carrotsearch.randomizedtesting.generators
-
Utility classes for selecting random numbers from within a range or the
numeric domain for a given type.
- RandomNumbers() - Constructor for class com.carrotsearch.randomizedtesting.generators.RandomNumbers
-
- RandomPicks - Class in com.carrotsearch.randomizedtesting.generators
-
Random selections of objects.
- RandomPicks() - Constructor for class com.carrotsearch.randomizedtesting.generators.RandomPicks
-
- randomRealisticUnicodeOfCodepointLength(Random, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- randomRealisticUnicodeOfCodepointLength(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomRealisticUnicodeOfCodepointLengthBetween(Random, int, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- randomRealisticUnicodeOfCodepointLengthBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomRealisticUnicodeOfLength(Random, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- randomRealisticUnicodeOfLength(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomRealisticUnicodeOfLengthBetween(Random, int, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- randomRealisticUnicodeOfLengthBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomShort() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- RandomStrings - Class in com.carrotsearch.randomizedtesting.generators
-
- RandomStrings() - Constructor for class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- RandomSupplier - Interface in com.carrotsearch.randomizedtesting
-
- randomTimeZone() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Return a random TimeZone from the available timezones on the system.
- randomUnicodeOfCodepointLength(Random, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- randomUnicodeOfCodepointLength(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomUnicodeOfCodepointLengthBetween(Random, int, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- randomUnicodeOfCodepointLengthBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomUnicodeOfLength(Random, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- randomUnicodeOfLength(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- randomUnicodeOfLengthBetween(Random, int, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- randomUnicodeOfLengthBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- range - Variable in class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
-
- rarely() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
- realisticUnicodeGenerator - Static variable in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
- RealisticUnicodeGenerator - Class in com.carrotsearch.randomizedtesting.generators
-
A string generator that emits valid unicodeGenerator codepoints.
- RealisticUnicodeGenerator() - Constructor for class com.carrotsearch.randomizedtesting.generators.RealisticUnicodeGenerator
-
- reject(Thread) - Method in interface com.carrotsearch.randomizedtesting.ThreadFilter
-
- Repeat - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
Repeats randomized test case a given number of times.
- ReplicateOnEachVm - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
Replicates the test class on each concurrent forked JVM.
- ReproduceErrorMessageBuilder - Class in com.carrotsearch.randomizedtesting
-
A builder for constructing "reproduce with" message.
- ReproduceErrorMessageBuilder() - Constructor for class com.carrotsearch.randomizedtesting.ReproduceErrorMessageBuilder
-
- ReproduceErrorMessageBuilder(StringBuilder) - Constructor for class com.carrotsearch.randomizedtesting.ReproduceErrorMessageBuilder
-
- ReproduceInfoPrinter - Class in com.carrotsearch.randomizedtesting.listeners
-
A RunListener
that emits to System.err
a string with command
line parameters allowing quick test re-run under ANT command line.
- ReproduceInfoPrinter() - Constructor for class com.carrotsearch.randomizedtesting.listeners.ReproduceInfoPrinter
-
- RequireAssertionsRule - Class in com.carrotsearch.randomizedtesting.rules
-
Require assertions TestRule
.
- RequireAssertionsRule(Class<?>) - Constructor for class com.carrotsearch.randomizedtesting.rules.RequireAssertionsRule
-
- Rethrow - Class in com.carrotsearch.randomizedtesting
-
Rethrowing checked exceptions as unchecked ones.
- Rethrow() - Constructor for class com.carrotsearch.randomizedtesting.Rethrow
-
- rethrow(Throwable) - Static method in class com.carrotsearch.randomizedtesting.Rethrow
-
Rethrows t
(identical object).
- rmDir(Path) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Recursively delete a folder.
- run(RunNotifier) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Runs all tests and hooks.
- runWithPrivateRandomness(Randomness, Callable<T>) - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Pushes the given randomness to the top of the stack, runs the Callable
and disposes
the randomness before the this method returns.
- runWithPrivateRandomness(long, Callable<T>) - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Pushes the given randomness to the top of the stack, runs the Callable
and disposes
the randomness before the this method returns.
- scaledRandomIntBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Returns a "scaled" random number between min and max (inclusive).
- Seed - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
Defines the starting seed for a given test or the entire suite.
- SeedDecorator - Interface in com.carrotsearch.randomizedtesting
-
This is an advanced feature.
- SeedDecorators - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
Allows modifying the master seed (before the suite is started).
- seedFromThrowable(Throwable) - Static method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
- Seeds - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
Defines a list of starting seeds for a given test.
- SeedUtils - Class in com.carrotsearch.randomizedtesting
-
Utilities for parsing random seeds.
- setSeed(long) - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
-
- setSeed(long) - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
-
- shouldRun(Description) - Method in class com.carrotsearch.randomizedtesting.ClassGlobFilter
-
- shouldRun(Description) - Method in class com.carrotsearch.randomizedtesting.GlobFilter
-
- shouldRun(Description) - Method in class com.carrotsearch.randomizedtesting.MethodGlobFilter
-
- sleep(long) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Same as Thread.sleep(long)
.
- StatementAdapter - Class in com.carrotsearch.randomizedtesting.rules
-
- StatementAdapter(Statement) - Constructor for class com.carrotsearch.randomizedtesting.rules.StatementAdapter
-
- StaticFieldsInvariantRule - Class in com.carrotsearch.randomizedtesting.rules
-
A TestRule
that ensures static, reference fields of the suite class
(and optionally its superclasses) are cleaned up after a suite is completed.
- StaticFieldsInvariantRule() - Constructor for class com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule
-
- StaticFieldsInvariantRule(long, boolean) - Constructor for class com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule
-
- StringGenerator - Class in com.carrotsearch.randomizedtesting.generators
-
- StringGenerator() - Constructor for class com.carrotsearch.randomizedtesting.generators.StringGenerator
-
- SuppressForbidden - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
Suppresses forbidden-API checks.
- SysGlobals - Class in com.carrotsearch.randomizedtesting
-
Global names for system properties controlling the behavior of
JUnit4
ANT task
and
RandomizedRunner
.
- SYSPROP_APPEND_SEED() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
If true
, append seed parameter to all methods.
- SYSPROP_ASSERTS() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
Returns the property name to express the desired status of assertions during tests.
- SYSPROP_ITERATIONS() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
The global override for the number of each test's repetitions.
- SYSPROP_KILLATTEMPTS() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
If there's a runaway thread, how many times do we try to interrupt and
then kill it before we give up? Runaway threads may affect other tests (bad idea).
- SYSPROP_KILLWAIT() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
If there's a runaway thread, how long should we wait between iterations of
putting a silver bullet through its heart?
- SYSPROP_MULTIPLIER - Static variable in class com.carrotsearch.randomizedtesting.RandomizedTest
-
The global multiplier property (Double).
- SYSPROP_PREFIX() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
Global system property that holds the prefix used by other properties.
- SYSPROP_RANDOM_SEED() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
System property with an integer defining global initialization seeds for all
random generators.
- SYSPROP_STACKFILTERING() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
Enable or disable stack filtering.
- SYSPROP_TESTCLASS() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
Global override for picking out a single test class to execute.
- SYSPROP_TESTFILTER() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
Global test filter.
- SYSPROP_TESTMETHOD() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
Global override for picking out a single test method to execute.
- SYSPROP_TIMEOUT() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
Global override for a single test case's maximum execution time after which
it is considered out of control and an attempt to interrupt it is executed.
- SYSPROP_TIMEOUT_SUITE() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
Global override for entire suite's maximum execution time after which
it is considered out of control.
- SystemPropertiesInvariantRule - Class in com.carrotsearch.randomizedtesting.rules
-
A TestRule
that ensures system properties remain unmodified by the nested
Statement
.
- SystemPropertiesInvariantRule() - Constructor for class com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule
-
Cares about all properties.
- SystemPropertiesInvariantRule(String...) - Constructor for class com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule
-
Don't care about the given set of properties.
- SystemPropertiesInvariantRule(Set<String>) - Constructor for class com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule
-
Don't care about the given set of properties.
- SystemPropertiesRestoreRule - Class in com.carrotsearch.randomizedtesting.rules
-
A TestRule
which restores system properties from before the nested
Statement
.
- SystemPropertiesRestoreRule() - Constructor for class com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule
-
Restores all properties.
- SystemPropertiesRestoreRule(Set<String>) - Constructor for class com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule
-
- SystemPropertiesRestoreRule(String...) - Constructor for class com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule
-
- systemPropertyAsBoolean(String, boolean) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Get a system property and convert it to a boolean, if defined.
- systemPropertyAsDouble(String, double) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Get a system property and convert it to a double, if defined.
- systemPropertyAsFloat(String, float) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Get a system property and convert it to a float, if defined.
- systemPropertyAsInt(String, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Get a system property and convert it to an int, if defined.
- systemPropertyAsLong(String, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Get a system property and convert it to a long, if defined.
- validate(Class<?>) - Method in class com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule
-
- valueOf(String) - Static method in enum com.carrotsearch.randomizedtesting.annotations.TestCaseInstanceProvider.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakAction.Action
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakGroup.Group
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakScope.Scope
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakZombies.Consequence
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.carrotsearch.randomizedtesting.ClassModel.Scope
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.carrotsearch.randomizedtesting.LifecycleScope
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.carrotsearch.randomizedtesting.annotations.TestCaseInstanceProvider.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakAction.Action
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakGroup.Group
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakScope.Scope
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakZombies.Consequence
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.carrotsearch.randomizedtesting.ClassModel.Scope
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.carrotsearch.randomizedtesting.LifecycleScope
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- verify(Method) - Method in class com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule
-