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

$

$(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
 
add(ResourceCollection) - Method in class com.carrotsearch.ant.tasks.junit4.balancers.ExecutionTimeBalancer
Adds a resource collection with execution hints.
add(ResourceCollection) - Method in class com.carrotsearch.ant.tasks.junit4.balancers.MergeHints
Adds a resource collection with execution hints.
add(ResourceCollection) - Method in class com.carrotsearch.ant.tasks.junit4.balancers.TopHints
Adds a resource collection with execution hints.
add(ResourceCollection) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Adds a set of tests based on pattern matching.
addAssertions(Assertions) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Add assertions to tests execution.
addConfigured(SuiteBalancer) - Method in class com.carrotsearch.ant.tasks.junit4.BalancersList
Adds a balancer to the balancers list.
addConfigured(ResourceCollection) - Method in class com.carrotsearch.ant.tasks.junit4.DuplicateResources
 
addConfigured(TokenFilter.Filter) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.StackTraceFilter
Add a custom filter.
addConfigured(StackTraceFilter) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
Filter stack traces from certain frames.
addConfigured(AggregatedEventListener) - Method in class com.carrotsearch.ant.tasks.junit4.ListenersList
Adds a listener to the listeners list.
addConfiguredSysproperty(JUnit4.ExtendedVariable) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Adds a system property to any forked JVM.
addConfiguredSyspropertyset(JUnit4.ExtendedPropertySet) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Adds a set of properties that will be used as system properties that tests can access.
addConfiguredTokenFilter(TokenFilter) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
Adds method name filter.
addContainsRegex(TokenFilter.ContainsRegex) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.StackTraceFilter
 
addContainsString(TokenFilter.ContainsString) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.StackTraceFilter
 
addEnv(JUnit4.ExtendedVariable) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Adds an environment variable; used when forking.
addFileSet(FileSet) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Adds a set of tests based on pattern matching.
addFirstListener(RunListener) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
Adds a listener at the head of the listener list.
addListener(RunListener) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
Add a listener at the end of the listener list.
addText(String) - Method in class com.carrotsearch.ant.tasks.junit4.PickFromListTask.StringValue
 
after() - Method in class com.carrotsearch.ant.tasks.junit4.slave.BeforeAfterRunListenerDecorator
 
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.
AggregatedEventListener - Interface in com.carrotsearch.ant.tasks.junit4.listeners
A dummy interface to indicate listener types for ANT.
AggregatedQuitEvent - Class in com.carrotsearch.ant.tasks.junit4.events.aggregated
An event dispatched after all slaves have completed their jobs.
AggregatedQuitEvent() - Constructor for class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedQuitEvent
 
AggregatedResultEvent - Interface in com.carrotsearch.ant.tasks.junit4.events.aggregated
Aggregated result from a suite or test.
AggregatedStartEvent - Class in com.carrotsearch.ant.tasks.junit4.events.aggregated
An event dispatched before any slave starts.
AggregatedStartEvent(int, int) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedStartEvent
 
AggregatedSuiteResultEvent - Class in com.carrotsearch.ant.tasks.junit4.events.aggregated
 
AggregatedSuiteResultEvent(ForkedJvmInfo, Description, List<FailureMirror>, List<AggregatedTestResultEvent>, List<IEvent>, long, long) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
 
AggregatedSuiteStartedEvent - Class in com.carrotsearch.ant.tasks.junit4.events.aggregated
 
AggregatedSuiteStartedEvent(ForkedJvmInfo, SuiteStartedEvent) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteStartedEvent
 
AggregatedTestResultEvent - Class in com.carrotsearch.ant.tasks.junit4.events.aggregated
A single test's execution information.
AggregatedTestResultEvent(ForkedJvmInfo, Description, Description) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
 
AggregatingListener - Class in com.carrotsearch.ant.tasks.junit4.events.aggregated
Aggregates atomic events from JUnitCore to higher-level events that contain a full summary of a given test's execution.
AggregatingListener(EventBus, ForkedJvmInfo) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
 
AnnotatedMethodProvider - Class in com.carrotsearch.randomizedtesting
Base class for TestMethodProviders based on annotations.
AnnotatedMethodProvider(Class<? extends Annotation>) - Constructor for class com.carrotsearch.randomizedtesting.AnnotatedMethodProvider
 
ANTLIB_RESOURCE_NAME - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
Name of the antlib resource inside JUnit4 JAR.
AntXmlReport - Class in com.carrotsearch.ant.tasks.junit4.listeners.antxml
A report listener that produces XML files compatible with those produced by ANT's default junit task.
AntXmlReport() - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
 
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
 
AppendStdErrEvent - Class in com.carrotsearch.ant.tasks.junit4.events
 
AppendStdErrEvent() - Constructor for class com.carrotsearch.ant.tasks.junit4.events.AppendStdErrEvent
 
AppendStdErrEvent(byte[], int, int) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.AppendStdErrEvent
 
AppendStdOutEvent - Class in com.carrotsearch.ant.tasks.junit4.events
 
AppendStdOutEvent() - Constructor for class com.carrotsearch.ant.tasks.junit4.events.AppendStdOutEvent
 
AppendStdOutEvent(byte[], int, int) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.AppendStdOutEvent
 
appendTestGroupOptions(RandomizedContext) - Method in class com.carrotsearch.randomizedtesting.ReproduceErrorMessageBuilder
 
appendToEventStream(IEvent) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
 
apply(String) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.StackTraceFilter
 
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
 
ASCIIGenerator - Class in com.carrotsearch.randomizedtesting.generators
A generator emitting simple ASCII characters from the set (newlines not counted):
ASCIIGenerator() - Constructor for class com.carrotsearch.randomizedtesting.generators.ASCIIGenerator
 
asciiGenerator - 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.
assign(Collection<String>, int, long) - Method in class com.carrotsearch.ant.tasks.junit4.balancers.ExecutionTimeBalancer
Assign based on execution time history.
assign(Collection<String>, int, long) - Method in class com.carrotsearch.ant.tasks.junit4.balancers.RoundRobinBalancer
 
assign(Collection<String>, int, long) - Method in interface com.carrotsearch.ant.tasks.junit4.SuiteBalancer
Provide assignments for suite names and a given number of slaves.
Assignment(String, int, int) - Constructor for class com.carrotsearch.ant.tasks.junit4.SuiteBalancer.Assignment
 
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
 
assumptions - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummary
 
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

BalancersList - Class in com.carrotsearch.ant.tasks.junit4
A nested list of SuiteBalancers.
BalancersList(List<SuiteBalancer>) - Constructor for class com.carrotsearch.ant.tasks.junit4.BalancersList
 
before() - Method in class com.carrotsearch.ant.tasks.junit4.slave.BeforeAfterRunListenerDecorator
 
before() - Method in class com.carrotsearch.ant.tasks.junit4.slave.StreamFlusherDecorator
 
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.
BeforeAfterRunListenerDecorator - Class in com.carrotsearch.ant.tasks.junit4.slave
RunListener decorator that does something before and after a given method call.
BeforeAfterRunListenerDecorator(RunListener) - Constructor for class com.carrotsearch.ant.tasks.junit4.slave.BeforeAfterRunListenerDecorator
 
between(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
BootstrapEvent - Class in com.carrotsearch.ant.tasks.junit4.events
Initial message sent from the slave to the master (if forked locally).
BootstrapEvent() - Constructor for class com.carrotsearch.ant.tasks.junit4.events.BootstrapEvent
Preinitialization with local machine's configuration.

C

ChildBootstrap - Class in com.carrotsearch.ant.tasks.junit4.events.aggregated
 
ChildBootstrap(ForkedJvmInfo) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.aggregated.ChildBootstrap
 
childInfo - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.ChildBootstrap
 
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.MethodModel - Class in com.carrotsearch.randomizedtesting
 
ClassModel.Scope - Enum in com.carrotsearch.randomizedtesting
 
classname - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestCaseModel
 
clone() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
close() - Method in class com.carrotsearch.ant.tasks.junit4.events.Serializer
 
close() - Method in class com.carrotsearch.randomizedtesting.TempPathResource
 
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.
collectFactoryParameters() - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
Collect parameters from factory methods.
com.carrotsearch.ant.tasks.junit4 - package com.carrotsearch.ant.tasks.junit4
Provides JUnit4: a JUnit test runner for ANT with parallel slave JVM execution, load balancing and more reporting options.
com.carrotsearch.ant.tasks.junit4.balancers - package com.carrotsearch.ant.tasks.junit4.balancers
 
com.carrotsearch.ant.tasks.junit4.events - package com.carrotsearch.ant.tasks.junit4.events
 
com.carrotsearch.ant.tasks.junit4.events.aggregated - package com.carrotsearch.ant.tasks.junit4.events.aggregated
 
com.carrotsearch.ant.tasks.junit4.events.json - package com.carrotsearch.ant.tasks.junit4.events.json
 
com.carrotsearch.ant.tasks.junit4.events.mirrors - package com.carrotsearch.ant.tasks.junit4.events.mirrors
 
com.carrotsearch.ant.tasks.junit4.listeners - package com.carrotsearch.ant.tasks.junit4.listeners
 
com.carrotsearch.ant.tasks.junit4.listeners.antxml - package com.carrotsearch.ant.tasks.junit4.listeners.antxml
 
com.carrotsearch.ant.tasks.junit4.listeners.json - package com.carrotsearch.ant.tasks.junit4.listeners.json
 
com.carrotsearch.ant.tasks.junit4.slave - package com.carrotsearch.ant.tasks.junit4.slave
 
com.carrotsearch.ant.tasks.junit4.tools - package com.carrotsearch.ant.tasks.junit4.tools
 
com.carrotsearch.maven.plugins.junit4 - package com.carrotsearch.maven.plugins.junit4
 
com.carrotsearch.randomizedtesting - package com.carrotsearch.randomizedtesting
Provides RandomizedRunner: randomized tests under control and more.
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
 
compareTo(SuiteBalancer.Assignment) - Method in class com.carrotsearch.ant.tasks.junit4.SuiteBalancer.Assignment
 
copyTo(OutputStream) - Method in class com.carrotsearch.ant.tasks.junit4.events.AppendStdErrEvent
 
copyTo(OutputStream) - Method in class com.carrotsearch.ant.tasks.junit4.events.AppendStdOutEvent
 
copyTo(OutputStream) - Method in interface com.carrotsearch.ant.tasks.junit4.events.IStreamEvent
 
cost - Variable in class com.carrotsearch.ant.tasks.junit4.balancers.SuiteHint
 
createBalancers() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Creates a new list of balancers.
createBatchtest() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
createBootclasspath() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Adds a path to the bootclasspath.
createClasspath() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Adds path to classpath used for tests.
createFormatter() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
createGSon(ClassLoader) - Static method in class com.carrotsearch.ant.tasks.junit4.events.Serializer
 
createJvmarg() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Add an additional argument to any forked JVM.
createListeners() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Creates a new list of listeners.
createTest() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
createValue() - Method in class com.carrotsearch.ant.tasks.junit4.PickFromListTask
 
current() - Static method in class com.carrotsearch.randomizedtesting.RandomizedContext
 
CURRENT_PREFIX() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
Static singleton's property prefix.
currentTime - Variable in class com.carrotsearch.ant.tasks.junit4.events.LowLevelHeartBeatEvent
 

D

DecodeEventStream - Class in com.carrotsearch.ant.tasks.junit4
A simple utility to decode JSON event stream's APPEND_* chunks back into a character stream.
DecodeEventStream() - Constructor for class com.carrotsearch.ant.tasks.junit4.DecodeEventStream
 
decodeStreams(List<IEvent>, Writer, Writer) - Method in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
Filter through events looking for sysouts and syserrs and decode them into a character streams.
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_DYNAMIC_ASSIGNMENT_RATIO - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
DEFAULT_HALT_ON_FAILURE - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
DEFAULT_HISTORY_LENGTH - Static variable in class com.carrotsearch.ant.tasks.junit4.listeners.ExecutionTimesReport
 
DEFAULT_ISOLATE_WORKING_DIRECTORIES - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
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_PARALLELISM - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
DEFAULT_PRINT_SUMMARY - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
DEFAULT_SHUFFLE_ON_SLAVE - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
DEFAULT_SYSOUTS - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
Default value of JUnit4.setSysouts(boolean).
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.
DEFAULT_UNIQUE_SUITE_NAME - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
DESCENDING_BY_WEIGHT - Static variable in class com.carrotsearch.ant.tasks.junit4.balancers.SuiteHint
 
describe() - Method in class com.carrotsearch.randomizedtesting.ClassGlobFilter
 
describe() - Method in class com.carrotsearch.randomizedtesting.GlobFilter
 
describe() - Method in class com.carrotsearch.randomizedtesting.MethodGlobFilter
 
deserialize() - Method in class com.carrotsearch.ant.tasks.junit4.events.Deserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.carrotsearch.ant.tasks.junit4.events.json.JsonAnnotationAdapter
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.carrotsearch.ant.tasks.junit4.events.json.JsonByteArrayAdapter
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.carrotsearch.ant.tasks.junit4.events.json.JsonClassAdapter
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.carrotsearch.ant.tasks.junit4.events.json.JsonDescriptionAdapter
 
Deserializer - Class in com.carrotsearch.ant.tasks.junit4.events
Event deserializer.
Deserializer(InputStream, ClassLoader) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.Deserializer
 
destroy() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
This object will no longer be usable after this method is called.
DiagnosticsListener - Class in com.carrotsearch.ant.tasks.junit4
 
DiagnosticsListener(ForkedJvmInfo, JUnit4) - Constructor for class com.carrotsearch.ant.tasks.junit4.DiagnosticsListener
 
DumpStreamsFromEventStream - Class in com.carrotsearch.ant.tasks.junit4.tools
 
DumpStreamsFromEventStream() - Constructor for class com.carrotsearch.ant.tasks.junit4.tools.DumpStreamsFromEventStream
 
DuplicateResources - Class in com.carrotsearch.ant.tasks.junit4
Duplicate nested resources N times.
DuplicateResources() - Constructor for class com.carrotsearch.ant.tasks.junit4.DuplicateResources
 
Duration - Class in com.carrotsearch.ant.tasks.junit4
 
Duration() - Constructor for class com.carrotsearch.ant.tasks.junit4.Duration
 

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
 
ERR_EXCEPTION - Static variable in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
Runtime exception.
ERR_NO_JUNIT - Static variable in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
No JUnit on classpath.
ERR_OLD_JUNIT - Static variable in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
Old JUnit on classpath.
ERR_OOM - Static variable in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
OOM
errors - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestCaseModel
 
errors - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
 
errors - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummary
 
estimatedCost - Variable in class com.carrotsearch.ant.tasks.junit4.SuiteBalancer.Assignment
Estimated cost; informational only (depends on the balancer).
evaluate(FilterExpressionParser.IContext) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
 
evaluate() - Method in class com.carrotsearch.randomizedtesting.rules.StatementAdapter
 
eventClass - Variable in enum com.carrotsearch.ant.tasks.junit4.events.EventType
Concrete class associated with the given event type.
EventType - Enum in com.carrotsearch.ant.tasks.junit4.events
Events (messages) passed between the slave and the master.
exception(Throwable) - Method in class com.carrotsearch.ant.tasks.junit4.slave.NoExceptionRunListenerDecorator
 
execute() - Method in class com.carrotsearch.ant.tasks.junit4.balancers.MergeHints
 
execute() - Method in class com.carrotsearch.ant.tasks.junit4.balancers.TopHints
 
execute() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
execute() - Method in class com.carrotsearch.ant.tasks.junit4.PickFromListTask
Execute the task.
execute() - Method in class com.carrotsearch.ant.tasks.junit4.PickSeedTask
Execute the task.
execute() - Method in class com.carrotsearch.maven.plugins.junit4.HelpMojo
execute() - Method in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
Run the mojo.
ExecutionTimeBalancer - Class in com.carrotsearch.ant.tasks.junit4.balancers
A test suite balancer based on past execution times saved using ExecutionTimesReport.
ExecutionTimeBalancer() - Constructor for class com.carrotsearch.ant.tasks.junit4.balancers.ExecutionTimeBalancer
 
ExecutionTimesReport - Class in com.carrotsearch.ant.tasks.junit4.listeners
A report listener that emits per-suite execution times information useful for load balancing tests across JVMs.
ExecutionTimesReport() - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.ExecutionTimesReport
 
ExtendedPropertySet() - Constructor for class com.carrotsearch.ant.tasks.junit4.JUnit4.ExtendedPropertySet
 
ExtendedVariable() - Constructor for class com.carrotsearch.ant.tasks.junit4.JUnit4.ExtendedVariable
 

F

FailureEvent - Class in com.carrotsearch.ant.tasks.junit4.events
Generic serialized failure event.
FailureEvent(EventType) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.FailureEvent
 
FailureMirror - Class in com.carrotsearch.ant.tasks.junit4.events.mirrors
A type-safe mirror of Failure.
FailureMirror(Failure) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
 
FailureModel - Class in com.carrotsearch.ant.tasks.junit4.listeners.antxml
 
FailureModel() - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.antxml.FailureModel
 
failures - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestCaseModel
 
failures - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
 
failures - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummary
 
FieldModel(Field) - Constructor for class com.carrotsearch.randomizedtesting.ClassModel.FieldModel
 
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
 
fireTestAssumptionFailed(Failure) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
Invoke to tell listeners that an atomic test flagged that it assumed something false.
fireTestFailure(Failure) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
Invoke to tell listeners that an atomic test failed.
fireTestFinished(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
Invoke to tell listeners that an atomic test finished.
fireTestIgnored(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
Invoke to tell listeners that an atomic test was ignored.
fireTestRunFinished(Result) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
Do not invoke.
fireTestRunStarted(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
Do not invoke.
fireTestStarted(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
Invoke to tell listeners that an atomic test is about to start.
flush() - Method in class com.carrotsearch.ant.tasks.junit4.events.Serializer
 
flushBoth(JsonArray, StringWriter, StringWriter, WriterOutputStream, WriterOutputStream) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonAggregatedSuiteResultEventAdapter
 
ForkedJvmInfo - Class in com.carrotsearch.ant.tasks.junit4
Static slave information.
ForkedJvmInfo(int, int) - Constructor for class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
 
formatDescription(Description) - Static method in class com.carrotsearch.ant.tasks.junit4.FormattingUtils
 
formatDescription(Description, boolean) - Static method in class com.carrotsearch.ant.tasks.junit4.FormattingUtils
 
formatDurationInSeconds(long) - Static method in class com.carrotsearch.ant.tasks.junit4.FormattingUtils
 
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.
formatTime(long) - Static method in class com.carrotsearch.ant.tasks.junit4.FormattingUtils
 
formatTimestamp(long) - Static method in class com.carrotsearch.ant.tasks.junit4.FormattingUtils
 
FormattingUtils - Class in com.carrotsearch.ant.tasks.junit4
Formatting utilities for consistency across code.
FormattingUtils() - Constructor for class com.carrotsearch.ant.tasks.junit4.FormattingUtils
 
frequently() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
The exact opposite of RandomizedTest.rarely().

G

getAnnotatedLeafMethods(Class<? extends Annotation>) - Method in class com.carrotsearch.randomizedtesting.ClassModel
 
getAnnotation(Method, Class<T>, boolean) - Method in class com.carrotsearch.randomizedtesting.ClassModel
 
getCause() - Method in class com.carrotsearch.ant.tasks.junit4.events.TestIgnoredEvent
 
getCauseForIgnored() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
 
getCharset() - Method in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
Return the Charset used to encode stream bytes from the slave.
getCommandLine() - Method in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
Command line string used to invoke the slave.
getContext() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
getCurrentTime() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.HeartBeatEvent
 
getDefaultCharsetName() - Method in class com.carrotsearch.ant.tasks.junit4.events.BootstrapEvent
Default charset on the slave.
getDescription() - Method in interface com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedResultEvent
 
getDescription() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
 
getDescription() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
 
getDescription() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.HeartBeatEvent
 
getDescription() - Method in class com.carrotsearch.ant.tasks.junit4.events.FailureEvent
 
getDescription() - Method in interface com.carrotsearch.ant.tasks.junit4.events.IDescribable
 
getDescription() - Method in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
 
getDescription() - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
Return the current tree of test descriptions (filtered).
getErrorCount() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
The number of tests that have TestStatus.ERROR and include the suite-level errors.
getEvent() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.PartialOutputEvent
 
getEventStream() - Method in interface com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedResultEvent
 
getEventStream() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
 
getEventStream() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
Raw IEvent stream received during the duration of this test.
getExecutionTime() - Method in interface com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedResultEvent
 
getExecutionTime() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
Execution time in milliseconds.
getExecutionTime() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
Execution time in millis.
getExecutionTime() - Method in class com.carrotsearch.ant.tasks.junit4.events.SuiteCompletedEvent
 
getExecutionTime() - Method in class com.carrotsearch.ant.tasks.junit4.events.TestFinishedEvent
 
getFailure() - Method in class com.carrotsearch.ant.tasks.junit4.events.FailureEvent
 
getFailureCount() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
The number of tests that have TestStatus.FAILURE and include assertion violations at suite level.
getFailures() - Method in interface com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedResultEvent
 
getFailures() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
 
getFailures() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
 
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
 
getIgnoredCount() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
Return the number of ignored or assumption-ignored tests.
getJvmName() - Method in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
JVM name (slave).
getLastActivity() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.HeartBeatEvent
 
getMessage() - Method in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
 
getMethods() - Method in class com.carrotsearch.randomizedtesting.ClassModel
 
getNoEventDuration() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.HeartBeatEvent
 
getNonIgnoredTestsCount() - Method in class com.carrotsearch.ant.tasks.junit4.TestsSummary
 
getPidString() - Method in class com.carrotsearch.ant.tasks.junit4.events.BootstrapEvent
Returns a PID string or anything that approximates it and would help in dumping a stack trace externally, for example.
getPidString() - Method in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
PID string of the forked JVM.
getProperties() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4.ExtendedPropertySet
 
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.
getResult() - Method in class com.carrotsearch.ant.tasks.junit4.TestsSummaryEventListener
Return the summary of all tests.
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.
getSeed() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
getSlave() - Method in interface com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedResultEvent
 
getSlave() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
 
getSlave() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteStartedEvent
 
getSlave() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
 
getSlave() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.ChildBootstrap
 
getSlave() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.HeartBeatEvent
 
getSlave() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.PartialOutputEvent
 
getSlaveCount() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedStartEvent
Number of slave processes.
getStartTimestamp() - Method in interface com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedResultEvent
 
getStartTimestamp() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
Execution start timestamp (on the slave).
getStartTimestamp() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
Execution start timestamp (on the slave).
getStartTimestamp() - Method in class com.carrotsearch.ant.tasks.junit4.events.SuiteCompletedEvent
 
getStartTimestamp() - Method in class com.carrotsearch.ant.tasks.junit4.events.SuiteStartedEvent
 
getStartTimestamp() - Method in class com.carrotsearch.ant.tasks.junit4.events.TestFinishedEvent
 
getStartTimestamp() - Method in class com.carrotsearch.ant.tasks.junit4.events.TestIgnoredEvent
 
getStatus() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
Exit status for this test.
getSuiteCount() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedStartEvent
Number of test suites, total.
getSuiteDescription() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
 
getSuiteStartedEvent() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteStartedEvent
 
getSysProperty(Class<? extends Annotation>) - Static method in class com.carrotsearch.randomizedtesting.annotations.TestGroup.Utilities
 
getSystemProperties() - Method in class com.carrotsearch.ant.tasks.junit4.events.BootstrapEvent
System properties on the slave.
getSystemProperties() - Method in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
System properties on the slave.
getTargetClass() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
The class (suite) being tested.
getTestFinishedEvent() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
This isn't a nice hack but it allows associating TestFinishedEvent and AggregatedTestResultEvent by identity.
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.
getTests() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
 
getThrowable() - Method in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
Try to deserialize the failure's cause.
getThrowableClass() - Method in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
 
getThrowableString() - Method in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
 
getTrace() - Method in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
 
getTraceFormatting() - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
Stack trace formatting utilities.
getType() - Method in interface com.carrotsearch.ant.tasks.junit4.events.IEvent
 
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 - 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
 
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.
HeartBeatEvent - Class in com.carrotsearch.ant.tasks.junit4.events.aggregated
High level heartbeat event issued to report listeners when a forked JVM does not repond for a longer while.
HeartBeatEvent(ForkedJvmInfo, Description, long, long) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.aggregated.HeartBeatEvent
 
HelpMojo - Class in com.carrotsearch.maven.plugins.junit4
Display help information on junit4-maven-plugin.
Call mvn junit4:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
HelpMojo() - Constructor for class com.carrotsearch.maven.plugins.junit4.HelpMojo
 
hostname - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
 

I

id - Variable in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
Unique sequential slave identifier.
IDescribable - Interface in com.carrotsearch.ant.tasks.junit4.events
An event that carries a Description.
IdleEvent - Class in com.carrotsearch.ant.tasks.junit4.events
Marker that the slave is idle and awaiting more suite names.
IdleEvent() - Constructor for class com.carrotsearch.ant.tasks.junit4.events.IdleEvent
 
IEvent - Interface in com.carrotsearch.ant.tasks.junit4.events
An event/ message passed between the slave and the master.
ignores - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummary
 
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
 
isAssertionViolation() - Method in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
 
isAssumptionViolation() - Method in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
 
isErrorViolation() - Method in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
 
isFilesystemOnly() - Method in class com.carrotsearch.ant.tasks.junit4.DuplicateResources
 
isNightly() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
Return true if tests are running in nightly mode.
isNightly() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
Returns true if we're running nightly tests.
ISO8859_1 - Static variable in class com.carrotsearch.randomizedtesting.RandomizedTest
 
isSuccessful() - Method in interface com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedResultEvent
 
isSuccessful() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
 
isSuccessful() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
 
isSuccessful() - Method in class com.carrotsearch.ant.tasks.junit4.TestsSummary
 
IStreamEvent - Interface in com.carrotsearch.ant.tasks.junit4.events
 
isUniqueSuiteNames() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
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.
iterator() - Method in class com.carrotsearch.ant.tasks.junit4.DuplicateResources
 

J

JsonAggregatedSuiteResultEventAdapter - Class in com.carrotsearch.ant.tasks.junit4.listeners.json
Serialization of AggregatedSuiteResultEvent.
JsonAggregatedSuiteResultEventAdapter(boolean) - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonAggregatedSuiteResultEventAdapter
 
JsonAggregatedTestResultEventAdapter - Class in com.carrotsearch.ant.tasks.junit4.listeners.json
Serialization of AggregatedTestResultEvent.
JsonAggregatedTestResultEventAdapter() - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonAggregatedTestResultEventAdapter
 
JsonAnnotationAdapter - Class in com.carrotsearch.ant.tasks.junit4.events.json
 
JsonAnnotationAdapter(ClassLoader) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.json.JsonAnnotationAdapter
 
JsonByteArrayAdapter - Class in com.carrotsearch.ant.tasks.junit4.events.json
Serialize byte array to portable ASCII.
JsonByteArrayAdapter() - Constructor for class com.carrotsearch.ant.tasks.junit4.events.json.JsonByteArrayAdapter
 
JsonClassAdapter - Class in com.carrotsearch.ant.tasks.junit4.events.json
 
JsonClassAdapter(ClassLoader) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.json.JsonClassAdapter
 
JsonDescriptionAdapter - Class in com.carrotsearch.ant.tasks.junit4.events.json
Serialization and deserialization of Description instances.
JsonDescriptionAdapter() - Constructor for class com.carrotsearch.ant.tasks.junit4.events.json.JsonDescriptionAdapter
 
JsonFailureMirrorAdapter - Class in com.carrotsearch.ant.tasks.junit4.listeners.json
Serialization of FailureMirror.
JsonFailureMirrorAdapter() - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonFailureMirrorAdapter
 
JsonReport - Class in com.carrotsearch.ant.tasks.junit4.listeners.json
A report listener that produces a single JSON file for all suites and tests.
JsonReport() - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
 
JsonSlaveInfoAdapter - Class in com.carrotsearch.ant.tasks.junit4.listeners.json
Serialization of ForkedJvmInfo.
JsonSlaveInfoAdapter() - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonSlaveInfoAdapter
 
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
 
JUnit4 - Class in com.carrotsearch.ant.tasks.junit4
An ANT task to run JUnit4 tests.
JUnit4() - Constructor for class com.carrotsearch.ant.tasks.junit4.JUnit4
 
JUnit4.ExtendedPropertySet - Class in com.carrotsearch.ant.tasks.junit4
A PropertySet with an additional attribute specifying whether or not empty values should be propagated or ignored.
JUnit4.ExtendedVariable - Class in com.carrotsearch.ant.tasks.junit4
A Environment.Variable with an additional attribute specifying whether or not empty values should be propagated or ignored.
JUnit4.JvmOutputAction - Enum in com.carrotsearch.ant.tasks.junit4
What to do on JVM output?
JUnit4.NoTestsAction - Enum in com.carrotsearch.ant.tasks.junit4
What to do when there were no executed tests (all ignored or none at all?).
JUnit4MethodProvider - Class in com.carrotsearch.randomizedtesting
Method provider selecting Test annotated public instance parameterless methods.
JUnit4MethodProvider() - Constructor for class com.carrotsearch.randomizedtesting.JUnit4MethodProvider
 
JUnit4Mojo - Class in com.carrotsearch.maven.plugins.junit4
Run tests using a delegation to Randomized Testing's JUnit4 ANT task.
JUnit4Mojo() - Constructor for class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
 
jvmOutputAction - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
 

L

lastActivity - Variable in class com.carrotsearch.ant.tasks.junit4.events.LowLevelHeartBeatEvent
 
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.
ListenersList - Class in com.carrotsearch.ant.tasks.junit4
 
ListenersList(List<Object>) - Constructor for class com.carrotsearch.ant.tasks.junit4.ListenersList
 
LocalSlaveStreamHandler - Class in com.carrotsearch.ant.tasks.junit4
Establish event passing with a subprocess and pump events to the bus.
LocalSlaveStreamHandler(EventBus, ClassLoader, PrintStream, InputStream, OutputStream, OutputStream, long, RandomAccessFile) - Constructor for class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
 
LowLevelHeartBeatEvent - Class in com.carrotsearch.ant.tasks.junit4.events
Heartbeat for reporting long running tests.
LowLevelHeartBeatEvent(long, long) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.LowLevelHeartBeatEvent
 

M

main(String[]) - Static method in class com.carrotsearch.ant.tasks.junit4.DecodeEventStream
 
main(String[]) - Static method in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
Console entry point.
main(String[]) - Static method in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMainSafe
 
main(String[]) - Static method in class com.carrotsearch.ant.tasks.junit4.tools.DumpStreamsFromEventStream
 
MergeHints - Class in com.carrotsearch.ant.tasks.junit4.balancers
Merge execution hints emitted by ExecutionTimeBalancer to one file.
MergeHints() - Constructor for class com.carrotsearch.ant.tasks.junit4.balancers.MergeHints
 
mergeHints(InputStream, Map<String, List<Long>>) - Static method in class com.carrotsearch.ant.tasks.junit4.listeners.ExecutionTimesReport
Read hints from a file and merge with the given hints map.
mergeHints(Collection<ResourceCollection>, Collection<String>) - Static method in class com.carrotsearch.ant.tasks.junit4.listeners.ExecutionTimesReport
Read hints from all resources in a collection, retaining suiteNames.
message - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.FailureModel
 
MethodGlobFilter - Class in com.carrotsearch.randomizedtesting
A filter for Description.getMethodName().
MethodGlobFilter(String) - Constructor for class com.carrotsearch.randomizedtesting.MethodGlobFilter
 
MethodModel(Method) - Constructor for class com.carrotsearch.randomizedtesting.ClassModel.MethodModel
 
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 - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.PropertyModel
 
name - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestCaseModel
 
name - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
 
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
 
nextBoolean() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
nextBytes(byte[]) - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
nextDouble() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
nextFloat() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
nextGaussian() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
nextInt() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
nextInt(int) - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
nextLong() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
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
 
Node() - Constructor for class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
 
NoExceptionRunListenerDecorator - Class in com.carrotsearch.ant.tasks.junit4.slave
RunListener decorator that does something before and after a given method call.
NoExceptionRunListenerDecorator(RunListener) - Constructor for class com.carrotsearch.ant.tasks.junit4.slave.NoExceptionRunListenerDecorator
 
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.
onChildBootstrap(ChildBootstrap) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
 
onEnd(AggregatedQuitEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.ExecutionTimesReport
Write back to hints file.
onHeartbeat(HeartBeatEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
 
onOutput(PartialOutputEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
 
onQuit(AggregatedQuitEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
All tests completed.
onQuit(AggregatedQuitEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
 
onStart(AggregatedStartEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
 
onSuiteResult(AggregatedSuiteResultEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
Emit information about all of suite's tests.
onSuiteResult(AggregatedSuiteResultEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.ExecutionTimesReport
Remember execution time for all executed suites.
onSuiteResult(AggregatedSuiteResultEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
Emit information about a single suite and all of its tests.
onSuiteResult(AggregatedSuiteResultEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
 
onSuiteStart(AggregatedSuiteStartedEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
 
onTestResult(AggregatedTestResultEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
 
OPTION_EVENTSFILE - Static variable in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
Name the sink for events.
OPTION_FREQUENT_FLUSH - Static variable in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
Frequent event strean flushing.
OPTION_STDIN - Static variable in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
Read class names from standard input.
OPTION_SYSOUTS - Static variable in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
Multiplex sysout and syserr to original streams (aside from pumping them to event stream).
OrderedRunNotifier - Class in com.carrotsearch.ant.tasks.junit4.slave
 
OrderedRunNotifier() - Constructor for class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
 

P

padTo(int, String, String) - Static method in class com.carrotsearch.ant.tasks.junit4.FormattingUtils
 
PARALLELISM_AUTO - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
PARALLELISM_MAX - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
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...).
PartialOutputEvent - Class in com.carrotsearch.ant.tasks.junit4.events.aggregated
Partial output emitted from a given slave.
PartialOutputEvent(ForkedJvmInfo, IEvent) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.aggregated.PartialOutputEvent
 
PickFromListTask - Class in com.carrotsearch.ant.tasks.junit4
An ANT task to pick and fix the random seed in advance (for selecting other derivative values, for example).
PickFromListTask() - Constructor for class com.carrotsearch.ant.tasks.junit4.PickFromListTask
 
PickFromListTask.StringValue - Class in com.carrotsearch.ant.tasks.junit4
Nested value element.
PickSeedTask - Class in com.carrotsearch.ant.tasks.junit4
An ANT task to pick and fix the random seed in advance (for selecting other derivative values, for example).
PickSeedTask() - Constructor for class com.carrotsearch.ant.tasks.junit4.PickSeedTask
 
pleaseStop() - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
Ask that the tests run stop before starting the next test.
Pluralize - Class in com.carrotsearch.ant.tasks.junit4
 
pluralize(int, String) - Static method in class com.carrotsearch.ant.tasks.junit4.Pluralize
 
prefixProperty(String) - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
Prefix a given property name with a common prefix.
properties - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
 
PropertyModel - Class in com.carrotsearch.ant.tasks.junit4.listeners.antxml
 
PropertyModel(String, String) - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.antxml.PropertyModel
 

Q

QuitEvent - Class in com.carrotsearch.ant.tasks.junit4.events
Final message sent from the slave.
QuitEvent() - Constructor for class com.carrotsearch.ant.tasks.junit4.events.QuitEvent
 

R

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
 
randomDouble() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
 
randomFloat() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
 
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.
randomGaussian() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
 
randomInt(Random, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomInts
A random integer between 0 and max (inclusive).
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.RandomInts
A random integer from min to max (inclusive).
randomIntBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
A random integer from min to max (inclusive).
RandomInts - Class in com.carrotsearch.randomizedtesting.generators
Utility classes for random integer and integer sequences.
RandomInts() - Constructor for class com.carrotsearch.randomizedtesting.generators.RandomInts
 
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
 
Randomness - Class in com.carrotsearch.randomizedtesting
Per-thread, per-lifecycle state randomness defined as an initial seed and the current Random instance.
Randomness(Thread, long, SeedDecorator...) - Constructor for class com.carrotsearch.randomizedtesting.Randomness
 
Randomness(long, SeedDecorator...) - Constructor for class com.carrotsearch.randomizedtesting.Randomness
 
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
 
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).
readHints(File) - Static method in class com.carrotsearch.ant.tasks.junit4.listeners.ExecutionTimesReport
Read hints from a file.
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
 
receiveAll(IEvent) - Method in class com.carrotsearch.ant.tasks.junit4.DiagnosticsListener
 
receiveBootstrap(BootstrapEvent) - Method in class com.carrotsearch.ant.tasks.junit4.DiagnosticsListener
 
receiveQuit(QuitEvent) - Method in class com.carrotsearch.ant.tasks.junit4.DiagnosticsListener
 
receiveSuiteEnd(SuiteCompletedEvent) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
 
receiveSuiteFailure(SuiteFailureEvent) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
 
receiveSuiteStart(SuiteStartedEvent) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
 
receiveTestAssumptionIgnored(TestIgnoredAssumptionEvent) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
 
receiveTestEnd(TestFinishedEvent) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
 
receiveTestFailure(TestFailureEvent) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
 
receiveTestIgnored(TestIgnoredEvent) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
 
receiveTestStart(TestStartedEvent) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
 
reject(Thread) - Method in interface com.carrotsearch.randomizedtesting.ThreadFilter
 
removeListener(RunListener) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
Remove a listener from the listener list.
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() - 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).
RoundRobinBalancer - Class in com.carrotsearch.ant.tasks.junit4.balancers
A round-robin suite balancer (default for non-assigned suites).
RoundRobinBalancer() - Constructor for class com.carrotsearch.ant.tasks.junit4.balancers.RoundRobinBalancer
 
run(RunNotifier) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
Runs all tests and hooks.
RunListenerEmitter - Class in com.carrotsearch.ant.tasks.junit4.slave
Serialize test execution events.
RunListenerEmitter(Serializer) - Constructor for class com.carrotsearch.ant.tasks.junit4.slave.RunListenerEmitter
 

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.
serialize(Annotation, Type, JsonSerializationContext) - Method in class com.carrotsearch.ant.tasks.junit4.events.json.JsonAnnotationAdapter
 
serialize(byte[], Type, JsonSerializationContext) - Method in class com.carrotsearch.ant.tasks.junit4.events.json.JsonByteArrayAdapter
 
serialize(Class<?>, Type, JsonSerializationContext) - Method in class com.carrotsearch.ant.tasks.junit4.events.json.JsonClassAdapter
 
serialize(Description, Type, JsonSerializationContext) - Method in class com.carrotsearch.ant.tasks.junit4.events.json.JsonDescriptionAdapter
 
serialize(IEvent) - Method in class com.carrotsearch.ant.tasks.junit4.events.Serializer
 
serialize(AggregatedSuiteResultEvent, Type, JsonSerializationContext) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonAggregatedSuiteResultEventAdapter
 
serialize(AggregatedTestResultEvent, Type, JsonSerializationContext) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonAggregatedTestResultEventAdapter
 
serialize(FailureMirror, Type, JsonSerializationContext) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonFailureMirrorAdapter
 
serialize(ForkedJvmInfo, Type, JsonSerializationContext) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonSlaveInfoAdapter
 
serializeEvents(AggregatedSuiteResultEvent, JsonSerializationContext) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonAggregatedSuiteResultEventAdapter
 
Serializer - Class in com.carrotsearch.ant.tasks.junit4.events
Event serializer.
Serializer(OutputStream) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.Serializer
 
setAllowUndefined(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.PickFromListTask
 
setAppend(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
Append if TextReport.setFile(File) is also specified.
setClonevm(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
setDefaults(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.StackTraceFilter
Use default filters (JUnit, randomized testing, some of the reflection stuff).
setDir(File) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
The directory to invoke forked VMs in.
setDir(File) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
Output directory to write reports to.
setDynamicAssignmentRatio(float) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Specifies the ratio of suites moved to dynamic assignment list.
setEnabled(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.StackTraceFilter
Disable or enable the filter.
setEnableTestListenerEvents(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
setErrorproperty(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
setFailure(Failure) - Method in class com.carrotsearch.ant.tasks.junit4.events.FailureEvent
 
setFailureProperty(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Property to set to "true" if there is a failure in a test.
setFile(File) - Method in class com.carrotsearch.ant.tasks.junit4.balancers.MergeHints
Set the output file for merged hints.
setFile(File) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.ExecutionTimesReport
Hints file (key-value pairs).
setFile(File) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
Output file for the report file.
setFile(File) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
Set an external file to write to.
setFiltertrace(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
setFork(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
setForkmode(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
setHaltOnError(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
setHaltOnFailure(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Stop the build process if there were failures or errors during test execution.
setHeartbeat(long) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Sets the heartbeat used to detect inactive/ hung forked tests (JVMs) to the given number of seconds.
setHistoryLength(int) - Method in class com.carrotsearch.ant.tasks.junit4.balancers.MergeHints
 
setHistoryLength(int) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.ExecutionTimesReport
How many execution times to store per-suite? The history must be larger than 0.
setIfNoTests(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
What to do when no tests were executed (all tests were ignored)?
setIgnoreDuplicateSuites(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
Ignore duplicate suite names.
setIgnoreEmpty(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4.ExtendedPropertySet
 
setIgnoreEmpty(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4.ExtendedVariable
 
setIncludeantruntime(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
setIsolateWorkingDirectories(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
If set to true each slave JVM gets a separate working directory under whatever is set in JUnit4.setDir(File).
setJsonpMethod(String) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
Sets wrapper method name for JSONP.
setJvm(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
The command used to invoke the Java Virtual Machine, default is 'java'.
setJvmOutputAction(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
What should be done on unexpected JVM output? JVM may write directly to the original descriptors, bypassing redirections of System.out and System.err.
setLeaveTemporary(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Set to true to leave temporary files for diagnostics.
setLogfailedtests(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
setMavenExtensions(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
Emit maven elements in the XML (extensions compared to ANT).
setMax(int) - Method in class com.carrotsearch.ant.tasks.junit4.balancers.TopHints
The number of entries to display, maximum.
setMaxClassNameColumns(int) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
Set maximum number of class name columns before truncated with ellipsis.
setMaxmemory(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Set the maximum memory to be used by all forked JVMs.
setNewEnvironment(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Do not propagate the old environment when new environment variables are specified.
setOuter(JUnit4) - Method in interface com.carrotsearch.ant.tasks.junit4.listeners.AggregatedEventListener
Link to the container.
setOuter(JUnit4) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
 
setOuter(JUnit4) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.ExecutionTimesReport
 
setOuter(JUnit4) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
 
setOuter(JUnit4) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
Initialization by container task JUnit4.
setOutputStreams(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
Include output streams? Mind that with large outputs the report may OOM.
setOutputStreams(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
Include output streams? Mind that with large outputs the report may OOM.
setOutputtoformatters(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
setOwner(JUnit4) - Method in class com.carrotsearch.ant.tasks.junit4.balancers.ExecutionTimeBalancer
 
setOwner(JUnit4) - Method in class com.carrotsearch.ant.tasks.junit4.balancers.RoundRobinBalancer
 
setOwner(JUnit4) - Method in interface com.carrotsearch.ant.tasks.junit4.SuiteBalancer
Sets the owner task (for logging mostly).
setParallelism(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
The number of parallel slaves.
setPrefix(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Initializes custom prefix for all junit4 properties.
setPrintSummary(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Prints the summary of all executed, ignored etc.
setProcessErrorStream(InputStream) - Method in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
 
setProcessInputStream(OutputStream) - Method in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
 
setProcessOutputStream(InputStream) - Method in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
 
setProject(Project) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
setProjectName(String) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
Set project name for the output model.
setProperty(String) - Method in class com.carrotsearch.ant.tasks.junit4.PickFromListTask
 
setProperty(String) - Method in class com.carrotsearch.ant.tasks.junit4.PickSeedTask
Picks a random seed and writes it to a given property.
setReloading(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
setSeed(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Initial random seed used for shuffling test suites and other sources of pseudo-randomness.
setSeed(String) - Method in class com.carrotsearch.ant.tasks.junit4.PickFromListTask
 
setSeed(long) - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
 
setShowEmptySuites(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
Display suites without any errors and with no tests (resulting from filtering expressions, for example).
setShowNumFailures(int) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
Summarize N failures at the end of the report.
setShowoutput(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
setShowOutput(String) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
Display mode for output streams.
setShowStackTraces(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
Show stack trace information.
setShowStatusError(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
 
setShowStatusFailure(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
 
setShowStatusIgnored(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
 
setShowStatusOk(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
 
setShowSuiteSummary(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
If enabled, shows suite summaries in "maven-like" format of:
setShowThrowable(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
If enabled, displays extended error information for tests that failed (exception class, message, stack trace, standard streams).
setShuffleOnSlave(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Predictably shuffle tests order after balancing.
setStatsPropertyPrefix(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Sets the property prefix to which test statistics are saved.
setSysouts(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
If set to true, any sysout and syserr calls will be written to original output and error streams (and in effect will appear as "jvm output".
setTempDir(File) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
The directory to store temporary files in.
setTimeout(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
 
setTimes(int) - Method in class com.carrotsearch.ant.tasks.junit4.DuplicateResources
Set the number of times the input resources should be duplicated.
setTimestamps(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
Show duration timestamps for tests and suites.
setUniqueSuiteNames(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
Allow or disallow duplicate suite names in resource collections.
setUseSimpleNames(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
Use simple class names for suite naming.
setVerbose(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.balancers.ExecutionTimeBalancer
Be verbose about estimated times etc.
shouldIgnore() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4.ExtendedVariable
 
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
 
size() - Method in class com.carrotsearch.ant.tasks.junit4.DuplicateResources
 
skipped - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestCaseModel
 
skipped - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
The number of skipped tests (maven surefire).
slaveId - Variable in class com.carrotsearch.ant.tasks.junit4.SuiteBalancer.Assignment
Slave assignment.
SlaveMain - Class in com.carrotsearch.ant.tasks.junit4.slave
A slave process running the actual tests on the target JVM.
SlaveMain(Serializer) - Constructor for class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
Creates a slave emitting events to the given serializer.
SlaveMainSafe - Class in com.carrotsearch.ant.tasks.junit4.slave
 
SlaveMainSafe() - Constructor for class com.carrotsearch.ant.tasks.junit4.slave.SlaveMainSafe
 
slaves - Variable in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
The number of executed slaves, total.
sleep(long) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
slowHeartBeat(LowLevelHeartBeatEvent) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
Detect slow heartbeat (long time without any events) from the forked JVM.
StackTraceFilter - Class in com.carrotsearch.ant.tasks.junit4.listeners
Stack trace filtering.
StackTraceFilter() - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.StackTraceFilter
 
start() - Method in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
 
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
 
stop() - Method in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
 
StreamFlusherDecorator - Class in com.carrotsearch.ant.tasks.junit4.slave
Flushes System.out and System.err before passing the event to the delegate.
StreamFlusherDecorator(RunListener) - Constructor for class com.carrotsearch.ant.tasks.junit4.slave.StreamFlusherDecorator
 
StringGenerator - Class in com.carrotsearch.randomizedtesting.generators
A StringGenerator generates random strings composed of characters.
StringGenerator() - Constructor for class com.carrotsearch.randomizedtesting.generators.StringGenerator
 
StringValue() - Constructor for class com.carrotsearch.ant.tasks.junit4.PickFromListTask.StringValue
 
SuiteBalancer - Interface in com.carrotsearch.ant.tasks.junit4
A test balancer schedules test suites to be executed on a given JVM.
SuiteBalancer.Assignment - Class in com.carrotsearch.ant.tasks.junit4
 
SuiteCompletedEvent - Class in com.carrotsearch.ant.tasks.junit4.events
Serialized failure.
SuiteCompletedEvent() - Constructor for class com.carrotsearch.ant.tasks.junit4.events.SuiteCompletedEvent
 
SuiteCompletedEvent(Description, long, long) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.SuiteCompletedEvent
 
suiteErrors - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummary
 
SuiteFailureEvent - Class in com.carrotsearch.ant.tasks.junit4.events
Serialized failure.
SuiteFailureEvent() - Constructor for class com.carrotsearch.ant.tasks.junit4.events.SuiteFailureEvent
 
SuiteFailureEvent(Failure) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.SuiteFailureEvent
 
SuiteHint - Class in com.carrotsearch.ant.tasks.junit4.balancers
A suite with the cost hint.
SuiteHint(String, long) - Constructor for class com.carrotsearch.ant.tasks.junit4.balancers.SuiteHint
 
suiteName - Variable in class com.carrotsearch.ant.tasks.junit4.balancers.SuiteHint
 
suiteName - Variable in class com.carrotsearch.ant.tasks.junit4.SuiteBalancer.Assignment
Test suite name.
suites - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummary
 
SuiteStartedEvent - Class in com.carrotsearch.ant.tasks.junit4.events
Serialized failure.
SuiteStartedEvent() - Constructor for class com.carrotsearch.ant.tasks.junit4.events.SuiteStartedEvent
 
SuiteStartedEvent(Description, long) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.SuiteStartedEvent
 
suiteSummary(AggregatedSuiteResultEvent) - Method in class com.carrotsearch.ant.tasks.junit4.TestsSummaryEventListener
React to suite summaries only.
syserr - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
 
SysGlobals - Class in com.carrotsearch.randomizedtesting
Global names for system properties controlling the behavior of JUnit4 ANT task and RandomizedRunner.
sysout - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
 
SYSPROP_APPEND_SEED() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
If true, append seed parameter to all methods.
SYSPROP_FIRERUNNERFAILURE - Static variable in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
Fire a runner failure after startup to verify messages are propagated properly.
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

TempPathResource - Class in com.carrotsearch.randomizedtesting
A temporary path resource will be deleted at the end of a given lifecycle phase.
TempPathResource(File) - Constructor for class com.carrotsearch.randomizedtesting.TempPathResource
 
testAssumptionFailure(Failure) - Method in class com.carrotsearch.ant.tasks.junit4.slave.BeforeAfterRunListenerDecorator
 
testAssumptionFailure(Failure) - Method in class com.carrotsearch.ant.tasks.junit4.slave.NoExceptionRunListenerDecorator
 
testAssumptionFailure(Failure) - Method in class com.carrotsearch.ant.tasks.junit4.slave.RunListenerEmitter
 
TestCaseModel - Class in com.carrotsearch.ant.tasks.junit4.listeners.antxml
 
TestCaseModel() - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestCaseModel
 
testcases - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
 
testFailure(Failure) - Method in class com.carrotsearch.ant.tasks.junit4.slave.BeforeAfterRunListenerDecorator
 
testFailure(Failure) - Method in class com.carrotsearch.ant.tasks.junit4.slave.NoExceptionRunListenerDecorator
 
testFailure(Failure) - Method in class com.carrotsearch.ant.tasks.junit4.slave.RunListenerEmitter
 
testFailure(Failure) - Method in class com.carrotsearch.randomizedtesting.listeners.ReproduceInfoPrinter
 
TestFailureEvent - Class in com.carrotsearch.ant.tasks.junit4.events
 
TestFailureEvent() - Constructor for class com.carrotsearch.ant.tasks.junit4.events.TestFailureEvent
 
TestFailureEvent(Failure) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.TestFailureEvent
 
testFinished(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.BeforeAfterRunListenerDecorator
 
testFinished(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.NoExceptionRunListenerDecorator
 
testFinished(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.RunListenerEmitter
 
TestFinishedEvent - Class in com.carrotsearch.ant.tasks.junit4.events
 
TestFinishedEvent() - Constructor for class com.carrotsearch.ant.tasks.junit4.events.TestFinishedEvent
 
TestFinishedEvent(Description, int, long) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.TestFinishedEvent
 
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.
testIgnored(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.BeforeAfterRunListenerDecorator
 
testIgnored(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.NoExceptionRunListenerDecorator
 
testIgnored(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.RunListenerEmitter
 
TestIgnoredAssumptionEvent - Class in com.carrotsearch.ant.tasks.junit4.events
 
TestIgnoredAssumptionEvent() - Constructor for class com.carrotsearch.ant.tasks.junit4.events.TestIgnoredAssumptionEvent
 
TestIgnoredAssumptionEvent(Failure) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.TestIgnoredAssumptionEvent
 
TestIgnoredEvent - Class in com.carrotsearch.ant.tasks.junit4.events
 
TestIgnoredEvent() - Constructor for class com.carrotsearch.ant.tasks.junit4.events.TestIgnoredEvent
 
TestIgnoredEvent(Description, String) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.TestIgnoredEvent
 
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
 
testRunFinished(Result) - Method in class com.carrotsearch.ant.tasks.junit4.slave.BeforeAfterRunListenerDecorator
 
testRunFinished(Result) - Method in class com.carrotsearch.ant.tasks.junit4.slave.NoExceptionRunListenerDecorator
 
testRunFinished(Result) - Method in class com.carrotsearch.ant.tasks.junit4.slave.RunListenerEmitter
 
testRunStarted(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.BeforeAfterRunListenerDecorator
 
testRunStarted(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.NoExceptionRunListenerDecorator
 
testRunStarted(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.RunListenerEmitter
 
tests - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
 
tests - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummary
 
TestsSummary - Class in com.carrotsearch.ant.tasks.junit4
Summary of tests execution.
TestsSummary(int, int, int, int, int, int, int) - Constructor for class com.carrotsearch.ant.tasks.junit4.TestsSummary
 
TestsSummaryEventListener - Class in com.carrotsearch.ant.tasks.junit4
Create a summary of tests execution.
TestsSummaryEventListener() - Constructor for class com.carrotsearch.ant.tasks.junit4.TestsSummaryEventListener
 
testStarted(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.BeforeAfterRunListenerDecorator
 
testStarted(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.NoExceptionRunListenerDecorator
 
testStarted(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.RunListenerEmitter
 
TestStartedEvent - Class in com.carrotsearch.ant.tasks.junit4.events
 
TestStartedEvent() - Constructor for class com.carrotsearch.ant.tasks.junit4.events.TestStartedEvent
 
TestStartedEvent(Description) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.TestStartedEvent
 
TestStatus - Enum in com.carrotsearch.ant.tasks.junit4.events.aggregated
 
TestSuiteModel - Class in com.carrotsearch.ant.tasks.junit4.listeners.antxml
Suite model of ANT-JUnit XML.
TestSuiteModel() - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
 
text - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.FailureModel
 
TextReport - Class in com.carrotsearch.ant.tasks.junit4.listeners
A listener that will subscribe to test execution and dump informational info about the progress to the console or a text file.
TextReport() - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
 
TextReport.OutputMode - Enum in com.carrotsearch.ant.tasks.junit4.listeners
Display mode for output streams.
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
 
time - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestCaseModel
 
time - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
 
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).
timestamp - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
 
toExpression() - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
 
toExpression(StringBuilder) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
 
toHumanDuration(long) - Static method in class com.carrotsearch.ant.tasks.junit4.Duration
Format a duration in milliseconds to a human string (in English).
TopHints - Class in com.carrotsearch.ant.tasks.junit4.balancers
Display the slowest test suites based on hints files.
TopHints() - Constructor for class com.carrotsearch.ant.tasks.junit4.balancers.TopHints
 
toString() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4.ExtendedVariable
 
toString() - Method in class com.carrotsearch.ant.tasks.junit4.PickFromListTask.StringValue
 
toString() - Method in class com.carrotsearch.ant.tasks.junit4.TestsSummary
 
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
 
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
 
type - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.FailureModel
 

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
 
Utilities() - Constructor for class com.carrotsearch.randomizedtesting.annotations.TestGroup.Utilities
 

V

validate(Class<?>) - Method in class com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule
 
value - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.PropertyModel
 
valueOf(String) - Static method in enum com.carrotsearch.ant.tasks.junit4.events.aggregated.TestStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.carrotsearch.ant.tasks.junit4.events.EventType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.carrotsearch.ant.tasks.junit4.JUnit4.JvmOutputAction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.carrotsearch.ant.tasks.junit4.JUnit4.NoTestsAction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.carrotsearch.ant.tasks.junit4.listeners.TextReport.OutputMode
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.ant.tasks.junit4.events.aggregated.TestStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.carrotsearch.ant.tasks.junit4.events.EventType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.carrotsearch.ant.tasks.junit4.JUnit4.JvmOutputAction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.carrotsearch.ant.tasks.junit4.JUnit4.NoTestsAction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.carrotsearch.ant.tasks.junit4.listeners.TextReport.OutputMode
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

warn(String, Throwable) - Static method in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
Warning emitter.
writeHints(File, Map<String, List<Long>>) - Static method in class com.carrotsearch.ant.tasks.junit4.listeners.ExecutionTimesReport
Writes back hints file.
$ A B C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links

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