Class MicrometerTest
java.lang.Object
test.de.oktoflow.platform.support.metrics.micrometer.MicrometerTest
Tests
MicrometerMetricsFactory.- Author:
- Holger Eichelberger, SSE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidassertId(de.iip_ecosphere.platform.support.metrics.Meter meter) Generically asserts the id ofmeter.voidTests registry creation.voidTests basic REST functions.voidFurther metrics tests.private voidtestTimerRecord(de.iip_ecosphere.platform.support.metrics.Timer timer) Tests the various timer record functions.voidTests the public utility class.voidTests the public utility class.
-
Constructor Details
-
MicrometerTest
public MicrometerTest()
-
-
Method Details
-
testMetrics
Tests basic REST functions.- Throws:
IOException- shall not occur
-
testMetrics2
public void testMetrics2()Further metrics tests. -
testCreateRegistry
public void testCreateRegistry()Tests registry creation. -
testTimerRecord
private void testTimerRecord(de.iip_ecosphere.platform.support.metrics.Timer timer) Tests the various timer record functions.- Parameters:
timer- the timer to test with
-
assertId
private void assertId(de.iip_ecosphere.platform.support.metrics.Meter meter) Generically asserts the id ofmeter.- Parameters:
meter- the meter to assert
-
testUtils
public void testUtils()Tests the public utility class. -
testUtilsMM
public void testUtilsMM()Tests the public utility class.
-