Class GaugeRepresentationTest
java.lang.Object
test.de.iip_ecosphere.platform.services.environment.metricsProvider.meterRepresentations.GaugeRepresentationTest
Tests
GaugeRepresentation.- Author:
- Miguel Gomez
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTestsGaugeRepresentation.parseGauge(JsonObject, String...).voidTestsGaugeRepresentation.parseGauge(JsonObject, String...).voidTestsGaugeRepresentation.parseGauge(JsonObject, String...).voidTestsGaugeRepresentation.parseGauge(JsonObject, String...).voidTestsGaugeRepresentation.parseGauge(JsonObject, String...).voidTestsGaugeRepresentation.measure().voidTestsGaugeRepresentation.createNewGauge(String).
-
Field Details
-
FOLDER
- See Also:
-
JSON_VALID
- See Also:
-
JSON_UPDATER
- See Also:
-
JSON_INVALID_TWO_MEASUREMENTS
- See Also:
-
JSON_INVALID_WRONG_STATISTIC
- See Also:
-
-
Constructor Details
-
GaugeRepresentationTest
public GaugeRepresentationTest()
-
-
Method Details
-
testInitOkNoTags
TestsGaugeRepresentation.parseGauge(JsonObject, String...).- Throws:
IOException- shall not occur when test is passed
-
testInitOkWithTags
TestsGaugeRepresentation.parseGauge(JsonObject, String...).- Throws:
IOException- shall not occur when test is passed
-
testInitBadTwoMeasurements
TestsGaugeRepresentation.parseGauge(JsonObject, String...).- Throws:
IOException- shall not occur when test is passed
-
testInitBadWrongStatistic
TestsGaugeRepresentation.parseGauge(JsonObject, String...).- Throws:
IOException- shall not occur when test is passed
-
testGetUpdaterGauge
TestsGaugeRepresentation.parseGauge(JsonObject, String...).- Throws:
IOException- shall not occur when test is passed
-
testMeasure
TestsGaugeRepresentation.measure().- Throws:
IOException- shall not occur when test is passed
-
testNameInitOk
public void testNameInitOk()TestsGaugeRepresentation.createNewGauge(String).
-