public class InfluxDBEntryHelperIntegrationTest
extends AbstractOSGiTest
| Constructor and Description |
|---|
InfluxDBEntryHelperIntegrationTest()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doAfter()
Here you can put everything you want to be exectued after every test
|
void |
doBefore()
Here you can put everything you want to be exectued before every test
|
void |
testInfluxdbEntryHelperCreation()
Tests the activation of the InfluxDBEntryHelper
|
void |
testInfluxdbEntryHelperOK()
Tests the method for the setup of the InfluxDBEntry in the InfluxDBEntryHelper.
|
void |
testInsertSmartCityData()
To insert the traffic data from Mark app.
|
void |
testNoFields()
If no fields keys are passed, no InfluxDBEntry will be set.
|
void |
testWithNoMeasurement()
If the "measurement" parameter is set to null, no InfluxDBEntry will be set.
|
void |
testWrongTag()
If a tag key is passed but this does not match any keys in the passed map, it will be removed from the tags to be
set in the InfluxDBEntry and will not be set.
|
public InfluxDBEntryHelperIntegrationTest()
bundleContext - public void doBefore()
public void doAfter()
public void testInfluxdbEntryHelperCreation()
public void testInfluxdbEntryHelperOK()
throws java.io.IOException
java.io.IOExceptionpublic void testWithNoMeasurement()
throws java.io.IOException
java.io.IOExceptionpublic void testNoFields()
throws java.io.IOException
java.io.IOExceptionpublic void testWrongTag()
throws java.io.IOException
java.io.IOExceptionpublic void testInsertSmartCityData()
throws java.io.IOException
java.io.IOExceptionData In Motion GmbH all rights reserved