Class AbstractMonitoringReceiverTest

java.lang.Object
test.de.iip_ecosphere.platform.monitoring.AbstractMonitoringReceiverTest
Direct Known Subclasses:
MonitoringReceiverTest

public abstract class AbstractMonitoringReceiverTest extends Object
Tests a MonitoringReceiver with a simple mocked reusable example scenario.
Author:
Holger Eichelberger, SSE
  • Constructor Details

    • AbstractMonitoringReceiverTest

      public AbstractMonitoringReceiverTest()
  • Method Details

    • createBroker

      protected abstract de.iip_ecosphere.platform.support.Server createBroker(de.iip_ecosphere.platform.support.ServerAddress broker)
      Creates the broker instance.
      Parameters:
      broker - the broker address
      Returns:
      the instance
    • runScenario

      Runs a platform-like monitoring scenario with an ECS-runtime and a service manager on the same device.
      Parameters:
      mrl - the lifecycle.
    • getSleepTime

      protected int getSleepTime()
      Returns:
      the sleep time in ms