Interface ComTestConfiguration
-
- All Known Implementing Classes:
TestConfiguration
public interface ComTestConfiguration
Represents the ecu.test specific COMTestConfiguration API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getFileName()
Returns the full path of this test configuration.ComConstants
getGlobalConstants()
Queries all global constants of the currently loaded test configuration.void
setGlobalConstant(String name, String value)
Assigns a value to a global constant.
-
-
-
Method Detail
-
setGlobalConstant
void setGlobalConstant(String name, String value) throws ETComException
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
ComConstants getGlobalConstants() throws ETComException
Queries all global constants of the currently loaded test configuration.- Returns:
- the global constants
- Throws:
ETComException
- in case of a COM exception
-
getFileName
String getFileName() throws ETComException
Returns the full path of this test configuration.- Returns:
- the TCF file path
- Throws:
ETComException
- in case of a COM exception
-
-