All Classes Interface Summary Class Summary Enum Summary Exception Summary Annotation Types Summary
Class |
Description |
AbstractAsyncBulkByScrollActionTestCase<Request extends AbstractBulkByScrollRequest<Request>,Response extends BulkByScrollResponse> |
|
AbstractBuilderTestCase |
|
AbstractBytesReferenceTestCase |
|
AbstractDiffableSerializationTestCase<T extends Diffable<T> & ToXContent> |
An abstract test case to ensure correct behavior of Diffable.
|
AbstractDiffableWireSerializationTestCase<T extends Diffable<T>> |
An abstract test case to ensure correct behavior of Diffable.
|
AbstractFullClusterRestartTestCase |
|
AbstractHttpFixture |
Base class for test fixtures that requires a HttpServer to work.
|
AbstractHttpFixture.Request |
Represents an HTTP Request.
|
AbstractHttpFixture.RequestHandler |
|
AbstractHttpFixture.Response |
Represents an HTTP Response.
|
AbstractNumericFieldMapperTestCase |
|
AbstractNumericTestCase |
|
AbstractQueryTestCase<QB extends AbstractQueryBuilder<QB>> |
|
AbstractSerializingTestCase<T extends ToXContent & Writeable> |
|
AbstractSimpleTransportTestCase |
|
AbstractSimpleTransportTestCase.StringMessageRequest |
|
AbstractSimpleTransportTestCase.TestRequest |
|
AbstractSimpleTransportTestCase.Version0Request |
|
AbstractSimpleTransportTestCase.Version1Request |
|
AbstractStreamableTestCase<T extends Streamable> |
|
AbstractStreamableXContentTestCase<T extends ToXContent & Streamable> |
|
AbstractTermsTestCase |
|
AbstractWireSerializingTestCase<T extends Writeable> |
|
AbstractWireTestCase<T> |
|
AbstractXContentTestCase<T extends ToXContent> |
|
AbstractXContentTestCase.XContentTester<T> |
Tests converting to and from xcontent.
|
AggregatorTestCase |
Base class for testing Aggregator implementations.
|
AnalysisFactoryTestCase |
Alerts us if new analysis components are added to Lucene, so we don't miss them.
|
AnalysisFactoryTestCase.MovedToAnalysisCommon |
Marker class for components that have moved to the analysis-common modules.
|
AnalysisTestsHelper |
|
ApiCallSection |
Represents a test fragment that contains the information needed to call an api
|
Assertion |
Base class for executable sections that hold assertions
|
BackgroundIndexer |
|
BaseAggregationTestCase<AB extends AbstractAggregationBuilder<AB>> |
|
BlockClusterStateProcessing |
|
BlockMasterServiceOnMaster |
|
BootstrapForTesting |
Initializes natives and installs test security manager
(init'd early by base classes to ensure it happens regardless of which
test case happens to be first, test ordering, etc).
|
CapturingTransport |
A transport class that doesn't send anything but rather captures all requests for inspection from tests
|
CapturingTransport.CapturedRequest |
|
ClientYamlDocsTestClient |
Used to execute REST requests according to the docs snippets that need to be tests.
|
ClientYamlSuiteRestApi |
Specification of an Elasticsearch endpoint used by the YAML specs to generate REST requests.
|
ClientYamlSuiteRestApi.Body |
|
ClientYamlSuiteRestApiParser |
|
ClientYamlSuiteRestPath |
|
ClientYamlSuiteRestSpec |
Holds the specification used to turn do actions in the YAML suite into REST api calls.
|
ClientYamlTestCandidate |
|
ClientYamlTestClient |
|
ClientYamlTestExecutionContext |
Execution context passed across the REST tests.
|
ClientYamlTestResponse |
Response obtained from a REST call, eagerly reads the response body into a string for later optional parsing.
|
ClientYamlTestResponseException |
Exception obtained from a REST call in case the response code indicated an error.
|
ClientYamlTestSection |
Represents a test section, which is composed of a skip section and multiple executable sections.
|
ClientYamlTestSuite |
Holds a REST test suite loaded from a specific yaml file.
|
ClusterDiscoveryConfiguration |
|
ClusterDiscoveryConfiguration.UnicastZen |
|
ClusterServiceUtils |
|
CollectionAssertions |
Assertions for easier handling of our custom collections,
for example ImmutableOpenMap
|
CollectionMatchers |
Matchers for easier handling of our custom collections,
for example ImmutableOpenMap
|
CollectionMatchers.ImmutableOpenMapHasAllKeysMatcher |
|
CollectionMatchers.ImmutableOpenMapHasKeyMatcher |
|
CommandTestCase |
A base test case for cli tools.
|
CorruptionUtils |
|
DiffableTestUtils |
Utilities that simplify testing of diffable classes
|
DocIdSeqNoAndTerm |
A tuple of document id, sequence number and primary term of a document
|
DoSection |
Represents a do section:
- do:
catch: missing
headers:
Authorization: Basic user:pass
Content-Type: application/json
warnings:
- Stuff is deprecated, yo
- Don't use deprecated stuff
- Please, stop.
|
DummyShardLock |
|
ElasticsearchAssertions |
|
ElasticsearchMatchers |
|
ElasticsearchMatchers.SearchHitHasIdMatcher |
|
ElasticsearchMatchers.SearchHitHasIndexMatcher |
|
ElasticsearchMatchers.SearchHitHasScoreMatcher |
|
ElasticsearchMatchers.SearchHitHasTypeMatcher |
|
EngineTestCase |
|
EngineTestCase.IndexWriterFactory |
|
EqualsHashCodeTestUtils |
Utility class that encapsulates standard checks and assertions around testing the equals() and hashCode()
methods of objects that implement them.
|
EqualsHashCodeTestUtils.CopyFunction<T> |
A function that makes a copy of its input argument
|
EqualsHashCodeTestUtils.MutateFunction<T> |
A function that creates a copy of its input argument that is different from its
input in exactly one aspect (e.g.
|
ESAllocationTestCase |
|
ESAllocationTestCase.DelayedShardsMockGatewayAllocator |
Mocks behavior in ReplicaShardAllocator to remove delayed shards from list of unassigned shards so they don't get reassigned yet.
|
ESAllocationTestCase.MockAllocationService |
|
ESAllocationTestCase.TestAllocateDecision |
|
EsBaseDirectoryTestCase |
Extends Lucene's BaseDirectoryTestCase with ES test behavior.
|
ESBlobStoreContainerTestCase |
Generic test case for blob store container implementation.
|
ESBlobStoreRepositoryIntegTestCase |
Basic integration tests for blob-based repository validation.
|
ESBlobStoreTestCase |
Generic test case for blob store implementation.
|
ESClientYamlSuiteTestCase |
Runs a suite of yaml tests shared with all the official Elasticsearch
clients against against an elasticsearch cluster.
|
ESIndexLevelReplicationTestCase |
|
ESIntegTestCase |
ESIntegTestCase is an abstract base class to run integration
tests against a JVM private Elasticsearch Cluster.
|
ESIntegTestCase.AssertActionNamePlugin |
|
ESIntegTestCase.ClusterScope |
|
ESIntegTestCase.NumShards |
|
ESIntegTestCase.Scope |
|
ESIntegTestCase.SuiteScopeTestCase |
If a test is annotated with ESIntegTestCase.SuiteScopeTestCase
the checks and modifications that are applied to the used test cluster are only done after all tests
of this class are executed.
|
ESIntegTestCase.TestSeedPlugin |
|
ESIntegTestCase.ThirdParty |
Annotation for third-party integration tests.
|
ESRestTestCase |
Superclass for tests that interact with an external test cluster using Elasticsearch's RestClient .
|
ESSingleNodeTestCase |
A test that keep a singleton node started for all tests that can be used to get
references to Guice injectors in unit tests.
|
ESTestCase |
Base testcase for randomized unit testing with Elasticsearch
|
ESTestCase.GeohashGenerator |
|
ESTestCase.TestAnalysis |
This cute helper class just holds all analysis building blocks that are used
to build IndexAnalyzers.
|
ESTokenStreamTestCase |
|
ExecutableSection |
Represents a test fragment that can be executed (e.g.
|
ExternalTestCluster |
External cluster to run the tests against.
|
FakeRestChannel |
|
FakeRestRequest |
|
FakeRestRequest.Builder |
|
Features |
Allows to register additional features supported by the tests runner.
|
FieldMaskingReader |
|
FieldTypeTestCase |
Base test case for subclasses of MappedFieldType
|
FieldTypeTestCase.Modifier |
Abstraction for mutating a property of a MappedFieldType
|
GreaterThanAssertion |
Represents a gt assert section:
|
GreaterThanEqualToAssertion |
Represents a gte assert section:
- gte: { fields._ttl: 0 }
|
IndexSettingsModule |
|
IndexShardTestCase |
A base class for unit tests that need to create and shutdown IndexShard instances easily,
containing utilities for shard creation and recoveries.
|
IngestDocumentMatcher |
|
IngestTestPlugin |
Adds an ingest processor to be used in tests.
|
IntermittentLongGCDisruption |
Simulates irregular long gc intervals.
|
InternalAggregationTestCase<T extends InternalAggregation> |
|
InternalMultiBucketAggregationTestCase<T extends InternalAggregation & MultiBucketsAggregation> |
|
InternalSettingsPlugin |
|
InternalSingleBucketAggregationTestCase<T extends InternalSingleBucketAggregation> |
|
InternalTestCluster |
InternalTestCluster manages a set of JVM private nodes and allows convenient access to them.
|
InternalTestCluster.RestartCallback |
|
IsFalseAssertion |
Represents an is_false assert section:
- is_false: get.fields.bar
|
IsTrueAssertion |
Represents an is_true assert section:
- is_true: get.fields.bar
|
LengthAssertion |
Represents a length assert section:
|
LessThanAssertion |
Represents a lt assert section:
- lt: { fields._ttl: 20000}
|
LessThanOrEqualToAssertion |
Represents a lte assert section:
- lte: { fields._ttl: 0 }
|
LoggingListener |
A RunListener that allows changing the log level for a specific test method.
|
LongGCDisruption |
Suspends all threads on the specified node in order to simulate a long gc.
|
MapperTestUtils |
|
MatchAssertion |
Represents a match assert section:
- match: { get.fields._routing: "5" }
|
MockBigArrays |
|
MockEngineFactory |
|
MockEngineFactoryPlugin |
|
MockEngineSupport |
Support class to build MockEngines like MockInternalEngine
since they need to subclass the actual engine
|
MockEngineSupport.DirectoryReaderWrapper |
|
MockEngineSupport.MockContext |
|
MockFieldFilterPlugin |
|
MockFieldMapper |
|
MockFieldMapper.FakeFieldType |
|
MockFSDirectoryService |
|
MockFSDirectoryService.ElasticsearchMockDirectoryWrapper |
|
MockFSIndexStore |
|
MockFSIndexStore.TestPlugin |
|
MockIndexEventListener |
|
MockIndexEventListener.TestEventListener |
|
MockIndexEventListener.TestPlugin |
|
MockInternalClusterInfoService |
Fake ClusterInfoService class that allows updating the nodes stats disk
usage with fake values
|
MockInternalClusterInfoService.DevNullClusterInfo |
ClusterInfo that always points to DevNull.
|
MockInternalClusterInfoService.TestPlugin |
This is a marker plugin used to trigger MockNode to use this mock info service.
|
MockKeywordPlugin |
Some tests rely on the keyword tokenizer, but this tokenizer isn't part of lucene-core and therefor not available
in some modules.
|
MockLogAppender |
Test appender that can be used to verify that certain events were logged correctly
|
MockLogAppender.AbstractEventExpectation |
|
MockLogAppender.ExceptionSeenEventExpectation |
|
MockLogAppender.LoggingExpectation |
|
MockLogAppender.PatternSeenEventExcpectation |
|
MockLogAppender.SeenEventExpectation |
|
MockLogAppender.UnseenEventExpectation |
|
MockNode |
A node for testing which allows:
Overriding Version.CURRENT
Adding test plugins that exist on the classpath
|
MockPageCacheRecycler |
|
MockScriptEngine |
A mocked script engine that can be used for testing purpose.
|
MockScriptEngine.ContextCompiler |
A non-typed compiler for a single custom context
|
MockScriptEngine.MockFilterScript |
|
MockScriptEngine.MockMetricAggCombineScript |
|
MockScriptEngine.MockMetricAggInitScript |
|
MockScriptEngine.MockMetricAggMapScript |
|
MockScriptEngine.MockMetricAggReduceScript |
|
MockScriptPlugin |
|
MockSearchService |
|
MockSearchService.TestPlugin |
|
MockSecureSettings |
A mock implementation of secure settings for tests to use.
|
MockTaskManager |
A mock task manager that allows adding listeners for events
|
MockTaskManagerListener |
Listener for task registration/unregistration
|
MockTcpTransport |
This is a socket based blocking TcpTransport implementation that is used for tests
that need real networking.
|
MockTcpTransportPlugin |
|
MockTerminal |
A terminal for tests which captures all output, and
can be plugged with fake input.
|
MockTransportClient |
|
MockTransportService |
A mock delegate service that allows to simulate different network topology failures.
|
MockTransportService.TestPlugin |
|
MockTransportService.Tracer |
|
MockZenPing |
A ZenPing implementation which returns results based on a static in-memory map.
|
ModuleTestCase |
Base testcase for testing Module implementations.
|
MyFilterTokenFilterFactory |
|
Network |
Annotation used to set if internet network connectivity is required to run the test.
|
NetworkDisruption |
|
NetworkDisruption.Bridge |
Creates two partitions with symmetric failures and a bridge node that can connect to both of the partitions
|
NetworkDisruption.DisruptedLinks |
Represents a set of nodes with connections between nodes that are to be disrupted
|
NetworkDisruption.IsolateAllNodes |
|
NetworkDisruption.NetworkDelay |
Simulates slow or congested network.
|
NetworkDisruption.NetworkDisconnect |
Simulates a network disconnect.
|
NetworkDisruption.NetworkLinkDisruptionType |
Abstract class representing various types of network disruptions.
|
NetworkDisruption.NetworkUnresponsive |
Simulates an unresponsive target node by dropping requests sent from source to target node.
|
NetworkDisruption.TwoPartitions |
Creates two partitions with symmetric failures
|
NodeConfigurationSource |
|
NodeMocksPlugin |
|
NodeNameInLogsIntegTestCase |
Tests that extend this class verify that the node name appears in the first
few log lines on startup.
|
NoOpClient |
Client that always responds with null to every request.
|
NoOpDisruptionScheme |
|
NoopGatewayAllocator |
An allocator used for tests that doesn't do anything
|
NotEqualMessageBuilder |
Builds a message describing how two sets of values are unequal.
|
NullDispatcher |
|
ObjectPath |
Holds an object and allows to extract specific values from it given their path
|
OldIndexUtils |
|
PathUtilsForTesting |
Exposes some package private stuff in PathUtils for framework purposes only!
|
PluginTestUtil |
Utility methods for testing plugins
|
PosixPermissionsResetter |
Stores the posix attributes for a path and resets them on close.
|
RandomAliasActionsGenerator |
|
RandomCreateIndexGenerator |
|
RandomDocumentPicks |
|
RandomizingClient |
A Client that randomizes request parameters.
|
RandomObjects |
|
RandomSearchRequestGenerator |
Builds random search requests.
|
RecoverySettingsChunkSizePlugin |
|
RegexMatcher |
Matcher that supports regular expression and allows to provide optional flags
|
ReproduceInfoPrinter |
A RunListener that emits a command you can use to re-run a failing test with the failing random seed to
System.err .
|
ReproduceInfoPrinter.GradleMessageBuilder |
|
RestClientBuilderTestCase |
A test case with access to internals of a RestClient.
|
ServiceDisruptionScheme |
|
SetSection |
Represents a set section:
- set: {_scroll_id: scroll_id}
|
SetupSection |
Represents a setup section.
|
ShardRoutingHelper |
A helper class that allows access to package private APIs for testing.
|
SingleNodeDisruption |
|
SkipSection |
Represents a skip section that tells whether a specific test section or suite needs to be skipped
based on:
- the elasticsearch version the tests are running against
- a specific test feature required that might not be implemented yet by the runner
|
SlowClusterStateProcessing |
|
Stash |
Allows to cache the last obtained test response and or part of it within variables
that can be used as input values in following requests and assertions.
|
StreamsUtils |
|
StubbableConnectionManager |
|
StubbableConnectionManager.GetConnectionBehavior |
|
StubbableConnectionManager.NodeConnectedBehavior |
|
StubbableTransport |
|
StubbableTransport.OpenConnectionBehavior |
|
StubbableTransport.SendRequestBehavior |
|
TeardownSection |
|
TestCluster |
Base test cluster that exposes the basis to run tests against any elasticsearch cluster, whose layout
(e.g.
|
TestCustomMetaData |
|
TestEnvironment |
Provides a convenience method for tests to construct an Environment when the config path does not matter.
|
TestGatewayAllocator |
A gateway allocator implementation that keeps an in memory list of started shard allocation
that are used as replies to the, normally async, fetch data requests.
|
TestLogging |
Annotation used to set a custom log level for a specific test method.
|
TestProcessor |
Processor used for testing, keeps track of how many times it is invoked and
accepts a Consumer of IngestDocument to be called when executed.
|
TestProcessor.Factory |
|
TestSearchContext |
|
TestShardRouting |
A helper that allows to create shard routing instances within tests, while not requiring to expose
different simplified constructors on the ShardRouting itself.
|
TestTemplateService |
|
TestTemplateService.MockTemplateScript |
|
TestTemplateService.MockTemplateScript.Factory |
|
TestThreadInfoPatternConverter |
Converts %test_thread_info in log4j patterns into information
based on the loggin thread's name.
|
TestThreadPool |
|
TestZenDiscovery |
A alternative zen discovery which allows using mocks for things like pings, as well as
giving access to internals.
|
TestZenDiscovery.TestPlugin |
A plugin which installs mock discovery and configures it to be used.
|
ThrowingLeafReaderWrapper |
An FilterLeafReader that allows to throw exceptions if certain methods
are called on is.
|
ThrowingLeafReaderWrapper.Flags |
|
ThrowingLeafReaderWrapper.Thrower |
A callback interface that allows to throw certain exceptions for
methods called on the IndexReader that is wrapped by ThrowingLeafReaderWrapper
|
ThrowingLeafReaderWrapper.ThrowingFields |
Wraps a Fields but with additional asserts
|
ThrowingLeafReaderWrapper.ThrowingTerms |
Wraps a Terms but with additional asserts
|
TranslogDeletionPolicies |
|
TranslogHandler |
|
TransportWriteActionTestHelper |
|
VersionUtils |
Utilities for selecting versions in tests
|
XContentTestUtils |
|