java.lang.Object
test.de.iip_ecosphere.platform.support.TestWithPlugin
test.de.iip_ecosphere.platform.support.aas.TestWithPlugin
test.de.iip_ecosphere.platform.services.environment.StarterTest

public class StarterTest extends test.de.iip_ecosphere.platform.support.aas.TestWithPlugin
Tests the Starter.
Author:
Holger Eichelberger, SSE
  • Field Summary

    Fields inherited from class test.de.iip_ecosphere.platform.support.TestWithPlugin

    PROP_AAS_PLUGIN
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static void
    Asserts that str is a non-empty string.
    private static void
    Asserts that str is a non-empty string containing expected.
    void
    Asserts that accessing the state of a non-existent service in the service environment does not fail.
    void
    Tests the starter.

    Methods inherited from class test.de.iip_ecosphere.platform.support.aas.TestWithPlugin

    setAasPluginId, setup, setupAASPlugins

    Methods inherited from class test.de.iip_ecosphere.platform.support.TestWithPlugin

    addPluginLocation, addRunAfterLoading, clear, enableLocalPlugins, loadPlugins, setInstallDir

    Methods inherited from class java.lang.Object

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

    • StarterTest

      public StarterTest()
  • Method Details

    • testStarter

      public void testStarter()
      Tests the starter.
    • assertString

      private static void assertString(String str)
      Asserts that str is a non-empty string.
      Parameters:
      str - the string to assert
    • assertStringContaining

      private static void assertStringContaining(String str, String expected)
      Asserts that str is a non-empty string containing expected.
      Parameters:
      str - the string to assert
      expected - expected substring of str
    • testFailingServiceCreation

      public void testFailingServiceCreation()
      Asserts that accessing the state of a non-existent service in the service environment does not fail.