public class JDBCConnectionLeakDetectionClassTestRule
extends com.liferay.portal.kernel.test.rule.ClassTestRule<Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>>>
Modifier and Type | Field and Description |
---|---|
static JDBCConnectionLeakDetectionClassTestRule |
INSTANCE |
Constructor and Description |
---|
JDBCConnectionLeakDetectionClassTestRule() |
Modifier and Type | Method and Description |
---|---|
void |
afterClass(org.junit.runner.Description description,
Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>> serviceReferences) |
Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>> |
beforeClass(org.junit.runner.Description description) |
afterMethod, beforeMethod, createMethodStatement
public static final JDBCConnectionLeakDetectionClassTestRule INSTANCE
public JDBCConnectionLeakDetectionClassTestRule()
public void afterClass(org.junit.runner.Description description, Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>> serviceReferences)
afterClass
in class com.liferay.portal.kernel.test.rule.AbstractTestRule<Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>>,Void>
public Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>> beforeClass(org.junit.runner.Description description) throws Exception
beforeClass
in class com.liferay.portal.kernel.test.rule.AbstractTestRule<Collection<com.liferay.registry.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>>,Void>
Exception