Package jadex.base.test.util
Class STest
- java.lang.Object
- 
- jadex.base.test.util.STest
 
- 
 public class STest extends java.lang.ObjectStatic config class for tests.
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.Stringtestnetwork_namestatic java.lang.Stringtestnetwork_pass
 - 
Constructor SummaryConstructors Constructor Description STest()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static IPlatformConfigurationgetDefaultTestConfig(java.lang.Class<?> test)Get the test configuration using a unique platform name derived from the test class.static IPlatformConfigurationgetDefaultTestConfig(java.lang.String test)Get the test configuration using a unique platform name derived from the test name.static IPlatformConfigurationgetLocalTestConfig(java.lang.Class<?> test)Get a local (no communication) test configuration using a unique platform name derived from the test name.static IPlatformConfigurationgetLocalTestConfig(java.lang.String test)Get local (no communication) test configuration using a unique platform name derived from the test name.static voidterminatePlatform(IExternalAccess platform)
 
- 
- 
- 
Field Detail- 
testnetwork_namepublic static final java.lang.String testnetwork_name - See Also:
- Constant Field Values
 
 - 
testnetwork_passpublic static final java.lang.String testnetwork_pass 
 
- 
 - 
Method Detail- 
getLocalTestConfigpublic 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.
 
 - 
getLocalTestConfigpublic 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.
 
 - 
getDefaultTestConfigpublic 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.
 
 - 
getDefaultTestConfigpublic 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.
 
 - 
terminatePlatformpublic static void terminatePlatform(IExternalAccess platform) 
 
- 
 
-