java.lang.Object
test.de.oktoflow.platform.support.metrics.micrometer.MicrometerTest

public class MicrometerTest extends Object
Tests MicrometerMetricsFactory.
Author:
Holger Eichelberger, SSE
  • Constructor Details

    • MicrometerTest

      public MicrometerTest()
  • Method Details

    • testMetrics

      public void testMetrics() throws IOException
      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 of meter.
      Parameters:
      meter - the meter to assert
    • testUtils

      public void testUtils()
      Tests the public utility class.
    • testUtilsMM

      public void testUtilsMM()
      Tests the public utility class.