Skip navigation links
KIE :: Test Utility Classes 7.23.0.Final-redhat-00002
A C D E F G I L M O P R S T U V W 

A

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.
close() - Method in class org.kie.test.util.db.internal.PoolingDataSourceWrapperImpl
 
close() - Method in interface org.kie.test.util.db.PoolingDataSourceWrapper
Closes the data source; as a result, the data source will stop providing connections and will be unregistered from JNDI context.
CloseSafeMemoryContextFactory - Class in org.kie.test.util.db
 
CloseSafeMemoryContextFactory() - Constructor for class org.kie.test.util.db.CloseSafeMemoryContextFactory
 

D

DatabaseProvider - Enum in org.kie.test.util.db.internal
 
DATASOURCE - Static variable in class org.kie.test.util.db.PersistenceUtil
 
DATASOURCE_PROPERTIES - Static variable in class org.kie.test.util.db.PersistenceUtil
 
DataSourceFactory - Class in org.kie.test.util.db
Creates instances of PoolingDataSourceWrapper that can be used for testing purposes.

E

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

F

finalize() - Method in class org.kie.test.util.TestStatusListener
 
fromDriverClassName(String) - Static method in enum org.kie.test.util.db.internal.DatabaseProvider
 

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.
getClassName() - Method in class org.kie.test.util.db.internal.PoolingDataSourceWrapperImpl
 
getClassName() - Method in interface org.kie.test.util.db.PoolingDataSourceWrapper
 
getConnection() - Method in class org.kie.test.util.db.internal.PoolingDataSourceWrapperImpl
 
getConnection(String, String) - Method in class org.kie.test.util.db.internal.PoolingDataSourceWrapperImpl
 
getDatasourceProperties() - Static method in class org.kie.test.util.db.PersistenceUtil
This reads in the (maven filtered) datasource properties from the test resource directory.
getInitialContext(Hashtable) - Method in class org.kie.test.util.db.CloseSafeMemoryContextFactory
 
getLoginTimeout() - Method in class org.kie.test.util.db.internal.PoolingDataSourceWrapperImpl
 
getLogWriter() - Method in class org.kie.test.util.db.internal.PoolingDataSourceWrapperImpl
 
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.
getParentLogger() - Method in class org.kie.test.util.db.internal.PoolingDataSourceWrapperImpl
 
getUniqueName() - Method in class org.kie.test.util.db.internal.PoolingDataSourceWrapperImpl
 
getUniqueName() - Method in interface org.kie.test.util.db.PoolingDataSourceWrapper
 

I

interceptSysOutSysErr() - Static method in class org.kie.test.util.logging.LoggingPrintStream
 
isError - Variable in class org.kie.test.util.logging.LoggingPrintStream
 
isWrapperFor(Class<?>) - Method in class org.kie.test.util.db.internal.PoolingDataSourceWrapperImpl
 

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.testcategory - package org.kie.test.testcategory
 
org.kie.test.util - package org.kie.test.util
 
org.kie.test.util.db - package org.kie.test.util.db
 
org.kie.test.util.db.internal - package org.kie.test.util.db.internal
 
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
 
PoolingDataSourceWrapper - Interface in org.kie.test.util.db
Wrapper for an XA data source with pooling capabilities.
PoolingDataSourceWrapperImpl - Class in org.kie.test.util.db.internal
Wrapper for actual Pooling Data Source provided by tomcat DBCP library.
PoolingDataSourceWrapperImpl(String, String, Properties) - Constructor for class org.kie.test.util.db.internal.PoolingDataSourceWrapperImpl
This constructor creates a PoolingDataSource using internally BasicManagedDataSource with its default pooling parameters.
PoolingDataSourceWrapperImpl(String, String, Properties, Properties) - Constructor for class org.kie.test.util.db.internal.PoolingDataSourceWrapperImpl
This constructor creates a PoolingDataSource using internally BasicManagedDataSource.
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

restoreSysOutAndSysErr() - Static method in class org.kie.test.util.logging.LoggingPrintStream
 

S

setLoginTimeout(int) - Method in class org.kie.test.util.db.internal.PoolingDataSourceWrapperImpl
 
setLogWriter(PrintWriter) - Method in class org.kie.test.util.db.internal.PoolingDataSourceWrapperImpl
 
setupPoolingDataSource(String, Properties) - Static method in class org.kie.test.util.db.DataSourceFactory
Creates a new instance of PoolingDataSourceWrapper.
setupPoolingDataSource(String, Properties, Properties) - Static method in class org.kie.test.util.db.DataSourceFactory
Creates a new instance of PoolingDataSourceWrapper.
setupPoolingDataSource() - Static method in class org.kie.test.util.db.PersistenceUtil
This method creates default pooling datasource
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 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
 
TurtleTestCategory - Class in org.kie.test.testcategory
Serves as a JUnit's org.junit.experimental.categories.Category to mark turtle tests (tests which are slow and should not be executed by default).
TurtleTestCategory() - Constructor for class org.kie.test.testcategory.TurtleTestCategory
 

U

unwrap(Class<T>) - Method in class org.kie.test.util.db.internal.PoolingDataSourceWrapperImpl
 
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 )

V

valueOf(String) - Static method in enum org.kie.test.util.db.internal.DatabaseProvider
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.kie.test.util.db.internal.DatabaseProvider
Returns an array containing the constants of this enum type, in the order they are declared.

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 F G I L M O P R S T U V W 
Skip navigation links
KIE :: Test Utility Classes 7.23.0.Final-redhat-00002

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