Interface ComTestConfiguration
- All Known Implementing Classes:
TestConfiguration
public interface ComTestConfiguration
Represents the ecu.test specific COMTestConfiguration API.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the full path of this test configuration.Queries all global constants of the currently loaded test configuration.void
setGlobalConstant
(String name, String value) Assigns a value to a global constant.
-
Method Details
-
setGlobalConstant
Assigns a value to a global constant. If the global constant does not exist it is created. This method requires a test configuration file to be loaded, otherwise an exception is thrown. The changed test configuration is saved instantly.- Parameters:
name
- the name of the constant to be modifiedvalue
- the value to be assigned- Throws:
ETComException
- in case of a COM exception
-
getGlobalConstants
Queries all global constants of the currently loaded test configuration.- Returns:
- the global constants
- Throws:
ETComException
- in case of a COM exception
-
getFileName
Returns the full path of this test configuration.- Returns:
- the TCF file path
- Throws:
ETComException
- in case of a COM exception
-