Class STest


  • public class STest
    extends java.lang.Object
    Static config class for tests.
    • Field Detail

      • testnetwork_name

        public static final java.lang.String testnetwork_name
        See Also:
        Constant Field Values
      • testnetwork_pass

        public static final java.lang.String testnetwork_pass
    • Constructor Detail

      • STest

        public STest()
    • Method Detail

      • getLocalTestConfig

        public static IPlatformConfiguration getLocalTestConfig​(java.lang.String test)
        Get local (no communication) test configuration using a unique platform name derived from the test name. Attention: The name is unique and the config can not be reused for multiple platforms! Uses simulation for speed.
        Parameters:
        test - The test name.
        Returns:
        The default configuration with a unique platform name.
      • getLocalTestConfig

        public static IPlatformConfiguration getLocalTestConfig​(java.lang.Class<?> test)
        Get a local (no communication) test configuration using a unique platform name derived from the test name. Attention: The name is unique and the config can not be reused for multiple platforms!
        Parameters:
        test - The test class.
        Returns:
        The default configuration with a unique platform name.
      • getDefaultTestConfig

        public static IPlatformConfiguration getDefaultTestConfig​(java.lang.String test)
        Get the test configuration using a unique platform name derived from the test name. Attention: The name is unique and the config can not be reused for multiple platforms!
        Parameters:
        test - The test name.
        Returns:
        The default configuration with a unique platform name.
      • getDefaultTestConfig

        public static IPlatformConfiguration getDefaultTestConfig​(java.lang.Class<?> test)
        Get the test configuration using a unique platform name derived from the test class. Attention: The name is unique and the config can not be reused for multiple platforms!
        Parameters:
        test - The test class.
        Returns:
        The default configuration with a unique platform name.
      • terminatePlatform

        public static void terminatePlatform​(IExternalAccess platform)