| Interface | Description |
|---|---|
| ControlsInjector | |
| CountDownLatchInjection |
This class is used internally for tracking injected countdown latches.
|
| Class | Description |
|---|---|
| Controls | |
| Controls.Builder |
A builder to create a controls string, a JSON that holds a list of injections that are to be injected in code for
testing purposes.
|
| ControlsInjectionUtil |
Static methods for constructing exception and pause injections for testing purposes.
|
| ControlsInjectorFactory | |
| CountDownLatchInjectionImpl |
See
CountDownLatchInjection Degenerates to
PauseInjection.pause(), if initialized to zero count. |
| ExceptionInjection |
Injection for a single exception.
|
| ExecutionControls |
Tracks the simulated controls that will be injected for testing purposes.
|
| ExecutionControls.ControlsOptionValidator |
The JSON specified for the
ExecConstants.DRILLBIT_CONTROL_INJECTIONS
option is validated using this class. |
| ExecutionControls.InjectionMixIn | |
| ExecutionControlsInjector |
Injects exceptions and pauses at execution time for testing.
|
| Injection |
The base class for all types of injections (currently, pause and exception).
|
| InjectionSite | |
| InjectionSite.InjectionSiteKeyDeserializer |
Key Deserializer for InjectionSite.
|
| NoOpControlsInjector |
An injector that does not inject any controls, useful when not testing (i.e.
|
| PauseInjection |
Injection for a single pause.
|
| TestCountDownLatchInjection | |
| TestExceptionInjection | |
| TestPauseInjection | |
| TestResourceLeak | |
| TestResourceLeak.Leak |
| Exception | Description |
|---|---|
| InjectionConfigurationException |
An Exception thrown when injection configuration is incorrect.
|
Copyright © 2021 The Apache Software Foundation. All rights reserved.