Class JsonTest

java.lang.Object
test.de.iip_ecosphere.platform.support.JsonTest

public class JsonTest extends Object
Tests Json.
Author:
Holger Eichelberger, SSE
  • Constructor Details

    • JsonTest

      public JsonTest()
  • Method Details

    • assertData

      private void assertData(JsonTest.Data value, JsonTest.Data expected)
      Asserts data instances.
      Parameters:
      value - the value to test
      expected - the expected value
    • testJson

      public void testJson() throws IOException
      Tests basic YAML functions.
      Throws:
      IOException - shall not occur
    • testJsonObject

      public void testJsonObject() throws IOException
      Tests basic JsonObject functions.
      Throws:
      IOException - shall not occur
    • testJsonIter

      public void testJsonIter() throws IOException
      Tests JsonIterator.
      Throws:
      IOException - shall not occur