$ A B C D E F G H I J K L M N O P Q R S T U V W X Z _
All Classes All Packages
All Classes All Packages
All Classes All Packages
$
- $(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
- AbstractEvent - Class in com.carrotsearch.ant.tasks.junit4.events
-
An abstract
IEvent
. - AbstractEvent(EventType) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
- AbstractEventWithDescription - Class in com.carrotsearch.ant.tasks.junit4.events
- AbstractEventWithDescription(EventType) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.AbstractEventWithDescription
- accept(Field) - Method in class com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule
- Action() - Constructor for enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakAction.Action
- add(TestClass) - Method in class com.carrotsearch.ant.tasks.junit4.TestsCollection
- add(KType) - Method in class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
-
Adds a reference to the set.
- 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.
- addArtifactClassPath(Element, Artifact) - Method in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Append classpath elements of the given artefact to classpath.
- addAssertions(Assertions) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Add assertions to tests execution.
- addConfigured(AggregatedEventListener) - Method in class com.carrotsearch.ant.tasks.junit4.ListenersList
-
Adds a listener to the listeners list.
- addConfigured(StackTraceFilter) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Filter stack traces from certain frames.
- addConfigured(SuiteBalancer) - Method in class com.carrotsearch.ant.tasks.junit4.BalancersList
-
Adds a balancer to the balancers list.
- addConfigured(TokenFilter.Filter) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.StackTraceFilter
-
Add a custom filter.
- addConfigured(ResourceCollection) - Method in class com.carrotsearch.ant.tasks.junit4.DuplicateResources
- 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.
- addFailure(FailureMirror) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
- 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.
- addFirstListener(RunListener) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl.SubNotifier
- additionalClasspathElements - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Additional elements to be appended to the classpath.
- addListener(RunListener) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
-
Add a listener at the end of the listener list.
- addListener(RunListener) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl.SubNotifier
- addSlaveClasspath() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Adds a classpath source which contains the given resource.
- addText(String) - Method in class com.carrotsearch.ant.tasks.junit4.PickFromListTask.StringValue
- adjustForField(long, Field) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
This method returns the maximum representation size of an object.
- 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(AggregatedSuiteStartedEvent, 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
- alignedShallowInstanceSize - Variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.ClassCache
- alignObjectSize(long) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Aligns an object size to be the next multiple of
RamUsageEstimator.NUM_BYTES_OBJECT_ALIGNMENT
. - all - Variable in class com.carrotsearch.randomizedtesting.generators.CodepointSetGenerator
- ALL - com.carrotsearch.randomizedtesting.annotations.ThreadLeakGroup.Group
-
All JVM threads will be tracked.
- allocateBuffers(int) - Method in class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
-
Allocate internal buffers for a given capacity.
- allocationStack - Variable in class com.carrotsearch.randomizedtesting.AssertingRandom
- allocationStack - Variable in class com.carrotsearch.randomizedtesting.CloseableResourceInfo
- allowUndefined - Variable in class com.carrotsearch.ant.tasks.junit4.PickFromListTask
-
Allow the property to be undefined as one of the pick choices.
- AlphabeticOrder() - Constructor for class com.carrotsearch.randomizedtesting.annotations.TestCaseOrdering.AlphabeticOrder
- ALWAYS - com.carrotsearch.ant.tasks.junit4.listeners.TextReport.OutputMode
-
Always display the output emitted from tests.
- AndNode() - Constructor for class com.carrotsearch.randomizedtesting.FilterExpressionParser.AndNode
- AnnotatedMethodProvider - Class in com.carrotsearch.randomizedtesting
-
Base class for
TestMethodProvider
s based on annotations. - AnnotatedMethodProvider(Class<? extends Annotation>) - Constructor for class com.carrotsearch.randomizedtesting.AnnotatedMethodProvider
- annotation - Variable in class com.carrotsearch.randomizedtesting.AnnotatedMethodProvider
- annotations - Variable in class com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule
- ANNOYANCE - com.carrotsearch.randomizedtesting.Rants.RantType
- 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
- append - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Append to
TextReport.outputFile
if specified. - append(char) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.LineFlushingWriter
- append(CharSequence) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.LineFlushingWriter
- append(CharSequence, int, int) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.LineFlushingWriter
- append(StringBuilder, ThreadInfo) - Static method in class com.carrotsearch.randomizedtesting.Threads
-
Dump
ThreadInfo
information. - append(StringBuilder, String, int) - Method in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
-
Append a description to the buffer by respecting the indentSize and lineLength parameters.
- APPEND_STDERR - com.carrotsearch.ant.tasks.junit4.events.EventType
- APPEND_STDOUT - com.carrotsearch.ant.tasks.junit4.events.EventType
- 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
- appendFiltered(StringBuilder, Set<String>) - Static method in class com.carrotsearch.randomizedtesting.TraceFormatting
- appendGroupFilteringOptions(ReproduceErrorMessageBuilder) - Method in class com.carrotsearch.randomizedtesting.GroupEvaluator
- appendOpt(String, String) - Method in class com.carrotsearch.randomizedtesting.ReproduceErrorMessageBuilder
-
Append a single VM option.
- appendRawXml(PlexusConfiguration, Element) - Method in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Append raw XML configuration.
- appendRunnerProperties() - Method in class com.carrotsearch.randomizedtesting.ReproduceErrorMessageBuilder
- appendSeedParameter - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
- 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(KType) - Method in interface com.carrotsearch.randomizedtesting.ObjectProcedure
- 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
- applyFilters(Class<?>, List<RandomizedRunner.TestCandidate>, Collection<Filter>) - Static method in class com.carrotsearch.randomizedtesting.RandomizedRunner
- applyFilters(String) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
-
Apply filters to a method name.
- argFormattingTemplate - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner.TestMethodExecution
- argLine - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Arbitrary JVM options to set on the command line.
- args - Variable in class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
- args - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner.NewInstanceProvider
- argumentFormatting() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.ParametersFactory
-
Specify custom formatting for test names (constructor arguments).
- ARRAY_HEADER_SIZE - com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.JvmFeature
- ASCENDING_BY_ESTIMATED_FINISH - Static variable in class com.carrotsearch.ant.tasks.junit4.balancers.ExecutionTimeBalancer.SlaveLoad
- asciiAlphanumGenerator - Static variable in class com.carrotsearch.randomizedtesting.generators.RandomStrings
- AsciiAlphanumGenerator - Class in com.carrotsearch.randomizedtesting.generators
-
A generator emitting simple ASCII alphanumeric letters and numbers from the set (newlines not counted):
- AsciiAlphanumGenerator() - Constructor for class com.carrotsearch.randomizedtesting.generators.AsciiAlphanumGenerator
- asciiGenerator - Static variable in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
Deprecated.Use
RandomStrings.asciiLettersGenerator
instead. - ASCIIGenerator - Class in com.carrotsearch.randomizedtesting.generators
-
Deprecated.Use
AsciiLettersGenerator
instead. - ASCIIGenerator() - Constructor for class com.carrotsearch.randomizedtesting.generators.ASCIIGenerator
-
Deprecated.
- asciiLettersGenerator - Static variable in class com.carrotsearch.randomizedtesting.generators.RandomStrings
- AsciiLettersGenerator - Class in com.carrotsearch.randomizedtesting.generators
-
A generator emitting simple ASCII characters from the set (newlines not counted):
- AsciiLettersGenerator() - Constructor for class com.carrotsearch.randomizedtesting.generators.AsciiLettersGenerator
- 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 todelegate
untilAssertingRandom.destroy()
ed. - assertions - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Raw assertions configuration.
- assertionsEnabled - Static variable in class com.carrotsearch.randomizedtesting.AssertingRandom
-
Enable paranoid mode when assertions are enabled.
- assertionViolation - Variable in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
-
Was [@link Failure} an instance of an
AssertionError
? - 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.
- assigned - Variable in class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
-
Cached number of assigned slots.
- Assignment(String, int, int) - Constructor for class com.carrotsearch.ant.tasks.junit4.SuiteBalancer.Assignment
- assumeFalse(boolean) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Reverse of
RandomizedTest.assumeTrue(boolean)
. - assumeFalse(String, boolean) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Reverse of
RandomizedTest.assumeTrue(String, boolean)
. - assumeNoException(String, Throwable) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Assume
t
isnull
. - 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
- assumptions - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummaryEventListener
- assumptionViolation - Variable in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
- 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.
- augmentStackTrace(T, Randomness...) - Static method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Augment stack trace of the given exception with seed infos.
- autoListeners - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
- averageHint - Variable in class com.carrotsearch.ant.tasks.junit4.balancers.TopHints.Entry
B
- b - Variable in class com.carrotsearch.randomizedtesting.ReproduceErrorMessageBuilder
- balancers - Variable in class com.carrotsearch.ant.tasks.junit4.BalancersList
- balancers - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Balancers scheduling tests for individual JVMs in parallel mode.
- balancers - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Raw balancers configuration.
- BalancersList - Class in com.carrotsearch.ant.tasks.junit4
-
A nested list of
SuiteBalancer
s. - BalancersList(List<SuiteBalancer>) - Constructor for class com.carrotsearch.ant.tasks.junit4.BalancersList
- base - Variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.DummyOneFieldObject
- 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
- beforeName() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Inserts any necessary separators and whitespace before a name.
- beforeValue(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Inserts any necessary separators and whitespace before a literal value, inline array, or inline object.
- BEGIN_ARRAY - com.carrotsearch.ant.tasks.junit4.gson.stream.JsonToken
-
The opening of a JSON array.
- BEGIN_OBJECT - com.carrotsearch.ant.tasks.junit4.gson.stream.JsonToken
-
The opening of a JSON object.
- beginArray() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Consumes the next token from the JSON stream and asserts that it is the beginning of a new array.
- beginArray() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Begins encoding a new array.
- beginObject() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Consumes the next token from the JSON stream and asserts that it is the beginning of a new object.
- beginObject() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Begins encoding a new object.
- between(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
An alias for
RandomizedTest.randomIntBetween(int, int)
. - between(long, long) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
An alias for
RandomizedTest.randomLongBetween(long, long)
. - biasedDoubleBetween(double, double) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
A biased "evil" random double between min and max (inclusive).
- biasedFloatBetween(float, float) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
A biased "evil" random float between min and max (inclusive).
- BiasedNumbers - Class in com.carrotsearch.randomizedtesting.generators
-
Utility classes for selecting numbers at random, but not necessarily in an uniform way.
- BiasedNumbers() - Constructor for class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
- blockEnds - Static variable in class com.carrotsearch.randomizedtesting.generators.RealisticUnicodeGenerator
-
Index-aligned with
RealisticUnicodeGenerator.blockStarts
. - blockStarts - Static variable in class com.carrotsearch.randomizedtesting.generators.RealisticUnicodeGenerator
-
Index-aligned with
RealisticUnicodeGenerator.blockEnds
. - bmp - Variable in class com.carrotsearch.randomizedtesting.generators.CodepointSetGenerator
- BOOLEAN - com.carrotsearch.ant.tasks.junit4.gson.stream.JsonToken
-
A JSON
true
orfalse
. - BOOLEANS - Static variable in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Boolean constants mapping.
- bootclasspath - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
- BOOTSTRAP - com.carrotsearch.ant.tasks.junit4.events.EventType
- bootstrapEvent - Variable in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
-
Bootstrap event.
- 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.
- buffer - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Use a manual buffer to easily read and unread upcoming characters, and also so we can create strings without an intermediate StringBuilder.
- buffer - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.XmlStringTransformer
- bufferFile - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler.OnDiskStreamEvent
- build() - Method in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
- build(Class<?>) - Method in class com.carrotsearch.randomizedtesting.ClassModel.ModelBuilder
- buildFinished(BuildEvent) - Method in class com.carrotsearch.maven.plugins.junit4.MavenListenerAdapter
- buildModel(AggregatedSuiteResultEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
-
Build data model for serialization.
- buildModel(FailureMirror) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
- buildModel(List<AggregatedTestResultEvent>) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
- buildModel(Map<String, String>) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
- buildStarted(BuildEvent) - Method in class com.carrotsearch.maven.plugins.junit4.MavenListenerAdapter
- builtinFilters - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Built-in filters.
- byDescHint - Static variable in class com.carrotsearch.ant.tasks.junit4.balancers.TopHints
C
- cause - Variable in class com.carrotsearch.ant.tasks.junit4.events.TestIgnoredEvent
- CHARS - Static variable in class com.carrotsearch.randomizedtesting.generators.AsciiAlphanumGenerator
- CHARS - Static variable in class com.carrotsearch.randomizedtesting.generators.AsciiLettersGenerator
- checkContext() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Ensures we're running with an initialized
RandomizedContext
. - checkDisposed() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Throw an exception if disposed.
- checkJvmOutput(EventBus, Path, ForkedJvmInfo, String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
- checkLenient() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- checkNoShadowsOrOverrides(Class<?>, ClassModel, Class<? extends Annotation>) - Method in class com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule
- checkThat(Class<?>) - Static method in class com.carrotsearch.randomizedtesting.Validation
- checkThat(Method) - Static method in class com.carrotsearch.randomizedtesting.Validation
- checkThreadLeaks(Set<Thread>, List<Throwable>, LifecycleScope, Description, AnnotatedElement...) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Perform a thread leak check at the given scope.
- checkValid() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
- checkVersion(String, String, Artifact) - Method in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Ensure
artifactName
matches versionversionSpec
. - checkZeroLength(int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
- checkZombies() - Static method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Check on zombie threads status.
- 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
- childInfo - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.JvmOutputEvent
- CHILDVM_SYSPROP_CWD - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
System property passed to forked VMs: current working directory (absolute).
- 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)).
- chunk - Variable in class com.carrotsearch.ant.tasks.junit4.events.AppendStdErrEvent
- chunk - Variable in class com.carrotsearch.ant.tasks.junit4.events.AppendStdOutEvent
- ChunkedStream() - Constructor for class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain.ChunkedStream
- ClassCache(long, Field[]) - Constructor for class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.ClassCache
- ClassElement(T) - Constructor for class com.carrotsearch.randomizedtesting.ClassModel.ClassElement
- Classes - Class in com.carrotsearch.randomizedtesting
- Classes() - Constructor for class com.carrotsearch.randomizedtesting.Classes
- classesDirectory - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
The directory containing generated classes of the project being tested.
- ClassGlobFilter - Class in com.carrotsearch.randomizedtesting
-
A filter for
Description.getClassName()
. - ClassGlobFilter(String) - Constructor for class com.carrotsearch.randomizedtesting.ClassGlobFilter
- classModel - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Class model.
- ClassModel - Class in com.carrotsearch.randomizedtesting
-
Class model for a test suite.
- ClassModel(Class<?>) - Constructor for class com.carrotsearch.randomizedtesting.ClassModel
- ClassModel.ClassElement<T extends java.lang.reflect.Member,E extends ClassModel.ClassElement<T,E>> - Class in com.carrotsearch.randomizedtesting
- ClassModel.FieldModel - Class in com.carrotsearch.randomizedtesting
- ClassModel.MethodModel - Class in com.carrotsearch.randomizedtesting
- ClassModel.ModelBuilder<T_MEMBER extends java.lang.reflect.Member,T_MODEL extends ClassModel.ClassElement<T_MEMBER,T_MODEL>> - Class in com.carrotsearch.randomizedtesting
- ClassModel.Scope - Enum in com.carrotsearch.randomizedtesting
- classname - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestCaseModel
- className - Variable in class com.carrotsearch.ant.tasks.junit4.TestClass
- classpath - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Multiple path resolution in
CommandlineJava.getCommandline()
is very slow so we construct and canonicalize paths. - classpathDependencyExcludes - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
List of dependencies to exclude from the test classpath.
- classpathDependencyScopeExclude - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
A dependency scope to exclude from the test classpath.
- ClassValidation(Class<?>) - Constructor for class com.carrotsearch.randomizedtesting.Validation.ClassValidation
- clazz - Variable in class com.carrotsearch.randomizedtesting.Validation.ClassValidation
- clear() - Method in class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
- clientCharset - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
-
Client charset extracted from
BootstrapEvent
. - clone() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
- clone() - Method in class com.carrotsearch.randomizedtesting.TeeOutputStream
- clone(Thread) - Method in class com.carrotsearch.randomizedtesting.Randomness
- cloneAsMap(Properties) - Static method in class com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule
- cloneFor(Thread) - Static method in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Clone context information between the current thread and another thread.
- close() - Method in class com.carrotsearch.ant.tasks.junit4.events.Serializer
- close() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Closes this JSON reader and the underlying
Reader
. - close() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Flushes and closes this writer and the underlying
Writer
. - close() - Method in class com.carrotsearch.ant.tasks.junit4.listeners.LineFlushingWriter
- close() - Method in class com.carrotsearch.ant.tasks.junit4.listeners.PrefixedWriter
- close() - Method in class com.carrotsearch.ant.tasks.junit4.slave.EventsOutputStream
- close() - Method in class com.carrotsearch.ant.tasks.junit4.slave.NullWriter
- close() - Method in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain.ChunkedStream
- close() - Method in class com.carrotsearch.ant.tasks.junit4.TailInputStream
- close() - Method in class com.carrotsearch.randomizedtesting.TeeOutputStream
- close() - Method in class com.carrotsearch.randomizedtesting.TempPathResource
- close() - Method in class com.carrotsearch.randomizedtesting.WriterOutputStream
-
Close the stream.
- close(int, int, String) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Closes the current scope by appending any necessary whitespace and the given bracket.
- CloseableResourceInfo - Class in com.carrotsearch.randomizedtesting
-
Allocation information (Thread, allocation stack) for tracking disposable resources.
- CloseableResourceInfo(Closeable, LifecycleScope, Thread, StackTraceElement[]) - Constructor for class com.carrotsearch.randomizedtesting.CloseableResourceInfo
- 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.
- closed - Variable in class com.carrotsearch.ant.tasks.junit4.TailInputStream
- CLOSED - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonScope
-
A document that's been closed and cannot be accessed.
- closeResources(ObjectProcedure<CloseableResourceInfo>, LifecycleScope) - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Dispose of any resources registered in the given scope.
- ClosingBracketNode() - Constructor for class com.carrotsearch.randomizedtesting.FilterExpressionParser.ClosingBracketNode
- CODEPOINT_RANGE - Static variable in class com.carrotsearch.randomizedtesting.generators.UnicodeGenerator
- 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. - collectCandidatesForMethod(Map<String, Integer>, Constructor<?>, RandomizedRunner.TestMethodExecution) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Collect test candidates for a single method and the given seed.
- collectGroups(List<RandomizedRunner.TestCandidate>) - Method in class com.carrotsearch.randomizedtesting.GroupEvaluator
- collectMethodExecutions(Constructor<?>, List<Method>) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Collect test method executions from list of test methods and potentially parameters from parameter factory methods.
- collectSystemProperties() - Method in class com.carrotsearch.ant.tasks.junit4.events.BootstrapEvent
- collectTestCandidates(Description) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Collect all test candidates, regardless if they will be executed or not.
- com.carrotsearch.ant.tasks.junit4 - package com.carrotsearch.ant.tasks.junit4
- 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.mirrors - package com.carrotsearch.ant.tasks.junit4.events.mirrors
- com.carrotsearch.ant.tasks.junit4.gson.stream - package com.carrotsearch.ant.tasks.junit4.gson.stream
- 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
- com.carrotsearch.randomizedtesting.annotations - package com.carrotsearch.randomizedtesting.annotations
- com.carrotsearch.randomizedtesting.generators - package com.carrotsearch.randomizedtesting.generators
- com.carrotsearch.randomizedtesting.junit4_maven_plugin - package com.carrotsearch.randomizedtesting.junit4_maven_plugin
- com.carrotsearch.randomizedtesting.listeners - package com.carrotsearch.randomizedtesting.listeners
- com.carrotsearch.randomizedtesting.rules - package com.carrotsearch.randomizedtesting.rules
- compare(TestMethodAndParams, TestMethodAndParams) - Method in class com.carrotsearch.randomizedtesting.annotations.TestCaseOrdering.AlphabeticOrder
- compareTo(SuiteBalancer.Assignment) - Method in class com.carrotsearch.ant.tasks.junit4.SuiteBalancer.Assignment
- compareTo(StaticFieldsInvariantRule.Entry) - Method in class com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule.Entry
- complete(TestFinishedEvent, List<IEvent>) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
- completed - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.MavenFailsafeSummaryModel
- completed - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl.StatementRunner
- completeLine() - Method in class com.carrotsearch.ant.tasks.junit4.listeners.PrefixedWriter
-
Complete the current line (emit LF if not at the start of the line already).
- computeNext() - Method in class com.carrotsearch.ant.tasks.junit4.slave.StdInLineIterator
- concat(int[]...) - Method in class com.carrotsearch.randomizedtesting.generators.CodepointSetGenerator
- Consequence() - Constructor for enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakZombies.Consequence
- Constants - Class in com.carrotsearch.randomizedtesting.rules
-
Some useful constants.
- Constants() - Constructor for class com.carrotsearch.randomizedtesting.rules.Constants
- constructor - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner.NewInstanceProvider
- consumeNonExecutePrefix() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Consumes the non-execute prefix if it exists.
- containerRunner - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
The container we're running in.
- contains(KType) - Method in class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
-
Checks if the set contains a given ref.
- context - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.IOContext
- context(Thread) - Static method in class com.carrotsearch.randomizedtesting.RandomizedContext
- contexts - Static variable in class com.carrotsearch.randomizedtesting.RandomizedContext
-
All thread groups we're currently tracking contexts for.
- CONTINUE - com.carrotsearch.randomizedtesting.annotations.ThreadLeakZombies.Consequence
-
Deprecated.
- copyScaffolding(File) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
-
Copy HTML/JS/CSS scaffolding to a targetFile's directory.
- 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
- copyTo(OutputStream) - Method in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler.OnDiskStreamEvent
- cost - Variable in class com.carrotsearch.ant.tasks.junit4.balancers.SuiteHint
- countSuperclasses - Variable in class com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule
- create(ThreadGroup, Class<?>, RandomizedRunner) - Static method in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Create a new context bound to a thread group.
- 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.
- createCacheEntry(Class<?>) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Create a cached information about shallow size and reference fields for a given class.
- createClasspath() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Adds path to classpath used for tests.
- createContext(ThreadGroup) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Create randomized context for the run.
- createDefaultArgumentFormatting(Constructor<?>) - Static method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Default formatting string for constructor arguments.
- createDocumentSkeleton(Document) - Method in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Creates a skeleton of a single-target ANT build file with JUnit4 task inside.
- createFormatter() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
- createId(Description) - Static method in class com.carrotsearch.ant.tasks.junit4.events.JsonHelpers
- 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.
- createTemporaryAntFile(Document) - Method in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Create a temporary ANT file for executing JUnit4 ANT task.
- createTest() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
- createValue() - Method in class com.carrotsearch.ant.tasks.junit4.PickFromListTask
- current - Variable in class com.carrotsearch.randomizedtesting.FilterExpressionParser
- current() - Static method in class com.carrotsearch.randomizedtesting.RandomizedContext
- CURRENT_PREFIX() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
Static singleton's property prefix.
- currentMethod - Variable in class com.carrotsearch.randomizedtesting.RandomizedContext
- currentTime - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.HeartBeatEvent
- currentTime - Variable in class com.carrotsearch.ant.tasks.junit4.events.LowLevelHeartBeatEvent
- customFilters - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.StackTraceFilter
-
Custom filters (from ANT's own TokenFilter).
D
- DAMN_TERRIBLE - com.carrotsearch.randomizedtesting.Rants.RantType
- DANGLING_NAME - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonScope
-
An object whose most recent element is a key.
- debug(Writer, String) - Method in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
- debugMessagesFile - Variable in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
-
Debug stream to flush progress information to.
- debugStream - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
- debugStream - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Enables a debug stream from each forked JVM.
- decoder - Variable in class com.carrotsearch.randomizedtesting.WriterOutputStream
- decoderIn - Variable in class com.carrotsearch.randomizedtesting.WriterOutputStream
-
ByteBuffer used as input for the decoder.
- decoderOut - Variable in class com.carrotsearch.randomizedtesting.WriterOutputStream
-
CharBuffer used as output for the decoder.
- 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
. - decorate(long, SeedDecorator[]) - Static method in class com.carrotsearch.randomizedtesting.Randomness
-
Decorate a given seed.
- decorators - Variable in class com.carrotsearch.randomizedtesting.Randomness
- DEFAULT - Static variable in interface com.carrotsearch.randomizedtesting.RandomSupplier
- DEFAULT_BUFFER_SIZE - Static variable in class com.carrotsearch.randomizedtesting.WriterOutputStream
- DEFAULT_DEBUGSTREAM - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Default value of
JUnit4.setDebugStream(boolean)
. - DEFAULT_DYNAMIC_ASSIGNMENT_RATIO - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Default value of
JUnit4.setDynamicAssignmentRatio(float)
- DEFAULT_FORMATTING - Static variable in annotation type com.carrotsearch.randomizedtesting.annotations.ParametersFactory
-
Use default argument formatting for test cases.
- DEFAULT_HALT_ON_FAILURE - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Default value of
JUnit4.setHaltOnFailure(boolean)
. - 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 value of
JUnit4.setIsolateWorkingDirectories(boolean)
. - 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_LINE_LENGTH - Static variable in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
- DEFAULT_LOAD_FACTOR - Static variable in class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
-
Default load factor.
- DEFAULT_MAX_LINE_WIDTH - Static variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Default 16kb for maximum line width buffer.
- DEFAULT_MULTIPLIER - Static variable in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Default multiplier.
- DEFAULT_NON_EMPTY_WORKDIR_ACTION - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Default valkue of
JUnit4.setOnNonEmptyWorkDirectory(java.lang.String)
. - DEFAULT_PARALLELISM - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Default value of
JUnit4.setParallelism(java.lang.String)
. - DEFAULT_PREFIX - Static variable in class com.carrotsearch.randomizedtesting.SysGlobals
-
Default prefix for all properties.
- DEFAULT_PRINT_SUMMARY - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Default value of
JUnit4.setPrintSummary(boolean)
. - DEFAULT_SHUFFLE_ON_SLAVE - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Default value of
JUnit4.setShuffleOnSlave(boolean)
. - DEFAULT_STACK_FILTERS - Static variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
- DEFAULT_SYSOUTS - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Default value of
JUnit4.setSysouts(boolean)
. - DEFAULT_TARGET - Static variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Default target in the generated ANT file.
- 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
-
Default value of
JUnit4.setUniqueSuiteNames(boolean)
- DefaultAnnotationValues() - Constructor for class com.carrotsearch.randomizedtesting.ThreadLeakControl.DefaultAnnotationValues
- defaultCharset - Variable in class com.carrotsearch.ant.tasks.junit4.events.BootstrapEvent
- defaultFilters - Static variable in class com.carrotsearch.ant.tasks.junit4.listeners.StackTraceFilter
-
Default stack trace filters.
- defaultFilters() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters
- DefaultNode() - Constructor for class com.carrotsearch.randomizedtesting.FilterExpressionParser.DefaultNode
- defaultValue() - Method in interface com.carrotsearch.randomizedtesting.FilterExpressionParser.IContext
- deferredName - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
- delegate - Variable in class com.carrotsearch.ant.tasks.junit4.slave.BeforeAfterRunListenerDecorator
- delegate - Variable in class com.carrotsearch.ant.tasks.junit4.slave.NoExceptionRunListenerDecorator
- delegate - Variable in class com.carrotsearch.randomizedtesting.AssertingRandom
- delegate - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner.SameInstanceProvider
- delegate - Variable in class com.carrotsearch.randomizedtesting.rules.StatementAdapter
- 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
- describedAs(String) - Method in class com.carrotsearch.randomizedtesting.Validation.ClassValidation
- describedAs(String) - Method in class com.carrotsearch.randomizedtesting.Validation.MethodValidation
- describeTo(Description) - Method in exception com.carrotsearch.randomizedtesting.InternalAssumptionViolatedException
- description - Variable in class com.carrotsearch.ant.tasks.junit4.events.AbstractEventWithDescription
- description - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
- description - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
- description - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.HeartBeatEvent
- description - Variable in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
-
The test
Description
that caused this failure. - description - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner.TestCandidate
- description - Variable in enum com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.JvmFeature
- description - Variable in class com.carrotsearch.randomizedtesting.Validation.ClassValidation
- description - Variable in class com.carrotsearch.randomizedtesting.Validation.MethodValidation
- deserialize() - Method in class com.carrotsearch.ant.tasks.junit4.events.Deserializer
- deserialize(JsonReader) - Method in class com.carrotsearch.ant.tasks.junit4.events.AbstractEventWithDescription
- deserialize(JsonReader) - Method in class com.carrotsearch.ant.tasks.junit4.events.AppendStdErrEvent
- deserialize(JsonReader) - Method in class com.carrotsearch.ant.tasks.junit4.events.AppendStdOutEvent
- deserialize(JsonReader) - Method in class com.carrotsearch.ant.tasks.junit4.events.BootstrapEvent
- deserialize(JsonReader) - Method in enum com.carrotsearch.ant.tasks.junit4.events.EventType
-
Deserialize a given event type from stream.
- deserialize(JsonReader) - Method in class com.carrotsearch.ant.tasks.junit4.events.FailureEvent
- deserialize(JsonReader) - Method in class com.carrotsearch.ant.tasks.junit4.events.IdleEvent
- deserialize(JsonReader) - Method in class com.carrotsearch.ant.tasks.junit4.events.QuitEvent
- deserialize(JsonReader) - Method in interface com.carrotsearch.ant.tasks.junit4.events.RemoteEvent
- deserialize(JsonReader) - Method in class com.carrotsearch.ant.tasks.junit4.events.SuiteCompletedEvent
- deserialize(JsonReader) - Method in class com.carrotsearch.ant.tasks.junit4.events.SuiteStartedEvent
- deserialize(JsonReader) - Method in class com.carrotsearch.ant.tasks.junit4.events.TestFinishedEvent
- deserialize(JsonReader) - Method in class com.carrotsearch.ant.tasks.junit4.events.TestIgnoredEvent
- 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.
- destroy() - Method in class com.carrotsearch.randomizedtesting.Randomness
-
Invalidate the underling randomness.
- detail - Variable in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
-
If
true
, display all settable properties for each goal. - detectContainer() - Static method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Attempt to detect the container we're running under.
- determineForkedJvmCount(TestsCollection) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Determine how many forked JVMs to use.
- determineIgnoredTests(List<RandomizedRunner.TestCandidate>) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Determine the set of ignored tests.
- determineMethodIterationCount(Method) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
- determineMethodSeeds(Method) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Determine a given method's initial random seed.
- determineRandomSupplier(Class<?>) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
- determineTimeout(RandomizedRunner.TestCandidate) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Determine timeout for a single test method (candidate).
- determineTimeout(Class<?>) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Determine timeout for a suite.
- DiagnosticsListener - Class in com.carrotsearch.ant.tasks.junit4
- DiagnosticsListener(ForkedJvmInfo, JUnit4) - Constructor for class com.carrotsearch.ant.tasks.junit4.DiagnosticsListener
- dir - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Directory to invoke forked VMs in.
- dir - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
- dir - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Base directory to invoke slave VMs in.
- displayStatus - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Status display info.
- disposableResources - Variable in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Disposable resources.
- dispose() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Dispose of the context.
- disposed - Variable in class com.carrotsearch.randomizedtesting.RandomizedContext
-
The context and all of its resources are no longer usable.
- doEnumerate(ThreadGroup, Thread[], boolean) - Static method in class com.carrotsearch.randomizedtesting.Threads
- doForcedShutdown - Variable in class com.carrotsearch.ant.tasks.junit4.events.Serializer
- doPeek() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- DOUBLE_UNIT - Static variable in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
- down - Variable in class com.carrotsearch.randomizedtesting.ClassModel.ClassElement
- dummy1 - Variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.DummyTwoLongObject
- dummy2 - Variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.DummyTwoLongObject
- DummyOneFieldObject() - Constructor for class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.DummyOneFieldObject
- DummyTwoLongObject() - Constructor for class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.DummyTwoLongObject
- 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
- dynamicAssignmentRatio - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
- dynamicAssignmentRatio - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Specifies the ratio of suites moved to dynamic assignment list.
E
- ECLIPSE - com.carrotsearch.randomizedtesting.RunnerContainer
- element - Variable in class com.carrotsearch.randomizedtesting.ClassModel.ClassElement
- emitBufferedEvents(AggregatedSuiteResultEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- emitOrSkip(long, StringBuilder, long, String, boolean) - Static method in class com.carrotsearch.ant.tasks.junit4.Duration
- emitStatusLine(AggregatedResultEvent, TestStatus, long) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Emit status line for an aggregated event.
- emitSuiteEnd(AggregatedSuiteResultEvent, int) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Suite end.
- emitSuiteStart(Description, long) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Suite prologue.
- EMPTY - Static variable in class com.carrotsearch.randomizedtesting.FilterExpressionParser
- EMPTY_ARRAY - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonScope
-
An array with no elements requires no separators or newlines before it is closed.
- EMPTY_DOCUMENT - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonScope
-
No object or array has been started.
- EMPTY_OBJECT - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonScope
-
An object with no name/value pairs requires no separators or newlines before it is closed.
- EMPTY_STRING_ARRAY - Static variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
An empty String[].
- EMPTY_STRING_STRING_MAP - Static variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
An empty Map
. - emptyStack(T) - Static method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Clears a
Throwable
's stack. - emptyToNull(String) - Static method in class com.carrotsearch.randomizedtesting.annotations.TestGroup.Utilities
- emptyToNull(String) - Static method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Normalize empty strings to nulls.
- enabled - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.StackTraceFilter
-
Whether or not to use this filter (just in case somebody wanted to disable it via a property).
- enabled - Variable in class com.carrotsearch.randomizedtesting.GroupEvaluator.TestGroupInfo
- enabled() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.TestGroup
-
Is the group enabled or disabled by default (unless overridden by test group filtering rules).
- end - Variable in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
-
Timestamps for diagnostics.
- end - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler.OnDiskStreamEvent
- END_ARRAY - com.carrotsearch.ant.tasks.junit4.gson.stream.JsonToken
-
The closing of a JSON array.
- END_DOCUMENT - com.carrotsearch.ant.tasks.junit4.gson.stream.JsonToken
-
The end of the JSON stream.
- END_OBJECT - com.carrotsearch.ant.tasks.junit4.gson.stream.JsonToken
-
The closing of a JSON object.
- endArray() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Consumes the next token from the JSON stream and asserts that it is the end of the current array.
- endArray() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Ends encoding the current array.
- endObject() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Consumes the next token from the JSON stream and asserts that it is the end of the current object.
- endObject() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Ends encoding the current object.
- Entry(Field, Object) - Constructor for class com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule.Entry
- Entry(String, double) - Constructor for class com.carrotsearch.ant.tasks.junit4.balancers.TopHints.Entry
- env - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Environment variables to use in the forked JVM.
- environmentVariables - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Adds an environment variable to any forked JVM.
- EosNode() - Constructor for class com.carrotsearch.randomizedtesting.FilterExpressionParser.EosNode
- equals(Object) - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
- equals(Object) - Method in class com.carrotsearch.randomizedtesting.ClassModel.FieldModel
- equals(Object) - Method in class com.carrotsearch.randomizedtesting.ClassModel.MethodModel
- equals(Object) - Method in class com.carrotsearch.randomizedtesting.TeeOutputStream
- 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
- error - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner.UncaughtException
- error - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl.StatementRunner
- ERROR - com.carrotsearch.ant.tasks.junit4.events.aggregated.TestStatus
- errors - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.MavenFailsafeSummaryModel
- 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
- errors - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummaryEventListener
- errStream - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
syserr recode stream.
- errWriter - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Standard error, prefixed and decoded.
- escapeAndJoin(String[]) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Try to provide an escaped, ready-to-use shell line to repeat a given command line.
- estimatedCost - Variable in class com.carrotsearch.ant.tasks.junit4.SuiteBalancer.Assignment
-
Estimated cost; informational only (depends on the balancer).
- estimatedFinish - Variable in class com.carrotsearch.ant.tasks.junit4.balancers.ExecutionTimeBalancer.SlaveLoad
- evaluate() - Method in class com.carrotsearch.randomizedtesting.rules.StatementAdapter
- evaluate(FilterExpressionParser.IContext) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.AndNode
- evaluate(FilterExpressionParser.IContext) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.DefaultNode
- evaluate(FilterExpressionParser.IContext) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
- evaluate(FilterExpressionParser.IContext) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.NotNode
- evaluate(FilterExpressionParser.IContext) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.OrNode
- evaluate(FilterExpressionParser.IContext) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.TestGroupNode
- event - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.PartialOutputEvent
- eventBus - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
- eventClass - Variable in enum com.carrotsearch.ant.tasks.junit4.events.EventType
-
Concrete class associated with the given event type.
- events - Variable in class com.carrotsearch.ant.tasks.junit4.events.Serializer
- EventsOutputStream - Class in com.carrotsearch.ant.tasks.junit4.slave
-
An OutputStream delegate.
- EventsOutputStream(File) - Constructor for class com.carrotsearch.ant.tasks.junit4.slave.EventsOutputStream
- eventStream - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
- eventStream - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
- eventStream - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
- eventStream - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
- EventType - Enum in com.carrotsearch.ant.tasks.junit4.events
-
Events (messages) passed between the slave and the master.
- EventType(Class<? extends RemoteEvent>) - Constructor for enum com.carrotsearch.ant.tasks.junit4.events.EventType
-
Initialize with concrete event class.
- EVIL_RANDOM_REPRESENTATION_BITS - Static variable in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
- EVIL_RANGE_LEFT - Static variable in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
- EVIL_RANGE_RIGHT - Static variable in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
- EVIL_SIMPLE_PROPORTION - Static variable in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
- EVIL_VERY_CLOSE_RANGE_ENDS - Static variable in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
- EVIL_ZERO_OR_NEAR - Static variable in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
- exception(Throwable) - Method in class com.carrotsearch.ant.tasks.junit4.slave.NoExceptionRunListenerDecorator
- excludes - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
A list of <exclude> elements specifying the tests (by pattern) that should be excluded in testing.
- 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.JUnit4Mojo
-
Run the mojo.
- execute() - Method in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
- execute(Iterator<String>) - Method in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
-
Execute tests.
- executeSlave(ForkedJvmInfo, EventBus) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Attach listeners and execute a slave process.
- executionError - Variable in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
-
Execution error if anything bad happened on the slave.
- executionId - Static variable in class com.carrotsearch.ant.tasks.junit4.PickFromListTask
-
Execution ID used to permute the pick order for lists of identical length and identical seed.
- executionTime - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
- executionTime - Variable in class com.carrotsearch.ant.tasks.junit4.events.SuiteCompletedEvent
- executionTime - Variable in class com.carrotsearch.ant.tasks.junit4.events.TestFinishedEvent
- 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
- ExecutionTimeBalancer.SlaveLoad - Class in com.carrotsearch.ant.tasks.junit4.balancers
- 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
- expandAndRehash() - Method in class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
-
Expand the internal storage buffers (capacity) or rehash current keys and values if there are a lot of deleted slots.
- expectedSuiteState - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
This is the assumed set of threads without leaks.
- expectProperty(JsonReader, String) - Static method in class com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
- expression(int) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser
- ExtendedPropertySet() - Constructor for class com.carrotsearch.ant.tasks.junit4.JUnit4.ExtendedPropertySet
- ExtendedVariable() - Constructor for class com.carrotsearch.ant.tasks.junit4.JUnit4.ExtendedVariable
- extensionSource() - Method in annotation type com.carrotsearch.ant.tasks.junit4.listeners.antxml.NotAnt
F
- FAIL - com.carrotsearch.ant.tasks.junit4.JUnit4.JvmOutputAction
- FAIL - com.carrotsearch.ant.tasks.junit4.JUnit4.NoTestsAction
- FAIL - com.carrotsearch.ant.tasks.junit4.NonEmptyWorkDirectoryAction
-
Fail the build if the work directory is not empty.
- failedTests - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
A list of failed tests, if to be displayed at the end.
- failure - Variable in class com.carrotsearch.ant.tasks.junit4.events.FailureEvent
- FAILURE - com.carrotsearch.ant.tasks.junit4.events.aggregated.TestStatus
- FAILURE - Static variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.MavenFailsafeSummaryModel
- FAILURE_MARKER - Static variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Failure marker string.
- FAILURE_STRING - Static variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- 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
- failureMessage - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.MavenFailsafeSummaryModel
- FailureMirror - Class in com.carrotsearch.ant.tasks.junit4.events.mirrors
-
A type-safe mirror of
Failure
. - FailureMirror(Description, String, String, String, String, boolean, boolean) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
- 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
- failureProperty - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Property to set if there were test failures or errors.
- failureProperty - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Property to set to "true" if there is a failure in a test.
- failures - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
- failures - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.MavenFailsafeSummaryModel
- 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
- failures - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummaryEventListener
- field - Variable in class com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule.Entry
- FIELD_OFFSETS - com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.JvmFeature
- FieldModel(Field) - Constructor for class com.carrotsearch.randomizedtesting.ClassModel.FieldModel
- fields - Variable in class com.carrotsearch.randomizedtesting.ClassModel
- fieldsModel(Class<?>) - Static method in class com.carrotsearch.randomizedtesting.ClassModel
- fieldSorter - Static variable in class com.carrotsearch.randomizedtesting.ClassModel
- file - Variable in class com.carrotsearch.ant.tasks.junit4.balancers.MergeHints
-
Output file for merged hints.
- fillBuffer(int) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Returns true once
limit - pos >= minimum
. - filter - Variable in class com.carrotsearch.randomizedtesting.GroupEvaluator
- filter(Filter) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Implement
Filterable
because GUIs depend on it to run tests selectively. - filterArtifacts(Element, Set<Artifact>, ArtifactFilter) - Method in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Return a new set containing only the artifacts accepted by the given filter.
- filteredPrefixes - Variable in class com.carrotsearch.randomizedtesting.TraceFormatting
-
Stack filtering prefixes.
- filterExpression - Variable in class com.carrotsearch.randomizedtesting.GroupEvaluator
- FilterExpressionParser - Class in com.carrotsearch.randomizedtesting
-
Test group conditions filter parser.
- FilterExpressionParser() - Constructor for class com.carrotsearch.randomizedtesting.FilterExpressionParser
- FilterExpressionParser.AndNode - Class in com.carrotsearch.randomizedtesting
- FilterExpressionParser.ClosingBracketNode - Class in com.carrotsearch.randomizedtesting
- FilterExpressionParser.DefaultNode - Class in com.carrotsearch.randomizedtesting
- FilterExpressionParser.EosNode - Class in com.carrotsearch.randomizedtesting
- FilterExpressionParser.IContext - Interface in com.carrotsearch.randomizedtesting
- FilterExpressionParser.InfixNode - Class in com.carrotsearch.randomizedtesting
- FilterExpressionParser.InputRange - Class in com.carrotsearch.randomizedtesting
- FilterExpressionParser.Node - Class in com.carrotsearch.randomizedtesting
- FilterExpressionParser.NotNode - Class in com.carrotsearch.randomizedtesting
- FilterExpressionParser.OpeningBracketNode - Class in com.carrotsearch.randomizedtesting
- FilterExpressionParser.OrNode - Class in com.carrotsearch.randomizedtesting
- FilterExpressionParser.SyntaxException - Exception in com.carrotsearch.randomizedtesting
- FilterExpressionParser.TestGroupNode - Class in com.carrotsearch.randomizedtesting
- filters - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
- filters() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters
- filterStackTrace(String) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Filter stack trace if
TextReport.addConfigured(StackTraceFilter)
. - findNamedChild(Node, String) - Static method in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
- findSingleChild(Node, String) - Static method in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
- finished() - Method in class com.carrotsearch.ant.tasks.junit4.SlaveIdle
- 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.
- fireTestAssumptionFailed(Failure) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl.SubNotifier
- fireTestFailure(Failure) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
-
Invoke to tell listeners that an atomic test failed.
- fireTestFailure(Failure) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl.SubNotifier
- fireTestFailure(RunNotifier, Description, Throwable) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
- fireTestFinished(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
-
Invoke to tell listeners that an atomic test finished.
- fireTestFinished(Description) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl.SubNotifier
- fireTestIgnored(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
-
Invoke to tell listeners that an atomic test was ignored.
- fireTestIgnored(Description) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl.SubNotifier
- fireTestRunFinished(Result) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
-
Do not invoke.
- fireTestRunFinished(Result) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl.SubNotifier
- fireTestRunStarted(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
-
Do not invoke.
- fireTestRunStarted(Description) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl.SubNotifier
- fireTestStarted(Description) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
-
Invoke to tell listeners that an atomic test is about to start.
- fireTestStarted(Description) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl.SubNotifier
- first - Variable in class com.carrotsearch.randomizedtesting.TeeOutputStream
- firstAnnotated(Class<T>, AnnotatedElement...) - Static method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Returns an annotation's instance declared on any annotated element (first one wins) or the default value if not present on any of them.
- flip(int) - Static method in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
- flip(long) - Static method in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
- FLOAT_UNIT - Static variable in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
- flush() - Method in class com.carrotsearch.ant.tasks.junit4.events.Serializer
- flush() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Ensures all buffered data is written to the underlying
Writer
and flushes that writer. - flush() - Method in class com.carrotsearch.ant.tasks.junit4.listeners.LineFlushingWriter
- flush() - Method in class com.carrotsearch.ant.tasks.junit4.listeners.PrefixedWriter
- flush() - Method in class com.carrotsearch.ant.tasks.junit4.slave.EventsOutputStream
- flush() - Method in class com.carrotsearch.ant.tasks.junit4.slave.NullWriter
- flush() - Method in class com.carrotsearch.randomizedtesting.TeeOutputStream
- flush() - Method in class com.carrotsearch.randomizedtesting.WriterOutputStream
-
Flush the stream.
- flush(EventType, JsonWriter, WriterOutputStream, StringWriter) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
- flushBoth(JsonWriter, StringWriter, StringWriter, WriterOutputStream, WriterOutputStream) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
- flushFrequently - Variable in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
-
Flush serialization stream frequently.
- flushOutput() - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Flush output streams.
- flushOutput() - Method in class com.carrotsearch.randomizedtesting.WriterOutputStream
-
Flush the output.
- flushQueue() - Method in class com.carrotsearch.ant.tasks.junit4.events.Serializer
- fmix64(long) - Method in class com.carrotsearch.randomizedtesting.MixWithSuiteName
-
final mix from murmur hash 3.
- forceCloseDaemon - Variable in class com.carrotsearch.ant.tasks.junit4.events.Serializer
- forceCloseDaemonQuit - Variable in class com.carrotsearch.ant.tasks.junit4.events.Serializer
- forkedJvmCount - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Forked concurrent JVM count.
- ForkedJvmInfo - Class in com.carrotsearch.ant.tasks.junit4
-
Static slave information.
- ForkedJvmInfo(int, int) - Constructor for class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
- forkProcess(ForkedJvmInfo, EventBus, CommandlineJava, InputStream, OutputStream, OutputStream, RandomAccessFile) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Execute a slave process.
- forkTimeoutingTask(ThreadLeakControl.StatementRunner, int, List<Throwable>) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Fork or not depending on the timeout value.
- 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(Iterable<StackTraceElement>) - Method in class com.carrotsearch.randomizedtesting.TraceFormatting
- formatStackTrace(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.
- formatStackTrace(StringBuilder, StackTraceElement[]) - Method in class com.carrotsearch.randomizedtesting.TraceFormatting
-
Format a list of stack entries into a string.
- formatThreadStacks(Map<Thread, StackTraceElement[]>) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Dump threads and their current stack trace.
- formatThreadStacksFull() - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Dump thread state.
- formatThrowable(StringBuilder, Throwable) - Method in class com.carrotsearch.randomizedtesting.TraceFormatting
-
Format an exception and all of its nested stacks into a string.
- formatThrowable(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
- forSuite(Statement, Description) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
A
Statement
for wrapping suite-level execution. - forTest(Statement, RandomizedRunner.TestCandidate) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
A
Statement
for wrapping test-level execution. - frequently() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
The exact opposite of
RandomizedTest.rarely()
. - fromAscii(String) - Static method in class com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
- fromSortable(int) - Static method in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
- fromSortable(long) - Static method in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
- fuzzDown(Random, double, double) - Static method in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
-
Fuzzify the input value by decreasing it by a few ulps, but never past min.
- fuzzDown(Random, float, float) - Static method in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
-
Fuzzify the input value by decreasing it by a few ulps, but never past min.
- fuzzUp(Random, double, double) - Static method in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
-
Fuzzify the input value by increasing it by a few ulps, but never past max.
- fuzzUp(Random, float, float) - Static method in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
-
Fuzzify the input value by increasing it by a few ulps, but never past max.
G
- get(long) - Method in interface com.carrotsearch.randomizedtesting.RandomSupplier
- getAccessScope() - Method in class com.carrotsearch.randomizedtesting.ClassModel.ClassElement
- getAccessScope(int) - Static method in class com.carrotsearch.randomizedtesting.ClassModel.ClassElement
- getAllocationStack() - Method in class com.carrotsearch.randomizedtesting.CloseableResourceInfo
- getAllThreads() - Static method in class com.carrotsearch.randomizedtesting.Threads
- getAnnotatedFieldValues(Object, Class<? extends Annotation>, Class<T>) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
- getAnnotatedLeafMethods(Class<? extends Annotation>) - Method in class com.carrotsearch.randomizedtesting.ClassModel
- getAnnotation(Method, Class<T>, boolean) - Method in class com.carrotsearch.randomizedtesting.ClassModel
- getAnnotationsFromClassHierarchy(Class<?>, Class<T>) - Static method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Collect all annotations from a clazz hierarchy.
- 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. - getColumnNumber() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- getCommandline() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Returns the slave VM command line.
- 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
-
Shortcut for
RandomizedContext.current()
. - getCurrentTime() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.HeartBeatEvent
- getDecorators() - Method in class com.carrotsearch.randomizedtesting.Randomness
- getDefaultCharsetName() - Method in class com.carrotsearch.ant.tasks.junit4.events.BootstrapEvent
-
Default charset on the slave.
- getDescription() - Method in class com.carrotsearch.ant.tasks.junit4.events.AbstractEventWithDescription
- 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).
- getDown() - Method in class com.carrotsearch.randomizedtesting.ClassModel.ClassElement
- getElements() - Method in class com.carrotsearch.ant.tasks.junit4.DuplicateResources
- 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
- getExecutionTime() - Method in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
-
Slave execution time.
- 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.
- getIgnoreReason(AnnotatedElement...) - Method in class com.carrotsearch.randomizedtesting.GroupEvaluator
- getIndentLevel(String) - Static method in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
-
Gets the indentation level of the specified line.
- getInstanceArguments() - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner.TestMethodExecution
- getInstanceArguments() - Method in interface com.carrotsearch.randomizedtesting.TestMethodAndParams
- getInstanceProvider(Constructor<?>, Object[]) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Determine instance provider.
- getJvmName() - Method in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
-
JVM name (slave).
- getJvmOutputFile() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.JvmOutputEvent
- getLastActivity() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.HeartBeatEvent
- getLineNumber() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- getMessage() - Method in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
- getMessage() - Method in exception com.carrotsearch.randomizedtesting.FilterExpressionParser.SyntaxException
- getMessage() - Method in exception com.carrotsearch.randomizedtesting.InternalAssumptionViolatedException
- 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
- getPath() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Returns a JsonPath to the current location in the JSON value.
- getPerThread() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Return per-thread resources associated with the current thread.
- 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.
- getProjectName() - Method in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
-
Return the project name or the default project name.
- getProperties() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4.ExtendedPropertySet
- getPropertyFromExpression(String) - Static method in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
- getRandom() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
-
A shorthand for calling
RandomizedContext.getRandomness()
and thenRandomness.getRandom()
. - getRandom() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Shortcut for
RandomizedContext.getRandom()
. - 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.
- getRandomnesses() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Return all
Randomness
on the stack for the current thread. - getRandomSupplier() - Method in class com.carrotsearch.randomizedtesting.Randomness
- getResource() - Method in class com.carrotsearch.randomizedtesting.CloseableResourceInfo
- 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.
- getRunnerSeed() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Runner's seed.
- getRunnerSeedAsString() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Returns the runner's master seed, formatted.
- getScope() - Method in class com.carrotsearch.randomizedtesting.CloseableResourceInfo
- getSeed() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
- getSeed() - Method in class com.carrotsearch.randomizedtesting.Randomness
-
Starting seed, read-only for tests.
- getSerializeNulls() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Returns true if object members are serialized when their value is null.
- getShuffledMethods(Class<? extends Annotation>) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Construct a list of ordered framework methods.
- getSingleChild(Node, String) - Static method in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
- 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.JvmOutputEvent
- 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.
- getStackTrace(Thread) - Static method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
- getStartEvent() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
- 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
- getSupportedFeatures() - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Return the set of supported JVM features that improve the estimation.
- 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.
- getTargetMethod() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
- getTempDir() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Resolve temporary folder.
- getTestClass() - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner.TestCandidate
- getTestFinishedEvent() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
-
This isn't a nice hack but it allows associating
TestFinishedEvent
andAggregatedTestResultEvent
by identity. - getTestMethod() - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner.TestMethodExecution
- getTestMethod() - Method in interface com.carrotsearch.randomizedtesting.TestMethodAndParams
- getTestMethods(Class<?>, ClassModel) - Method in class com.carrotsearch.randomizedtesting.AnnotatedMethodProvider
- getTestMethods(Class<?>, ClassModel) - Method in class com.carrotsearch.randomizedtesting.JUnit3MethodProvider
- getTestMethods(Class<?>, ClassModel) - Method in interface com.carrotsearch.randomizedtesting.TestMethodProvider
-
Determine which methods are test methods.
- getTests() - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
- getThreadName() - Method in class com.carrotsearch.randomizedtesting.CloseableResourceInfo
-
Return the allocating thread's name at the time of creating this resource info.
- getThreads(ThreadFilter...) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Returns all
ThreadLeakGroup
threads for analysis. - getThreads(ThreadGroup) - Static method in class com.carrotsearch.randomizedtesting.Threads
- getThreadsWithTraces(ThreadFilter...) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Returns all
ThreadLeakGroup
applicable threads, with stack traces, for analysis. - getThrowableClass() - Method in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
- getThrowableString() - Method in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
- getTimeout(Integer) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl.TimeoutValue
- getTopThreadGroup() - Static method in class com.carrotsearch.randomizedtesting.Threads
- 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 class com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
- getType() - Method in interface com.carrotsearch.ant.tasks.junit4.events.IEvent
- getType() - Method in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler.OnDiskStreamEvent
- getUncaughtAndClear() - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner.QueueUncaughtExceptionsHandler
-
Return the current list of uncaught exceptions and clear it.
- getUnsupportedFeatures() - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Return the set of unsupported JVM features that improve the estimation.
- getUp() - Method in class com.carrotsearch.randomizedtesting.ClassModel.ClassElement
- getValue(Node, String) - Static method in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
- getWorkingDirectory(ForkedJvmInfo) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
- globalTempDir - Static variable in class com.carrotsearch.randomizedtesting.RandomizedTest
- globalTempDir() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Global temporary directory created for the duration of this class's lifespan.
- globalTimeoutFirst - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl.TimeoutValue
- 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
- globToPattern(String) - Method in class com.carrotsearch.randomizedtesting.GlobFilter
-
Simplified conversion to a regexp.
- goal - Variable in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
-
The name of the goal for which to show help.
- group - Variable in class com.carrotsearch.randomizedtesting.GroupEvaluator.TestGroupInfo
- Group() - Constructor for enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakGroup.Group
- groupEvaluator - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
- GroupEvaluator - Class in com.carrotsearch.randomizedtesting
-
Evaluates enabled/ disabled state for a given test group.
- GroupEvaluator(List<RandomizedRunner.TestCandidate>) - Constructor for class com.carrotsearch.randomizedtesting.GroupEvaluator
- GroupEvaluator.TestGroupInfo - Class in com.carrotsearch.randomizedtesting
- groupName(ThreadGroup) - Static method in class com.carrotsearch.randomizedtesting.Threads
- GUARANTEED_PROPERTIES - Static variable in class com.carrotsearch.ant.tasks.junit4.events.BootstrapEvent
H
- halt(int) - Static method in class com.carrotsearch.ant.tasks.junit4.slave.JvmExit
- haltOnFailure - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Stop the build process if there were errors?
- haltOnFailure - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Stop the build process if there were failures or errors during test execution.
- handler - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Thread.UncaughtExceptionHandler
for capturing uncaught exceptions from the test group and globally. - hasArgsCount(int) - Method in class com.carrotsearch.randomizedtesting.Validation.MethodValidation
- hasErrors - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
- hasFailures - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
- hasFilteringExpression() - Method in class com.carrotsearch.randomizedtesting.GroupEvaluator
- hasGroup(String) - Method in interface com.carrotsearch.randomizedtesting.FilterExpressionParser.IContext
- hash(int) - Static method in class com.carrotsearch.randomizedtesting.MurmurHash3
-
Hashes a 4-byte sequence (Java int).
- hash(int) - Static method in class com.carrotsearch.randomizedtesting.rules.MurmurHash3
-
Hashes a 4-byte sequence (Java int).
- hash(long) - Static method in class com.carrotsearch.randomizedtesting.MurmurHash3
-
Hashes an 8-byte sequence (Java long).
- hash(long) - Static method in class com.carrotsearch.randomizedtesting.rules.MurmurHash3
-
Hashes an 8-byte sequence (Java long).
- hashCode() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
- hashCode() - Method in class com.carrotsearch.randomizedtesting.ClassModel.FieldModel
- hashCode() - Method in class com.carrotsearch.randomizedtesting.ClassModel.MethodModel
- hashCode() - Method in class com.carrotsearch.randomizedtesting.TeeOutputStream
- hasIgnoreAnnotation(RandomizedRunner.TestCandidate) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Returns true if we should ignore this test candidate.
- hasIgnoredAssumptions - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
- hasNext() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Returns true if the current array or object has another element.
- hasPublicNoArgsConstructor() - Method in class com.carrotsearch.randomizedtesting.Validation.ClassValidation
- hasReplicatedSuites() - Method in class com.carrotsearch.ant.tasks.junit4.TestsCollection
- hasReturnType(Class<?>) - Method in class com.carrotsearch.randomizedtesting.Validation.MethodValidation
- 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. - heartbeat - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
- heartbeat - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
- heartbeat - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Sets the heartbeat used to detect inactive/ hung forked tests (JVMs) to the given number of seconds.
- 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.randomizedtesting.junit4_maven_plugin
-
Display help information on junit4-maven-plugin.
Callmvn junit4:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details. - HelpMojo() - Constructor for class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
- HEX - Static variable in class com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
- HEX - Static variable in class com.carrotsearch.randomizedtesting.SeedUtils
- hexValue(char) - Static method in class com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
- hints - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.ExecutionTimesReport
-
Execution time hints.
- hintsFile - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.ExecutionTimesReport
-
The file where suite hints are stored/ updated.
- historyLength - Variable in class com.carrotsearch.ant.tasks.junit4.balancers.MergeHints
- historyLength - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.ExecutionTimesReport
- hostname - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
- HTML - com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport.OutputMethod
- HTML_SAFE_REPLACEMENT_CHARS - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
- htmlSafe - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
- humanReadableUnits(long) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Returns
size
in human-readable units (GB, MB, KB or bytes). - humanReadableUnits(long, DecimalFormat) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Returns
size
in human-readable units (GB, MB, KB or bytes). - humanSizeOf(Object) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Return a human-readable size of a given object.
I
- id - Variable in class com.carrotsearch.ant.tasks.junit4.balancers.ExecutionTimeBalancer.SlaveLoad
- id - Variable in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
-
Unique sequential slave identifier.
- IDEA - com.carrotsearch.randomizedtesting.RunnerContainer
- IdentityHashSet<KType> - Class in com.carrotsearch.randomizedtesting.rules
-
An identity hash set implemented using open addressing.
- IdentityHashSet() - Constructor for class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
-
Creates a hash set with the default capacity of 16.
- IdentityHashSet(int) - Constructor for class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
-
Creates a hash set with the given capacity, load factor of 0.75f.
- IdentityHashSet(int, float) - Constructor for class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
-
Creates a hash set with the given capacity and load factor.
- IDescribable - Interface in com.carrotsearch.ant.tasks.junit4.events
-
An event that carries a
Description
. - IDLE - com.carrotsearch.ant.tasks.junit4.events.EventType
- 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 forked JVM and the master.
- ifNoTests - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
- ifNoTests - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
What to do when no tests were executed (all tests were ignored)? Possible values: ignore, fail, warn.
- IGNORE - com.carrotsearch.ant.tasks.junit4.JUnit4.JvmOutputAction
- IGNORE - com.carrotsearch.ant.tasks.junit4.JUnit4.NoTestsAction
- IGNORE - com.carrotsearch.ant.tasks.junit4.NonEmptyWorkDirectoryAction
-
Ignore any existing files in the work directory.
- IGNORE_REMAINING_TESTS - com.carrotsearch.randomizedtesting.annotations.ThreadLeakZombies.Consequence
-
Ignore any remaining tests once zombie threads have been detected.
- ignoreCause - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
-
If
AggregatedTestResultEvent.status
isTestStatus.IGNORED
then this contains the cause. - IGNORED - com.carrotsearch.ant.tasks.junit4.events.aggregated.TestStatus
- IGNORED_ASSUMPTION - com.carrotsearch.ant.tasks.junit4.events.aggregated.TestStatus
- ignoredProperties - Variable in class com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule
-
Ignored property keys.
- ignoredProperties - Variable in class com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule
-
Ignored property keys.
- ignoredSuites - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummary
- ignoredSuites - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummaryEventListener
- ignoreDuplicateSuites - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
- ignoreEmptyValue - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4.ExtendedPropertySet
- ignoreEmptyValue - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4.ExtendedVariable
- ignores - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummary
- ignores - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummaryEventListener
- in - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
The input JSON.
- includes - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
A list of <include> elements specifying the tests (by pattern) that should be included in testing.
- inContext(Object) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.IOContext
- indent - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
A string containing a full set of spaces for a single level of indentation, or null for no pretty printing.
- indent - Static variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- indentSize - Variable in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
-
The number of spaces per indentation level, should be positive.
- InfixNode() - Constructor for class com.carrotsearch.randomizedtesting.FilterExpressionParser.InfixNode
- 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
- input - Variable in class com.carrotsearch.ant.tasks.junit4.events.Deserializer
- InputRange(String, int, int) - Constructor for class com.carrotsearch.randomizedtesting.FilterExpressionParser.InputRange
- instance - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner.SameInstanceProvider
- INSTANCE_PER_CONSTRUCTOR_ARGS - com.carrotsearch.randomizedtesting.annotations.TestCaseInstanceProvider.Type
-
Each set of constructor arguments (provided from
ParametersFactory
or the default empty constructor) creates an instance that is then reused for all of the suite's tests. - INSTANCE_PER_TEST_METHOD - com.carrotsearch.randomizedtesting.annotations.TestCaseInstanceProvider.Type
-
Each method (test case) will receive a new instance of the class.
- instanceProvider - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner.TestCandidate
- instanceProvider - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner.TestMethodExecution
- InstanceProvider - Interface in com.carrotsearch.randomizedtesting
-
Provide a test instance.
- instantiate(String) - Method in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
-
Instantiate test classes (or try to).
- instantiateFilters(List<Throwable>, Class<?>) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Instantiate a full set of
ThreadFilter
s for a suite. - InternalAssumptionViolatedException - Exception in com.carrotsearch.randomizedtesting
-
We have our own "custom" assumption class because of JUnit's internal closed-up architecture.
- InternalAssumptionViolatedException(String) - Constructor for exception com.carrotsearch.randomizedtesting.InternalAssumptionViolatedException
- InternalAssumptionViolatedException(String, Throwable) - Constructor for exception com.carrotsearch.randomizedtesting.InternalAssumptionViolatedException
- INTERRUPT - com.carrotsearch.randomizedtesting.annotations.ThreadLeakAction.Action
-
Try to
Thread.interrupt()
any leaked threads. - invoke(Method, Object, Object...) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Invoke a given method on a suiteClass instance (can be null for static methods).
- IOContext - Class in com.carrotsearch.ant.tasks.junit4.gson.stream
- IOContext() - Constructor for class com.carrotsearch.ant.tasks.junit4.gson.stream.IOContext
- 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
- isConcreteClass() - Method in class com.carrotsearch.randomizedtesting.Validation.ClassValidation
- isConstantSeedForAllIterations(Method) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Determine if a given method's iterations should run with a fixed seed or not.
- isEmpty() - Method in class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
- isErrorViolation() - Method in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
- isFilesystemOnly() - Method in class com.carrotsearch.ant.tasks.junit4.DuplicateResources
- isGroupEnabled(Class<? extends Annotation>) - Method in class com.carrotsearch.randomizedtesting.GroupEvaluator
- ISHOULDHAVEBECOMEALAWYER - com.carrotsearch.randomizedtesting.Rants.RantType
- isHtmlSafe() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Returns true if this writer writes JSON that's safe for inclusion in HTML and XML documents.
- isLenient() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Returns true if this parser is liberal in what it accepts.
- isLenient() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Returns true if this writer has relaxed syntax rules.
- isLiteral(char) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- isMappableXmlText(CharSequence) - Static method in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.XmlStringTransformer
- isNightly() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Return
true
ifNightly
test group is explicitly enabled. - isNightly() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Returns true if
Nightly
test group is enabled. - isNotEmpty(String) - Static method in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
- isNotStatic() - Method in class com.carrotsearch.randomizedtesting.Validation.MethodValidation
- ISO8859_1 - Static variable in class com.carrotsearch.randomizedtesting.RandomizedTest
- isOdd(int) - Method in class com.carrotsearch.randomizedtesting.generators.CodepointSetGenerator
-
Is a given number odd?
- isolateWorkingDirectories - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
- isolateWorkingDirectories - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
If set to
true
each forked JVM gets a separate working directory under whatever is set indir
. - isPassthrough() - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- isPublic() - Method in class com.carrotsearch.randomizedtesting.Validation.ClassValidation
- isPublic() - Method in class com.carrotsearch.randomizedtesting.Validation.MethodValidation
- isStatic() - Method in class com.carrotsearch.randomizedtesting.Validation.MethodValidation
- 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
- isSupportedJVM() - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Returns true, if the current JVM is fully supported by
RamUsageEstimator
. - isSurrogate(char) - Method in class com.carrotsearch.randomizedtesting.generators.CodepointSetGenerator
- isTestFiltered(GroupEvaluator, RandomizedRunner.TestCandidate) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
- isTimedOut() - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
- IStreamEvent - Interface in com.carrotsearch.ant.tasks.junit4.events
- isUniqueSuiteNames() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
- isVerifying() - Static method in class com.carrotsearch.randomizedtesting.AssertingRandom
- iterations() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.Repeat
-
Repeat this many iterations.
- 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.
- iterationsOverride - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
The number of each test's randomized iterations.
- iterator() - Method in class com.carrotsearch.ant.tasks.junit4.DuplicateResources
- iterator() - Method in class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
J
- JAVA_VENDOR - Static variable in class com.carrotsearch.randomizedtesting.rules.Constants
- JAVA_VERSION - Static variable in class com.carrotsearch.randomizedtesting.rules.Constants
-
The value of System.getProperty("java.version").
- JRE_IS_64BIT - Static variable in class com.carrotsearch.randomizedtesting.rules.Constants
-
True iff running on a 64bit JVM
- JSON - com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport.OutputMethod
- JsonHelpers - Class in com.carrotsearch.ant.tasks.junit4.events
- JsonHelpers() - Constructor for class com.carrotsearch.ant.tasks.junit4.events.JsonHelpers
- JSONP - com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport.OutputMethod
- jsonpMethod - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
- JsonReader - Class in com.carrotsearch.ant.tasks.junit4.gson.stream
-
Reads a JSON (RFC 4627) encoded value as a stream of tokens.
- JsonReader(Reader) - Constructor for class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Creates a new instance that reads a JSON-encoded stream from
in
. - 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
- JsonReport.OutputMethod - Enum in com.carrotsearch.ant.tasks.junit4.listeners.json
- JsonScope - Class in com.carrotsearch.ant.tasks.junit4.gson.stream
-
Lexical scoping elements within a JSON reader or writer.
- JsonScope() - Constructor for class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonScope
- JsonToken - Enum in com.carrotsearch.ant.tasks.junit4.gson.stream
-
A structure, name or value type in a JSON-encoded string.
- JsonToken() - Constructor for enum com.carrotsearch.ant.tasks.junit4.gson.stream.JsonToken
- jsonValue(String) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Writes
value
directly to the writer without quoting or escaping. - jsonWriter - Variable in class com.carrotsearch.ant.tasks.junit4.events.Serializer
- jsonWriter - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
- JsonWriter - Class in com.carrotsearch.ant.tasks.junit4.gson.stream
-
Writes a JSON (RFC 4627) encoded value to a stream, one token at a time.
- JsonWriter(Writer) - Constructor for class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Creates a new instance that writes a JSON-encoded stream to
out
. - 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 - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
- junit4 - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
- 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
- junitArtifactName - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Specifies the name of the JUnit artifact used for running tests.
- jvm - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
The command used to invoke the Java Virtual Machine, default is 'java'.
- JVM_INFO_STRING - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
JVM info string for debugging and reports.
- JVM_NAME - Static variable in class com.carrotsearch.randomizedtesting.rules.Constants
- JVM_VENDOR - Static variable in class com.carrotsearch.randomizedtesting.rules.Constants
- JVM_VERSION - Static variable in class com.carrotsearch.randomizedtesting.rules.Constants
- jvmArgs - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Add an additional argument to any forked JVM.
- JvmExit - Class in com.carrotsearch.ant.tasks.junit4.slave
- JvmExit() - Constructor for class com.carrotsearch.ant.tasks.junit4.slave.JvmExit
- JvmFeature(String) - Constructor for enum com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.JvmFeature
- jvmIdFormat - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Format line for JVM ID string.
- jvmOutput - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.JvmOutputEvent
- jvmOutputAction - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
- jvmOutputAction - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
What should be done on unexpected JVM output? JVM may write directly to the original descriptors, bypassing redirections of System.out and System.err.
- JvmOutputAction() - Constructor for enum com.carrotsearch.ant.tasks.junit4.JUnit4.JvmOutputAction
- JvmOutputEvent - Class in com.carrotsearch.ant.tasks.junit4.events.aggregated
-
An event emitted when there was any unexpected JVM output from the forked JVM.
- JvmOutputEvent(ForkedJvmInfo, File) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.aggregated.JvmOutputEvent
K
- keys - Variable in class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
-
All of set entries.
- killAttempts - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
How many attempts to interrupt and then kill a runaway thread before giving up?
- killWait - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
How long to wait between attempts to kill a runaway thread (millis).
- KnownSystemThread() - Constructor for class com.carrotsearch.randomizedtesting.ThreadLeakControl.KnownSystemThread
L
- lastActivity - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.HeartBeatEvent
- lastActivity - Variable in class com.carrotsearch.ant.tasks.junit4.events.LowLevelHeartBeatEvent
- lastActivity - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
-
A timestamp of last received event (GH-106).
- lastResortMemory - Static variable in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
-
Last resort memory pool released under low memory conditions.
- lastSuite - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
- lbp - Variable in class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
- leakThreshold - Variable in class com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule
- leaveTemporary - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Set to true to leave temporary files (for diagnostics).
- leaveTemporary - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Set to true to leave temporary files for diagnostics.
- led(FilterExpressionParser.Node) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.ClosingBracketNode
- led(FilterExpressionParser.Node) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.InfixNode
- led(FilterExpressionParser.Node) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
- len - Variable in class com.carrotsearch.randomizedtesting.FilterExpressionParser.InputRange
- lenient - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
True to accept non-spec compliant JSON
- lenient - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
- LF - Static variable in class com.carrotsearch.ant.tasks.junit4.listeners.PrefixedWriter
- LifecycleScope - Enum in com.carrotsearch.randomizedtesting
-
Lifecycle stages for tracking resources.
- LifecycleScope() - Constructor for enum com.carrotsearch.randomizedtesting.LifecycleScope
- limit - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- lineBuffer - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.PrefixedWriter
- LineFlushingWriter - Class in com.carrotsearch.ant.tasks.junit4.listeners
- LineFlushingWriter(Writer) - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.LineFlushingWriter
- lineLength - Variable in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
-
The maximum length of a display line, should be positive.
- lineNumber - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- lineStart - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- linger() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.ThreadLeakLingering
-
Time in millis to "linger" for any left-behind threads.
- listeners - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Listeners listening on the event bus.
- listeners - Variable in class com.carrotsearch.ant.tasks.junit4.ListenersList
- listeners - Variable in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
-
A linked list is more convenient for descending iterators.
- listeners - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Raw listeners configuration.
- 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 insideRandomizedRunner
. - LISTENERS - com.carrotsearch.ant.tasks.junit4.JUnit4.JvmOutputAction
- ListenersList - Class in com.carrotsearch.ant.tasks.junit4
- ListenersList(List<Object>) - Constructor for class com.carrotsearch.ant.tasks.junit4.ListenersList
- listFiles(Path) - Static method in class com.carrotsearch.ant.tasks.junit4.JUnit4
- loadBalanceSuites(List<ForkedJvmInfo>, TestsCollection, List<SuiteBalancer>) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Perform load balancing of the set of suites.
- loadFactor - Variable in class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
-
The load factor for this set (fraction of allocated or deleted slots before the buffers must be rehashed or reallocated).
- 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
- LocalSlaveStreamHandler.OnDiskStreamEvent - Class in com.carrotsearch.ant.tasks.junit4
- location - Variable in class com.carrotsearch.randomizedtesting.TempPathResource
- lock - Variable in class com.carrotsearch.ant.tasks.junit4.events.Serializer
-
Should help in ensuring the right order of stream writes.
- lock - Static variable in class com.carrotsearch.randomizedtesting.SysGlobals
- lockInfoStrings - Static variable in class com.carrotsearch.randomizedtesting.Threads
- log - Variable in class com.carrotsearch.maven.plugins.junit4.MavenListenerAdapter
- logger - Static variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Package scope logger.
- LOGGER - Static variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Shared LOGGER.
- logShort(CharSequence) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
logShort, trim whitespace.
- logShort(CharSequence, boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Log a message line to the output.
- lookupInContext(Object) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.IOContext
- 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
- m - Variable in class com.carrotsearch.randomizedtesting.Validation.MethodValidation
- 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
- MAIN - com.carrotsearch.randomizedtesting.annotations.ThreadLeakGroup.Group
-
The "main" thread group and descendants will be tracked.
- mainThreadGroup - Static variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
The "main" thread group we will be tracking (including subgroups).
- MalformedJsonException - Exception in com.carrotsearch.ant.tasks.junit4.gson.stream
-
Thrown when a reader encounters malformed JSON.
- MalformedJsonException(String) - Constructor for exception com.carrotsearch.ant.tasks.junit4.gson.stream.MalformedJsonException
- MalformedJsonException(String, Throwable) - Constructor for exception com.carrotsearch.ant.tasks.junit4.gson.stream.MalformedJsonException
- MalformedJsonException(Throwable) - Constructor for exception com.carrotsearch.ant.tasks.junit4.gson.stream.MalformedJsonException
- markSupported() - Method in class com.carrotsearch.ant.tasks.junit4.TailInputStream
- masterSeed() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Return the master seed of
JUnit4.getSeed()
. - mavenExtensions - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
- MavenFailsafeSummaryModel - Class in com.carrotsearch.ant.tasks.junit4.listeners.antxml
- MavenFailsafeSummaryModel() - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.antxml.MavenFailsafeSummaryModel
- MavenFailsafeSummaryModel(TestsSummary) - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.antxml.MavenFailsafeSummaryModel
- MavenListenerAdapter - Class in com.carrotsearch.maven.plugins.junit4
-
An adapter to maven logging system from ANT
BuildListener
. - MavenListenerAdapter(Log) - Constructor for class com.carrotsearch.maven.plugins.junit4.MavenListenerAdapter
- max - Variable in class com.carrotsearch.ant.tasks.junit4.balancers.TopHints
-
Max entries to display.
- maxClassNameColumns - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Maximum number of columns for class name.
- maxLineLength - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.PrefixedWriter
- maxMemory - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Set the maximum memory to be used by all forked JVMs.
- measureSizeOf(ArrayList<Object>) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Non-recursive version of object descend.
- members(Class<?>) - Method in class com.carrotsearch.randomizedtesting.ClassModel.ModelBuilder
- 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
. - 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
- message - Variable in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
- message - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.FailureModel
- message - Variable in exception com.carrotsearch.randomizedtesting.InternalAssumptionViolatedException
- messageLogged(BuildEvent) - Method in class com.carrotsearch.maven.plugins.junit4.MavenListenerAdapter
- metadataSource - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
For retrieval of artifact's metadata.
- method - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
-
How should the report be written?
- method - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner.TestCandidate
- method - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner.TestMethodExecution
- 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.
- methods - Variable in class com.carrotsearch.randomizedtesting.ClassModel
- methodsModel(Class<?>) - Static method in class com.carrotsearch.randomizedtesting.ClassModel
- methodSorter - Static variable in class com.carrotsearch.randomizedtesting.ClassModel
- MethodValidation(Method) - Constructor for class com.carrotsearch.randomizedtesting.Validation.MethodValidation
- millis() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.Timeout
-
Timeout time in millis.
- millis() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.TimeoutSuite
-
Timeout time in millis.
- MIN_CAPACITY - Static variable in class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
-
Minimum capacity for the set.
- MIN_INCOMPLETE_INTEGER - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- MixWithSuiteName - Class in com.carrotsearch.randomizedtesting
-
A
SeedDecorator
to be used withSeedDecorators
annotation to modify the masterRandomness
with a hash off the suite's class name. - MixWithSuiteName() - Constructor for class com.carrotsearch.randomizedtesting.MixWithSuiteName
- model(T_MEMBER) - Method in class com.carrotsearch.randomizedtesting.ClassModel.ModelBuilder
- ModelBuilder() - Constructor for class com.carrotsearch.randomizedtesting.ClassModel.ModelBuilder
- modifiers - Variable in class com.carrotsearch.randomizedtesting.ClassModel.ClassElement
- multiplexStdStreams - Static variable in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
-
Multiplex calls to System streams to both event stream and the original streams?
- multiplier() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
A multiplier can be used to linearly scale certain values.
- MurmurHash3 - Class in com.carrotsearch.randomizedtesting
-
Hash routines for primitive types.
- MurmurHash3 - Class in com.carrotsearch.randomizedtesting.rules
-
Hash routines for primitive types.
- MurmurHash3() - Constructor for class com.carrotsearch.randomizedtesting.MurmurHash3
- MurmurHash3() - Constructor for class com.carrotsearch.randomizedtesting.rules.MurmurHash3
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 - Variable in class com.carrotsearch.randomizedtesting.GroupEvaluator.TestGroupInfo
- name() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.TestGroup
-
The name of a test group.
- name(String) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Encodes the property name.
- Name - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
Used to annotate constructor parameters for parameterized tests.
- NAME - com.carrotsearch.ant.tasks.junit4.gson.stream.JsonToken
-
A JSON property name.
- NEVER - com.carrotsearch.ant.tasks.junit4.listeners.TextReport.OutputMode
-
Don't display the output, even on test failures.
- newEnvironment - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Set new environment for the forked process?
- newEnvironment - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Set new environment for the forked process?
- newInstance() - Method in interface com.carrotsearch.randomizedtesting.InstanceProvider
- newInstance() - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner.NewInstanceProvider
- newInstance() - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner.SameInstanceProvider
- NewInstanceProvider(Constructor<?>, Object[]) - Constructor for class com.carrotsearch.randomizedtesting.RandomizedRunner.NewInstanceProvider
- newline() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
- newServerSocket(LifecycleScope) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Assign a temporary server socket.
- newSuite(String) - Method in class com.carrotsearch.ant.tasks.junit4.SlaveIdle
- newTempDir() - Method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Creates a new temporary directory for the
LifecycleScope.TEST
duration. - newTempDir(LifecycleScope) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Creates a temporary directory, deleted after the given lifecycle phase.
- newTempFile() - Method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Creates a new temporary file for the
LifecycleScope.TEST
duration. - newTempFile(LifecycleScope) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Creates a new temporary file deleted after the given lifecycle phase completes.
- next(int) - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
- next(int) - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
- nextBoolean() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Returns the
boolean
value of the next token, consuming it. - nextBoolean() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
- nextBoolean() - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
- nextBytes(byte[]) - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
- nextBytes(byte[]) - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
- nextCapacity(int) - Method in class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
-
Return the next possible capacity, counting from the current buffers' size.
- nextDouble() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Returns the
double
value of the next token, consuming it. - nextDouble() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
- nextDouble() - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
- nextFloat() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
- nextFloat() - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
- nextGaussian() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
- nextGaussian() - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
- nextInt() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Returns the
int
value of the next token, consuming it. - nextInt() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
- nextInt() - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
- nextInt(int) - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
- nextInt(int) - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
- nextLong() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Returns the
long
value of the next token, consuming it. - nextLong() - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
- nextLong() - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
- nextLong(Random, long) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomNumbers
-
Similar to
Random.nextInt(int)
, but returns a long between 0 (inclusive) andn
(exclusive). - nextName() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Returns the next token, a
property name
, and consumes it. - nextNonWhitespace(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Returns the next character in the stream that is neither whitespace nor a part of a comment.
- nextNull() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Consumes the next token from the JSON stream and asserts that it is a literal null.
- nextQuotedValue(char) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Returns the string up to but not including
quote
, unescaping any character escape sequences encountered along the way. - nextString() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Returns the
string
value of the next token, consuming it. - nextTempName() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Next temporary filename.
- nextUnquotedValue() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Returns an unquoted value as a string.
- Nightly - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
An annotation indicating a given test case (or suite) should run only during nightly tests.
- NO_TESTS - Static variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.MavenFailsafeSummaryModel
- NoClassHooksShadowingRule - Class in com.carrotsearch.randomizedtesting.rules
-
Don't allow
BeforeClass
andAfterClass
hook shadowing as it is most likely a user error. - NoClassHooksShadowingRule() - Constructor for class com.carrotsearch.randomizedtesting.rules.NoClassHooksShadowingRule
- node - Variable in exception com.carrotsearch.randomizedtesting.FilterExpressionParser.SyntaxException
- Node() - Constructor for class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
- nodes - Variable in class com.carrotsearch.randomizedtesting.FilterExpressionParser
- 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
andAfter
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
- NON_EXECUTE_PREFIX - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
The only non-execute prefix this parser permits
- NONE - com.carrotsearch.randomizedtesting.annotations.ThreadLeakScope.Scope
-
No thread leak checks at all.
- NONEMPTY_ARRAY - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonScope
-
A array with at least one value requires a comma and newline before the next element.
- NONEMPTY_DOCUMENT - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonScope
-
A document with at an array or object.
- NONEMPTY_OBJECT - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonScope
-
An object with at least one name/value pair requires a comma and newline before the next element.
- nonEmptyWorkDirAction - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
- NonEmptyWorkDirectoryAction - Enum in com.carrotsearch.ant.tasks.junit4
- NonEmptyWorkDirectoryAction() - Constructor for enum com.carrotsearch.ant.tasks.junit4.NonEmptyWorkDirectoryAction
- noSetSeed() - Static method in class com.carrotsearch.randomizedtesting.AssertingRandom
- 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
- NotAnt - Annotation Type in com.carrotsearch.ant.tasks.junit4.listeners.antxml
-
Local markup to indicate which elements are extensions and where.
- NoTestsAction() - Constructor for enum com.carrotsearch.ant.tasks.junit4.JUnit4.NoTestsAction
- notifier() - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Return the
RunNotifier
that should be used by any sub-statements running actual instance-scope tests. - notifierLock - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Atomic section for passing notifier events.
- notifyListener(RunListener) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier.SafeNotifier
- NotNode() - Constructor for class com.carrotsearch.randomizedtesting.FilterExpressionParser.NotNode
- nud() - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.DefaultNode
- nud() - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
- nud() - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.NotNode
- nud() - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.OpeningBracketNode
- nud() - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.TestGroupNode
- NULL - com.carrotsearch.ant.tasks.junit4.gson.stream.JsonToken
-
A JSON
null
. - nullValue() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Encodes
null
. - NullWriter - Class in com.carrotsearch.ant.tasks.junit4.slave
- NullWriter() - Constructor for class com.carrotsearch.ant.tasks.junit4.slave.NullWriter
- NUM_BYTES_ARRAY_HEADER - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Number of bytes to represent an array header (no content, but with alignments).
- NUM_BYTES_BOOLEAN - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
- NUM_BYTES_BYTE - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
- NUM_BYTES_CHAR - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
- NUM_BYTES_DOUBLE - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
- NUM_BYTES_FLOAT - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
- NUM_BYTES_INT - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
- NUM_BYTES_LONG - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
- NUM_BYTES_OBJECT_ALIGNMENT - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
A constant specifying the object alignment boundary inside the JVM.
- NUM_BYTES_OBJECT_HEADER - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Number of bytes to represent an object header (no fields, no alignments).
- NUM_BYTES_OBJECT_REF - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Number of bytes this jvm uses to represent an object reference.
- NUM_BYTES_SHORT - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
- NUMBER - com.carrotsearch.ant.tasks.junit4.gson.stream.JsonToken
-
A JSON number represented in this API by a Java
double
,long
, orint
. - NUMBER_CHAR_DECIMAL - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- NUMBER_CHAR_DIGIT - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- NUMBER_CHAR_EXP_DIGIT - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- NUMBER_CHAR_EXP_E - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- NUMBER_CHAR_EXP_SIGN - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- NUMBER_CHAR_FRACTION_DIGIT - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- NUMBER_CHAR_NONE - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- NUMBER_CHAR_SIGN - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
O
- OBJECT_ALIGNMENT - com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.JvmFeature
- OBJECT_REFERENCE_SIZE - com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.JvmFeature
- objectFieldOffsetMethod - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
A handle to
sun.misc.Unsafe#fieldOffset(Field)
. - ObjectProcedure<KType> - Interface in com.carrotsearch.randomizedtesting
- 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
-
An alias for
StringGenerator.ofCodeUnitsLength(Random, int, int)
. - 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
andmaxUtf8Length
. - OK - com.carrotsearch.ant.tasks.junit4.events.aggregated.TestStatus
- onChildBootstrap(ChildBootstrap) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- OnDiskStreamEvent(EventType, RandomAccessFile, long, long) - Constructor for class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler.OnDiskStreamEvent
- ONE_GB - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
One gigabyte bytes.
- ONE_KB - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
One kilobyte bytes.
- ONE_MB - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
One megabyte bytes.
- onEnd(AggregatedQuitEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.ExecutionTimesReport
-
Write back to hints file.
- ONERROR - com.carrotsearch.ant.tasks.junit4.listeners.TextReport.OutputMode
-
Display the output only if a test/ suite failed.
- onHeartbeat(HeartBeatEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- onJvmOutput(JvmOutputEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- onlyUniqueSuiteNames() - Method in class com.carrotsearch.ant.tasks.junit4.TestsCollection
- onNonEmptyWorkDirectory - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Sets the action performed when current work directory for a forked JVM is not empty and
isolateWorkingDirectories
is set to true. - onOutput(PartialOutputEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- onQuit(AggregatedQuitEvent) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
-
Write the summary file, if requested.
- 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
- oomClass - Static variable in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
-
Preallocate and load in advance.
- open(int, String) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Enters a new scope by appending any necessary whitespace and the given bracket.
- OpeningBracketNode() - Constructor for class com.carrotsearch.randomizedtesting.FilterExpressionParser.OpeningBracketNode
- OPTION_DEBUGSTREAM - Static variable in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
-
Should the debug stream from the runner be created? It's named after the events file with
.debug
suffix. - 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).
- or(ThreadFilter...) - Static method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
- OrderedRunNotifier - Class in com.carrotsearch.ant.tasks.junit4.slave
- OrderedRunNotifier() - Constructor for class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
- OrderedRunNotifier.SafeNotifier - Class in com.carrotsearch.ant.tasks.junit4.slave
-
Notify listeners in the requested order
- OrNode() - Constructor for class com.carrotsearch.randomizedtesting.FilterExpressionParser.OrNode
- os - Variable in class com.carrotsearch.ant.tasks.junit4.slave.EventsOutputStream
- OS_ARCH - Static variable in class com.carrotsearch.randomizedtesting.rules.Constants
- OS_VERSION - Static variable in class com.carrotsearch.randomizedtesting.rules.Constants
- out - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
The output data, containing at most one top-level array or object.
- outer - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.ExecutionTimesReport
-
Outer task.
- output - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
A
Writer
for writing output messages. - outputFile - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
TextReport.output
file name. - OutputMethod() - Constructor for enum com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport.OutputMethod
- outputMode - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- OutputMode() - Constructor for enum com.carrotsearch.ant.tasks.junit4.listeners.TextReport.OutputMode
- outputStreams - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
- outputStreams - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
- outStream - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
sysout recode stream.
- outWriter - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Standard output, prefixed and decoded.
- overridesOrShadows(ClassModel.ClassElement<Field, ClassModel.FieldModel>) - Method in class com.carrotsearch.randomizedtesting.ClassModel.FieldModel
- overridesOrShadows(ClassModel.ClassElement<Method, ClassModel.MethodModel>) - Method in class com.carrotsearch.randomizedtesting.ClassModel.MethodModel
- overridesOrShadows(ClassModel.ClassElement<T, E>) - Method in class com.carrotsearch.randomizedtesting.ClassModel.ClassElement
- owner - Variable in class com.carrotsearch.ant.tasks.junit4.balancers.ExecutionTimeBalancer
-
Owning task (logging).
- ownerName - Variable in class com.carrotsearch.randomizedtesting.AssertingRandom
- ownerRef - Variable in class com.carrotsearch.randomizedtesting.AssertingRandom
P
- PACKAGE - com.carrotsearch.randomizedtesting.ClassModel.Scope
- packaging - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Project packaging mode to skip POM-projects
- padTo(int, String, String) - Static method in class com.carrotsearch.ant.tasks.junit4.FormattingUtils
- parallelism - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
- parallelism - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
The number of parallel f.
- 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.
- params - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner.TestMethodExecution
- paramsWrapper - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner.TestMethodExecution
- 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
- pathIndices - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- pathNames - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- pattern - Variable in class com.carrotsearch.randomizedtesting.GlobFilter
- peek() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Returns the type of the next token without consuming it.
- peek() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Returns the value on the top of the stack.
- peeked - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- PEEKED_BEGIN_ARRAY - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- PEEKED_BEGIN_OBJECT - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- PEEKED_BUFFERED - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
When this is returned, the string value is stored in peekedString.
- PEEKED_DOUBLE_QUOTED - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- PEEKED_DOUBLE_QUOTED_NAME - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- PEEKED_END_ARRAY - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- PEEKED_END_OBJECT - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- PEEKED_EOF - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- PEEKED_FALSE - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- PEEKED_LONG - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
When this is returned, the integer value is stored in peekedLong.
- PEEKED_NONE - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- PEEKED_NULL - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- PEEKED_NUMBER - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- PEEKED_SINGLE_QUOTED - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- PEEKED_SINGLE_QUOTED_NAME - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- PEEKED_TRUE - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- PEEKED_UNQUOTED - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- PEEKED_UNQUOTED_NAME - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- peekedLong - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
A peeked value that was composed entirely of digits with an optional leading dash.
- peekedNumberLength - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
The number of characters in a peeked number literal.
- peekedString - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
A peeked string that should be parsed on the next double, long or string.
- peekKeyword() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- peekNumber() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- perThreadResources - Variable in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Per thread resources for each context.
- PerThreadResources() - Constructor for class com.carrotsearch.randomizedtesting.RandomizedContext.PerThreadResources
- 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
- pidString - Variable in class com.carrotsearch.ant.tasks.junit4.events.BootstrapEvent
- PIPE - com.carrotsearch.ant.tasks.junit4.JUnit4.JvmOutputAction
- pleaseStop() - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
-
Ask that the tests run stop before starting the next test.
- pleaseStop() - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl.SubNotifier
-
Detach from target notifier.
- PLUGIN_HELP_PATH - Static variable in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
- pluginArtifactMap - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Map of plugin artifacts.
- pluralize(int, String) - Static method in class com.carrotsearch.ant.tasks.junit4.Pluralize
- Pluralize - Class in com.carrotsearch.ant.tasks.junit4
- Pluralize() - Constructor for class com.carrotsearch.ant.tasks.junit4.Pluralize
- popAndDestroy() - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Pop a randomness off the stack and dispose it.
- populateJUnitElement(Element) - Method in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Populate junit4 task with attributes and values.
- pos - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- prefix - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.PrefixedWriter
- prefix - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Initializes custom prefix for all junit4 properties.
- prefix - Variable in class com.carrotsearch.randomizedtesting.SysGlobals
-
Initialized singleton's prefix.
- PrefixedWriter - Class in com.carrotsearch.ant.tasks.junit4.listeners
-
Prefixes every new line with a given byte [], synchronizing multiple streams to emit consistent lines.
- PrefixedWriter(String, Writer, int) - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.PrefixedWriter
- prefixProperty(String) - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
Prefix a given property name with a common prefix.
- prefixWith(String, String) - Method in class com.carrotsearch.randomizedtesting.SysGlobals
- primitiveSizes - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Sizes of primitive classes.
- printSummary - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Print summary of all tests at the end.
- printSummary - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Prints the summary of all executed, ignored etc.
- PRIVATE - com.carrotsearch.randomizedtesting.ClassModel.Scope
- processInput(boolean) - Method in class com.carrotsearch.randomizedtesting.WriterOutputStream
-
Decode the contents of the input ByteBuffer into a CharBuffer.
- processSystemProperties() - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
- processTestResources() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Process test resources.
- processUncaught(List<Throwable>, List<RandomizedRunner.UncaughtException>) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Process uncaught exceptions.
- project - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
The Maven project object
- projectArtifactMap - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Map of project artifacts.
- projectName - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
- 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
- propertyName - Variable in class com.carrotsearch.ant.tasks.junit4.PickFromListTask
-
Name of the property to set.
- propertyName - Variable in class com.carrotsearch.ant.tasks.junit4.PickSeedTask
-
Name of the property to set.
- PROTECTED - com.carrotsearch.randomizedtesting.ClassModel.Scope
- prune(Description, Set<Description>) - Static method in class com.carrotsearch.randomizedtesting.RandomizedRunner
- PUBLIC - com.carrotsearch.randomizedtesting.ClassModel.Scope
- pumpers - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
- pumpEvents(InputStream) - Method in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
-
Pump events from event stream.
- push(int) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- push(int) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
- push(Randomness) - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Push a new randomness on top of the stack.
Q
- QueueUncaughtExceptionsHandler() - Constructor for class com.carrotsearch.randomizedtesting.RandomizedRunner.QueueUncaughtExceptionsHandler
- QUIT - com.carrotsearch.ant.tasks.junit4.events.EventType
- 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
- quitReceived - Variable in class com.carrotsearch.ant.tasks.junit4.DiagnosticsListener
- quitReceived() - Method in class com.carrotsearch.ant.tasks.junit4.DiagnosticsListener
R
- raf - Variable in class com.carrotsearch.ant.tasks.junit4.TailInputStream
- RamUsageEstimator - Class in com.carrotsearch.randomizedtesting.rules
-
Estimates the size (memory representation) of Java objects.
- RamUsageEstimator() - Constructor for class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
No instantiation.
- RamUsageEstimator.ClassCache - Class in com.carrotsearch.randomizedtesting.rules
-
Cached information about a given class.
- RamUsageEstimator.DummyOneFieldObject - Class in com.carrotsearch.randomizedtesting.rules
- RamUsageEstimator.DummyTwoLongObject - Class in com.carrotsearch.randomizedtesting.rules
- RamUsageEstimator.JvmFeature - Enum in com.carrotsearch.randomizedtesting.rules
-
JVM diagnostic features.
- ramUsed - Variable in class com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule.Entry
- random - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
- random - Variable in class com.carrotsearch.ant.tasks.junit4.PickFromListTask
-
Random seed to use.
- random - Variable in class com.carrotsearch.randomizedtesting.Randomness
- randomAsciiAlphanumOfLength(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomAsciiAlphanumOfLength(Random, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
- randomAsciiAlphanumOfLengthBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomAsciiAlphanumOfLengthBetween(Random, int, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
- randomAsciiLettersOfLength(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomAsciiLettersOfLength(Random, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
- randomAsciiLettersOfLengthBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomAsciiLettersOfLengthBetween(Random, int, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
- randomAsciiOfLength(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Deprecated.Use
RandomizedTest.randomAsciiLettersOfLength(int)
instead. - randomAsciiOfLength(Random, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
Deprecated.
- randomAsciiOfLengthBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Deprecated.
- randomAsciiOfLengthBetween(Random, int, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
-
Deprecated.
- randomBoolean() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomByte() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- RandomBytes - Class in com.carrotsearch.randomizedtesting.generators
-
Random byte sequence generators.
- RandomBytes() - Constructor for class com.carrotsearch.randomizedtesting.generators.RandomBytes
- randomBytesOfLength(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Returns a byte array with random content.
- randomBytesOfLength(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Returns a byte array with random content.
- randomBytesOfLength(Random, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomBytes
- randomBytesOfLengthBetween(Random, int, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomBytes
- randomDouble() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomDoubleBetween(Random, double, double) - Static method in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
-
A random double between
min
(inclusive) andmax
(inclusive). - randomFloat() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomFloatBetween(Random, float, float) - Static method in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
-
A random float between
min
(inclusive) andmax
(inclusive). - randomFrom(byte[]) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomFrom(char[]) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomFrom(double[]) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomFrom(float[]) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomFrom(int[]) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomFrom(long[]) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomFrom(short[]) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomFrom(List<T>) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Pick a random object from the given list.
- randomFrom(Random, byte[]) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
- randomFrom(Random, char[]) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
- randomFrom(Random, double[]) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
- randomFrom(Random, float[]) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
- randomFrom(Random, int[]) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
- randomFrom(Random, long[]) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
- randomFrom(Random, short[]) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
- randomFrom(Random, Collection<T>) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
-
Pick a random object from the collection.
- randomFrom(Random, List<T>) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
-
Pick a random object from the given list.
- randomFrom(Random, T[]) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomPicks
-
Pick a random object from the given array.
- randomFrom(T[]) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Pick a random object from the given array.
- randomGaussian() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomInt() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomInt(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
A random integer from 0..max (inclusive).
- randomIntBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
A random integer from
min
tomax
(inclusive). - randomIntBetween(Random, int, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomNumbers
-
A random integer between
min
(inclusive) andmax
(inclusive). - RandomizedContext - Class in com.carrotsearch.randomizedtesting
-
Context variables for an execution of a test suite (hooks and tests) running under a
RandomizedRunner
. - RandomizedContext(ThreadGroup, Class<?>, RandomizedRunner) - Constructor for class com.carrotsearch.randomizedtesting.RandomizedContext
- RandomizedContext.PerThreadResources - Class in com.carrotsearch.randomizedtesting
-
Per thread assigned resources.
- 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.
- RandomizedRunner.NewInstanceProvider - Class in com.carrotsearch.randomizedtesting
- RandomizedRunner.QueueUncaughtExceptionsHandler - Class in com.carrotsearch.randomizedtesting
-
Queue uncaught exceptions.
- RandomizedRunner.SameInstanceProvider - Class in com.carrotsearch.randomizedtesting
- RandomizedRunner.TestCandidate - Class in com.carrotsearch.randomizedtesting
-
Test candidate (model).
- RandomizedRunner.TestMethodExecution - Class in com.carrotsearch.randomizedtesting
-
Helper tuple (Method, instance params).
- RandomizedRunner.UncaughtException - Class in com.carrotsearch.randomizedtesting
- RandomizedTest - Class in com.carrotsearch.randomizedtesting
-
Common scaffolding for subclassing randomized tests.
- RandomizedTest() - Constructor for class com.carrotsearch.randomizedtesting.RandomizedTest
- randomLocale() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Return a random Locale from the available locales on the system.
- randomLong() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomLong(long) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
A random long from 0..max (inclusive).
- randomLongBetween(long, long) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
A random long from
min
tomax
(inclusive). - randomLongBetween(Random, long, long) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomNumbers
-
A random long between
min
(inclusive) andmax
(inclusive). - Randomness - Class in com.carrotsearch.randomizedtesting
-
Per-thread, per-lifecycle state randomness defined as an initial seed and the current Random instance.
- Randomness(long, RandomSupplier, SeedDecorator...) - Constructor for class com.carrotsearch.randomizedtesting.Randomness
- Randomness(Thread, RandomSupplier, long, SeedDecorator...) - Constructor for class com.carrotsearch.randomizedtesting.Randomness
- randomnesses - Variable in class com.carrotsearch.randomizedtesting.RandomizedContext.PerThreadResources
-
Generators of pseudo-randomness.
- RandomNumbers - Class in com.carrotsearch.randomizedtesting.generators
-
Utility classes for selecting random numbers from within a range or the numeric domain for a given type.
- RandomNumbers() - Constructor for class com.carrotsearch.randomizedtesting.generators.RandomNumbers
- RandomPicks - Class in com.carrotsearch.randomizedtesting.generators
-
Random selections of objects.
- RandomPicks() - Constructor for class com.carrotsearch.randomizedtesting.generators.RandomPicks
- randomRealisticUnicodeOfCodepointLength(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomRealisticUnicodeOfCodepointLength(Random, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
- randomRealisticUnicodeOfCodepointLengthBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomRealisticUnicodeOfCodepointLengthBetween(Random, int, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
- randomRealisticUnicodeOfLength(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomRealisticUnicodeOfLength(Random, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
- randomRealisticUnicodeOfLengthBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomRealisticUnicodeOfLengthBetween(Random, int, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
- randomShort() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- RandomStrings - Class in com.carrotsearch.randomizedtesting.generators
-
A facade to various implementations of
StringGenerator
interface. - RandomStrings() - Constructor for class com.carrotsearch.randomizedtesting.generators.RandomStrings
- randomSupplier - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Random class implementation supplier.
- RandomSupplier - Interface in com.carrotsearch.randomizedtesting
- randomTimeZone() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Return a random TimeZone from the available timezones on the system.
- randomUnicodeOfCodepointLength(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomUnicodeOfCodepointLength(Random, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
- randomUnicodeOfCodepointLengthBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomUnicodeOfCodepointLengthBetween(Random, int, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
- randomUnicodeOfLength(int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomUnicodeOfLength(Random, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
- randomUnicodeOfLengthBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
- randomUnicodeOfLengthBetween(Random, int, int) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomStrings
- range - Variable in class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
- RANT_1 - Static variable in class com.carrotsearch.randomizedtesting.Rants
-
This if freaking dumb...
- RANT_2 - Static variable in class com.carrotsearch.randomizedtesting.Rants
-
Default assumption methods (and constructors in AssumptionViolatedException) do not allow specifying a custom message?
- RANT_3 - Static variable in class com.carrotsearch.randomizedtesting.Rants
-
Why is failed assumption propagated as a Failure? This is weird an unnatural.
- RANT_4 - Static variable in class com.carrotsearch.randomizedtesting.Rants
-
JUnit is inconsistent in how it treats annotations on methods.
- Rants - Class in com.carrotsearch.randomizedtesting
-
Rants about blocker limitations of JUnit...
- Rants() - Constructor for class com.carrotsearch.randomizedtesting.Rants
- Rants.RantType - Enum in com.carrotsearch.randomizedtesting
- RantType() - Constructor for enum com.carrotsearch.randomizedtesting.Rants.RantType
- rarely() - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Rarely returns
true
in about 10% of all calls (regardless of theRandomizedTest.isNightly()
mode). - rcs - Variable in class com.carrotsearch.ant.tasks.junit4.DuplicateResources
- read() - Method in class com.carrotsearch.ant.tasks.junit4.TailInputStream
- read(byte[]) - Method in class com.carrotsearch.ant.tasks.junit4.TailInputStream
- read(byte[], int, int) - Method in class com.carrotsearch.ant.tasks.junit4.TailInputStream
- read(String) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.XmlStringTransformer
- readArgsFile(String) - Static method in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
-
Read arguments from a file.
- readBinaryProperty(JsonReader, String) - Static method in class com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
- readBoolean(JsonReader, String) - Static method in class com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
- readDescription(JsonReader) - Static method in class com.carrotsearch.ant.tasks.junit4.events.JsonHelpers
- reader - Variable in class com.carrotsearch.ant.tasks.junit4.slave.StdInLineIterator
- readEscapeCharacter() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Unescapes the character identified by the character or characters that immediately follow a backslash.
- readHints(File) - Static method in class com.carrotsearch.ant.tasks.junit4.listeners.ExecutionTimesReport
-
Read hints from a file.
- readLongProperty(JsonReader, String) - Static method in class com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
- readStringOrNullProperty(JsonReader, String) - Static method in class com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
- readStringProperty(JsonReader, String) - Static method in class com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
- 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
- redirectStreams(Serializer, boolean) - Static method in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
-
Redirect standard streams so that the output can be passed to listeners.
- referenceFields - Variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.ClassCache
- refilter(Set<Thread>, ThreadFilter) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Refilter a set of threads
- refLoader - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
- registerInContext(Object, Object) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.IOContext
- rehash(Object) - Static method in class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
-
Rehash via MurmurHash.
- reject(Thread) - Method in interface com.carrotsearch.randomizedtesting.ThreadFilter
- reject(Thread) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl.KnownSystemThread
- reject(Thread) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl.ThisThreadFilter
- remap(CharSequence) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.XmlStringTransformer
- RemoteEvent - Interface in com.carrotsearch.ant.tasks.junit4.events
- removeExtension(String) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
- removeListener(RunListener) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
-
Remove a listener from the listener list.
- removeListener(RunListener) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl.SubNotifier
- repeat(String, int) - Static method in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
-
Repeat a String
n
times to form a new string. - Repeat - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
Repeats randomized test case a given number of times.
- REPLACEMENT_CHARS - Static variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
- replaceTop(int) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Replace the value on the top of the stack with the given value.
- replicate - Variable in class com.carrotsearch.ant.tasks.junit4.TestClass
- ReplicateOnEachVm - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
Replicates the test class on each concurrent forked JVM.
- reportAsIgnored(RunNotifier, GroupEvaluator, RandomizedRunner.TestCandidate) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
- reporting - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner.QueueUncaughtExceptionsHandler
- repositorySystem - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Repository.
- 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 toSystem.err
a string with command line parameters allowing quick test re-run under ANT command line. - ReproduceInfoPrinter() - Constructor for class com.carrotsearch.randomizedtesting.listeners.ReproduceInfoPrinter
- RequireAssertionsRule - Class in com.carrotsearch.randomizedtesting.rules
-
Require assertions
TestRule
. - RequireAssertionsRule(Class<?>) - Constructor for class com.carrotsearch.randomizedtesting.rules.RequireAssertionsRule
- resizeThreshold - Variable in class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
-
Cached capacity threshold at which we must resize the buffers.
- resolveArtifact(Artifact, Artifact...) - Method in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Resolve a given artifact given exclusion list.
- resolveFiles(Path) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Resolve all files from a given path and simplify its definition.
- resolver - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
- resource - Variable in class com.carrotsearch.randomizedtesting.CloseableResourceInfo
- ResourceDisposalError - Error in com.carrotsearch.randomizedtesting
-
Thrown when a resource could not be released.
- ResourceDisposalError(String, Throwable) - Constructor for error com.carrotsearch.randomizedtesting.ResourceDisposalError
- resources - Variable in class com.carrotsearch.ant.tasks.junit4.balancers.ExecutionTimeBalancer
-
All included execution time dumps.
- resources - Variable in class com.carrotsearch.ant.tasks.junit4.balancers.MergeHints
-
All included execution time dumps.
- resources - Variable in class com.carrotsearch.ant.tasks.junit4.balancers.TopHints
-
All included execution time dumps.
- resources - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Test names.
- restore(TreeMap<String, String>, TreeMap<String, String>, Set<String>) - Static method in class com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule
- restoreProperties - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
- restoreSystemProperties() - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
- result - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.MavenFailsafeSummaryModel
- resumeReporting() - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner.QueueUncaughtExceptionsHandler
-
Resume uncaught exception reporting.
- rethrow(Throwable) - Static method in class com.carrotsearch.randomizedtesting.Rethrow
-
Rethrows
t
(identical object). - rethrow(Throwable) - Method in class com.carrotsearch.randomizedtesting.Rethrow.Rethrower
- Rethrow - Class in com.carrotsearch.randomizedtesting
-
Rethrowing checked exceptions as unchecked ones.
- Rethrow() - Constructor for class com.carrotsearch.randomizedtesting.Rethrow
- Rethrow.Rethrower<T extends java.lang.Throwable> - Class in com.carrotsearch.randomizedtesting
-
Classy puzzler to rethrow any checked exception as an unchecked one.
- Rethrower() - Constructor for class com.carrotsearch.randomizedtesting.Rethrow.Rethrower
- rmDir(Path) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Recursively delete a folder.
- roundCapacity(int) - Method in class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
-
Round the capacity to the next allowed value.
- 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() - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier.SafeNotifier
- run() - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl.StatementRunner
- run(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier.SafeNotifier
- 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
- runner - Variable in class com.carrotsearch.randomizedtesting.RandomizedContext
-
The runner to which we're bound.
- runner - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
The governing runner.
- RunnerContainer - Enum in com.carrotsearch.randomizedtesting
-
What kind of container are we in? Unfortunately we need to adjust to some "assumptions" containers make about runners.
- RunnerContainer() - Constructor for enum com.carrotsearch.randomizedtesting.RunnerContainer
- runnerRandomness - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
The runner's seed (master).
- runnerThreadGroup - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
All tests are executed under a specified thread group so that we can have some control over how many threads have been started/ stopped.
- RunnerThreadGroup - Class in com.carrotsearch.randomizedtesting
-
A
ThreadGroup
under which all tests (and hooks) are executed. - RunnerThreadGroup(String) - Constructor for class com.carrotsearch.randomizedtesting.RunnerThreadGroup
- runSingleTest(RunNotifier, RandomizedRunner.TestCandidate, ThreadLeakControl) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Runs a single test in the "master" test thread.
- runSuite(RandomizedContext, RunNotifier) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Test execution logic for the entire suite, executing under designated
RunnerThreadGroup
. - runSuite(RunNotifier) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Test execution logic for the entire suite.
- runTestsStatement(RunNotifier, List<RandomizedRunner.TestCandidate>, Map<RandomizedRunner.TestCandidate, Boolean>, ThreadLeakControl) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
- runWithPrivateRandomness(long, Callable<T>) - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Pushes the given randomness to the top of the stack, runs the
Callable
and disposes the randomness before the this method returns. - runWithPrivateRandomness(Randomness, Callable<T>) - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Pushes the given randomness to the top of the stack, runs the
Callable
and disposes the randomness before the this method returns.
S
- s - Variable in class com.carrotsearch.randomizedtesting.FilterExpressionParser.InputRange
- s - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl.StatementRunner
- s0 - Variable in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
- s1 - Variable in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
- SafeNotifier() - Constructor for class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier.SafeNotifier
- SameInstanceProvider(InstanceProvider) - Constructor for class com.carrotsearch.randomizedtesting.RandomizedRunner.SameInstanceProvider
- scaledRandomIntBetween(int, int) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Returns a "scaled" random number between min and max (inclusive).
- scope - Variable in class com.carrotsearch.randomizedtesting.ClassModel.ClassElement
- scope - Variable in class com.carrotsearch.randomizedtesting.CloseableResourceInfo
- Scope() - Constructor for enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakScope.Scope
- Scope() - Constructor for enum com.carrotsearch.randomizedtesting.ClassModel.Scope
- second - Variable in class com.carrotsearch.randomizedtesting.TeeOutputStream
- seed - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- seed - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Initial random seed used for shuffling test suites and other sources of pseudo-randomness.
- seed - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner.TestCandidate
- seed - Variable in class com.carrotsearch.randomizedtesting.Randomness
- 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).
- seedFromAnnot(AnnotatedElement, long) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Get an annotated element's
Seed
annotation and determine if it's fixed or not. - 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 withRandomizedRunner.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.
- SeedUtils() - Constructor for class com.carrotsearch.randomizedtesting.SeedUtils
- separator - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
The name/value separator; either ":" or ": ".
- sequencer - Static variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
A sequencer for affecting the initial seed in case of rapid succession of this class instance creations.
- serialize(RemoteEvent) - Method in class com.carrotsearch.ant.tasks.junit4.events.Serializer
- serialize(JsonWriter) - Method in class com.carrotsearch.ant.tasks.junit4.events.AbstractEventWithDescription
- serialize(JsonWriter) - Method in class com.carrotsearch.ant.tasks.junit4.events.AppendStdErrEvent
- serialize(JsonWriter) - Method in class com.carrotsearch.ant.tasks.junit4.events.AppendStdOutEvent
- serialize(JsonWriter) - Method in class com.carrotsearch.ant.tasks.junit4.events.BootstrapEvent
- serialize(JsonWriter) - Method in class com.carrotsearch.ant.tasks.junit4.events.FailureEvent
- serialize(JsonWriter) - Method in class com.carrotsearch.ant.tasks.junit4.events.IdleEvent
- serialize(JsonWriter) - Method in class com.carrotsearch.ant.tasks.junit4.events.QuitEvent
- serialize(JsonWriter) - Method in interface com.carrotsearch.ant.tasks.junit4.events.RemoteEvent
- serialize(JsonWriter) - Method in class com.carrotsearch.ant.tasks.junit4.events.SuiteCompletedEvent
- serialize(JsonWriter) - Method in class com.carrotsearch.ant.tasks.junit4.events.SuiteStartedEvent
- serialize(JsonWriter) - Method in class com.carrotsearch.ant.tasks.junit4.events.TestFinishedEvent
- serialize(JsonWriter) - Method in class com.carrotsearch.ant.tasks.junit4.events.TestIgnoredEvent
- serialize(JsonWriter) - Method in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
- serialize(JsonWriter, boolean) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
- serialize(JsonWriter, FailureMirror) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
- serialize(JsonWriter, SimpleDateFormat, AggregatedTestResultEvent) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
- serializeEvents(JsonWriter, boolean) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
- serializeNulls - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
- serializer - Variable in class com.carrotsearch.ant.tasks.junit4.slave.RunListenerEmitter
- serializer - Variable in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
-
Event sink.
- serializer - Variable in class com.carrotsearch.ant.tasks.junit4.slave.StdInLineIterator
- Serializer - Class in com.carrotsearch.ant.tasks.junit4.events
-
Event serializer.
- Serializer(OutputStream) - Constructor for class com.carrotsearch.ant.tasks.junit4.events.Serializer
- serialVersionUID - Static variable in exception com.carrotsearch.ant.tasks.junit4.gson.stream.MalformedJsonException
- session - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
The current build session instance.
- 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. - setBootstrapEvent(BootstrapEvent) - Method in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
-
Set the bootstrap event associated with this slave.
- setClonevm(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
- setDebugStream(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Enables a debug stream from each forked JVM.
- setDefaults(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.StackTraceFilter
-
Use default filters (JUnit, randomized testing, some of the reflection stuff).
- setDescription(Description) - Method in class com.carrotsearch.ant.tasks.junit4.events.AbstractEventWithDescription
- 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.
- setDown(E) - Method in class com.carrotsearch.randomizedtesting.ClassModel.ClassElement
- 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.
- setHtmlSafe(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Configure this writer to emit JSON that's safe for direct inclusion in HTML and XML documents.
- setIfNoTests(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
What to do when no tests were executed (all tests were ignored)?
- setIgnored(String) - Method in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
- 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
- setIndent(String) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Sets the indentation string to be repeated for each level of indentation in the encoded document.
- 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 inJUnit4.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.
- setLenient(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Configure this parser to be be liberal in what it accepts.
- setLenient(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Configure this writer to relax its syntax rules.
- 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.
- setOnNonEmptyWorkDirectory(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Determines the behavior on detecting non-empty existing current working directory for a forked JVM, before the tests commence.
- 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(long) - Method in class com.carrotsearch.randomizedtesting.AssertingRandom
- setSeed(long) - Method in class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
- 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
- setSerializeNulls(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Sets whether object members are serialized when their value is null.
- 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.
- setSummaryFile(File) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
-
Where to emit Maven's summary file? This can be used by the failsafe plugin to verify whether the build succeeded or not.
- 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".
- setTargetMethod(Method) - Method in class com.carrotsearch.randomizedtesting.RandomizedContext
- 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.
- setUp(E) - Method in class com.carrotsearch.randomizedtesting.ClassModel.ClassElement
- setupTestClasspath(Element) - Method in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Setup the classpath used for tests.
- setupTestInput(Element) - Method in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Setup the input test suites (classes locations and patterns).
- 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.
- shallowSizeOf(Object) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Estimates a "shallow" memory usage of the given object.
- shallowSizeOfAll(Iterable<Object>) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Same as
RamUsageEstimator.shallowSizeOf(Object)
but sums up all the arguments. - shallowSizeOfAll(Object...) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Same as
RamUsageEstimator.shallowSizeOf(Object)
but sums up all the arguments. - shallowSizeOfArray(Object) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Return shallow size of any
array
. - shallowSizeOfInstance(Class<?>) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Returns the shallow instance size in bytes an instance of the given class would occupy.
- shortTimestamp(long) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Format a short timestamp.
- 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
- showEmptySuites - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- showNumFailuresAtEnd - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Summarize the first N failures at the end.
- showStackTraces - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- showSuiteSummary - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- showThrowable - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- shuffle() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.ParametersFactory
-
Shuffles the order of tests generated for the parameter set.
- shuffledMethodsCache - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Methods cache.
- shuffleOnSlave - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
- shuffleOnSlave - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Predictably shuffle tests order after balancing.
- signature(Method) - Method in class com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule
- simpleName(Class<?>) - Static method in class com.carrotsearch.randomizedtesting.Classes
- singleton - Static variable in class com.carrotsearch.randomizedtesting.SysGlobals
-
Global singleton.
- singleton() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
- singletonInitStack - Static variable in class com.carrotsearch.randomizedtesting.SysGlobals
-
Singleton initialization stack for easier debugging.
- sink - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.PrefixedWriter
- size() - Method in class com.carrotsearch.ant.tasks.junit4.DuplicateResources
- size() - Method in class com.carrotsearch.randomizedtesting.rules.IdentityHashSet
- sizeOf(boolean[]) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Returns the size in bytes of the boolean[] object.
- sizeOf(byte[]) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Returns the size in bytes of the byte[] object.
- sizeOf(char[]) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Returns the size in bytes of the char[] object.
- sizeOf(double[]) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Returns the size in bytes of the double[] object.
- sizeOf(float[]) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Returns the size in bytes of the float[] object.
- sizeOf(int[]) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Returns the size in bytes of the int[] object.
- sizeOf(long[]) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Returns the size in bytes of the long[] object.
- sizeOf(short[]) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Returns the size in bytes of the short[] object.
- sizeOf(Object) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Estimates the RAM usage by the given object.
- sizeOfAll(Iterable<Object>) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Same as
RamUsageEstimator.sizeOf(Object)
but sums up all the arguments. - sizeOfAll(Object...) - Static method in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
Same as
RamUsageEstimator.sizeOf(Object)
but sums up all the arguments. - skipped - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.MavenFailsafeSummaryModel
- 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).
- skipQuotedValue(char) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- skipTests - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Set this to "true" to skip running tests, but still compile them.
- skipTo(String) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- skipToEndOfLine() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Advances the position until after the next newline character.
- skipUnquotedValue() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- skipValue() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Skips the next value recursively.
- slave - Variable in class com.carrotsearch.ant.tasks.junit4.DiagnosticsListener
- slave - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
- slave - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteStartedEvent
- slave - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
- slave - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
- slave - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.HeartBeatEvent
- slave - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.PartialOutputEvent
- slaveCommand - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Slave VM command line.
- slaveCommandLine - Variable in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
-
Complete slave command line invocation string.
- slaveId - Variable in class com.carrotsearch.ant.tasks.junit4.SuiteBalancer.Assignment
-
Slave assignment.
- SlaveIdle - Class in com.carrotsearch.ant.tasks.junit4
-
An event published when a slave is idle and waits for new suite classes.
- SlaveIdle() - Constructor for class com.carrotsearch.ant.tasks.junit4.SlaveIdle
-
For delegation.
- SlaveIdle(OutputStreamWriter) - Constructor for class com.carrotsearch.ant.tasks.junit4.SlaveIdle
- SlaveLoad(int) - Constructor for class com.carrotsearch.ant.tasks.junit4.balancers.ExecutionTimeBalancer.SlaveLoad
- 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.
- SlaveMain.ChunkedStream - Class in com.carrotsearch.ant.tasks.junit4.slave
-
Base for redirected streams.
- 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.events.aggregated.AggregatedStartEvent
- slaves - Variable in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
-
The number of executed slaves, total.
- slaves - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
- sleep(long) - Static method in class com.carrotsearch.randomizedtesting.RandomizedTest
-
Same as
Thread.sleep(long)
. - 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.
- sortAndSplitReplicated(List<TestClass>) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
- stack - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- stack - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
- stackFilters - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Stack trace filters.
- stackSize - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- stackSize - Variable in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
- StackTraceFilter - Class in com.carrotsearch.ant.tasks.junit4.listeners
-
Stack trace filtering.
- StackTraceFilter() - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.StackTraceFilter
- StackTraceHolder - Class in com.carrotsearch.randomizedtesting
-
This is never thrown.
- StackTraceHolder(String) - Constructor for class com.carrotsearch.randomizedtesting.StackTraceHolder
- start - Variable in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
-
Timestamps for diagnostics.
- start - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler.OnDiskStreamEvent
- start - Variable in class com.carrotsearch.ant.tasks.junit4.slave.RunListenerEmitter
- start - Variable in class com.carrotsearch.randomizedtesting.FilterExpressionParser.InputRange
- start() - Method in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
- startEvent - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
- startEvent - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
- startTimestamp - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
- startTimestamp - Variable in class com.carrotsearch.ant.tasks.junit4.events.SuiteCompletedEvent
- startTimestamp - Variable in class com.carrotsearch.ant.tasks.junit4.events.SuiteStartedEvent
- startTimestamp - Variable in class com.carrotsearch.ant.tasks.junit4.events.TestFinishedEvent
- startTimestamp - Variable in class com.carrotsearch.ant.tasks.junit4.events.TestIgnoredEvent
- StatementAdapter - Class in com.carrotsearch.randomizedtesting.rules
-
An abstract
Statement
that guarantees the execution ofStatementAdapter.afterAlways(java.util.List<java.lang.Throwable>)
even if an exception has been thrown from delegateStatement
. - StatementAdapter(Statement) - Constructor for class com.carrotsearch.randomizedtesting.rules.StatementAdapter
- StatementRunner(Statement) - Constructor for class com.carrotsearch.randomizedtesting.ThreadLeakControl.StatementRunner
- 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
- StaticFieldsInvariantRule.Entry - Class in com.carrotsearch.randomizedtesting.rules
- statsPropertyPrefix - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
- statsPropertyPrefix - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Sets the property prefix to which test statistics are saved.
- status - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
- statusNames - Static variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Status names column.
- stderr - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
- stderrIndent - Static variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- stdin - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
-
raw input stream to the client.
- stdin - Variable in class com.carrotsearch.ant.tasks.junit4.SlaveIdle
- StdInLineIterator - Class in com.carrotsearch.ant.tasks.junit4.slave
-
Iterates over lines from standard input.
- StdInLineIterator(Serializer) - Constructor for class com.carrotsearch.ant.tasks.junit4.slave.StdInLineIterator
- stdinWriter - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
-
character-wrapped input stream to the client.
- stdout - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
- stdoutIndent - Static variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- stop() - Method in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
- stopping - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
- stopReporting() - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner.QueueUncaughtExceptionsHandler
-
Stop reporting uncaught exceptions.
- stopRequested - Variable in class com.carrotsearch.ant.tasks.junit4.slave.OrderedRunNotifier
- stopRequested - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl.SubNotifier
- StreamFlusherDecorator - Class in com.carrotsearch.ant.tasks.junit4.slave
-
Flushes
System.out
andSystem.err
before passing the event to the delegate. - StreamFlusherDecorator(RunListener) - Constructor for class com.carrotsearch.ant.tasks.junit4.slave.StreamFlusherDecorator
- streamsBuffer - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
- streamsBufferWrapper - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
- string(String) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
- STRING - com.carrotsearch.ant.tasks.junit4.gson.stream.JsonToken
-
A JSON string.
- 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
- subNotifier - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl
- SubNotifier() - Constructor for class com.carrotsearch.randomizedtesting.ThreadLeakControl.SubNotifier
- subscribeListeners(RunNotifier) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Subscribe annotation listeners to the notifier.
- suite - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
- SUITE - com.carrotsearch.randomizedtesting.annotations.ThreadLeakScope.Scope
-
No thread leaks from entire suite scope (individual tests may leak threads, they become part of the suite scope).
- SUITE - com.carrotsearch.randomizedtesting.LifecycleScope
-
A single suite (class), including all
AfterClass
hooks. - SUITE_COMPLETED - com.carrotsearch.ant.tasks.junit4.events.EventType
- SUITE_FAILURE - com.carrotsearch.ant.tasks.junit4.events.EventType
- SUITE_STARTED - com.carrotsearch.ant.tasks.junit4.events.EventType
- suiteAssumption - Variable in class com.carrotsearch.ant.tasks.junit4.slave.RunListenerEmitter
-
A failure signaled at the suite level.
- 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
- suiteClass - Variable in class com.carrotsearch.randomizedtesting.RandomizedContext
- suiteClass - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
The class with test methods (suite).
- 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
- suiteCount - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedStartEvent
- suiteCounts - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
- suiteDescription - Variable in class com.carrotsearch.ant.tasks.junit4.slave.RunListenerEmitter
- suiteDescription - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Class suite description.
- suiteErrors - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummary
- suiteErrors - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummaryEventListener
- 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
- suiteFailures - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteResultEvent
- suiteFailures - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
- suiteFilters - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
User filter (compound).
- 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.balancers.TopHints.Entry
- suiteName - Variable in class com.carrotsearch.ant.tasks.junit4.SuiteBalancer.Assignment
-
Test suite name.
- suites - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummary
- suites - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummaryEventListener
- suitesCompleted - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- suiteStart - Variable in class com.carrotsearch.ant.tasks.junit4.slave.RunListenerEmitter
- suiteStartedEvent - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedSuiteStartedEvent
- 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.
- suiteTimedOut - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Suite timeout.
- suiteTimeout - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Suite timeout.
- summaryFile - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
- summaryListener - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport
- supplementary - Variable in class com.carrotsearch.randomizedtesting.generators.CodepointSetGenerator
- supplier - Variable in class com.carrotsearch.randomizedtesting.Randomness
- supportedFeatures - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
All the supported "internal" JVM features detected at clinit.
- SuppressForbidden - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
Suppresses forbidden-API checks.
- surefireReportsDirectory - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
This parameter adds a listener emitting surefire-compatible XMLs if no other listeners are added.
- SURROGATE_RANGE - Static variable in class com.carrotsearch.randomizedtesting.generators.UnicodeGenerator
- syntaxError(String) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
-
Throws a new IO exception with the given message and a context snippet with this reader's content.
- SyntaxException(FilterExpressionParser.Node, String) - Constructor for exception com.carrotsearch.randomizedtesting.FilterExpressionParser.SyntaxException
- syserr - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
- syserr - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
- SysGlobals - Class in com.carrotsearch.randomizedtesting
-
Global names for system properties controlling the behavior of
JUnit4
ANT task andRandomizedRunner
. - SysGlobals(String) - Constructor for class com.carrotsearch.randomizedtesting.SysGlobals
- sysout - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
- sysout - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
- sysouts - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
- sysouts - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
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".
- SYSPROP_APPEND_SEED - Variable in class com.carrotsearch.randomizedtesting.SysGlobals
- SYSPROP_APPEND_SEED() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
If
true
, append seed parameter to all methods. - SYSPROP_ASSERTS - Variable in class com.carrotsearch.randomizedtesting.SysGlobals
- SYSPROP_ASSERTS() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
Returns the property name to express the desired status of assertions during tests.
- 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_FORKEDJVM_DELAY_MS - Static variable in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
-
Delay the initial bootstrap event from the forked JVM (used in tests).
- SYSPROP_ITERATIONS - Variable in class com.carrotsearch.randomizedtesting.SysGlobals
- SYSPROP_ITERATIONS() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
The global override for the number of each test's repetitions.
- SYSPROP_KILLATTEMPTS - Variable in class com.carrotsearch.randomizedtesting.SysGlobals
- 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 - Variable in class com.carrotsearch.randomizedtesting.SysGlobals
- 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 variable in class com.carrotsearch.randomizedtesting.SysGlobals
-
A common prefix for all system properties used by
randomizedtesting
packages. - SYSPROP_PREFIX() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
Global system property that holds the prefix used by other properties.
- SYSPROP_RANDOM_SEED - Variable in class com.carrotsearch.randomizedtesting.SysGlobals
- 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 - Variable in class com.carrotsearch.randomizedtesting.SysGlobals
- SYSPROP_STACKFILTERING() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
Enable or disable stack filtering.
- SYSPROP_TESTCLASS - Variable in class com.carrotsearch.randomizedtesting.SysGlobals
- SYSPROP_TESTCLASS() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
Global override for picking out a single test class to execute.
- SYSPROP_TESTFILTER - Variable in class com.carrotsearch.randomizedtesting.SysGlobals
- SYSPROP_TESTFILTER() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
Global test filter.
- SYSPROP_TESTMETHOD - Variable in class com.carrotsearch.randomizedtesting.SysGlobals
- SYSPROP_TESTMETHOD() - Static method in class com.carrotsearch.randomizedtesting.SysGlobals
-
Global override for picking out a single test method to execute.
- SYSPROP_TIMEOUT - Variable in class com.carrotsearch.randomizedtesting.SysGlobals
- 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 - Variable in class com.carrotsearch.randomizedtesting.SysGlobals
- 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.
- sysProperty - Variable in class com.carrotsearch.randomizedtesting.GroupEvaluator.TestGroupInfo
- sysProperty() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.TestGroup
-
System property used to enable/ disable a group.
- systemProperties - Variable in class com.carrotsearch.ant.tasks.junit4.events.BootstrapEvent
- systemProperties - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Adds a system property to any forked JVM.
- systemPropertiesAsMap() - Static method in class com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule
- SystemPropertiesInvariantRule - Class in com.carrotsearch.randomizedtesting.rules
-
A
TestRule
that ensures system properties remain unmodified by the nestedStatement
. - 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 nestedStatement
. - SystemPropertiesRestoreRule() - Constructor for class com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule
-
Restores all properties.
- SystemPropertiesRestoreRule(String...) - Constructor for class com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule
- SystemPropertiesRestoreRule(Set<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
- t - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl.ThisThreadFilter
- TAIL_CHECK_DELAY - Static variable in class com.carrotsearch.ant.tasks.junit4.TailInputStream
-
How long to sleep (millis) before checking for updates?
- TailInputStream - Class in com.carrotsearch.ant.tasks.junit4
-
An input stream that tails from a random access file as new input appears there.
- TailInputStream(Path) - Constructor for class com.carrotsearch.ant.tasks.junit4.TailInputStream
- target - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
- targetClass - Variable in class com.carrotsearch.randomizedtesting.rules.RequireAssertionsRule
- targetFile - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
- targetFinished(BuildEvent) - Method in class com.carrotsearch.maven.plugins.junit4.MavenListenerAdapter
- targetNotifier - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Target notifier.
- targetStarted(BuildEvent) - Method in class com.carrotsearch.maven.plugins.junit4.MavenListenerAdapter
- task - Variable in class com.carrotsearch.ant.tasks.junit4.DiagnosticsListener
- taskFinished(BuildEvent) - Method in class com.carrotsearch.maven.plugins.junit4.MavenListenerAdapter
- taskStarted(BuildEvent) - Method in class com.carrotsearch.maven.plugins.junit4.MavenListenerAdapter
- TeeOutputStream - Class in com.carrotsearch.randomizedtesting
-
Custom teeing stream that ensures both streams receive the output and no exceptions are quietly suppressed.
- TeeOutputStream(OutputStream, OutputStream) - Constructor for class com.carrotsearch.randomizedtesting.TeeOutputStream
- tempDir - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
A folder to store temporary files in.
- tempDir - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
The directory to store temporary files in.
- tempFile(String, String, String, Path) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
- temporaryFiles - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
A list of temporary files to leave or remove if build passes.
- TempPathResource - Class in com.carrotsearch.randomizedtesting
-
A temporary path resource will be deleted at the end of a given lifecycle phase.
- TempPathResource(Path) - Constructor for class com.carrotsearch.randomizedtesting.TempPathResource
- tempSubFileNameCount - Static variable in class com.carrotsearch.randomizedtesting.RandomizedTest
- TEST - com.carrotsearch.randomizedtesting.annotations.ThreadLeakScope.Scope
-
No thread leaks from any individual test (including
Rule
s) or the entire suite (includingClassRule
s). - TEST - com.carrotsearch.randomizedtesting.LifecycleScope
-
A single test case, including all
After
hooks. - TEST_ASSERTS_ENABLED - Static variable in class com.carrotsearch.randomizedtesting.rules.RequireAssertionsRule
- TEST_FAILURE - com.carrotsearch.ant.tasks.junit4.events.EventType
- TEST_FINISHED - com.carrotsearch.ant.tasks.junit4.events.EventType
- TEST_IGNORED - com.carrotsearch.ant.tasks.junit4.events.EventType
- TEST_IGNORED_ASSUMPTION - com.carrotsearch.ant.tasks.junit4.events.EventType
- TEST_STARTED - com.carrotsearch.ant.tasks.junit4.events.EventType
- 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
- TestCandidate(Method, long, Description, InstanceProvider) - Constructor for class com.carrotsearch.randomizedtesting.RandomizedRunner.TestCandidate
- testCandidates - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
All test candidates, processed (seeds assigned) and flattened.
- TestCaseInstanceProvider - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
Determines how instances of the test suite class are created for each test case.
- TestCaseInstanceProvider.Type - Enum in com.carrotsearch.randomizedtesting.annotations
- TestCaseModel - Class in com.carrotsearch.ant.tasks.junit4.listeners.antxml
- TestCaseModel() - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestCaseModel
- TestCaseOrdering - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
Test case ordering.
- TestCaseOrdering.AlphabeticOrder - Class in com.carrotsearch.randomizedtesting.annotations
-
Alphabetic, increasing order by method name.
- testCaseRandomnessOverride - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
If
#SYSPROP_RANDOM_SEED
property is used with two arguments (master:method) then this field contains method-level override. - testcases - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
- TestClass - Class in com.carrotsearch.ant.tasks.junit4
- TestClass() - Constructor for class com.carrotsearch.ant.tasks.junit4.TestClass
- TestClass(String) - Constructor for class com.carrotsearch.ant.tasks.junit4.TestClass
- testClasses - Variable in class com.carrotsearch.ant.tasks.junit4.TestsCollection
- testClassesDirectory - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
The directory containing generated test classes of the project being tested.
- TestContextRandomSupplier - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
A supplier of
Random
instances for theRandomizedContext
. - 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 - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatedTestResultEvent
-
Associated
TestFinishedEvent
. - TestFinishedEvent - Class in com.carrotsearch.ant.tasks.junit4.events
- TestFinishedEvent() - Constructor for class com.carrotsearch.ant.tasks.junit4.events.TestFinishedEvent
- TestFinishedEvent(Description, long, 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 - com.carrotsearch.randomizedtesting.annotations.ThreadLeakGroup.Group
-
Only per-suite test group and descendants will be tracked.
- TestGroup.Utilities - Class in com.carrotsearch.randomizedtesting.annotations
-
Utilities to deal with annotations annotated with
TestGroup
. - TestGroupInfo(Class<? extends Annotation>) - Constructor for class com.carrotsearch.randomizedtesting.GroupEvaluator.TestGroupInfo
- TestGroupNode() - Constructor for class com.carrotsearch.randomizedtesting.FilterExpressionParser.TestGroupNode
- testGroups - Variable in class com.carrotsearch.randomizedtesting.GroupEvaluator
- 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
- testInProgress - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl.SubNotifier
- TestMethodAndParams - Interface in com.carrotsearch.randomizedtesting
-
A single test case entry composed of the test method and the arguments eventually passed to the test class's constructor.
- TestMethodExecution(Method, String, Object[], InstanceProvider) - Constructor for class com.carrotsearch.randomizedtesting.RandomizedRunner.TestMethodExecution
- 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 ofTestRuleAdapter.afterAlways(java.util.List<java.lang.Throwable>)
even if an exception has been thrown from delegateStatement
. - 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.events.aggregated.AggregatedSuiteResultEvent
- tests - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
- tests - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
- tests - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummary
- tests - Variable in class com.carrotsearch.ant.tasks.junit4.TestsSummaryEventListener
- testsClassLoader - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Class loader used to resolve annotations and classes referenced from annotations when
Description
s containing them are passed from slaves. - TestsCollection - Class in com.carrotsearch.ant.tasks.junit4
-
A collection of test suites and extracted annotation information.
- TestsCollection() - Constructor for class com.carrotsearch.ant.tasks.junit4.TestsCollection
- TestsSummary - Class in com.carrotsearch.ant.tasks.junit4
-
Summary of tests execution.
- TestsSummary(int, 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
- testStartStreamMarker - Variable in class com.carrotsearch.ant.tasks.junit4.events.aggregated.AggregatingListener
- TestStatus - Enum in com.carrotsearch.ant.tasks.junit4.events.aggregated
- TestStatus() - Constructor for enum com.carrotsearch.ant.tasks.junit4.events.aggregated.TestStatus
- 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
- testSuites - Variable in class com.carrotsearch.ant.tasks.junit4.ForkedJvmInfo
-
Execute these test suites on this slave.
- testTimeout - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Test timeout.
- 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.
- theUnsafe - Static variable in class com.carrotsearch.randomizedtesting.rules.RamUsageEstimator
-
A handle to
sun.misc.Unsafe
. - ThisThreadFilter(Thread) - Constructor for class com.carrotsearch.randomizedtesting.ThreadLeakControl.ThisThreadFilter
- thread - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner.UncaughtException
- ThreadFilter - Interface in com.carrotsearch.randomizedtesting
- threadGroup - Variable in class com.carrotsearch.randomizedtesting.RandomizedContext
-
A thread group that shares this context.
- ThreadLeakAction - Annotation Type in com.carrotsearch.randomizedtesting.annotations
- ThreadLeakAction.Action - Enum in com.carrotsearch.randomizedtesting.annotations
- ThreadLeakControl - Class in com.carrotsearch.randomizedtesting
-
Everything corresponding to thread leak control.
- ThreadLeakControl(RunNotifier, RandomizedRunner) - Constructor for class com.carrotsearch.randomizedtesting.ThreadLeakControl
- ThreadLeakControl.DefaultAnnotationValues - Class in com.carrotsearch.randomizedtesting
-
A dummy class serving as the source of defaults for annotations.
- ThreadLeakControl.KnownSystemThread - Class in com.carrotsearch.randomizedtesting
- ThreadLeakControl.StatementRunner - Class in com.carrotsearch.randomizedtesting
-
Runs a
Statement
and keeps any exception and completion flag. - ThreadLeakControl.SubNotifier - Class in com.carrotsearch.randomizedtesting
-
Sub-notifier that controls passing events back in case of timeouts.
- ThreadLeakControl.ThisThreadFilter - Class in com.carrotsearch.randomizedtesting
- ThreadLeakControl.TimeoutValue - Class in com.carrotsearch.randomizedtesting
-
Timeout parsing code and logic.
- ThreadLeakError - Error in com.carrotsearch.randomizedtesting
-
A thread went wild.
- ThreadLeakError(String) - Constructor for error com.carrotsearch.randomizedtesting.ThreadLeakError
- ThreadLeakFilters - Annotation Type in com.carrotsearch.randomizedtesting.annotations
- threadLeakGroup - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Thread leak detection group.
- 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
- threadName - Variable in class com.carrotsearch.randomizedtesting.CloseableResourceInfo
- threadName - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner.UncaughtException
- threadName(Thread) - Static method in class com.carrotsearch.randomizedtesting.Threads
-
Collect thread information, JVM vendor insensitive.
- threadNames(Collection<Thread>) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Collect thread names.
- Threads - Class in com.carrotsearch.randomizedtesting
- Threads() - Constructor for class com.carrotsearch.randomizedtesting.Threads
- throwableClass - Variable in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
- throwableString - Variable in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
- 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 - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.MavenFailsafeSummaryModel
- Timeout - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
Maximum execution time for a single test method.
- timeoutOverride - Variable in class com.carrotsearch.randomizedtesting.ThreadLeakControl.TimeoutValue
- TimeoutSuite - Annotation Type in com.carrotsearch.randomizedtesting.annotations
-
Maximum execution time for an entire suite (including all hooks and tests).
- TimeoutValue(String, int) - Constructor for class com.carrotsearch.randomizedtesting.ThreadLeakControl.TimeoutValue
- times - Variable in class com.carrotsearch.ant.tasks.junit4.DuplicateResources
- timestamp - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.TestSuiteModel
- timestamps - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Display timestamps and durations for tests/ suites.
- toAscii(byte[]) - Static method in class com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
- toExpression() - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
- toExpression(StringBuilder) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.AndNode
- toExpression(StringBuilder) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.DefaultNode
- toExpression(StringBuilder) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
- toExpression(StringBuilder) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.NotNode
- toExpression(StringBuilder) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.OrNode
- toExpression(StringBuilder) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.TestGroupNode
- toHumanDuration(long) - Static method in class com.carrotsearch.ant.tasks.junit4.Duration
-
Format a duration in milliseconds to a human string (in English).
- toIntExact(long) - Static method in class com.carrotsearch.randomizedtesting.generators.RandomNumbers
- tokenize(String) - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser
-
Very simple regexp based tokenizer.
- toLines(String, int, int, int) - Static method in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
-
Splits the specified text into lines of convenient display length.
- toLines(List<String>, String, int, int) - Static method in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
-
Adds the specified line to the output sequence, performing line wrapping if necessary.
- 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
- TopHints.Entry - Class in com.carrotsearch.ant.tasks.junit4.balancers
- toSortable(double) - Static method in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
- toSortable(float) - Static method in class com.carrotsearch.randomizedtesting.generators.BiasedNumbers
- toString() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonReader
- 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.InputRange
- toString() - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.Node
- toString() - Method in class com.carrotsearch.randomizedtesting.Randomness
- toString() - Method in enum com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.JvmFeature
- toString() - Method in class com.carrotsearch.randomizedtesting.TeeOutputStream
- toString(Annotation) - Method in class com.carrotsearch.randomizedtesting.GroupEvaluator
- totalErrors - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- totalSuites - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
- trace - Variable in class com.carrotsearch.ant.tasks.junit4.events.mirrors.FailureMirror
- 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
- traces - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Stack trace filtering/ dumping.
- tryToInterruptAll(List<Throwable>, Set<Thread>) - Method in class com.carrotsearch.randomizedtesting.ThreadLeakControl
-
Attempt to interrupt all threads in the given set.
- tryWaitingForGC() - Static method in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
-
Try waiting for a GC to happen.
- type - Variable in class com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
-
Type is recreated in constructors anyway.
- type - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.FailureModel
- type - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler.OnDiskStreamEvent
- Type() - Constructor for enum com.carrotsearch.randomizedtesting.annotations.TestCaseInstanceProvider.Type
U
- uncaughtException(Thread, Throwable) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner.QueueUncaughtExceptionsHandler
- uncaughtException(Thread, Throwable) - Method in class com.carrotsearch.randomizedtesting.RunnerThreadGroup
-
Capture all uncaught exceptions from this group's threads.
- UncaughtException(Thread, Throwable) - Constructor for class com.carrotsearch.randomizedtesting.RandomizedRunner.UncaughtException
- UncaughtExceptionError - Error in com.carrotsearch.randomizedtesting
-
This is thrown on uncaught exceptions during suite or test execution.
- UncaughtExceptionError(String, Throwable) - Constructor for error com.carrotsearch.randomizedtesting.UncaughtExceptionError
- uncaughtExceptions - Variable in class com.carrotsearch.randomizedtesting.RandomizedRunner.QueueUncaughtExceptionsHandler
- UNICODE_ENCODINGS - Static variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Code pages which are capable of displaying all unicode glyphs.
- 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
- uniqueSuiteNames - Variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
- uniqueSuiteNames - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Allows or disallow duplicate suite names in resource collections.
- UNKNOWN - com.carrotsearch.randomizedtesting.RunnerContainer
- unsubscribeListeners(RunNotifier) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Unsubscribe listeners.
- up - Variable in class com.carrotsearch.randomizedtesting.ClassModel.ClassElement
- US_ASCII - Static variable in class com.carrotsearch.randomizedtesting.RandomizedTest
- useConstantSeed() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.Repeat
-
Re-run all iterations with a constant seed.
- useDefaults - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.StackTraceFilter
-
Whether or not to use the default filters.
- useSimpleNames - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.TextReport
-
Use simple names for suite names.
- 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
- valid - Variable in class com.carrotsearch.randomizedtesting.AssertingRandom
-
Track out-of-context use of this
Random
instance. - validate() - Method in class com.carrotsearch.ant.tasks.junit4.PickFromListTask
-
Validate arguments and state.
- validate() - Method in class com.carrotsearch.ant.tasks.junit4.PickSeedTask
-
Validate arguments and state.
- validate(Class<?>) - Method in class com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule
- validateArguments() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Validate arguments.
- validateJUnit4() - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Validate JUnit4 presence in a concrete version.
- validateParameters() - Method in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Initial validation of input parameters and configuration.
- validateTarget() - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Validate methods and hooks in the suiteClass.
- validateTestMethods(List<Method>) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Perform additional checks on methods returned from the providers.
- Validation - Class in com.carrotsearch.randomizedtesting
-
Validation utilities.
- Validation() - Constructor for class com.carrotsearch.randomizedtesting.Validation
- Validation.ClassValidation - Class in com.carrotsearch.randomizedtesting
- Validation.MethodValidation - Class in com.carrotsearch.randomizedtesting
- value - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.PropertyModel
- value - Variable in class com.carrotsearch.ant.tasks.junit4.PickFromListTask.StringValue
- value - Variable in class com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule.Entry
- value() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.Listeners
-
An array of listener classes.
- value() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.Name
- value() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.Nightly
-
Additional description, if needed.
- value() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.Seed
-
The seed expressed as a hexadecimal long number or a string
random
to indicate randomized seed should be used (default value). - value() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.SeedDecorators
- value() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.Seeds
-
A non-empty array of
Seed
s. - value() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.SuppressForbidden
- value() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.TestCaseInstanceProvider
- value() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.TestCaseOrdering
-
The comparator used to sort all test cases.
- value() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.TestContextRandomSupplier
- value() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.TestMethodProviders
- value() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.ThreadLeakAction
- value() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.ThreadLeakGroup
- value() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.ThreadLeakScope
- value() - Method in annotation type com.carrotsearch.randomizedtesting.annotations.ThreadLeakZombies
- value() - Method in class com.carrotsearch.randomizedtesting.FilterExpressionParser.InputRange
- value(boolean) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Encodes
value
. - value(double) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Encodes
value
. - value(long) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Encodes
value
. - value(Number) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Encodes
value
. - value(String) - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
-
Encodes
value
. - 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.gson.stream.JsonToken
-
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.json.JsonReport.OutputMethod
-
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.ant.tasks.junit4.NonEmptyWorkDirectoryAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.carrotsearch.randomizedtesting.annotations.TestCaseInstanceProvider.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakAction.Action
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakGroup.Group
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakScope.Scope
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakZombies.Consequence
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.carrotsearch.randomizedtesting.ClassModel.Scope
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.carrotsearch.randomizedtesting.LifecycleScope
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.carrotsearch.randomizedtesting.Rants.RantType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.JvmFeature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.carrotsearch.randomizedtesting.RunnerContainer
-
Returns the enum constant of this type with the specified name.
- values - Variable in class com.carrotsearch.ant.tasks.junit4.PickFromListTask
-
Values to pick from.
- 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.gson.stream.JsonToken
-
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.json.JsonReport.OutputMethod
-
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.ant.tasks.junit4.NonEmptyWorkDirectoryAction
-
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.TestCaseInstanceProvider.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakAction.Action
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakGroup.Group
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakScope.Scope
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.carrotsearch.randomizedtesting.annotations.ThreadLeakZombies.Consequence
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.carrotsearch.randomizedtesting.ClassModel.Scope
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.carrotsearch.randomizedtesting.LifecycleScope
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.carrotsearch.randomizedtesting.Rants.RantType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.JvmFeature
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.carrotsearch.randomizedtesting.RunnerContainer
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verbatim - Variable in class com.carrotsearch.maven.plugins.junit4.JUnit4Mojo
-
Raw section to copy/paste into ANT-driver.
- verbose - Variable in class com.carrotsearch.ant.tasks.junit4.balancers.ExecutionTimeBalancer
- verify(Method) - Method in class com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule
- verifyJUnit4Present() - Static method in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMainSafe
-
Verify JUnit presence and version.
W
- w - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.LineFlushingWriter
- warn(String, Throwable) - Static method in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
-
Warning emitter.
- WARN - com.carrotsearch.ant.tasks.junit4.JUnit4.JvmOutputAction
- WARN - com.carrotsearch.ant.tasks.junit4.JUnit4.NoTestsAction
- WARN - com.carrotsearch.randomizedtesting.annotations.ThreadLeakAction.Action
-
Emit a warning using Java's logging system.
- warnings - Static variable in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain
-
A sink for warnings (non-event stream).
- warnStream - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
- warnUnsupported(String) - Method in class com.carrotsearch.ant.tasks.junit4.JUnit4
- watchdog - Variable in class com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler
-
Watchdog thread if heartbeat is to be measured.
- WELCOME_MESSAGES - Static variable in class com.carrotsearch.ant.tasks.junit4.JUnit4
-
Welcome messages.
- WIPE - com.carrotsearch.ant.tasks.junit4.NonEmptyWorkDirectoryAction
-
Wipe the content of the work directory clean if there are any files in it.
- withClassAfters(Statement) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
- withClassBefores(Statement) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Decorate a
Statement
withBeforeClass
hooks. - withClassRules(Statement) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Wrap with
ClassRule
s. - withCloseContextResources(Statement, LifecycleScope) - Static method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Wrap with a rule to close context resources.
- wrapBeforeAndAfters(Statement, RandomizedRunner.TestCandidate, Object) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Wrap before and after hooks.
- wrapExpectedExceptions(Statement, RandomizedRunner.TestCandidate) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Wrap the given statement into another catching the expected exception, if declared.
- wrapMethodRules(Statement, RandomizedRunner.TestCandidate, Object) - Method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Wrap the given statement in any declared MethodRules (old style rules).
- write(byte[]) - Method in class com.carrotsearch.ant.tasks.junit4.slave.EventsOutputStream
- write(byte[]) - Method in class com.carrotsearch.randomizedtesting.TeeOutputStream
- write(byte[]) - Method in class com.carrotsearch.randomizedtesting.WriterOutputStream
-
Write bytes from the specified byte array to the stream.
- write(byte[], int, int) - Method in class com.carrotsearch.ant.tasks.junit4.slave.EventsOutputStream
- write(byte[], int, int) - Method in class com.carrotsearch.randomizedtesting.TeeOutputStream
- write(byte[], int, int) - Method in class com.carrotsearch.randomizedtesting.WriterOutputStream
-
Write bytes from the specified byte array to the stream.
- write(char[], int, int) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.LineFlushingWriter
- write(char[], int, int) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.PrefixedWriter
- write(char[], int, int) - Method in class com.carrotsearch.ant.tasks.junit4.slave.NullWriter
- write(int) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.LineFlushingWriter
- write(int) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.PrefixedWriter
- write(int) - Method in class com.carrotsearch.ant.tasks.junit4.slave.EventsOutputStream
- write(int) - Method in class com.carrotsearch.ant.tasks.junit4.slave.SlaveMain.ChunkedStream
- write(int) - Method in class com.carrotsearch.randomizedtesting.TeeOutputStream
- write(int) - Method in class com.carrotsearch.randomizedtesting.WriterOutputStream
-
Write a single byte to the stream.
- write(String) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.antxml.XmlStringTransformer
- write(String, int, int) - Method in class com.carrotsearch.ant.tasks.junit4.listeners.LineFlushingWriter
- write(PlexusConfiguration, Writer) - Method in class com.carrotsearch.maven.plugins.junit4.XmlConfigurationWriter
- write(PlexusConfiguration, XMLWriter, int) - Method in class com.carrotsearch.maven.plugins.junit4.XmlConfigurationWriter
- writeAttributes(PlexusConfiguration, XMLWriter) - Method in class com.carrotsearch.maven.plugins.junit4.XmlConfigurationWriter
- writeBinaryProperty(JsonWriter, String, byte[]) - Static method in class com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
- writeDeferredName() - Method in class com.carrotsearch.ant.tasks.junit4.gson.stream.JsonWriter
- writeDescription(JsonWriter, Description) - Static method in class com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
- writeDescription(JsonWriter, Description) - Static method in class com.carrotsearch.ant.tasks.junit4.events.JsonHelpers
- writeGoal(StringBuilder, String, Element) - Method in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
- writeHints(File, Map<String, List<Long>>) - Static method in class com.carrotsearch.ant.tasks.junit4.listeners.ExecutionTimesReport
-
Writes back hints file.
- writeImmediately - Variable in class com.carrotsearch.randomizedtesting.WriterOutputStream
- writeParameter(StringBuilder, Node, Node) - Method in class com.carrotsearch.randomizedtesting.junit4_maven_plugin.HelpMojo
- writer - Variable in class com.carrotsearch.ant.tasks.junit4.events.Serializer
- writer - Variable in class com.carrotsearch.ant.tasks.junit4.listeners.json.JsonReport
- writer - Variable in class com.carrotsearch.randomizedtesting.WriterOutputStream
- WriterOutputStream - Class in com.carrotsearch.randomizedtesting
-
OutputStream
implementation that transforms a byte stream to a character stream using a specified charset encoding and writes the resulting stream to aWriter
. - WriterOutputStream(Writer) - Constructor for class com.carrotsearch.randomizedtesting.WriterOutputStream
-
Constructs a new
WriterOutputStream
that uses the default character encoding and with a default output buffer size of 1024 characters. - WriterOutputStream(Writer, String) - Constructor for class com.carrotsearch.randomizedtesting.WriterOutputStream
-
Constructs a new
WriterOutputStream
with a default output buffer size of 1024 characters. - WriterOutputStream(Writer, String, int, boolean) - Constructor for class com.carrotsearch.randomizedtesting.WriterOutputStream
-
Constructs a new
WriterOutputStream
. - WriterOutputStream(Writer, Charset) - Constructor for class com.carrotsearch.randomizedtesting.WriterOutputStream
-
Constructs a new
WriterOutputStream
with a default output buffer size of 1024 characters. - WriterOutputStream(Writer, CharsetDecoder) - Constructor for class com.carrotsearch.randomizedtesting.WriterOutputStream
-
Constructs a new
WriterOutputStream
with a default output buffer size of 1024 characters. - WriterOutputStream(Writer, CharsetDecoder, int, boolean) - Constructor for class com.carrotsearch.randomizedtesting.WriterOutputStream
-
Constructs a new
WriterOutputStream
. - WriterOutputStream(Writer, Charset, int, boolean) - Constructor for class com.carrotsearch.randomizedtesting.WriterOutputStream
-
Constructs a new
WriterOutputStream
. - writeTag(PlexusConfiguration, XMLWriter, int) - Method in class com.carrotsearch.maven.plugins.junit4.XmlConfigurationWriter
- WTF - com.carrotsearch.randomizedtesting.Rants.RantType
X
- XmlConfigurationWriter - Class in com.carrotsearch.maven.plugins.junit4
-
Write a plexus configuration to a stream
- XmlConfigurationWriter() - Constructor for class com.carrotsearch.maven.plugins.junit4.XmlConfigurationWriter
- XmlStringTransformer - Class in com.carrotsearch.ant.tasks.junit4.listeners.antxml
- XmlStringTransformer() - Constructor for class com.carrotsearch.ant.tasks.junit4.listeners.antxml.XmlStringTransformer
- xorHash - Variable in class com.carrotsearch.randomizedtesting.MixWithSuiteName
- Xoroshiro128PlusRandom - Class in com.carrotsearch.randomizedtesting
-
Implements Xoroshiro128PlusRandom.
- Xoroshiro128PlusRandom(long) - Constructor for class com.carrotsearch.randomizedtesting.Xoroshiro128PlusRandom
Z
- zeroForNull(Integer) - Static method in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
Replace null with zero.
- zombieMarker - Static variable in class com.carrotsearch.randomizedtesting.RandomizedRunner
-
A marker for flagging zombie threads (leaked threads that couldn't be killed).
_
- _contextLock - Variable in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Coordination at context level.
- _globalLock - Static variable in class com.carrotsearch.randomizedtesting.RandomizedContext
-
Coordination at global level.
All Classes All Packages