CLAS CL_AUNIT_ASSERT

Source Link
Open in ADT

Home
Previous Object: CL_APJ_SCP_TOOLS
Next Object: CL_AUNIT_AUTH_CHECK_TYPES_DEF

Status: DEPRECATED, use CL_ABAP_UNIT_ASSERT instead

Public
Interface IF_AUNIT_CONSTANTS
Type n1 TYPE cl_aunit_assert=>n1
Constant rtol_default TYPE F
Constant rtol_default_df34 TYPE decfloat34
Static Method abort
  IMPORTING
    msg TYPE csequence Optional
    detail TYPE csequence Optional
    quit TYPE INT1 Optional
Static Method assert_bound
  IMPORTING
    act TYPE any
    msg TYPE csequence Optional
    level TYPE INT1 Optional
    quit TYPE INT1 Optional
  RETURNING assertion_failed TYPE ABAP_BOOL
Static Method assert_char_cp
  IMPORTING
    act TYPE csequence
    exp TYPE csequence
    msg TYPE csequence Optional
    level TYPE INT1 Optional
    quit TYPE INT1 Optional
  RETURNING assertion_failed TYPE ABAP_BOOL
Static Method assert_char_np
  IMPORTING
    act TYPE csequence
    exp TYPE csequence
    msg TYPE csequence Optional
    level TYPE INT1 Optional
    quit TYPE INT1 Optional
  RETURNING assertion_failed TYPE ABAP_BOOL
Static Method assert_differs
  IMPORTING
    exp TYPE simple
    act TYPE simple
    msg TYPE csequence Optional
    level TYPE INT1 Optional
    tol TYPE F Optional
    quit TYPE INT1 Optional
  RETURNING assertion_failed TYPE ABAP_BOOL
Static Method assert_equals
  IMPORTING
    exp TYPE any
    act TYPE any
    msg TYPE csequence Optional
    level TYPE INT1 Optional
    tol TYPE F Optional
    quit TYPE INT1 Optional
    ignore_hash_sequence TYPE ABAP_BOOL Optional
  RETURNING assertion_failed TYPE ABAP_BOOL
Static Method assert_equals_f
  IMPORTING
    exp TYPE F
    act TYPE F
    msg TYPE csequence Optional
    atol TYPE F Optional
    rtol TYPE F Optional
    level TYPE INT1 Optional
    quit TYPE INT1 Optional
  RETURNING assertion_failed TYPE ABAP_BOOL
Static Method assert_equals_float
  IMPORTING
    exp TYPE numeric
    act TYPE numeric
    msg TYPE csequence Optional
    atol TYPE numeric Optional
    rtol TYPE numeric Optional
    level TYPE INT1 Optional
    quit TYPE INT1 Optional
  RETURNING assertion_failed TYPE ABAP_BOOL
Static Method assert_initial
  IMPORTING
    act TYPE any
    msg TYPE csequence Optional
    level TYPE INT1 Optional
    quit TYPE INT1 Optional
  RETURNING assertion_failed TYPE ABAP_BOOL
Static Method assert_not_bound
  IMPORTING
    act TYPE any
    msg TYPE csequence Optional
    level TYPE INT1 Optional
    quit TYPE INT1 Optional
  RETURNING assertion_failed TYPE ABAP_BOOL
Static Method assert_not_initial
  IMPORTING
    act TYPE any
    msg TYPE csequence Optional
    level TYPE INT1 Optional
    quit TYPE INT1 Optional
  RETURNING assertion_failed TYPE ABAP_BOOL
Static Method assert_subrc
  IMPORTING
    exp TYPE SYSUBRC Optional
    act TYPE SYSUBRC
    msg TYPE csequence Optional
    level TYPE INT1 Optional
    quit TYPE INT1 Optional
    symsg TYPE SYMSG Optional
  RETURNING assertion_failed TYPE ABAP_BOOL
Static Method assert_that
  IMPORTING
    act TYPE any
    exp TYPE if_constraint
    msg TYPE csequence Optional
    level TYPE INT1 Optional
    quit TYPE INT1 Optional
  RETURNING assertion_failed TYPE ABAP_BOOL
Static Method fail
  IMPORTING
    msg TYPE csequence Optional
    level TYPE INT1 Optional
    quit TYPE INT1 Optional
    detail TYPE csequence Optional

Exists on:
754true
750true
702true

Bug reports and ideas welcome
Made using abaplint.app