| Class | Description |
|---|---|
| FakeServerInventory |
This class represents a server side database store of the inventory for the purposes
of the unit tests that need to mock out the server functionality.
|
| FakeServerInventory.CompleteDiscoveryChecker |
You can
FakeServerInventory.CompleteDiscoveryChecker.waitForDiscoveryComplete() on an instance of this class
for the complete discovery to finish in case your
fake server commits some resources (which starts off
asynchronous discovery of children). |
| MockingServerServices |
An example server service extension that sets up the various server services
using Mockito mocks.
|
| Enum | Description |
|---|---|
| When |
| Annotation Type | Description |
|---|---|
| AfterDiscovery |
Similar to
@BeforeDiscovery, methods annotated with this
annotation are run just after the discovery ran. |
| BeforeDiscovery |
Marks a method as to be run before the discovery is executed
on a test method.
|
| ClearPersistedData |
When a test method is annotated with this annotation, the data persisted by the plugin container during its lifetime
can be automatically cleaned up.
|
| DiscoveredResources |
Fields of type
Set<Resource> annotated with this annotation
will contain the results of the discovery for a particular resource type. |
| PluginContainerInstance |
When placed on type, this annotation merely configures the behavior of the plugin container
instance before each test.
|
| ResourceComponentInstances |
This is a similar to the
DiscoveredResources annotation but
provides the actual instances of the resource components of the discovered
resources. |
| ResourceContainers |
The annotated field is going to contain a set of resource container instances that
represent the resources discovered for the particular resource type.
|
| RunDiscovery |
Instructs to run discovery before a test method is executed.
|
| ServerServicesSetup |
Methods annotated with this annotation will have a chance to interact with
the configured server services implementation right after it has been instantiated,
before it is passed to the plugin container's configuration.
|
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.