Class PostgresDockerRule

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    public class PostgresDockerRule
    extends Object
    implements org.junit.rules.TestRule
    • Constructor Detail

      • PostgresDockerRule

        public PostgresDockerRule()
    • Method Detail

      • getConnectionUrl

        public String getConnectionUrl()
      • apply

        public org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement statement,
                                                       org.junit.runner.Description description)
        Specified by:
        apply in interface org.junit.rules.TestRule
      • getUsername

        public String getUsername()
      • getPassword

        public String getPassword()
      • stop

        public void stop()
      • getDriverClass

        public String getDriverClass()