PostgresManager class
Provides a number of management functions for a postgres db required by the test framework.
This class essentially wraps calls to the psql command.
Constructors
- PostgresManager(DbSettings _dbSettings)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
configurePostgress(
) → void -
createPostgresDb(
) → void -
doesDbExist(
) → bool -
dropPostgresDb(
) → void -
dropUser(
) → void -
isPostgresClientInstalled(
) → bool -
isPostgresRunning(
) → bool - Checks if the posgres service is running and excepting commands
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
waitForPostgresToStart(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited