- 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
-
- 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
-
- AssertingRandom(Thread, Random) - Constructor for class com.carrotsearch.randomizedtesting.AssertingRandom
-
- 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.
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- scaledRandomIntBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Returns a "scaled" random number between min and max (inclusive).
- Seed - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
Defines the starting seed for a given test or the entire suite.
- SeedDecorator - Interface in com.carrotsearch.randomizedtesting
-
This is an advanced feature.
- SeedDecorators - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
Allows modifying the master seed (before the suite is started).
- seedFromThrowable(Throwable) - Static method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
- Seeds - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
Defines a list of starting seeds for a given test.
- SeedUtils - Class in com.carrotsearch.randomizedtesting
-
Utilities for parsing random seeds.
- 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
-
- 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
-
- StatementAdapter(Statement) - Constructor for class com.carrotsearch.randomizedtesting.rules.StatementAdapter
-
- StaticFieldsInvariantRule - Class in com.carrotsearch.randomizedtesting.rules
-
A TestRule
that ensures static, reference fields of the suite class
(and optionally its superclasses) are cleaned up after a suite is completed.
- StaticFieldsInvariantRule() - Constructor for class com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule
-
- StaticFieldsInvariantRule(long, boolean) - Constructor for class com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule
-
- stop() - Method in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
-
- StreamFlusherDecorator - Class in com.carrotsearch.ant.tasks.junit4.slave
-
- StreamFlusherDecorator(RunListener) - Constructor for class com.carrotsearch.ant.tasks.junit4.slave.StreamFlusherDecorator
-
- StringGenerator - Class in com.carrotsearch.randomizedtesting.generators
-
- 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.
- 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
-