Skip navigation links
KIE :: Test Utility Classes 6.5.0.CR1
A C D E F G M O P R S T U 

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
 

F

FilteredPatternLayout - Class in org.kie.test.util.logging
An extension of ch.qos.logback.classic.PatternLayout/code> which strips classes under specified packages from stack traces.
FilteredPatternLayout() - Constructor for class org.kie.test.util.logging.FilteredPatternLayout
 

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.

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

R

recursiveCompare() - Method in class org.kie.test.util.compare.ComparePair
 

S

setFilter(String) - Method in class org.kie.test.util.logging.FilteredPatternLayout
Adds a new filtered frame.
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.
start() - Method in class org.kie.test.util.logging.FilteredPatternLayout
Setup

T

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 )
A C D E F G M O P R S T U 
KIE :: Test Utility Classes 6.5.0.CR1

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