Class DatabaseProviderRule

java.lang.Object
io.metaloom.test.provider.junit4.DatabaseProviderRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class DatabaseProviderRule extends Object implements org.junit.rules.TestRule
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.slf4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    DatabaseProviderRule(String host, int port)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.junit.runners.model.Statement
    apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
     
    io.metaloom.test.container.provider.model.DatabaseAllocationResponse
    db()
     
    protected void
    finished(org.junit.runner.Description description)
     
    protected void
    starting(org.junit.runner.Description description)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • log

      public static final org.slf4j.Logger log
  • Constructor Details

    • DatabaseProviderRule

      public DatabaseProviderRule(String host, int port)
    • DatabaseProviderRule

      public DatabaseProviderRule()
  • Method Details

    • apply

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

      protected void finished(org.junit.runner.Description description)
    • starting

      protected void starting(org.junit.runner.Description description)
    • db

      public io.metaloom.test.container.provider.model.DatabaseAllocationResponse db()