Skip navigation links
KIE :: Test Utility Classes 7.4.1.Final
A C D E G I L M O P R S T U W 

A

addNullFields(String...) - Method in class org.kie.test.util.compare.ComparePair
 
available(int) - Static method in class org.kie.test.util.network.AvailablePortFinder
Checks to see if a specific port is available.
AvailablePortFinder - Class in org.kie.test.util.network
Finds currently available server ports.

C

cleanUp(Map<String, Object>) - Static method in class org.kie.test.util.db.PersistenceUtil
This method should be called in the @After method of a test to clean up the persistence unit and datasource.
compare() - Method in class org.kie.test.util.compare.ComparePair
 
compare(T, T) - Method in interface org.kie.test.util.compare.ComparePair.FieldComparator
 
compareObjectsViaFields(Object, Object) - Static method in class org.kie.test.util.compare.ComparePair
 
compareObjectsViaFields(Object, Object, String...) - Static method in class org.kie.test.util.compare.ComparePair
 
compareOrig(Object, Object, Class) - Static method in class org.kie.test.util.compare.ComparePair
 
ComparePair - Class in org.kie.test.util.compare
This class does deep, configurable reflection based comparison, meant for usage with round-tripped (serialized, deserialized) objects.
ComparePair(Object, Object, Class<?>) - Constructor for class org.kie.test.util.compare.ComparePair
 
ComparePair(Object, Object) - Constructor for class org.kie.test.util.compare.ComparePair
 
ComparePair.FieldComparator<T> - Interface in org.kie.test.util.compare
 

D

DATASOURCE - Static variable in class org.kie.test.util.db.PersistenceUtil
 
DATASOURCE_PROPERTIES - Static variable in class org.kie.test.util.db.PersistenceUtil
 

E

ENTITY_MANAGER_FACTORY - Static variable in class org.kie.test.util.db.PersistenceUtil
 

G

getAvailablePorts() - Static method in class org.kie.test.util.network.AvailablePortFinder
Returns the Set of currently available port numbers (Integer).
getAvailablePorts(int, int) - Static method in class org.kie.test.util.network.AvailablePortFinder
Returns the Set of currently avaliable port numbers (Integer) between the specified port range.
getDatasourceProperties() - Static method in class org.kie.test.util.db.PersistenceUtil
This reads in the (maven filtered) datasource properties from the test resource directory.
getNextAvailable() - Static method in class org.kie.test.util.network.AvailablePortFinder
Gets the next available port starting at the lowest port number.
getNextAvailable(int) - Static method in class org.kie.test.util.network.AvailablePortFinder
Gets the next available port starting at a port.

I

interceptSysOutSysErr() - Static method in class org.kie.test.util.logging.LoggingPrintStream
 
isError - Variable in class org.kie.test.util.logging.LoggingPrintStream
 

L

log(String) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
logger - Variable in class org.kie.test.util.logging.LoggingPrintStream
 
LoggingPrintStream - Class in org.kie.test.util.logging
 
LoggingPrintStream(OutputStream, boolean) - Constructor for class org.kie.test.util.logging.LoggingPrintStream
 

M

MAX_PORT_NUMBER - Static variable in class org.kie.test.util.network.AvailablePortFinder
The maximum number of server port number.
MIN_PORT_NUMBER - Static variable in class org.kie.test.util.network.AvailablePortFinder
The minimum number of server port number.

O

org.kie.test.util - package org.kie.test.util
 
org.kie.test.util.compare - package org.kie.test.util.compare
 
org.kie.test.util.db - package org.kie.test.util.db
 
org.kie.test.util.logging - package org.kie.test.util.logging
 
org.kie.test.util.network - package org.kie.test.util.network
 

P

PersistenceUtil - Class in org.kie.test.util.db
 
PersistenceUtil() - Constructor for class org.kie.test.util.db.PersistenceUtil
 
print(boolean) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
print(char) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
print(int) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
print(long) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
print(float) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
print(double) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
print(char[]) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
print(String) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
print(Object) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
println() - Method in class org.kie.test.util.logging.LoggingPrintStream
 
println(boolean) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
println(char) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
println(int) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
println(long) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
println(float) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
println(double) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
println(char[]) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
println(String) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
println(Object) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
projectVersionIsLessThan(double) - Static method in class org.kie.test.util.StaticMethodTestHelper
 

R

recursiveCompare() - Method in class org.kie.test.util.compare.ComparePair
 
restoreSysOutAndSysErr() - Static method in class org.kie.test.util.logging.LoggingPrintStream
 

S

setupPoolingDataSource(Properties) - Static method in class org.kie.test.util.db.PersistenceUtil
This method uses the "jdbc/testDS1" datasource, which is the default.
setupPoolingDataSource(Properties, String) - Static method in class org.kie.test.util.db.PersistenceUtil
This sets up a Bitronix PoolingDataSource.
setupWithPoolingDataSource(String) - Static method in class org.kie.test.util.db.PersistenceUtil
 
setupWithPoolingDataSource(String, boolean) - Static method in class org.kie.test.util.db.PersistenceUtil
 
setupWithPoolingDataSource(String, String, boolean) - Static method in class org.kie.test.util.db.PersistenceUtil
This method does all of the setup for the test and returns a HashMap containing the persistence objects that the test might need.
StaticMethodTestHelper - Class in org.kie.test.util
 
StaticMethodTestHelper() - Constructor for class org.kie.test.util.StaticMethodTestHelper
 

T

testAssumptionFailure(Failure) - Method in class org.kie.test.util.TestStatusListener
 
testFailure(Failure) - Method in class org.kie.test.util.TestStatusListener
 
testFinished(Description) - Method in class org.kie.test.util.TestStatusListener
 
testIgnored(Description) - Method in class org.kie.test.util.TestStatusListener
 
testRunFinished(Result) - Method in class org.kie.test.util.TestStatusListener
 
testRunStarted(Description) - Method in class org.kie.test.util.TestStatusListener
 
testStarted(Description) - Method in class org.kie.test.util.TestStatusListener
 
TestStatusListener - Class in org.kie.test.util
 
TestStatusListener() - Constructor for class org.kie.test.util.TestStatusListener
 
TRANSACTION_MANAGER - Static variable in class org.kie.test.util.db.PersistenceUtil
 

U

useFields() - Method in class org.kie.test.util.compare.ComparePair
 
useTransactions() - Static method in class org.kie.test.util.db.PersistenceUtil
This method returns whether or not transactions should be used when dealing with the SessionInfo object (or any other persisted entity that contains @Lob's )

W

write(int) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
write(byte[], int, int) - Method in class org.kie.test.util.logging.LoggingPrintStream
 
A C D E G I L M O P R S T U W 
Skip navigation links
KIE :: Test Utility Classes 7.4.1.Final

Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.