Package com.influxdb.test
Class AbstractTest
java.lang.Object
com.influxdb.test.AbstractTest
- Direct Known Subclasses:
AbstractMockServerTest
- Author:
- Jakub Bednar (bednar@github) (03/10/2018 14:54)
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
generateName
(String prefix) protected <V> V
getDeclaredField
(Object obj, String field, Class type) protected String
protected String
protected String
protected String
protected void
influxDBQuery
(String query, String databaseName) protected void
influxDBWrite
(String lineProtocol, String databaseName) protected void
prepare()
protected void
prepareChunkRecords
(String databaseName) protected void
protected void
waitToCallback
(int seconds) protected static void
waitToCallback
(CountDownLatch countDownLatch, int seconds)
-
Field Details
-
countDownLatch
-
-
Constructor Details
-
AbstractTest
public AbstractTest()
-
-
Method Details
-
prepare
@BeforeEach protected void prepare() -
waitToCallback
protected void waitToCallback() -
waitToCallback
protected void waitToCallback(int seconds) -
waitToCallback
-
getInfluxDbUrl
-
getInfluxDb2Port
-
getInfluxDb2Ip
-
getInfluxDb2Url
-
influxDBWrite
-
influxDBQuery
-
prepareChunkRecords
-
generateName
-
getDeclaredField
protected <V> V getDeclaredField(Object obj, String field, Class type) throws IllegalAccessException, NoSuchFieldException
-