ilog.rules.dvs.common.output

Interface IlrScenarioSuiteTestResult

  • All Superinterfaces:
    java.io.Serializable


    public interface IlrScenarioSuiteTestResult
    extends java.io.Serializable
    Models the result of a full run of a test suite.
    Since:
    7.0
    • Method Detail

      • getComparisonPrecisionDescriptor

        IlrComparisonPrecisionDescriptor getComparisonPrecisionDescriptor()
        Returns the precision used to compare the expected and actual values in the tests.
        Returns:
        The precision in use when comparing the expected and actual values in the tests.
      • getScenarioTestResults

        java.util.List<IlrScenarioTestResult> getScenarioTestResults()
        Returns the list of scenario test results for this test suite.
        Returns:
        a list of IlrScenarioTestResult instances. An IlrScenarioTestResult is associated with a given scenario in the suite and stores notably the test results for this scenario and the error if an error occurs during execution. The length of the list may be different from getScenarioCount(). No IlrScenarioTestResult is added to the list for a scenario containing no tests when no error occurs during execution. This list is never null. If no scenarios are defined in the suite or no IlrScenarioTestResult is added to the list, a list with a length of 0 is returned.
      • getScenarioCount

        int getScenarioCount()
        Returns the number of scenarios to be executed in the suite. This number may be different from the number of executed scenarios since the execution may have been aborted if there were too many errors.
        Returns:
        the number of scenarios to be executed in the suite.
      • getKPIResults

        java.util.List<IlrKPIResult> getKPIResults()
        Returns the KPI results list for this test suite.
        Returns:
        a list of IlrKPIResult instances, one for each KPI that has been used during the suite execution. This list never equals null. If no scenarios are defined in the suite then a 0-length list is returned.
      • getUserData

        java.io.Serializable getUserData()
        Returns the user data supplied in the scenario suite descriptor.
        Returns:
        the user data supplied in the scenario suite descriptor.
      • wasAborted

        boolean wasAborted()
        Return true if the scenario suite execution was aborted because too many errors occurred.
        Returns:
        true if the scenario suite execution was aborted because too many errors occurred.

© Copyright IBM Corp. 1987, 2017