Package org.rhq.test.arquillian

Class Summary
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.
 

Annotation Types Summary
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.
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.
 



Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.