Interface ComTestConfiguration

  • All Known Implementing Classes:
    TestConfiguration

    public interface ComTestConfiguration
    Represents the ecu.test specific COMTestConfiguration API.
    • 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 modified
        value - 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