Skip to content

Instantly share code, notes, and snippets.

@hugo-dc
Created March 21, 2012 02:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hugo-dc/2143798 to your computer and use it in GitHub Desktop.
Save hugo-dc/2143798 to your computer and use it in GitHub Desktop.
ABAP Unit Test Assertions
class:
cl_aunit_assert
methods:
ASSERT_EQUALS
Validates the equality of two data objects
ASSERT_BOUND
Asserts the validity of the reference of a reference variable
ASSERT_NOT_BOUND
Asserts whether the reference of a reference variable is invalid
ASSERT_INITIAL
Asserts whether the data object has its initial value
ASSERT_NOT_INITIAL
Asserts whether the data object does NOT have its initial value
FAIL
Terminates the test with an error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment