1. Test Modules
  2. Serialization
    1. Raw Json
  3. Results

Target Description: The type Img pixel sum layer.

Report Description: The type Basic.

Subreport: Logs for com.simiacryptus.ref.lang.ReferenceCountingBase

Test Modules

Using Seed 1963041029696793600

Serialization

This apply will demonstrate the key's JSON serialization, and verify deserialization integrity.

Raw Json

SerializationTest.java:129 executed in 0.00 seconds (0.000 gc):

    final JsonObject json = layer.getJson().getAsJsonObject();
    @Nonnull final Layer echo = Layer.fromJson(json);
    if (layer == echo) {
      echo.freeRef();
      throw new AssertionError("Serialization did not copy");
    }
    if (!layer.equals(echo)) {
      echo.freeRef();
      throw new AssertionError("Serialization not equal");
    }
    echo.freeRef();
    return json;

Returns

    {
      "class": "com.simiacryptus.mindseye.layers.java.ImgPixelSumLayer",
      "id": "26983393-a88a-4d7e-8108-9afa5af7b507",
      "isFrozen": false,
      "name": "ImgPixelSumLayer"
    }

Wrote Model to ImgPixelSumLayer_jsonTest.json; 170 characters

LayerTests.java:605 executed in 0.00 seconds (0.000 gc):

    throwException(exceptions.addRef());

Results

classresult
com.simiacryptus.mindseye.test.unit.SerializationTestOK
  {
    "result": "OK",
    "performance": {
      "execution_time": "0.478",
      "gc_time": "0.211"
    },
    "created_on": 1587005408433,
    "file_name": "jsonTest",
    "report": {
      "simpleName": "Basic",
      "canonicalName": "com.simiacryptus.mindseye.layers.java.ImgPixelSumLayerTest.Basic",
      "link": "https://github.com/SimiaCryptus/mindseye-java/tree/c9a1867488dc7e77a975f095285b5882c0486db6/src/test/java/com/simiacryptus/mindseye/layers/java/ImgPixelSumLayerTest.java",
      "javaDoc": "The type Basic."
    },
    "archive": "s3://code.simiacrypt.us/tests/com/simiacryptus/mindseye/layers/java/ImgPixelSumLayer/Basic/jsonTest/202004165007",
    "id": "c0798341-1a83-40bc-8180-460d3d0f352a",
    "report_type": "Components",
    "display_name": "JSON Serialization",
    "target": {
      "simpleName": "ImgPixelSumLayer",
      "canonicalName": "com.simiacryptus.mindseye.layers.java.ImgPixelSumLayer",
      "link": "https://github.com/SimiaCryptus/mindseye-java/tree/c9a1867488dc7e77a975f095285b5882c0486db6/src/main/java/com/simiacryptus/mindseye/layers/java/ImgPixelSumLayer.java",
      "javaDoc": "The type Img pixel sum layer."
    }
  }