java.lang.Object
test.de.iip_ecosphere.platform.services.environment.metricsProvider.meterRepresentations.GaugeRepresentationTest

public class GaugeRepresentationTest extends Object
Tests GaugeRepresentation.
Author:
Miguel Gomez
  • Field Details

  • Constructor Details

    • GaugeRepresentationTest

      public GaugeRepresentationTest()
  • Method Details

    • testInitOkNoTags

      public void testInitOkNoTags() throws IOException
      Tests GaugeRepresentation.parseGauge(JsonObject, String...).
      Throws:
      IOException - shall not occur when test is passed
    • testInitOkWithTags

      public void testInitOkWithTags() throws IOException
      Tests GaugeRepresentation.parseGauge(JsonObject, String...).
      Throws:
      IOException - shall not occur when test is passed
    • testInitBadTwoMeasurements

      public void testInitBadTwoMeasurements() throws IOException
      Tests GaugeRepresentation.parseGauge(JsonObject, String...).
      Throws:
      IOException - shall not occur when test is passed
    • testInitBadWrongStatistic

      public void testInitBadWrongStatistic() throws IOException
      Tests GaugeRepresentation.parseGauge(JsonObject, String...).
      Throws:
      IOException - shall not occur when test is passed
    • testGetUpdaterGauge

      public void testGetUpdaterGauge() throws IOException
      Tests GaugeRepresentation.parseGauge(JsonObject, String...).
      Throws:
      IOException - shall not occur when test is passed
    • testMeasure

      public void testMeasure() throws IOException
      Tests GaugeRepresentation.measure().
      Throws:
      IOException - shall not occur when test is passed
    • testNameInitOk

      public void testNameInitOk()
      Tests GaugeRepresentation.createNewGauge(String).