public class JDBCConnectionLeakDetectionClassTestRule extends ClassTestRule<Collection<org.osgi.framework.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<org.osgi.framework.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>> serviceReferences) |
Collection<org.osgi.framework.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>> |
beforeClass(org.junit.runner.Description description) |
afterMethod, beforeMethod, createMethodStatementapply, createClassStatementpublic static final JDBCConnectionLeakDetectionClassTestRule INSTANCE
public JDBCConnectionLeakDetectionClassTestRule()
public void afterClass(org.junit.runner.Description description,
Collection<org.osgi.framework.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>> serviceReferences)
afterClass in class AbstractTestRule<Collection<org.osgi.framework.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>>,Void>public Collection<org.osgi.framework.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>> beforeClass(org.junit.runner.Description description)
throws Exception
beforeClass in class AbstractTestRule<Collection<org.osgi.framework.ServiceReference<com.liferay.portal.kernel.dao.jdbc.pool.metrics.ConnectionPoolMetrics>>,Void>Exception