Class PlatformAasTest

java.lang.Object
test.de.iip_ecosphere.platform.support.TestWithPlugin
test.de.iip_ecosphere.platform.support.aas.TestWithPlugin
test.de.iip_ecosphere.platform.support.iip_aas.PlatformAasTest

public class PlatformAasTest extends test.de.iip_ecosphere.platform.support.aas.TestWithPlugin
Tests the platform AAS.
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 results around application instances.
    private static void
    assertString(String string, String substring)
    Asserts that a string is there, not empty, potentially having a given substring.
    void
    Tests the transport AAS.

    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

    • PlatformAasTest

      public PlatformAasTest()
  • Method Details

    • testAas

      public void testAas() throws ExecutionException, IOException
      Tests the transport AAS.
      Throws:
      ExecutionException - shall not occur in a valid test
      IOException - shall not occur in a valid test
    • assertApplicationInstances

      private static void assertApplicationInstances() throws IOException
      Asserts results around application instances.
      Throws:
      IOException - shall not occur, may occur if ApplicationInstancesAasClient fails
    • assertString

      private static void assertString(String string, String substring)
      Asserts that a string is there, not empty, potentially having a given substring.
      Parameters:
      string - the string to assert
      substring - the optional substring to assert (no substring assertion if null)