$ A B C D E F G H I J L M N O P R S T U V W X 

$

$(Object...) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
This is an absolutely hacky utility to take a vararg as input and return the array of arguments as output.
$$(Object[]...) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
 

A

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
Base class for TestMethodProviders based on annotations.
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
Deprecated.
ASCIIGenerator() - Constructor for class com.carrotsearch.randomizedtesting.generators.ASCIIGenerator
Deprecated.
 
asciiGenerator - Static variable in class com.carrotsearch.randomizedtesting.generators.RandomStrings
Deprecated.
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
Creates an instance to be used by owner thread and delegating to delegate until AssertingRandom.destroy()ed.
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.

B

before() - Method in class com.carrotsearch.randomizedtesting.rules.RequireAssertionsRule
 
before() - Method in class com.carrotsearch.randomizedtesting.rules.StatementAdapter
Always called before the delegate Statement.
before() - Method in class com.carrotsearch.randomizedtesting.rules.TestRuleAdapter
Always called before the delegate Statement.
between(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
between(long, long) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
biasedDoubleBetween(double, double) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
A biased "evil" random double between min and max (inclusive).
biasedFloatBetween(float, float) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
A biased "evil" random float between min and max (inclusive).
BiasedNumbers - Class in com.carrotsearch.randomizedtesting.generators
Utility classes for selecting numbers at random, but not necessarily in an uniform way.
BiasedNumbers() - Constructor for class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
 

C

CHILDVM_SYSPROP_JVM_COUNT - Static variable in class com.carrotsearch.randomizedtesting.SysGlobals
System property passed to forked VMs: the number of concurrent JVMs.
CHILDVM_SYSPROP_JVM_ID - Static variable in class com.carrotsearch.randomizedtesting.SysGlobals
System property passed to forked VMs: VM ID (sequential integer between 0 and the (number of concurrent jvms - 1)).
ClassGlobFilter - Class in com.carrotsearch.randomizedtesting
A filter for Description.getClassName().
ClassGlobFilter(String) - Constructor for class com.carrotsearch.randomizedtesting.ClassGlobFilter
 
ClassModel - Class in com.carrotsearch.randomizedtesting
Class model for a test suite.
ClassModel(Class<?>) - Constructor for class com.carrotsearch.randomizedtesting.ClassModel
 
ClassModel.FieldModel - Class in com.carrotsearch.randomizedtesting
 
ClassModel.FieldModel(Field) - Constructor for class com.carrotsearch.randomizedtesting.ClassModel.FieldModel
 
ClassModel.MethodModel - Class in com.carrotsearch.randomizedtesting
 
ClassModel.MethodModel(Method) - Constructor for class com.carrotsearch.randomizedtesting.ClassModel.MethodModel
 
ClassModel.Scope - Enum in com.carrotsearch.randomizedtesting
 
clone() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
clone() - Method in class com.carrotsearch.randomizedtesting.TeeOutputStream
 
close() - Method in class com.carrotsearch.randomizedtesting.TeeOutputStream
 
close() - Method in class com.carrotsearch.randomizedtesting.TempPathResource
 
close() - Method in class com.carrotsearch.randomizedtesting.WriterOutputStream
Close the stream.
closeAfterSuite(T) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
Registers a Closeable resource that should be closed after the suite completes.
closeAfterTest(T) - Method in class com.carrotsearch.randomizedtesting.RandomizedTest
Registers a Closeable resource that should be closed after the test completes.
closeAtEnd(T, LifecycleScope) - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
Dispose the given resource at the end of a given lifecycle scope.
CodepointSetGenerator - Class in com.carrotsearch.randomizedtesting.generators
A string generator from a predefined set of codepoints or characters.
CodepointSetGenerator(char[]) - Constructor for class com.carrotsearch.randomizedtesting.generators.CodepointSetGenerator
All characters must be from BMP (no parts of surrogate pairs allowed).
CodepointSetGenerator(String) - Constructor for class com.carrotsearch.randomizedtesting.generators.CodepointSetGenerator
Parse the given String and split into BMP and supplementary codepoints.
collectMethodExecutions(Constructor<?>, List<Method>) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
Collect test method executions from list of test methods and potentially parameters from parameter factory methods.
com.carrotsearch.randomizedtesting - package com.carrotsearch.randomizedtesting
 
com.carrotsearch.randomizedtesting.annotations - package com.carrotsearch.randomizedtesting.annotations
 
com.carrotsearch.randomizedtesting.generators - package com.carrotsearch.randomizedtesting.generators
 
com.carrotsearch.randomizedtesting.listeners - package com.carrotsearch.randomizedtesting.listeners
 
com.carrotsearch.randomizedtesting.rules - package com.carrotsearch.randomizedtesting.rules
 
compare(TestMethodAndParams, TestMethodAndParams) - Method in class com.carrotsearch.randomizedtesting.annotations.TestCaseOrdering.AlphabeticOrder
 
current() - Static method in class com.carrotsearch.randomizedtesting.RandomizedContext
 
CURRENT_PREFIX() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
Static singleton's property prefix.

D

decorate(long) - Method in class com.carrotsearch.randomizedtesting.MixWithSuiteName
 
decorate(long) - Method in interface com.carrotsearch.randomizedtesting.SeedDecorator
Called to decorate the initial seed for a Randomness.
DEFAULT - Static variable in interface com.carrotsearch.randomizedtesting.RandomSupplier
 
DEFAULT_FORMATTING - Static variable in annotation type com.carrotsearch.randomizedtesting.annotations.ParametersFactory
Use default argument formatting for test cases.
DEFAULT_ITERATIONS - Static variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
The default number of test repeat iterations.
DEFAULT_KILLATTEMPTS - Static variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
The default number of first interrupts, then Thread.stop attempts.
DEFAULT_KILLWAIT - Static variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
Time in between interrupt retries or stop retries.
DEFAULT_LEAK_THRESHOLD - Static variable in class com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule
 
DEFAULT_TIMEOUT - Static variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
Default timeout for a single test case.
DEFAULT_TIMEOUT_SUITE - Static variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
Default timeout for an entire suite.
describe() - Method in class com.carrotsearch.randomizedtesting.ClassGlobFilter
 
describe() - Method in class com.carrotsearch.randomizedtesting.GlobFilter
 
describe() - Method in class com.carrotsearch.randomizedtesting.MethodGlobFilter
 
destroy() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
This object will no longer be usable after this method is called.

E

equals(Object) - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
equals(Object) - Method in class com.carrotsearch.randomizedtesting.ClassModel.FieldModel
 
equals(Object) - Method in class com.carrotsearch.randomizedtesting.ClassModel.MethodModel
 
equals(Object) - Method in class com.carrotsearch.randomizedtesting.TeeOutputStream
 
evaluate(FilterExpressionParser.IContext) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
 
evaluate() - Method in class com.carrotsearch.randomizedtesting.rules.StatementAdapter
 

F

filter(Filter) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
Implement Filterable because GUIs depend on it to run tests selectively.
FilterExpressionParser - Class in com.carrotsearch.randomizedtesting
Test group conditions filter parser.
FilterExpressionParser() - Constructor for class com.carrotsearch.randomizedtesting.FilterExpressionParser
 
FilterExpressionParser.Node - Class in com.carrotsearch.randomizedtesting
 
FilterExpressionParser.Node() - Constructor for class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
 
flush() - Method in class com.carrotsearch.randomizedtesting.TeeOutputStream
 
flush() - Method in class com.carrotsearch.randomizedtesting.WriterOutputStream
Flush the stream.
formatSeed(long) - Static method in class com.carrotsearch.randomizedtesting.SeedUtils
Format a single seed.
formatSeedChain(Randomness...) - Static method in class com.carrotsearch.randomizedtesting.SeedUtils
Formats randomness seed or seeds into something the user can type in to get predictably repeatable execution.
formatStackTrace(StringBuilder, StackTraceElement[]) - Method in class com.carrotsearch.randomizedtesting.TraceFormatting
Format a list of stack entries into a string.
formatStackTrace(StackTraceElement[]) - Method in class com.carrotsearch.randomizedtesting.TraceFormatting
 
formatStackTrace(Iterable<StackTraceElement>) - Method in class com.carrotsearch.randomizedtesting.TraceFormatting
 
formatStackTrace(StringBuilder, Iterable<StackTraceElement>) - Method in class com.carrotsearch.randomizedtesting.TraceFormatting
Format a list of stack entries into a string.
formatThrowable(Throwable) - Method in class com.carrotsearch.randomizedtesting.TraceFormatting
Format an exception and all of its nested stacks into a string.
formatThrowable(StringBuilder, Throwable) - Method in class com.carrotsearch.randomizedtesting.TraceFormatting
Format an exception and all of its nested stacks into a string.
frequently() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
The exact opposite of RandomizedTest.rarely().
fuzzDown(Random, double, double) - Static method in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
Fuzzify the input value by decreasing it by a few ulps, but never past min.
fuzzDown(Random, float, float) - Static method in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
Fuzzify the input value by decreasing it by a few ulps, but never past min.
fuzzUp(Random, double, double) - Static method in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
Fuzzify the input value by increasing it by a few ulps, but never past max.
fuzzUp(Random, float, float) - Static method in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
Fuzzify the input value by increasing it by a few ulps, but never past max.

G

get(long) - Method in interface com.carrotsearch.randomizedtesting.RandomSupplier
 
getAnnotatedLeafMethods(Class<? extends Annotation>) - Method in class com.carrotsearch.randomizedtesting.ClassModel
 
getAnnotation(Method, Class<T>, boolean) - Method in class com.carrotsearch.randomizedtesting.ClassModel
 
getContext() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
getDescription() - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
Return the current tree of test descriptions (filtered).
getFields() - Method in class com.carrotsearch.randomizedtesting.ClassModel
 
getGroupEvaluator() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
Provide access to GroupEvaluator.
getGroupName(Class<? extends Annotation>) - Static method in class com.carrotsearch.randomizedtesting.annotations.TestGroup.Utilities
 
getIgnoreReason(AnnotatedElement...) - Method in class com.carrotsearch.randomizedtesting.GroupEvaluator
 
getInstanceArguments() - Method in interface com.carrotsearch.randomizedtesting.TestMethodAndParams
 
getMethods() - Method in class com.carrotsearch.randomizedtesting.ClassModel
 
getRandom() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
getRandom() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
getRandom() - Method in class com.carrotsearch.randomizedtesting.Randomness
Random instance for this randomness.
getRandomness() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
Source of randomness for the context's thread.
getRunner() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
Access to the runner governing this context.
getRunnerSeedAsString() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
Returns the runner's master seed, formatted.
getSysProperty(Class<? extends Annotation>) - Static method in class com.carrotsearch.randomizedtesting.annotations.TestGroup.Utilities
 
getTargetClass() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
The class (suite) being tested.
getTargetMethod() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
 
getTestMethod() - Method in interface com.carrotsearch.randomizedtesting.TestMethodAndParams
 
getTestMethods(Class<?>, ClassModel) - Method in class com.carrotsearch.randomizedtesting.AnnotatedMethodProvider
 
getTestMethods(Class<?>, ClassModel) - Method in class com.carrotsearch.randomizedtesting.JUnit3MethodProvider
 
getTestMethods(Class<?>, ClassModel) - Method in interface com.carrotsearch.randomizedtesting.TestMethodProvider
Determine which methods are test methods.
getTraceFormatting() - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
Stack trace formatting utilities.
globalTempDir() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
Global temporary directory created for the duration of this class's lifespan.
GlobFilter - Class in com.carrotsearch.randomizedtesting
A filter that matches something using globbing (*) pattern.
GlobFilter(String) - Constructor for class com.carrotsearch.randomizedtesting.GlobFilter
 
globMatches(String) - Method in class com.carrotsearch.randomizedtesting.GlobFilter
Check if a given string matches the glob.
globPattern - Variable in class com.carrotsearch.randomizedtesting.GlobFilter
 
GroupEvaluator - Class in com.carrotsearch.randomizedtesting
Evaluates enabled/ disabled state for a given test group.
groupEvaluator - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
 

H

hashCode() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
hashCode() - Method in class com.carrotsearch.randomizedtesting.ClassModel.FieldModel
 
hashCode() - Method in class com.carrotsearch.randomizedtesting.ClassModel.MethodModel
 
hashCode() - Method in class com.carrotsearch.randomizedtesting.TeeOutputStream
 
hasZombieThreads() - Static method in class com.carrotsearch.randomizedtesting.RandomizedRunner
Returns true if any previous (or current) suite marked with ThreadLeakZombies.Consequence.IGNORE_REMAINING_TESTS has left zombie threads.

I

initialize(Class<?>) - Method in class com.carrotsearch.randomizedtesting.MixWithSuiteName
 
initialize(Class<?>) - Method in interface com.carrotsearch.randomizedtesting.SeedDecorator
Called once after instantiation to set up the decorator.
initializeWith(String) - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
 
isAnnotationPresent(Method, Class<T>, boolean) - Method in class com.carrotsearch.randomizedtesting.ClassModel
 
isGroupEnabled(Class<? extends Annotation>) - Method in class com.carrotsearch.randomizedtesting.GroupEvaluator
 
isNightly() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
Return true if Nightly test group is explicitly enabled.
isNightly() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
Returns true if Nightly test group is enabled.
ISO8859_1 - Static variable in class com.carrotsearch.randomizedtesting.RandomizedTest
 
isVerifying() - Static method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
iterations(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
Returns a "scaled" number of iterations for loops which can have a variable iteration count.

J

JUnit3MethodProvider - Class in com.carrotsearch.randomizedtesting
Method provider selecting tests that follow a name pattern of test(.*).
JUnit3MethodProvider() - Constructor for class com.carrotsearch.randomizedtesting.JUnit3MethodProvider
 
JUnit4MethodProvider - Class in com.carrotsearch.randomizedtesting
Method provider selecting Test annotated public instance parameterless methods.
JUnit4MethodProvider() - Constructor for class com.carrotsearch.randomizedtesting.JUnit4MethodProvider
 

L

LifecycleScope - Enum in com.carrotsearch.randomizedtesting
Lifecycle stages for tracking resources.
Listeners - Annotation Type in com.carrotsearch.randomizedtesting.annotations
Annotate your suite class with this annotation to automatically add hooks to the RunNotifier used for executing tests inside RandomizedRunner.

M

MethodGlobFilter - Class in com.carrotsearch.randomizedtesting
A filter for Description.getMethodName().
MethodGlobFilter(String) - Constructor for class com.carrotsearch.randomizedtesting.MethodGlobFilter
 
methodName(Description) - Static method in class com.carrotsearch.randomizedtesting.RandomizedRunner
Attempts to extract just the method name from parameterized notation.
MixWithSuiteName - Class in com.carrotsearch.randomizedtesting
A SeedDecorator to be used with SeedDecorators annotation to modify the master Randomness with a hash off the suite's class name.
MixWithSuiteName() - Constructor for class com.carrotsearch.randomizedtesting.MixWithSuiteName
 
multiplier() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
A multiplier can be used to linearly scale certain values.

N

Name - Annotation Type in com.carrotsearch.randomizedtesting.annotations
Used to annotate constructor parameters for parameterized tests.
newServerSocket(LifecycleScope) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
Assign a temporary server socket.
newTempDir() - Method in class com.carrotsearch.randomizedtesting.RandomizedTest
Creates a new temporary directory for the LifecycleScope.TEST duration.
newTempDir(LifecycleScope) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
Creates a temporary directory, deleted after the given lifecycle phase.
newTempFile() - Method in class com.carrotsearch.randomizedtesting.RandomizedTest
Creates a new temporary file for the LifecycleScope.TEST duration.
newTempFile(LifecycleScope) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
Creates a new temporary file deleted after the given lifecycle phase completes.
next(int) - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
next(int) - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
 
nextBoolean() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
nextBoolean() - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
 
nextBytes(byte[]) - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
nextBytes(byte[]) - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
 
nextDouble() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
nextDouble() - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
 
nextFloat() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
nextFloat() - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
 
nextGaussian() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
nextGaussian() - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
 
nextInt() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
nextInt(int) - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
nextInt() - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
 
nextInt(int) - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
 
nextLong() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
nextLong(Random, long) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomNumbers
Similar to Random.nextInt(int), but returns a long between 0 (inclusive) and n (exclusive).
nextLong() - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
 
nextTempName() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
Next temporary filename.
Nightly - Annotation Type in com.carrotsearch.randomizedtesting.annotations
An annotation indicating a given test case (or suite) should run only during nightly tests.
NoClassHooksShadowingRule - Class in com.carrotsearch.randomizedtesting.rules
Don't allow BeforeClass and AfterClass hook shadowing as it is most likely a user error.
NoClassHooksShadowingRule() - Constructor for class com.carrotsearch.randomizedtesting.rules.NoClassHooksShadowingRule
 
NoInstanceHooksOverridesRule - Class in com.carrotsearch.randomizedtesting.rules
Don't allow Before and After hook overrides as it is most likely a user error and will result in superclass methods not being called (requires manual chaining).
NoInstanceHooksOverridesRule() - Constructor for class com.carrotsearch.randomizedtesting.rules.NoInstanceHooksOverridesRule
 
NoShadowingOrOverridesOnMethodsRule - Class in com.carrotsearch.randomizedtesting.rules
Discovers shadowing or override relationships among methods annotated with any of the provided annotations.
NoShadowingOrOverridesOnMethodsRule(Class<? extends Annotation>...) - Constructor for class com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule
 

O

ofCodePointsLength(Random, int, int) - Method in class com.carrotsearch.randomizedtesting.generators.CodepointSetGenerator
 
ofCodePointsLength(Random, int, int) - Method in class com.carrotsearch.randomizedtesting.generators.RealisticUnicodeGenerator
 
ofCodePointsLength(Random, int, int) - Method in class com.carrotsearch.randomizedtesting.generators.StringGenerator
 
ofCodePointsLength(Random, int, int) - Method in class com.carrotsearch.randomizedtesting.generators.UnicodeGenerator
 
ofCodeUnitsLength(Random, int, int) - Method in class com.carrotsearch.randomizedtesting.generators.CodepointSetGenerator
 
ofCodeUnitsLength(Random, int, int) - Method in class com.carrotsearch.randomizedtesting.generators.RealisticUnicodeGenerator
 
ofCodeUnitsLength(Random, int, int) - Method in class com.carrotsearch.randomizedtesting.generators.StringGenerator
 
ofCodeUnitsLength(Random, int, int) - Method in class com.carrotsearch.randomizedtesting.generators.UnicodeGenerator
 
ofStringLength(Random, int, int) - Method in class com.carrotsearch.randomizedtesting.generators.StringGenerator
ofUtf8Length(Random, int, int) - Method in class com.carrotsearch.randomizedtesting.generators.UnicodeGenerator
Returns a random string that will have a random UTF-8 representation length between minUtf8Length and maxUtf8Length.

P

ParametersFactory - Annotation Type in com.carrotsearch.randomizedtesting.annotations
Used to annotate methods providing parameters for parameterized tests.
parse(String) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser
Pratt's parser.
parseSeed(String) - Static method in class com.carrotsearch.randomizedtesting.SeedUtils
Parse a single seed.
parseSeedChain(String) - Static method in class com.carrotsearch.randomizedtesting.SeedUtils
Parse a seed chain formatted with SeedUtils.formatSeedChain(Randomness...).
prefixProperty(String) - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
Prefix a given property name with a common prefix.

R

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
A facade to various implementations of StringGenerator interface.
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
Rarely returns true in about 10% of all calls (regardless of the RandomizedTest.isNightly() mode).
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.

S

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
RandomizedRunner augments stack traces of test methods that ended in an exception and inserts a fake entry starting with RandomizedRunner.AUGMENTED_SEED_PACKAGE.
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
An abstract Statement that guarantees the execution of StatementAdapter.afterAlways(java.util.List<java.lang.Throwable>) even if an exception has been thrown from delegate Statement.
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
By default use StaticFieldsInvariantRule.DEFAULT_LEAK_THRESHOLD as the threshold and count in superclasses.
StaticFieldsInvariantRule(long, boolean) - Constructor for class com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule
 
StringGenerator - Class in com.carrotsearch.randomizedtesting.generators
A StringGenerator generates random strings composed of characters.
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.

T

TeeOutputStream - Class in com.carrotsearch.randomizedtesting
Custom teeing stream that ensures both streams receive the output and no exceptions are quietly suppressed.
TeeOutputStream(OutputStream, OutputStream) - Constructor for class com.carrotsearch.randomizedtesting.TeeOutputStream
 
TempPathResource - Class in com.carrotsearch.randomizedtesting
A temporary path resource will be deleted at the end of a given lifecycle phase.
TempPathResource(Path) - Constructor for class com.carrotsearch.randomizedtesting.TempPathResource
 
TEST_ASSERTS_ENABLED - Static variable in class com.carrotsearch.randomizedtesting.rules.RequireAssertionsRule
 
TestCaseInstanceProvider - Annotation Type in com.carrotsearch.randomizedtesting.annotations
Determines how instances of the test suite class are created for each test case.
TestCaseInstanceProvider.Type - Enum in com.carrotsearch.randomizedtesting.annotations
 
TestCaseOrdering - Annotation Type in com.carrotsearch.randomizedtesting.annotations
Test case ordering.
TestCaseOrdering.AlphabeticOrder - Class in com.carrotsearch.randomizedtesting.annotations
Alphabetic, increasing order by method name.
TestCaseOrdering.AlphabeticOrder() - Constructor for class com.carrotsearch.randomizedtesting.annotations.TestCaseOrdering.AlphabeticOrder
 
TestContextRandomSupplier - Annotation Type in com.carrotsearch.randomizedtesting.annotations
A supplier of Random instances for the RandomizedContext.
testFailure(Failure) - Method in class com.carrotsearch.randomizedtesting.listeners.ReproduceInfoPrinter
 
TestGroup - Annotation Type in com.carrotsearch.randomizedtesting.annotations
A test group applied to an annotation indicates that a given annotation can be used on individual tests as "labels".
TestGroup.Utilities - Class in com.carrotsearch.randomizedtesting.annotations
Utilities to deal with annotations annotated with TestGroup.
TestGroup.Utilities() - Constructor for class com.carrotsearch.randomizedtesting.annotations.TestGroup.Utilities
 
TestMethodAndParams - Interface in com.carrotsearch.randomizedtesting
A single test case entry composed of the test method and the arguments eventually passed to the test class's constructor.
TestMethodProvider - Interface in com.carrotsearch.randomizedtesting
Responsible for providing individual test instances and their descriptions.
TestMethodProviders - Annotation Type in com.carrotsearch.randomizedtesting.annotations
Test case method provider.
TestRuleAdapter - Class in com.carrotsearch.randomizedtesting.rules
An abstract TestRule that guarantees the execution of TestRuleAdapter.afterAlways(java.util.List<java.lang.Throwable>) even if an exception has been thrown from delegate Statement.
TestRuleAdapter() - Constructor for class com.carrotsearch.randomizedtesting.rules.TestRuleAdapter
 
ThreadFilter - Interface in com.carrotsearch.randomizedtesting
 
ThreadLeakAction - Annotation Type in com.carrotsearch.randomizedtesting.annotations
 
ThreadLeakAction.Action - Enum in com.carrotsearch.randomizedtesting.annotations
 
ThreadLeakFilters - Annotation Type in com.carrotsearch.randomizedtesting.annotations
 
ThreadLeakGroup - Annotation Type in com.carrotsearch.randomizedtesting.annotations
 
ThreadLeakGroup.Group - Enum in com.carrotsearch.randomizedtesting.annotations
 
ThreadLeakLingering - Annotation Type in com.carrotsearch.randomizedtesting.annotations
 
ThreadLeakScope - Annotation Type in com.carrotsearch.randomizedtesting.annotations
 
ThreadLeakScope.Scope - Enum in com.carrotsearch.randomizedtesting.annotations
 
ThreadLeakZombies - Annotation Type in com.carrotsearch.randomizedtesting.annotations
 
ThreadLeakZombies.Consequence - Enum in com.carrotsearch.randomizedtesting.annotations
 
Timeout - Annotation Type in com.carrotsearch.randomizedtesting.annotations
Maximum execution time for a single test method.
TimeoutSuite - Annotation Type in com.carrotsearch.randomizedtesting.annotations
Maximum execution time for an entire suite (including all hooks and tests).
toExpression() - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
 
toExpression(StringBuilder) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
 
toString() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
toString() - Method in class com.carrotsearch.randomizedtesting.ClassModel.FieldModel
 
toString() - Method in class com.carrotsearch.randomizedtesting.ClassModel.MethodModel
 
toString() - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
 
toString() - Method in class com.carrotsearch.randomizedtesting.Randomness
 
toString() - Method in class com.carrotsearch.randomizedtesting.TeeOutputStream
 
TraceFormatting - Class in com.carrotsearch.randomizedtesting
Utilities for dealing with throwables, stacks, etc.
TraceFormatting() - Constructor for class com.carrotsearch.randomizedtesting.TraceFormatting
Default stack traces, no filtering.
TraceFormatting(List<String>) - Constructor for class com.carrotsearch.randomizedtesting.TraceFormatting
 

U

unicodeGenerator - Static variable in class com.carrotsearch.randomizedtesting.generators.RandomStrings
 
UnicodeGenerator - Class in com.carrotsearch.randomizedtesting.generators
A string generator that emits valid unicodeGenerator codepoints.
UnicodeGenerator() - Constructor for class com.carrotsearch.randomizedtesting.generators.UnicodeGenerator
 
US_ASCII - Static variable in class com.carrotsearch.randomizedtesting.RandomizedTest
 
UTF16 - Static variable in class com.carrotsearch.randomizedtesting.RandomizedTest
 
UTF32 - Static variable in class com.carrotsearch.randomizedtesting.RandomizedTest
 
UTF8 - Static variable in class com.carrotsearch.randomizedtesting.RandomizedTest
 

V

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
 

W

write(int) - Method in class com.carrotsearch.randomizedtesting.TeeOutputStream
 
write(byte[], int, int) - Method in class com.carrotsearch.randomizedtesting.TeeOutputStream
 
write(byte[]) - Method in class com.carrotsearch.randomizedtesting.TeeOutputStream
 
write(byte[], int, int) - Method in class com.carrotsearch.randomizedtesting.WriterOutputStream
Write bytes from the specified byte array to the stream.
write(byte[]) - Method in class com.carrotsearch.randomizedtesting.WriterOutputStream
Write bytes from the specified byte array to the stream.
write(int) - Method in class com.carrotsearch.randomizedtesting.WriterOutputStream
Write a single byte to the stream.
WriterOutputStream - Class in com.carrotsearch.randomizedtesting
OutputStream implementation that transforms a byte stream to a character stream using a specified charset encoding and writes the resulting stream to a Writer.
WriterOutputStream(Writer, CharsetDecoder) - Constructor for class com.carrotsearch.randomizedtesting.WriterOutputStream
Constructs a new WriterOutputStream with a default output buffer size of 1024 characters.
WriterOutputStream(Writer, CharsetDecoder, int, boolean) - Constructor for class com.carrotsearch.randomizedtesting.WriterOutputStream
Constructs a new WriterOutputStream.
WriterOutputStream(Writer, Charset, int, boolean) - Constructor for class com.carrotsearch.randomizedtesting.WriterOutputStream
Constructs a new WriterOutputStream.
WriterOutputStream(Writer, Charset) - Constructor for class com.carrotsearch.randomizedtesting.WriterOutputStream
Constructs a new WriterOutputStream with a default output buffer size of 1024 characters.
WriterOutputStream(Writer, String, int, boolean) - Constructor for class com.carrotsearch.randomizedtesting.WriterOutputStream
Constructs a new WriterOutputStream.
WriterOutputStream(Writer, String) - Constructor for class com.carrotsearch.randomizedtesting.WriterOutputStream
Constructs a new WriterOutputStream with a default output buffer size of 1024 characters.
WriterOutputStream(Writer) - Constructor for class com.carrotsearch.randomizedtesting.WriterOutputStream
Constructs a new WriterOutputStream that uses the default character encoding and with a default output buffer size of 1024 characters.

X

Xoroshiro128PlusRandom - Class in com.carrotsearch.randomizedtesting
Implements Xoroshiro128PlusRandom.
Xoroshiro128PlusRandom(long) - Constructor for class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
 
$ A B C D E F G H I J L M N O P R S T U V W X 

Copyright © 2011–2017 Carrot Search s.c.. All rights reserved.