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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgenerateName(String prefix) protected <V> VgetDeclaredField(Object obj, String field, Class type) protected Stringprotected Stringprotected Stringprotected Stringprotected voidinfluxDBQuery(String query, String databaseName) protected voidinfluxDBWrite(String lineProtocol, String databaseName) protected voidprepare()protected voidprepareChunkRecords(String databaseName) protected voidprotected voidwaitToCallback(int seconds) protected static voidwaitToCallback(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
-