Class AlertTest

java.lang.Object
test.de.iip_ecosphere.platform.transport.AlertTest

public class AlertTest extends Object
Tests Alert and AlertSerializer.
Author:
Holger Eichelberger, SSE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private void
    assertAlert(de.iip_ecosphere.platform.transport.status.Alert expected, de.iip_ecosphere.platform.transport.status.Alert actual)
    Asserts that expected is the same as actual.
    void
    Basic tests for Alert and AlertSerializer.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AlertTest

      public AlertTest()
  • Method Details

    • testAlerts

      public void testAlerts() throws IOException
      Basic tests for Alert and AlertSerializer.
      Throws:
      IOException - shall not occur
    • assertAlert

      private void assertAlert(de.iip_ecosphere.platform.transport.status.Alert expected, de.iip_ecosphere.platform.transport.status.Alert actual)
      Asserts that expected is the same as actual.
      Parameters:
      expected - the expected alert
      actual - the actual alert