A B C D E G I J L M O P R S T V W 

A

addObject(Object) - Method in class org.rhq.test.ObjectCollectionSerializer
 
addObjects(Collection<?>) - Method in class org.rhq.test.ObjectCollectionSerializer
 
afterInvocation(IInvokedMethod, ITestResult) - Method in class org.rhq.test.JMockTest
assertCollectionEqualsNoOrder(Collection<T>, Collection<T>, String) - Static method in class org.rhq.test.AssertUtils
Verifies that two collections are equal, according to the definition of equals() of the contained elements.
assertCollectionMatchesNoOrder(Collection<T>, Collection<T>, String) - Static method in class org.rhq.test.AssertUtils
Verifies that the two collections contain the same number of matching elements as is done in AssertUtils.assertPropertiesMatch(String, Object, Object, String...).
assertCollectionMatchesNoOrder(String, Collection<T>, Collection<T>, String...) - Static method in class org.rhq.test.AssertUtils
 
assertCollectionMatchesNoOrder(String, Collection<T>, Collection<T>, Double, String...) - Static method in class org.rhq.test.AssertUtils
Verifies that the two collections contain the same number of matching elements as is done in AssertUtils.assertPropertiesMatch(String, Object, Object, String...).
assertPropertiesMatch(T, T, String) - Static method in class org.rhq.test.AssertUtils
Verifies that all public, accessible properties of the two objects are equal.
assertPropertiesMatch(String, T, T, String...) - Static method in class org.rhq.test.AssertUtils
 
assertPropertiesMatch(String, T, T, Double, String...) - Static method in class org.rhq.test.AssertUtils
 
assertPropertiesMatch(String, T, T, List<String>) - Static method in class org.rhq.test.AssertUtils
Verifies that all public, accessible properties of the two objects are equal, excluding those specified in the ignoredProperties argument.
assertPropertiesMatch(String, T, T, Double, List<String>) - Static method in class org.rhq.test.AssertUtils
Verifies that all public, accessible properties of the two objects are equal, excluding those specified in the ignoredProperties argument.
AssertUtils - Class in org.rhq.test
 
AssertUtils() - Constructor for class org.rhq.test.AssertUtils
 

B

beforeInvocation(IInvokedMethod, ITestResult) - Method in class org.rhq.test.JMockTest
Runs #initBeforeTest(ITestResult).

C

close() - Method in class org.rhq.test.PortScout
 
CollectionEqualsChecker<T> - Class in org.rhq.test
 
CollectionEqualsChecker() - Constructor for class org.rhq.test.CollectionEqualsChecker
 
CollectionMatchesChecker<T> - Class in org.rhq.test
 
CollectionMatchesChecker() - Constructor for class org.rhq.test.CollectionMatchesChecker
 
context - Variable in class org.rhq.test.JMockTest
 

D

describeTo(Description) - Method in class org.rhq.test.jmock.PropertyMatcher
 
deserialize(InputStream) - Method in class org.rhq.test.ObjectCollectionSerializer
 
deserialize(Reader) - Method in class org.rhq.test.ObjectCollectionSerializer
 
deserialize(XMLStreamReader) - Method in class org.rhq.test.ObjectCollectionSerializer
This deserializes given input stream into a list of objects.
DuplicatePackagesDetector - Class in org.rhq.test
This will walk a set of jar files and directories and print out packages that are found in more than one jar file.
DuplicatePackagesDetector() - Constructor for class org.rhq.test.DuplicatePackagesDetector
 
DuplicatePackagesDetector.Visitor - Class in org.rhq.test
 
DuplicatePackagesDetector.Visitor() - Constructor for class org.rhq.test.DuplicatePackagesDetector.Visitor
 

E

EqualsResult - Class in org.rhq.test
 
EqualsResult(boolean, String) - Constructor for class org.rhq.test.EqualsResult
 
execute() - Method in class org.rhq.test.CollectionEqualsChecker
 
execute() - Method in class org.rhq.test.CollectionMatchesChecker
 
execute() - Method in class org.rhq.test.PropertyMatcher
 
execute() - Method in interface org.rhq.test.TransactionCallback
 
execute(TransactionManager, EntityManager) - Method in interface org.rhq.test.TransactionCallbackWithContext
 
executeInTransaction(TransactionCallback) - Static method in class org.rhq.test.JPAUtils
 
executeInTransaction(TransactionCallbackWithContext<T>) - Static method in class org.rhq.test.JPAUtils
 

G

getClasses() - Method in class org.rhq.test.ObjectCollectionSerializer
Returns a set of classes of objects that are to be serialized.
getCurrentMockContext() - Static method in class org.rhq.test.JMockTest
 
getDetails() - Method in class org.rhq.test.EqualsResult
 
getDetails() - Method in class org.rhq.test.MatchResult
 
getInitialContext() - Static method in class org.rhq.test.JPAUtils
 
getMap() - Method in class org.rhq.test.DuplicatePackagesDetector.Visitor
 
getNextFreePort() - Method in class org.rhq.test.PortScout
 
getObjects() - Method in class org.rhq.test.ObjectCollectionSerializer
Returns a list of objects that are added to this serializer.

I

initBeforeTest(Object, Method) - Method in class org.rhq.test.JMockTest
Does whatever needs done before the test is invoked.
initMockContext(Method) - Method in class org.rhq.test.JMockTest
 
isEqual() - Method in class org.rhq.test.EqualsResult
 
isMatch() - Method in class org.rhq.test.MatchResult
 

J

JMockTest - Class in org.rhq.test
This class can either be used as a base class for tests using JMock or it also can be used as a TestNG listener to provide the JMock context to test classes that need to inherit from another class.
JMockTest() - Constructor for class org.rhq.test.JMockTest
 
