Interface CompareStep

  • All Superinterfaces:
    IdentifiableRemote, java.rmi.Remote, Step, TptRemote

    public interface CompareStep
    extends Step
    This Step provides the possibility to evaluate a comparison during test execution.
    • Method Detail

      • getLeftHandSideExpression

        java.lang.String getLeftHandSideExpression()
                                            throws java.rmi.RemoteException
        Returns:
        the left-hand side term for the comparison.
        Throws:
        java.rmi.RemoteException - remote communication problem
      • setLeftHandSideExpression

        void setLeftHandSideExpression​(java.lang.String expr)
                                throws java.rmi.RemoteException
        Determines the left-hand side term for the comparison.
        Parameters:
        expr - expression for left hand side
        Throws:
        java.rmi.RemoteException - remote communication problem
      • getRightHandSideExpression

        java.lang.String getRightHandSideExpression()
                                             throws java.rmi.RemoteException
        Returns:
        the right-hand side term for the comparison.
        Throws:
        java.rmi.RemoteException - remote communication problem
      • setRightHandSideExpression

        void setRightHandSideExpression​(java.lang.String expr)
                                 throws java.rmi.RemoteException
        Determines the right-hand side term for the comparison.
        Parameters:
        expr - expression for right hand side
        Throws:
        java.rmi.RemoteException - remote communication problem
      • setTolerance

        void setTolerance​(java.lang.String expr)
                   throws java.rmi.RemoteException
        Sets the explicit tolerance for this comparison.
        Parameters:
        expr - tolerance expression
        Throws:
        java.rmi.RemoteException - remote communication problem
      • getTolerance

        java.lang.String getTolerance()
                               throws java.rmi.RemoteException
        Returns:
        the explicit tolerance for this comparison.
        Throws:
        java.rmi.RemoteException - remote communication problem
      • setRelativeTolerance

        void setRelativeTolerance​(boolean relativeTolerance)
                           throws java.rmi.RemoteException
        true iff the tolerance shall be considered as relative tolerance in percent [%]. In this case, the tolerance is computed as rhs * tolerance / 100 which means the right hand side expression "rhs" is chosen to specify the actual tolerance.
        Parameters:
        relativeTolerance - true iff tolerance shall be considered as relative value in percent [%]
        Throws:
        java.rmi.RemoteException - remote communication problem
      • isRelativeTolerance

        boolean isRelativeTolerance()
                             throws java.rmi.RemoteException
        true iff the tolerance shall be considered as relative tolerance in percent [%]. In this case, the tolerance is computed as rhs * tolerance / 100 which means the right hand side expression "rhs" is chosen to specify the actual tolerance.
        Returns:
        true iff tolerance shall be considered as relative value in percent [%]
        Throws:
        java.rmi.RemoteException - remote communication problem
      • setOperator

        void setOperator​(Operator operator)
                  throws java.rmi.RemoteException
        Sets the operator for the comparison.
        Parameters:
        operator - operator for comparison
        Throws:
        java.rmi.RemoteException - remote communication problem
      • getOperator

        Operator getOperator()
                      throws java.rmi.RemoteException
        Returns:
        the operator for the comparison.
        Throws:
        java.rmi.RemoteException - remote communication problem
      • setCompareType

        void setCompareType​(CompareStep.CompareType cmptype)
                     throws java.rmi.RemoteException
        Determines when the comparison is evaluated.
        Parameters:
        cmptype - type for comparison
        Throws:
        java.rmi.RemoteException - remote communication problem
      • getCompareType

        CompareStep.CompareType getCompareType()
                                        throws java.rmi.RemoteException
        Returns:
        when the comparison is evaluated.
        Throws:
        java.rmi.RemoteException - remote communication problem
      • setToleranceFromScaling

        void setToleranceFromScaling​(boolean tolfromscaling)
                              throws java.rmi.RemoteException
        Set to true if a tolerance from scaling is used instead of the explicit tolerance.
        Parameters:
        tolfromscaling - true if the tolerance shall be derived from scaling coeffs
        Throws:
        java.rmi.RemoteException - remote communication problem
      • isToleranceFromScaling

        boolean isToleranceFromScaling()
                                throws java.rmi.RemoteException
        Returns:
        true if a tolerance from scaling is used instead of the explicit tolerance.
        Throws:
        java.rmi.RemoteException - remote communication problem