Class AbstractTest

java.lang.Object
com.influxdb.test.AbstractTest
Direct Known Subclasses:
AbstractMockServerTest

public abstract class AbstractTest extends Object
Author:
Jakub Bednar (bednar@github) (03/10/2018 14:54)
  • Field Details

  • Constructor Details

    • AbstractTest

      public AbstractTest()
  • Method Details

    • prepare

      @BeforeEach protected void prepare()
    • waitToCallback

      protected void waitToCallback()
    • waitToCallback

      protected void waitToCallback(int seconds)
    • waitToCallback

      protected static void waitToCallback(@Nonnull CountDownLatch countDownLatch, int seconds)
    • getInfluxDbUrl

      @Nonnull protected String getInfluxDbUrl()
    • getInfluxDb2Port

      @Nonnull protected String getInfluxDb2Port()
    • getInfluxDb2Ip

      @Nonnull protected String getInfluxDb2Ip()
    • getInfluxDb2Url

      @Nonnull protected String getInfluxDb2Url()
    • influxDBWrite

      protected void influxDBWrite(@Nonnull String lineProtocol, @Nonnull String databaseName)
    • influxDBQuery

      protected void influxDBQuery(@Nonnull String query, @Nonnull String databaseName)
    • prepareChunkRecords

      protected void prepareChunkRecords(String databaseName)
    • generateName

      @Nonnull protected String generateName(@Nonnull String prefix)
    • getDeclaredField

      protected <V> V getDeclaredField(Object obj, String field, Class type) throws IllegalAccessException, NoSuchFieldException
      Throws:
      IllegalAccessException
      NoSuchFieldException