A C D E F G H I L M O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
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
PoolingDataSourceWrapperthat can be used for testing purposes. - DB2 - org.kie.test.util.db.internal.DatabaseProvider
E
- ENTITY_MANAGER_FACTORY - Static variable in class org.kie.test.util.db.PersistenceUtil
F
- FileUtils - Class in org.kie.test.util.filesystem
-
Utility to access files
- 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
- getAvailablePorts(int, int) - Static method in class org.kie.test.util.network.AvailablePortFinder
- 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.
- getFile(String) - Static method in class org.kie.test.util.filesystem.FileUtils
-
Retrieve the
Fileof the given file - getFileContent(String) - Static method in class org.kie.test.util.filesystem.FileUtils
-
Retrieve the content of the given file
- getFileInputStream(String) - Static method in class org.kie.test.util.filesystem.FileUtils
-
Retrieve the
FileInputStreamof the given file - 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
- getResourcesByExtension(String) - Static method in class org.kie.test.util.filesystem.ResourceHelper
-
Scan into classpath folders to find resources with the required extension
- getResourcesFromDirectory(File, Pattern) - Static method in class org.kie.test.util.filesystem.ResourceHelper
-
Scan folder to find resources that match with pattern
- getUniqueName() - Method in class org.kie.test.util.db.internal.PoolingDataSourceWrapperImpl
- getUniqueName() - Method in interface org.kie.test.util.db.PoolingDataSourceWrapper
H
- H2 - org.kie.test.util.db.internal.DatabaseProvider
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
- MARIADB - org.kie.test.util.db.internal.DatabaseProvider
- 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.
- MSSQL - org.kie.test.util.db.internal.DatabaseProvider
- MYSQL - org.kie.test.util.db.internal.DatabaseProvider
O
- ORACLE - org.kie.test.util.db.internal.DatabaseProvider
- 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.filesystem - package org.kie.test.util.filesystem
- 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
BasicManagedDataSourcewith 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. - POSTGRES - org.kie.test.util.db.internal.DatabaseProvider
- POSTGRES_PLUS - org.kie.test.util.db.internal.DatabaseProvider
- print(boolean) - Method in class org.kie.test.util.logging.LoggingPrintStream
- print(char) - Method in class org.kie.test.util.logging.LoggingPrintStream
- print(char[]) - Method in class org.kie.test.util.logging.LoggingPrintStream
- print(double) - Method in class org.kie.test.util.logging.LoggingPrintStream
- print(float) - 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(Object) - Method in class org.kie.test.util.logging.LoggingPrintStream
- print(String) - 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(char[]) - Method in class org.kie.test.util.logging.LoggingPrintStream
- println(double) - Method in class org.kie.test.util.logging.LoggingPrintStream
- println(float) - 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(Object) - Method in class org.kie.test.util.logging.LoggingPrintStream
- println(String) - Method in class org.kie.test.util.logging.LoggingPrintStream
- projectVersionIsLessThan(double) - Static method in class org.kie.test.util.StaticMethodTestHelper
R
- ResourceHelper - Class in org.kie.test.util.filesystem
-
Utility that provide classPath scan to retrieve resources
- 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() - Static method in class org.kie.test.util.db.PersistenceUtil
-
This method creates default pooling datasource
- 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(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
- SYBASE - org.kie.test.util.db.internal.DatabaseProvider
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
Categoryto 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(byte[], int, int) - Method in class org.kie.test.util.logging.LoggingPrintStream
- write(int) - Method in class org.kie.test.util.logging.LoggingPrintStream
All Classes All Packages