A C E G I L O P R S U W 

A

AbstractAgentPluginTest - Class in org.rhq.core.plugin.testutil
The base class for an Agent plugin integration test class.
AbstractAgentPluginTest() - Constructor for class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
 
assertOperationSucceeded(String, Configuration, OperationResult) - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
 

C

collectMetric(Resource, String) - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
Collect a metric for a Resource synchronously, with a 7 second timeout.
collectTrait(Resource, String) - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
 

E

executeNoArgOperations(Resource, List<String>, List<String>) - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
Test that executes all the no arg operations for all the subresources of a provided resource.

G

getAvailability(Resource) - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
Get availability for a Resource synchronously, with a 5 second timeout.
getPlatformPlugin() - Static method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
 
getPluginJarFile() - Static method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
 
getPluginName() - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
 
getPluginUnderTest() - Static method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
 
getResCount(Resource) - Static method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
 
getResourceByTypeAndKey(Resource, ResourceType, String, boolean) - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
 
getServerInventory() - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
 

I

injectMocks(MockingServerServices) - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
Superclass can override this to add additional mocked services to those already defined in this abstract base class.
invokeOperation(Resource, String, Configuration) - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
Execute an operation on a Resource synchronously, with the same timeout that the PC would use.
invokeOperationAndAssertSuccess(Resource, String, Configuration) - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
 

L

loadResourceConfiguration(Resource) - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
 
loadUpdateConfigChildResources(Resource, List<String>) - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
Test that loads a resource configuration and then immediately updates the resource with the exact same loaded settings.

O

org.rhq.core.plugin.testutil - package org.rhq.core.plugin.testutil
 

P

pluginContainer - Variable in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
 
pluginContainerConfiguration - Variable in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
 

R

resetServerServices() - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
Set up our fake server discovery ServerService, which will auto-import all Resources in reports it receives.

S

serverServices - Variable in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
 

U

updateResourceConfiguration(Resource, Configuration) - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
 

W

waitForAsyncDiscoveryToStabilize(Resource) - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
This waits until the discovered tree size stabilizes.
waitForAsyncDiscoveryToStabilize(Resource, long, int) - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
This waits until the discovered tree size stabilizes.
waitForResourceByTypeAndKey(Resource, Resource, ResourceType, String) - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
Convenience, same as calling {{waitForResourceByTypeAndKey(platform, parent, type, key, 600)}}.
waitForResourceByTypeAndKey(Resource, Resource, ResourceType, String, int) - Method in class org.rhq.core.plugin.testutil.AbstractAgentPluginTest
A method that looks for a child resource, given the parent, and will wait for the resource to show up (and be committed) under the parent if it isn't there already - on the assumption that discovery is still taking place.
A C E G I L O P R S U W 

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