JPAUtils - Class in org.rhq.test
 
JPAUtils() - Constructor for class org.rhq.test.JPAUtils
 

L

lookupEntityManager() - Static method in class org.rhq.test.JPAUtils
 
lookupTransactionManager() - Static method in class org.rhq.test.JPAUtils
 

M

main(String[]) - Static method in class org.rhq.test.DuplicatePackagesDetector
Each argument is the name of a .jar file or a directory that will be walked looking for jar files.
matchesSafely(T) - Method in class org.rhq.test.jmock.PropertyMatcher
 
MatchResult - Class in org.rhq.test
 
MatchResult(boolean, String) - Constructor for class org.rhq.test.MatchResult
 

O

ObjectCollectionSerializer - Class in org.rhq.test
This class produces a JAXB serialized collection of objects and can convert such serialized data back to a list of objects.
ObjectCollectionSerializer() - Constructor for class org.rhq.test.ObjectCollectionSerializer
 
onFinish(ISuite) - Method in class org.rhq.test.testng.StdoutReporter
 
onFinish(ITestContext) - Method in class org.rhq.test.testng.StdoutReporter
 
onStart(ISuite) - Method in class org.rhq.test.testng.StdoutReporter
 
onStart(ITestContext) - Method in class org.rhq.test.testng.StdoutReporter
 
onTestFailedButWithinSuccessPercentage(ITestResult) - Method in class org.rhq.test.testng.StdoutReporter
 
onTestFailure(ITestResult) - Method in class org.rhq.test.testng.StdoutReporter
 
onTestSkipped(ITestResult) - Method in class org.rhq.test.testng.StdoutReporter
 
onTestStart(ITestResult) - Method in class org.rhq.test.testng.StdoutReporter
 
onTestSuccess(ITestResult) - Method in class org.rhq.test.testng.StdoutReporter
 
org.rhq.test - package org.rhq.test
 
org.rhq.test.jmock - package org.rhq.test.jmock
 
org.rhq.test.testng - package org.rhq.test.testng
 

P

PortScout - Class in org.rhq.test
Tries to find a series of free ports.
PortScout() - Constructor for class org.rhq.test.PortScout
 
processDirectory(File) - Static method in class org.rhq.test.DuplicatePackagesDetector
 
processFile(File) - Static method in class org.rhq.test.DuplicatePackagesDetector
 
PropertyMatcher<T> - Class in org.rhq.test.jmock
A JMock custom matcher that matches based on the public, accessible properties of an object.
PropertyMatcher(T) - Constructor for class org.rhq.test.jmock.PropertyMatcher
 
PropertyMatcher<T> - Class in org.rhq.test
 
PropertyMatcher() - Constructor for class org.rhq.test.PropertyMatcher
 
PropertyMatchException - Exception in org.rhq.test
 
PropertyMatchException() - Constructor for exception org.rhq.test.PropertyMatchException
 
PropertyMatchException(String) - Constructor for exception org.rhq.test.PropertyMatchException
 
PropertyMatchException(String, Throwable) - Constructor for exception org.rhq.test.PropertyMatchException
 
PropertyMatchException(Throwable) - Constructor for exception org.rhq.test.PropertyMatchException
 

R

run(IHookCallBack, ITestResult) - Method in class org.rhq.test.JMockTest
This method runs #initBeforeTest(ITestResult), followed by the actual test, followed by JMockTest.tearDownAfterTest(ITestResult).

S

serialize(OutputStream) - Method in class org.rhq.test.ObjectCollectionSerializer
Serializes the objects added to this serialize to the given output.
setActual(Collection<T>) - Method in class org.rhq.test.CollectionEqualsChecker
 
setActual(Collection<T>) - Method in class org.rhq.test.CollectionMatchesChecker
 
setActual(T) - Method in class org.rhq.test.PropertyMatcher
 
setExpected(Collection<T>) - Method in class org.rhq.test.CollectionEqualsChecker
 
setExpected(Collection<T>) - Method in class org.rhq.test.CollectionMatchesChecker
 
setExpected(T) - Method in class org.rhq.test.PropertyMatcher
 
setIgnoredProperties(String...) - Method in class org.rhq.test.CollectionMatchesChecker
 
setIgnoredProperties(Collection<String>) - Method in class org.rhq.test.PropertyMatcher
 
setMaxDifference(Double) - Method in class org.rhq.test.PropertyMatcher
 
setTolerance(Double) - Method in class org.rhq.test.CollectionMatchesChecker
 
StdoutReporter - Class in org.rhq.test.testng
Prints messages to stdout during a TestNG execution, as suites, test classes, and tests are started and finished.
StdoutReporter() - Constructor for class org.rhq.test.testng.StdoutReporter
 

T

tearDownAfterTest(ITestResult) - Method in class org.rhq.test.JMockTest
Does whatever needs done after the test has been invoked.
tearDownMockContext(ITestResult) - Method in class org.rhq.test.JMockTest
 
TransactionCallback - Interface in org.rhq.test
 
TransactionCallbackWithContext<T> - Interface in org.rhq.test
 

V

visit(ZipEntry, ZipInputStream, String) - Method in class org.rhq.test.DuplicatePackagesDetector.Visitor
Visits a specific zip file entry.

W

walkZipFile(File, DuplicatePackagesDetector.Visitor) - Static method in class org.rhq.test.DuplicatePackagesDetector
Walks the entries of a zip file, allowing a listener to "visit" each node and perform tasks on the zip entry.
A B C D E G I J L M O P R S T V W 

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