Class PostgreSqlRule
- java.lang.Object
-
- net.officefloor.jdbc.postgresql.test.AbstractPostgreSqlJUnit
-
- net.officefloor.jdbc.postgresql.test.PostgreSqlRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class PostgreSqlRule extends AbstractPostgreSqlJUnit implements org.junit.rules.TestRule
TestRule
to run PostgreSql.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.officefloor.jdbc.postgresql.test.AbstractPostgreSqlJUnit
AbstractPostgreSqlJUnit.Configuration
-
-
Constructor Summary
Constructors Constructor Description PostgreSqlRule()
Instantiate with defaultAbstractPostgreSqlJUnit.Configuration
.PostgreSqlRule(AbstractPostgreSqlJUnit.Configuration configuration)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
-
Methods inherited from class net.officefloor.jdbc.postgresql.test.AbstractPostgreSqlJUnit
getConnection, startPostgreSql, stopPostgreSql
-
-
-
-
Constructor Detail
-
PostgreSqlRule
public PostgreSqlRule()
Instantiate with defaultAbstractPostgreSqlJUnit.Configuration
.
-
PostgreSqlRule
public PostgreSqlRule(AbstractPostgreSqlJUnit.Configuration configuration)
Instantiate.- Parameters:
configuration
-AbstractPostgreSqlJUnit.Configuration
.
-
-