Unit Test Framework C and Traditional C++ API Reference
|
Macros to assert conditions in unit tests. More...
Macros | |
#define | RTITest_assertWithAction(statement__, failAction__) |
Assert that statement__ is TRUE with a custom action on failure. More... | |
#define | RTITest_assert(statement__) RTITest_assertWithAction(statement__, goto done) |
Run and assert a statement. If false, go to done tag. More... | |
#define | RTITest_assertAfterDone(statement__) RTITest_assertWithAction(statement__, result = RTI_TEST_RETCODE_FAILED) |
Run and assert a statement after the done tag. This sets the variable result to RTI_TEST_RETCODE_FAILED if the statement evaluates to false. More... | |
#define | RTITest_assertWithNoAction(statement__) RTITest_assertWithAction(statement__,) |
Run and assert a statement. In case of failure, only prints a message, no other action is run. More... | |
#define | RTITest_assertAlmostEqualsFloat(limit__, actual__) |
Assert that two floating point numbers are almost equal. More... | |
#define | RTITest_assertAlmostEqualsDouble(limit__, actual__) |
Assert that two doubles are almost equal. More... | |
#define | RTITest_assertEqualsSN(expected__, actual__) |
Assert that two given Sequence Numbers are equal. More... | |
#define | RTITest_assertEqualsDDS_Duration_t(expected__, actual__) RTITest_assertComparisonForDDS_Duration_t(expected__, actual__, ==) |
Assert that two given DDS_Duration_t values are equal. More... | |
#define | RTITest_assertEqualsString(expected__, actual__) |
Assert that two given strings are equal. More... | |
#define | RTITest_assertNotEqualsString(expected__, actual__) |
Assert that two given strings are not equal. More... | |
#define | RTITest_assertSubString(expectedSubStr__, actualStr__) |
Assert that expectedSubStr__ is contained in actualStr__. More... | |
#define | RTITest_assertNotNull(object__) RTITest_assertNotNullWithAction(object__, goto done) |
Assert that a given object is not NULL. More... | |
#define | RTITest_assertNotNullWithAction(object__, failAction__) |
Assert that a given object is not NULL. More... | |
#define | RTITest_assertNull(object__) RTITest_assertNullWithAction(object__, goto done) |
Assert that a given object is NULL. More... | |
#define | RTITest_assertNullWithAction(object__, failAction__) |
Assert that a given object is NULL. More... | |
#define | RTITest_assertRetcodeWithAction(retcode__, failAction__, expectedRetcode__) |
Assert that two given DDS_ReturnCode_t return codes are equal. More... | |
#define | RTITest_assertOkWithAction(retcode__, failAction__) RTITest_assertRetcodeWithAction(retcode__, failAction__, DDS_RETCODE_OK) |
Assert that a given DDS_ReturnCode_t return code is DDS_RETCODE_OK. Otherwise, run the given action. More... | |
#define | RTITest_assertOk(retcode__) RTITest_assertOkWithAction((retcode__), goto done) |
Assert that a given DDS_ReturnCode_t return code is DDS_RETCODE_OK. More... | |
#define | RTITest_assertErrorWithAction(retcode__, failAction__) RTITest_assertRetcodeWithAction(retcode__, failAction__, DDS_RETCODE_ERROR) |
Assert that a given DDS_ReturnCode_t return code is DDS_RETCODE_ERROR. Otherwise, run the given action. More... | |
#define | RTITest_assertEqualsRetcode(expected__, retcode__) RTITest_assertRetcodeWithAction(retcode__, goto done, expected__) |
Assert that two DDS_ReturnCode_t return codes are equal, otherwise goto done. This macro requires the done label to be defined. More... | |
#define | RTITest_assertError(retcode__) RTITest_assertErrorWithAction((retcode__), goto done) |
Assert that a given DDS_ReturnCode_t return code is DDS_RETCODE_ERROR. More... | |
#define | RTITest_assertOkAfterDone(retcode__) RTITest_assertOkWithAction((retcode__), result = RTI_TEST_RETCODE_FAILED) |
Assert that a given DDS_ReturnCode_t return code is DDS_RETCODE_OK. Otherwise, set the result variable to RTI_TEST_RETCODE_FAILED. More... | |
#define | RTITest_assertFalseWithAction(statement__, failAction__) |
Assert that a given statement is false. Otherwise, run the given action. More... | |
#define | RTITest_assertFalse(statement__) RTITest_assertFalseWithAction(statement__, goto done) |
Assert that a given statement is false. More... | |
#define | RTITest_assertMarginWithAction(expected__, count__, tolerance_percentage__, failAction__) |
Assert that a given value is within a given tolerance. Otherwise, run the given action. More... | |
#define | RTITest_assertMargin(expected__, count__, tolerance_percentage__) |
Assert that a given value is within a given tolerance. More... | |
#define | RTITest_assertEqualsInt(expected__, actual__) |
Assert that two given integers (int) are equal. More... | |
#define | RTITest_assertEqualsIntWithAction(expected__, actual__, failAction__) |
Assert that two given integers (int) are equal. Otherwise, run the given action. More... | |
#define | RTITest_assertEqualsIntAfterDone(expected__, actual__) |
Assert that two given integers (int) are equal after the done tag. This sets the variable result to RTI_TEST_RETCODE_FAILED if the comparison evaluates to false. More... | |
#define | RTITest_assertNotEqualsInt(expected__, actual__) |
Assert that two given integers (int) are not equal. More... | |
#define | RTITest_assertNotEqualsIntWithAction(expected__, actual__, failAction__) |
Assert that two given integers (int) are not equal. Otherwise, run the given action. More... | |
#define | RTITest_assertLessThanInt(expected__, actual__) |
Assert that a given integer (int) is less than another given integer (int) More... | |
#define | RTITest_assertLessThanIntWithAction(expected__, actual__, failAction__) |
Assert that a given integer (int) is less than another given integer (int) Otherwise, run the given action. More... | |
#define | RTITest_assertLessOrEqualsInt(expected__, actual__) |
Assert that a given integer (int) is less than or equal to another given integer (int) More... | |
#define | RTITest_assertLessOrEqualsIntWithAction(expected__, actual__, failAction__) |
Assert that a given integer (int) is less than or equal to another given integer (int) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterThanInt(expected__, actual__) |
Assert that a given integer (int) is greater than another given integer (int) More... | |
#define | RTITest_assertGreaterThanIntWithAction(expected__, actual__, failAction__) |
Assert that a given integer (int) is greater than another given integer (int) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterOrEqualsInt(expected__, actual__) |
Assert that a given integer (int) is greater than or equal to another given integer (int) More... | |
#define | RTITest_assertGreaterOrEqualsIntWithAction(expected__, actual__, failAction__) |
Assert that a given integer (int) is greater than or equal to another given integer (int) Otherwise, run the given action. More... | |
#define | RTITest_assertEqualsUnsignedInt(expected__, actual__) |
Assert that two given unsigned integers (unsigned int) are equal. More... | |
#define | RTITest_assertEqualsUnsignedIntWithAction(expected__, actual__, failAction__) |
Assert that two given unsigned integers (unsigned int) are equal. Otherwise, run the given action. More... | |
#define | RTITest_assertNotEqualsUnsignedInt(expected__, actual__) |
Assert that two given unsigned integers (unsigned int) are not equal. More... | |
#define | RTITest_assertNotEqualsUnsignedIntWithAction(expected__, actual__, failAction__) |
Assert that two given unsigned integers (unsigned int) are not equal. Otherwise, run the given action. More... | |
#define | RTITest_assertLessThanUnsignedInt(expected__, actual__) |
Assert that a given unsigned integer (unsigned int) is less than another given unsigned integer (unsigned int) More... | |
#define | RTITest_assertLessThanUnsignedIntWithAction(expected__, actual__, failAction__) |
Assert that a given unsigned integer (unsigned int) is less than another given unsigned integer (unsigned int) Otherwise, run the given action. More... | |
#define | RTITest_assertLessOrEqualsUnsignedInt(expected__, actual__) |
Assert that a given unsigned integer (unsigned int) is less than or equal to another given unsigned integer (unsigned int) More... | |
#define | RTITest_assertLessOrEqualsUnsignedIntWithAction(expected__, actual__, failAction__) |
Assert that a given unsigned integer (unsigned int) is less than or equal to another given unsigned integer (unsigned int) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterThanUnsignedInt(expected__, actual__) |
Assert that a given unsigned integer (unsigned int) is greater than another given unsigned integer (unsigned int) More... | |
#define | RTITest_assertGreaterThanUnsignedIntWithAction(expected__, actual__, failAction__) |
Assert that a given unsigned integer (unsigned int) is greater than another given unsigned integer (unsigned int) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterOrEqualsUnsignedInt(expected__, actual__) |
Assert that a given unsigned integer (unsigned int) is greater than or equal to another given unsigned integer (unsigned int) More... | |
#define | RTITest_assertGreaterOrEqualsUnsignedIntWithAction(expected__, actual__, failAction__) |
Assert that a given unsigned integer (unsigned int) is greater than or equal to another given unsigned integer (unsigned int) Otherwise, run the given action. More... | |
#define | RTITest_assertEqualsSignedChar(expected__, actual__) |
Assert that two given signed characters (signed char) are equal. More... | |
#define | RTITest_assertEqualsSignedCharWithAction(expected__, actual__, failAction__) |
Assert that two given signed characters (signed char) are equal. Otherwise, run the given action. More... | |
#define | RTITest_assertNotEqualsSignedChar(expected__, actual__) |
Assert that two given signed characters (signed char) are not equal. More... | |
#define | RTITest_assertNotEqualsSignedCharWithAction(expected__, actual__, failAction__) |
Assert that two given signed characters (signed char) are not equal. Otherwise, run the given action. More... | |
#define | RTITest_assertLessThanSignedChar(expected__, actual__) |
Assert that a given signed character (signed char) is less than another given signed character (signed char) More... | |
#define | RTITest_assertLessThanSignedCharWithAction(expected__, actual__, failAction__) |
Assert that a given signed character (signed char) is less than another given signed character (signed char) Otherwise, run the given action. More... | |
#define | RTITest_assertLessOrEqualsSignedChar(expected__, actual__) |
Assert that a given signed character (signed char) is less than or equal to another given signed character (signed char) More... | |
#define | RTITest_assertLessOrEqualsSignedCharWithAction(expected__, actual__, failAction__) |
Assert that a given signed character (signed char) is less than or equal to another given signed character (signed char) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterThanSignedChar(expected__, actual__) |
Assert that a given signed character (signed char) is greater than another given signed character (signed char) More... | |
#define | RTITest_assertGreaterThanSignedCharWithAction(expected__, actual__, failAction__) |
Assert that a given signed character (signed char) is greater than another given signed character (signed char) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterOrEqualsSignedChar(expected__, actual__) |
Assert that a given signed character (signed char) is greater than or equal to another given signed character (signed char) More... | |
#define | RTITest_assertGreaterOrEqualsSignedCharWithAction(expected__, actual__, failAction__) |
Assert that a given signed character (signed char) is greater than or equal to another given signed character (signed char) Otherwise, run the given action. More... | |
#define | RTITest_assertEqualsChar(expected__, actual__) |
Assert that two given characters (unsigned char) are equal. More... | |
#define | RTITest_assertEqualsCharWithAction(expected__, actual__, failAction__) |
Assert that two given characters (unsigned char) are equal. Otherwise, run the given action. More... | |
#define | RTITest_assertNotEqualsChar(expected__, actual__) |
Assert that two given characters (unsigned char) are not equal. More... | |
#define | RTITest_assertNotEqualsCharWithAction(expected__, actual__, failAction__) |
Assert that two given characters (unsigned char) are not equal. Otherwise, run the given action. More... | |
#define | RTITest_assertLessThanChar(expected__, actual__) |
Assert that a given character (unsigned char) is less than another given character (unsigned char) More... | |
#define | RTITest_assertLessThanCharWithAction(expected__, actual__, failAction__) |
Assert that a given character (unsigned char) is less than another given character (unsigned char) Otherwise, run the given action. More... | |
#define | RTITest_assertLessOrEqualsChar(expected__, actual__) |
Assert that a given character (unsigned char) is less than or equal to another given character (unsigned char) More... | |
#define | RTITest_assertLessOrEqualsCharWithAction(expected__, actual__, failAction__) |
Assert that a given character (unsigned char) is less than or equal to another given character (unsigned char) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterThanChar(expected__, actual__) |
Assert that a given character (unsigned char) is greater than another given character (unsigned char) More... | |
#define | RTITest_assertGreaterThanCharWithAction(expected__, actual__, failAction__) |
Assert that a given character (unsigned char) is greater than another given character (unsigned char) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterOrEqualsChar(expected__, actual__) |
Assert that a given character (unsigned char) is greater than or equal to another given character (unsigned char) More... | |
#define | RTITest_assertGreaterOrEqualsCharWithAction(expected__, actual__, failAction__) |
Assert that a given character (unsigned char) is greater than or equal to another given character (unsigned char) Otherwise, run the given action. More... | |
#define | RTITest_assertEqualsShort(expected__, actual__) |
Assert that two given short integers (char) are equal. More... | |
#define | RTITest_assertEqualsShortWithAction(expected__, actual__, failAction__) |
Assert that two given short integers (char) are equal. Otherwise, run the given action. More... | |
#define | RTITest_assertNotEqualsShort(expected__, actual__) |
Assert that two given short integers (char) are not equal. More... | |
#define | RTITest_assertNotEqualsShortWithAction(expected__, actual__, failAction__) |
Assert that two given short integers (char) are not equal. Otherwise, run the given action. More... | |
#define | RTITest_assertLessThanShort(expected__, actual__) |
Assert that a given short integer (char) is less than another given short integer (char) More... | |
#define | RTITest_assertLessThanShortWithAction(expected__, actual__, failAction__) |
Assert that a given short integer (char) is less than another given short integer (char) Otherwise, run the given action. More... | |
#define | RTITest_assertLessOrEqualsShort(expected__, actual__) |
Assert that a given short integer (char) is less than or equal to another given short integer (char) More... | |
#define | RTITest_assertLessOrEqualsShortWithAction(expected__, actual__, failAction__) |
Assert that a given short integer (char) is less than or equal to another given short integer (char) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterThanShort(expected__, actual__) |
Assert that a given short integer (char) is greater than another given short integer (char) More... | |
#define | RTITest_assertGreaterThanShortWithAction(expected__, actual__, failAction__) |
Assert that a given short integer (char) is greater than another given short integer (char) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterOrEqualsShort(expected__, actual__) |
Assert that a given short integer (char) is greater than or equal to another given short integer (char) More... | |
#define | RTITest_assertGreaterOrEqualsShortWithAction(expected__, actual__, failAction__) |
Assert that a given short integer (char) is greater than or equal to another given short integer (char) Otherwise, run the given action. More... | |
#define | RTITest_assertEqualsUnsignedShort(expected__, actual__) |
Assert that two given unsigned short integers (unsigned char) are equal. More... | |
#define | RTITest_assertEqualsUnsignedShortWithAction(expected__, actual__, failAction__) |
Assert that two given unsigned short integers (unsigned char) are equal. Otherwise, run the given action. More... | |
#define | RTITest_assertNotEqualsUnsignedShort(expected__, actual__) |
Assert that two given unsigned short integers (unsigned char) are not equal. More... | |
#define | RTITest_assertNotEqualsUnsignedShortWithAction(expected__, actual__, failAction__) |
Assert that two given unsigned short integers (unsigned char) are not equal. Otherwise, run the given action. More... | |
#define | RTITest_assertLessThanUnsignedShort(expected__, actual__) |
Assert that a given unsigned short integer (unsigned char) is less than another given unsigned short integer (unsigned char) More... | |
#define | RTITest_assertLessThanUnsignedShortWithAction(expected__, actual__, failAction__) |
Assert that a given unsigned short integer (unsigned char) is less than another given unsigned short integer (unsigned char) Otherwise, run the given action. More... | |
#define | RTITest_assertLessOrEqualsUnsignedShort(expected__, actual__) |
Assert that a given unsigned short integer (unsigned char) is less than or equal to another given unsigned short integer (unsigned char) More... | |
#define | RTITest_assertLessOrEqualsUnsignedShortWithAction(expected__, actual__, failAction__) |
Assert that a given unsigned short integer (unsigned char) is less than or equal to another given unsigned short integer (unsigned char) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterThanUnsignedShort(expected__, actual__) |
Assert that a given unsigned short integer (unsigned char) is greater than another given unsigned short integer (unsigned char) More... | |
#define | RTITest_assertGreaterThanUnsignedShortWithAction(expected__, actual__, failAction__) |
Assert that a given unsigned short integer (unsigned char) is greater than another given unsigned short integer (unsigned char) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterOrEqualsUnsignedShort(expected__, actual__) |
Assert that a given unsigned short integer (unsigned char) is greater than or equal to another given unsigned short integer (unsigned char) More... | |
#define | RTITest_assertGreaterOrEqualsUnsignedShortWithAction(expected__, actual__, failAction__) |
Assert that a given unsigned short integer (unsigned char) is greater than or equal to another given unsigned short integer (unsigned char) Otherwise, run the given action. More... | |
#define | RTITest_assertEqualsLongWithAction(expected__, actual__, failAction__) |
Assert that two given long integers (long) are equal. Otherwise, run the given action. More... | |
#define | RTITest_assertNotEqualsLong(expected__, actual__) |
Assert that two given long integers (long) are not equal. More... | |
#define | RTITest_assertNotEqualsLongWithAction(expected__, actual__, failAction__) |
Assert that two given long integers (long) are not equal. Otherwise, run the given action. More... | |
#define | RTITest_assertLessThanLong(expected__, actual__) |
Assert that a given long integer (long) is less than another given long integer (long) More... | |
#define | RTITest_assertLessThanLongWithAction(expected__, actual__, failAction__) |
Assert that a given long integer (long) is less than another given long integer (long) Otherwise, run the given action. More... | |
#define | RTITest_assertLessOrEqualsLong(expected__, actual__) |
Assert that a given long integer (long) is less than or equal to another given long integer (long) More... | |
#define | RTITest_assertLessOrEqualsLongWithAction(expected__, actual__, failAction__) |
Assert that a given long integer (long) is less than or equal to another given long integer (long) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterThanLong(expected__, actual__) |
Assert that a given long integer (long) is greater than another given long integer (long) More... | |
#define | RTITest_assertGreaterThanLongWithAction(expected__, actual__, failAction__) |
Assert that a given long integer (long) is greater than another given long integer (long) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterOrEqualsLong(expected__, actual__) |
Assert that a given long integer (long) is greater than or equal to another given long integer (long) More... | |
#define | RTITest_assertGreaterOrEqualsLongWithAction(expected__, actual__, failAction__) |
Assert that a given long integer (long) is greater than or equal to another given long integer (long) Otherwise, run the given action. More... | |
#define | RTITest_assertEqualsUnsignedLong(expected__, actual__) |
Assert that two given unsigned long integers (long) are equal. More... | |
#define | RTITest_assertEqualsUnsignedLongWithAction(expected__, actual__, failAction__) |
Assert that two given unsigned long integers (long) are equal. Otherwise, run the given action. More... | |
#define | RTITest_assertNotEqualsUnsignedLong(expected__, actual__) |
Assert that two given unsigned long integers (long) are not equal. More... | |
#define | RTITest_assertNotEqualsUnsignedLongWithAction(expected__, actual__, failAction__) |
Assert that two given unsigned long integers (long) are not equal. Otherwise, run the given action. More... | |
#define | RTITest_assertLessThanUnsignedLong(expected__, actual__) |
Assert that a given unsigned long integer (long) is less than another given unsigned long integer (long) More... | |
#define | RTITest_assertLessThanUnsignedLongWithAction(expected__, actual__, failAction__) |
Assert that a given unsigned long integer (long) is less than another given unsigned long integer (long) Otherwise, run the given action. More... | |
#define | RTITest_assertLessOrEqualsUnsignedLong(expected__, actual__) |
Assert that a given unsigned long integer (long) is less than or equal to another given unsigned long integer (long) More... | |
#define | RTITest_assertLessOrEqualsUnsignedLongWithAction(expected__, actual__, failAction__) |
Assert that a given unsigned long integer (long) is less than or equal to another given unsigned long integer (long) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterThanUnsignedLong(expected__, actual__) |
Assert that a given unsigned long integer (long) is greater than another given unsigned long integer (long) More... | |
#define | RTITest_assertGreaterThanUnsignedLongWithAction(expected__, actual__, failAction__) |
Assert that a given unsigned long integer (long) is greater than another given unsigned long integer (long) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterOrEqualsUnsignedLong(expected__, actual__) |
Assert that a given unsigned long integer (long) is greater than or equal to another given unsigned long integer (long) More... | |
#define | RTITest_assertGreaterOrEqualsUnsignedLongWithAction(expected__, actual__, failAction__) |
Assert that a given unsigned long integer (long) is greater than or equal to another given unsigned long integer (long) Otherwise, run the given action. More... | |
#define | RTITest_assertEqualsLongLong(expected__, actual__) |
Assert that two given long long integers (long long) are equal. More... | |
#define | RTITest_assertEqualsLongLongWithAction(expected__, actual__, failAction__) |
Assert that two given long long integers (long long) are equal. Otherwise, run the given action. More... | |
#define | RTITest_assertNotEqualsLongLong(expected__, actual__) |
Assert that two given long long integers (long long) are not equal. More... | |
#define | RTITest_assertNotEqualsLongLongWithAction(expected__, actual__, failAction__) |
Assert that two given long long integers (long long) are not equal. Otherwise, run the given action. More... | |
#define | RTITest_assertLessThanLongLong(expected__, actual__) |
Assert that a given long long integer (long long) is less than another given long long integer (long long) More... | |
#define | RTITest_assertLessThanLongLongWithAction(expected__, actual__, failAction__) |
Assert that a given long long integer (long long) is less than another given long long integer (long long) Otherwise, run the given action. More... | |
#define | RTITest_assertLessOrEqualsLongLong(expected__, actual__) |
Assert that a given long long integer (long long) is less than or equal to another given long long integer (long long) More... | |
#define | RTITest_assertLessOrEqualsLongLongWithAction(expected__, actual__, failAction__) |
Assert that a given long long integer (long long) is less than or equal to another given long long integer (long long) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterThanLongLong(expected__, actual__) |
Assert that a given long long integer (long long) is greater than another given long long integer (long long) More... | |
#define | RTITest_assertGreaterThanLongLongWithAction(expected__, actual__, failAction__) |
Assert that a given long long integer (long long) is greater than another given long long integer (long long) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterOrEqualsLongLong(expected__, actual__) |
Assert that a given long long integer (long long) is greater than or equal to another given long long integer (long long) More... | |
#define | RTITest_assertGreaterOrEqualsLongLongWithAction(expected__, actual__, failAction__) |
Assert that a given long long integer (long long) is greater than or equal to another given long long integer (long long) Otherwise, run the given action. More... | |
#define | RTITest_assertEqualsUnsignedLongLong(expected__, actual__) |
Assert that two given unsigned long long integers (unsigned long long) are equal. More... | |
#define | RTITest_assertEqualsUnsignedLongLongWithAction(expected__, actual__, failAction__) |
Assert that two given unsigned long long integers (unsigned long long) are equal. Otherwise, run the given action. More... | |
#define | RTITest_assertNotEqualsUnsignedLongLong(expected__, actual__) |
Assert that two given unsigned long long integers (unsigned long long) are not equal. More... | |
#define | RTITest_assertNotEqualsUnsignedLongLongWithAction(expected__, actual__, failAction__) |
Assert that two given unsigned long long integers (unsigned long long) are not equal. Otherwise, run the given action. More... | |
#define | RTITest_assertLessThanUnsignedLongLong(expected__, actual__) |
Assert that a given unsigned long long integer (unsigned long long) is less than another given unsigned long long integer (unsigned long long) More... | |
#define | RTITest_assertLessThanUnsignedLongLongWithAction(expected__, actual__, failAction__) |
Assert that a given unsigned long long integer (unsigned long long) is less than another given unsigned long long integer (unsigned long long) Otherwise, run the given action. More... | |
#define | RTITest_assertLessOrEqualsUnsignedLongLong(expected__, actual__) |
Assert that a given unsigned long long integer (unsigned long long) is less than or equal to another given unsigned long long integer (unsigned long long) More... | |
#define | RTITest_assertLessOrEqualsUnsignedLongLongWithAction(expected__, actual__, failAction__) |
Assert that a given unsigned long long integer (unsigned long long) is less than or equal to another given unsigned long long integer (unsigned long long) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterThanUnsignedLongLong(expected__, actual__) |
Assert that a given unsigned long long integer (unsigned long long) is greater than another given unsigned long long integer (unsigned long long) More... | |
#define | RTITest_assertGreaterThanUnsignedLongLongWithAction(expected__, actual__, failAction__) |
Assert that a given unsigned long long integer (unsigned long long) is greater than another given unsigned long long integer (unsigned long long) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterOrEqualsUnsignedLongLong(expected__, actual__) |
Assert that a given unsigned long long integer (unsigned long long) is greater than or equal to another given unsigned long long integer (unsigned long long) More... | |
#define | RTITest_assertGreaterOrEqualsUnsignedLongLongWithAction(expected__, actual__, failAction__) |
Assert that a given unsigned long long integer (unsigned long long) is greater than or equal to another given unsigned long long integer (unsigned long long) Otherwise, run the given action. More... | |
#define | RTITest_assertEqualsFloat(expected__, actual__) |
Assert that two given real numbers (float) are equal. More... | |
#define | RTITest_assertEqualsFloatWithAction(expected__, actual__, failAction__) |
Assert that two given real numbers (float) are equal. Otherwise, run the given action. More... | |
#define | RTITest_assertNotEqualsFloat(expected__, actual__) |
Assert that two given real numbers (float) are not equal. More... | |
#define | RTITest_assertNotEqualsFloatWithAction(expected__, actual__, failAction__) |
Assert that two given real numbers (float) are not equal. Otherwise, run the given action. More... | |
#define | RTITest_assertLessThanFloat(expected__, actual__) |
Assert that a given real number (float) is less than another given real number (float) More... | |
#define | RTITest_assertLessThanFloatWithAction(expected__, actual__, failAction__) |
Assert that a given real number (float) is less than another given real number (float) Otherwise, run the given action. More... | |
#define | RTITest_assertLessOrEqualsFloat(expected__, actual__) |
Assert that a given real number (float) is less than or equal to another given real number (float) More... | |
#define | RTITest_assertLessOrEqualsFloatWithAction(expected__, actual__, failAction__) |
Assert that a given real number (float) is less than or equal to another given real number (float) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterThanFloat(expected__, actual__) |
Assert that a given real number (float) is greater than another given real number (float) More... | |
#define | RTITest_assertGreaterThanFloatWithAction(expected__, actual__, failAction__) |
Assert that a given real number (float) is greater than another given real number (float) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterOrEqualsFloat(expected__, actual__) |
Assert that a given real number (float) is greater than or equal to another given real number (float) More... | |
#define | RTITest_assertGreaterOrEqualsFloatWithAction(expected__, actual__, failAction__) |
Assert that a given real number (float) is greater than or equal to another given real number (float) Otherwise, run the given action. More... | |
#define | RTITest_assertEqualsDouble(expected__, actual__) |
Assert that two given double precision real numbers (double) are equal. More... | |
#define | RTITest_assertEqualsDoubleWithAction(expected__, actual__, failAction__) |
Assert that two given double precision real numbers (double) are equal. Otherwise, run the given action. More... | |
#define | RTITest_assertNotEqualsDouble(expected__, actual__) |
Assert that two given double precision real numbers (double) are not equal. More... | |
#define | RTITest_assertNotEqualsDoubleWithAction(expected__, actual__, failAction__) |
Assert that two given double precision real numbers (double) are not equal. Otherwise, run the given action. More... | |
#define | RTITest_assertLessThanDouble(expected__, actual__) |
Assert that a given double precision real number (double) is less than another given double precision real number (double) More... | |
#define | RTITest_assertLessThanDoubleWithAction(expected__, actual__, failAction__) |
Assert that a given double precision real number (double) is less than another given double precision real number (double) Otherwise, run the given action. More... | |
#define | RTITest_assertLessOrEqualsDouble(expected__, actual__) |
Assert that a given double precision real number (double) is less than or equal to another given double precision real number (double) More... | |
#define | RTITest_assertLessOrEqualsDoubleWithAction(expected__, actual__, failAction__) |
Assert that a given double precision real number (double) is less than or equal to another given double precision real number (double) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterThanDouble(expected__, actual__) |
Assert that a given double precision real number (double) is greater than another given double precision real number (double) More... | |
#define | RTITest_assertGreaterThanDoubleWithAction(expected__, actual__, failAction__) |
Assert that a given double precision real number (double) is greater than another given double precision real number (double) Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterOrEqualsDouble(expected__, actual__) |
Assert that a given double precision real number (double) is greater than or equal to another given double precision real number (double) More... | |
#define | RTITest_assertGreaterOrEqualsDoubleWithAction(expected__, actual__, failAction__) |
Assert that a given double precision real number (double) is greater than or equal to another given double precision real number (double) Otherwise, run the given action. More... | |
#define | RTITest_assertEqualsPtr(expected__, actual__) |
Assert that two given pointers (void *) are equal. More... | |
#define | RTITest_assertEqualsPtrWithAction(expected__, actual__, failAction__) |
Assert that two given pointers (void *) are equal. Otherwise, run the given action. More... | |
#define | RTITest_assertNotEqualsPtr(expected__, actual__) |
Assert that two given pointers (void *) are not equal. More... | |
#define | RTITest_assertNotEqualsPtrWithAction(expected__, actual__, failAction__) |
Assert that two given pointers (void *) are not equal. Otherwise, run the given action. More... | |
#define | RTITest_assertEqualsBoolean RTITest_assertEqualsUnsignedShort |
Assert that two given booleans are equal. More... | |
#define | RTITest_assertEqualsNumericalChar(expected__, actual__) |
Assert that two given numerical chars are equal. More... | |
#define | RTITest_assertEqualsSize_t(expected__, actual__) |
Assert that two given size_t are equal. More... | |
#define | RTITest_assertEqualsSize_tWithAction(expected__, actual__, failAction__) |
Assert that two given size_t are equal. Otherwise, run the given action. More... | |
#define | RTITest_assertNotEqualsSize_t(expected__, actual__) |
Assert that two given size_t are not equal. More... | |
#define | RTITest_assertNotEqualsSize_tWithAction(expected__, actual__, failAction__) |
Assert that two given size_t are not equal. Otherwise, run the given action. More... | |
#define | RTITest_assertLessThanSize_t(expected__, actual__) |
Assert that a given size_t is less than another given size_t. More... | |
#define | RTITest_assertLessThanSize_tWithAction(expected__, actual__, failAction__) |
Assert that a given size_t is less than another given size_t Otherwise, run the given action. More... | |
#define | RTITest_assertLessOrEqualsSize_t(expected__, actual__) |
Assert that a given size_t is less than or equal to another given size_t. More... | |
#define | RTITest_assertLessOrEqualsSize_tWithAction(expected__, actual__, failAction__) |
Assert that a given size_t is less than or equal to another given size_t Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterThanSize_t(expected__, actual__) |
Assert that a given size_t is greater than another given size_t. More... | |
#define | RTITest_assertGreaterThanSize_tWithAction(expected__, actual__, failAction__) |
Assert that a given size_t is greater than another given size_t Otherwise, run the given action. More... | |
#define | RTITest_assertGreaterOrEqualsSize_t(expected__, actual__) |
Assert that a given size_t is greater than or equal to another given size_t. More... | |
#define | RTITest_assertGreaterOrEqualsSize_tWithAction(expected__, actual__, failAction__) |
Assert that a given size_t is greater than or equal to another given size_t Otherwise, run the given action. More... | |
Macros to assert conditions in unit tests.
#define RTITest_assertWithAction | ( | statement__, | |
failAction__ | |||
) |
Assert that statement__ is TRUE with a custom action on failure.
If statement__ is not true, then failAction__ will be performed
#define RTITest_assert | ( | statement__ | ) | RTITest_assertWithAction(statement__, goto done) |
Run and assert a statement. If false, go to done tag.
statement__ | In. Statement to be asserted. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertAfterDone | ( | statement__ | ) | RTITest_assertWithAction(statement__, result = RTI_TEST_RETCODE_FAILED) |
Run and assert a statement after the done tag. This sets the variable result to RTI_TEST_RETCODE_FAILED if the statement evaluates to false.
statement__ | In. Statement to be run and asserted. |
#define RTITest_assertWithNoAction | ( | statement__ | ) | RTITest_assertWithAction(statement__,) |
Run and assert a statement. In case of failure, only prints a message, no other action is run.
statement__ | In. Statement to be run and asserted. |
#define RTITest_assertAlmostEqualsFloat | ( | limit__, | |
actual__ | |||
) |
Assert that two floating point numbers are almost equal.
limit__ | In. The maximum difference between the two numbers. |
actual__ | In. The actual value. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertAlmostEqualsDouble | ( | limit__, | |
actual__ | |||
) |
Assert that two doubles are almost equal.
limit__ | In. The maximum difference between the two numbers. |
actual__ | In. The actual value. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsSN | ( | expected__, | |
actual__ | |||
) |
Assert that two given Sequence Numbers are equal.
expected__ | In. The expected Sequence Number. |
actual__ | In. The actual Sequence Number. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsDDS_Duration_t | ( | expected__, | |
actual__ | |||
) | RTITest_assertComparisonForDDS_Duration_t(expected__, actual__, ==) |
Assert that two given DDS_Duration_t values are equal.
expected__ | In. The expected DDS_Duration_t value. |
actual__ | In. The actual DDS_Duration_t value. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsString | ( | expected__, | |
actual__ | |||
) |
Assert that two given strings are equal.
expected__ | In. The expected string. |
actual__ | In. The actual string. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertNotEqualsString | ( | expected__, | |
actual__ | |||
) |
Assert that two given strings are not equal.
expected__ | In. The expected string. |
actual__ | In. The actual string. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertSubString | ( | expectedSubStr__, | |
actualStr__ | |||
) |
Assert that expectedSubStr__ is contained in actualStr__.
expectedSubStr__ | In. The substring to be searched. |
actualStr__ | In. The string to be scanned. |
Example: RTITest_assertSubString("a","abc");
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertNotNull | ( | object__ | ) | RTITest_assertNotNullWithAction(object__, goto done) |
Assert that a given object is not NULL.
object__ | In. The object to be asserted. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertNotNullWithAction | ( | object__, | |
failAction__ | |||
) |
Assert that a given object is not NULL.
object__ | In. The object to be asserted. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertNull | ( | object__ | ) | RTITest_assertNullWithAction(object__, goto done) |
Assert that a given object is NULL.
object__ | In. The object to be asserted. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertNullWithAction | ( | object__, | |
failAction__ | |||
) |
Assert that a given object is NULL.
object__ | In. The object to be asserted. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertRetcodeWithAction | ( | retcode__, | |
failAction__, | |||
expectedRetcode__ | |||
) |
Assert that two given DDS_ReturnCode_t return codes are equal.
retcode__ | In. The actual DDS_ReturnCode_t return code. |
failAction__ | In. Action to be run if the assertion fails. |
expectedRetcode__ | In. The expected DDS_ReturnCode_t return code. |
#define RTITest_assertOkWithAction | ( | retcode__, | |
failAction__ | |||
) | RTITest_assertRetcodeWithAction(retcode__, failAction__, DDS_RETCODE_OK) |
Assert that a given DDS_ReturnCode_t return code is DDS_RETCODE_OK. Otherwise, run the given action.
retcode__ | In. The actual DDS_ReturnCode_t return code. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertOk | ( | retcode__ | ) | RTITest_assertOkWithAction((retcode__), goto done) |
Assert that a given DDS_ReturnCode_t return code is DDS_RETCODE_OK.
retcode__ | In. The actual DDS_ReturnCode_t return code. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertErrorWithAction | ( | retcode__, | |
failAction__ | |||
) | RTITest_assertRetcodeWithAction(retcode__, failAction__, DDS_RETCODE_ERROR) |
Assert that a given DDS_ReturnCode_t return code is DDS_RETCODE_ERROR. Otherwise, run the given action.
retcode__ | In. The actual DDS_ReturnCode_t return code. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertEqualsRetcode | ( | expected__, | |
retcode__ | |||
) | RTITest_assertRetcodeWithAction(retcode__, goto done, expected__) |
Assert that two DDS_ReturnCode_t return codes are equal, otherwise goto done. This macro requires the done label to be defined.
expected__ | In. The expected DDS_ReturnCode_t. |
retcode__ | In. The actual DDS_ReturnCode_t. |
#define RTITest_assertError | ( | retcode__ | ) | RTITest_assertErrorWithAction((retcode__), goto done) |
Assert that a given DDS_ReturnCode_t return code is DDS_RETCODE_ERROR.
retcode__ | In. The actual DDS_ReturnCode_t return code. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertOkAfterDone | ( | retcode__ | ) | RTITest_assertOkWithAction((retcode__), result = RTI_TEST_RETCODE_FAILED) |
Assert that a given DDS_ReturnCode_t return code is DDS_RETCODE_OK. Otherwise, set the result variable to RTI_TEST_RETCODE_FAILED.
retcode__ | In. The actual DDS_ReturnCode_t return code. |
#define RTITest_assertFalseWithAction | ( | statement__, | |
failAction__ | |||
) |
Assert that a given statement is false. Otherwise, run the given action.
#define RTITest_assertFalse | ( | statement__ | ) | RTITest_assertFalseWithAction(statement__, goto done) |
Assert that a given statement is false.
statement__ | In. The statement to be asserted. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertMarginWithAction | ( | expected__, | |
count__, | |||
tolerance_percentage__, | |||
failAction__ | |||
) |
Assert that a given value is within a given tolerance. Otherwise, run the given action.
expected__ | In. The expected value. |
count__ | In. The actual value. |
tolerance_percentage__ | In. The tolerance percentage. |
failAction__ | In. Action to be run if the assertion fails. |
Checks whether count__ is within a margin specified by expected__ and a tolerance_percentage__
#define RTITest_assertMargin | ( | expected__, | |
count__, | |||
tolerance_percentage__ | |||
) |
Assert that a given value is within a given tolerance.
expected__ | In. The expected value. |
count__ | In. The actual value. |
tolerance_percentage__ | In. The tolerance percentage. |
Checks whether count__ is within a margin specified by expected__ and a tolerance_percentage__.
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsInt | ( | expected__, | |
actual__ | |||
) |
Assert that two given integers (int) are equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsIntWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given integers (int) are equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertEqualsIntAfterDone | ( | expected__, | |
actual__ | |||
) |
Assert that two given integers (int) are equal after the done tag. This sets the variable result to RTI_TEST_RETCODE_FAILED if the comparison evaluates to false.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
#define RTITest_assertNotEqualsInt | ( | expected__, | |
actual__ | |||
) |
Assert that two given integers (int) are not equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertNotEqualsIntWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given integers (int) are not equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessThanInt | ( | expected__, | |
actual__ | |||
) |
Assert that a given integer (int) is less than another given integer (int)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessThanIntWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given integer (int) is less than another given integer (int) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessOrEqualsInt | ( | expected__, | |
actual__ | |||
) |
Assert that a given integer (int) is less than or equal to another given integer (int)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessOrEqualsIntWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given integer (int) is less than or equal to another given integer (int) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterThanInt | ( | expected__, | |
actual__ | |||
) |
Assert that a given integer (int) is greater than another given integer (int)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterThanIntWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given integer (int) is greater than another given integer (int) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterOrEqualsInt | ( | expected__, | |
actual__ | |||
) |
Assert that a given integer (int) is greater than or equal to another given integer (int)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterOrEqualsIntWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given integer (int) is greater than or equal to another given integer (int) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertEqualsUnsignedInt | ( | expected__, | |
actual__ | |||
) |
Assert that two given unsigned integers (unsigned int) are equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsUnsignedIntWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given unsigned integers (unsigned int) are equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertNotEqualsUnsignedInt | ( | expected__, | |
actual__ | |||
) |
Assert that two given unsigned integers (unsigned int) are not equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertNotEqualsUnsignedIntWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given unsigned integers (unsigned int) are not equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessThanUnsignedInt | ( | expected__, | |
actual__ | |||
) |
Assert that a given unsigned integer (unsigned int) is less than another given unsigned integer (unsigned int)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessThanUnsignedIntWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given unsigned integer (unsigned int) is less than another given unsigned integer (unsigned int) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessOrEqualsUnsignedInt | ( | expected__, | |
actual__ | |||
) |
Assert that a given unsigned integer (unsigned int) is less than or equal to another given unsigned integer (unsigned int)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessOrEqualsUnsignedIntWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given unsigned integer (unsigned int) is less than or equal to another given unsigned integer (unsigned int) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterThanUnsignedInt | ( | expected__, | |
actual__ | |||
) |
Assert that a given unsigned integer (unsigned int) is greater than another given unsigned integer (unsigned int)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterThanUnsignedIntWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given unsigned integer (unsigned int) is greater than another given unsigned integer (unsigned int) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterOrEqualsUnsignedInt | ( | expected__, | |
actual__ | |||
) |
Assert that a given unsigned integer (unsigned int) is greater than or equal to another given unsigned integer (unsigned int)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterOrEqualsUnsignedIntWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given unsigned integer (unsigned int) is greater than or equal to another given unsigned integer (unsigned int) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertEqualsSignedChar | ( | expected__, | |
actual__ | |||
) |
Assert that two given signed characters (signed char) are equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsSignedCharWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given signed characters (signed char) are equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertNotEqualsSignedChar | ( | expected__, | |
actual__ | |||
) |
Assert that two given signed characters (signed char) are not equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertNotEqualsSignedCharWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given signed characters (signed char) are not equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessThanSignedChar | ( | expected__, | |
actual__ | |||
) |
Assert that a given signed character (signed char) is less than another given signed character (signed char)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessThanSignedCharWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given signed character (signed char) is less than another given signed character (signed char) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessOrEqualsSignedChar | ( | expected__, | |
actual__ | |||
) |
Assert that a given signed character (signed char) is less than or equal to another given signed character (signed char)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessOrEqualsSignedCharWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given signed character (signed char) is less than or equal to another given signed character (signed char) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterThanSignedChar | ( | expected__, | |
actual__ | |||
) |
Assert that a given signed character (signed char) is greater than another given signed character (signed char)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterThanSignedCharWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given signed character (signed char) is greater than another given signed character (signed char) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterOrEqualsSignedChar | ( | expected__, | |
actual__ | |||
) |
Assert that a given signed character (signed char) is greater than or equal to another given signed character (signed char)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterOrEqualsSignedCharWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given signed character (signed char) is greater than or equal to another given signed character (signed char) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertEqualsChar | ( | expected__, | |
actual__ | |||
) |
Assert that two given characters (unsigned char) are equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Conversion to int will happen since variadic parameters will be promoted to int in the call to printf as the standard states (argument promotion), so Coverity thinks we are passing a char where an int is expected. Conversion to unsigned char is expected by STR34-C: Cast characters to unsigned char before converting to larger integer sizes.
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsCharWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given characters (unsigned char) are equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
Conversion to int will happen since variadic parameters will be promoted to int in the call to printf as the standard states (argument promotion), so Coverity thinks we are passing a char where an int is expected. Conversion to unsigned char is expected by STR34-C: Cast characters to unsigned char before converting to larger integer sizes.
#define RTITest_assertNotEqualsChar | ( | expected__, | |
actual__ | |||
) |
Assert that two given characters (unsigned char) are not equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Conversion to int will happen since variadic parameters will be promoted to int in the call to printf as the standard states (argument promotion), so Coverity thinks we are passing a char where an int is expected. Conversion to unsigned char is expected by STR34-C: Cast characters to unsigned char before converting to larger integer sizes.
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertNotEqualsCharWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given characters (unsigned char) are not equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
Conversion to int will happen since variadic parameters will be promoted to int in the call to printf as the standard states (argument promotion), so Coverity thinks we are passing a char where an int is expected. Conversion to unsigned char is expected by STR34-C: Cast characters to unsigned char before converting to larger integer sizes.
#define RTITest_assertLessThanChar | ( | expected__, | |
actual__ | |||
) |
Assert that a given character (unsigned char) is less than another given character (unsigned char)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Conversion to int will happen since variadic parameters will be promoted to int in the call to printf as the standard states (argument promotion), so Coverity thinks we are passing a char where an int is expected. Conversion to unsigned char is expected by STR34-C: Cast characters to unsigned char before converting to larger integer sizes.
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessThanCharWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given character (unsigned char) is less than another given character (unsigned char) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
Conversion to int will happen since variadic parameters will be promoted to int in the call to printf as the standard states (argument promotion), so Coverity thinks we are passing a char where an int is expected. Conversion to unsigned char is expected by STR34-C: Cast characters to unsigned char before converting to larger integer sizes.
#define RTITest_assertLessOrEqualsChar | ( | expected__, | |
actual__ | |||
) |
Assert that a given character (unsigned char) is less than or equal to another given character (unsigned char)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Conversion to int will happen since variadic parameters will be promoted to int in the call to printf as the standard states (argument promotion), so Coverity thinks we are passing a char where an int is expected. Conversion to unsigned char is expected by STR34-C: Cast characters to unsigned char before converting to larger integer sizes.
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessOrEqualsCharWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given character (unsigned char) is less than or equal to another given character (unsigned char) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
Conversion to int will happen since variadic parameters will be promoted to int in the call to printf as the standard states (argument promotion), so Coverity thinks we are passing a char where an int is expected. Conversion to unsigned char is expected by STR34-C: Cast characters to unsigned char before converting to larger integer sizes.
#define RTITest_assertGreaterThanChar | ( | expected__, | |
actual__ | |||
) |
Assert that a given character (unsigned char) is greater than another given character (unsigned char)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Conversion to int will happen since variadic parameters will be promoted to int in the call to printf as the standard states (argument promotion), so Coverity thinks we are passing a char where an int is expected. Conversion to unsigned char is expected by STR34-C: Cast characters to unsigned char before converting to larger integer sizes.
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterThanCharWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given character (unsigned char) is greater than another given character (unsigned char) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
Conversion to int will happen since variadic parameters will be promoted to int in the call to printf as the standard states (argument promotion), so Coverity thinks we are passing a char where an int is expected. Conversion to unsigned char is expected by STR34-C: Cast characters to unsigned char before converting to larger integer sizes.
#define RTITest_assertGreaterOrEqualsChar | ( | expected__, | |
actual__ | |||
) |
Assert that a given character (unsigned char) is greater than or equal to another given character (unsigned char)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Conversion to int will happen since variadic parameters will be promoted to int in the call to printf as the standard states (argument promotion), so Coverity thinks we are passing a char where an int is expected. Conversion to unsigned char is expected by STR34-C: Cast characters to unsigned char before converting to larger integer sizes.
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterOrEqualsCharWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given character (unsigned char) is greater than or equal to another given character (unsigned char) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
Conversion to int will happen since variadic parameters will be promoted to int in the call to printf as the standard states (argument promotion), so Coverity thinks we are passing a char where an int is expected. Conversion to unsigned char is expected by STR34-C: Cast characters to unsigned char before converting to larger integer sizes.
#define RTITest_assertEqualsShort | ( | expected__, | |
actual__ | |||
) |
Assert that two given short integers (char) are equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsShortWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given short integers (char) are equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertNotEqualsShort | ( | expected__, | |
actual__ | |||
) |
Assert that two given short integers (char) are not equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertNotEqualsShortWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given short integers (char) are not equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessThanShort | ( | expected__, | |
actual__ | |||
) |
Assert that a given short integer (char) is less than another given short integer (char)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessThanShortWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given short integer (char) is less than another given short integer (char) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessOrEqualsShort | ( | expected__, | |
actual__ | |||
) |
Assert that a given short integer (char) is less than or equal to another given short integer (char)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessOrEqualsShortWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given short integer (char) is less than or equal to another given short integer (char) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterThanShort | ( | expected__, | |
actual__ | |||
) |
Assert that a given short integer (char) is greater than another given short integer (char)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterThanShortWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given short integer (char) is greater than another given short integer (char) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterOrEqualsShort | ( | expected__, | |
actual__ | |||
) |
Assert that a given short integer (char) is greater than or equal to another given short integer (char)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterOrEqualsShortWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given short integer (char) is greater than or equal to another given short integer (char) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertEqualsUnsignedShort | ( | expected__, | |
actual__ | |||
) |
Assert that two given unsigned short integers (unsigned char) are equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsUnsignedShortWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given unsigned short integers (unsigned char) are equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertNotEqualsUnsignedShort | ( | expected__, | |
actual__ | |||
) |
Assert that two given unsigned short integers (unsigned char) are not equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertNotEqualsUnsignedShortWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given unsigned short integers (unsigned char) are not equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessThanUnsignedShort | ( | expected__, | |
actual__ | |||
) |
Assert that a given unsigned short integer (unsigned char) is less than another given unsigned short integer (unsigned char)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessThanUnsignedShortWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given unsigned short integer (unsigned char) is less than another given unsigned short integer (unsigned char) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessOrEqualsUnsignedShort | ( | expected__, | |
actual__ | |||
) |
Assert that a given unsigned short integer (unsigned char) is less than or equal to another given unsigned short integer (unsigned char)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessOrEqualsUnsignedShortWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given unsigned short integer (unsigned char) is less than or equal to another given unsigned short integer (unsigned char) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterThanUnsignedShort | ( | expected__, | |
actual__ | |||
) |
Assert that a given unsigned short integer (unsigned char) is greater than another given unsigned short integer (unsigned char)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterThanUnsignedShortWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given unsigned short integer (unsigned char) is greater than another given unsigned short integer (unsigned char) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterOrEqualsUnsignedShort | ( | expected__, | |
actual__ | |||
) |
Assert that a given unsigned short integer (unsigned char) is greater than or equal to another given unsigned short integer (unsigned char)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterOrEqualsUnsignedShortWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given unsigned short integer (unsigned char) is greater than or equal to another given unsigned short integer (unsigned char) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertEqualsLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given long integers (long) are equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertNotEqualsLong | ( | expected__, | |
actual__ | |||
) |
Assert that two given long integers (long) are not equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertNotEqualsLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given long integers (long) are not equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessThanLong | ( | expected__, | |
actual__ | |||
) |
Assert that a given long integer (long) is less than another given long integer (long)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessThanLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given long integer (long) is less than another given long integer (long) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessOrEqualsLong | ( | expected__, | |
actual__ | |||
) |
Assert that a given long integer (long) is less than or equal to another given long integer (long)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessOrEqualsLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given long integer (long) is less than or equal to another given long integer (long) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterThanLong | ( | expected__, | |
actual__ | |||
) |
Assert that a given long integer (long) is greater than another given long integer (long)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterThanLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given long integer (long) is greater than another given long integer (long) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterOrEqualsLong | ( | expected__, | |
actual__ | |||
) |
Assert that a given long integer (long) is greater than or equal to another given long integer (long)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterOrEqualsLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given long integer (long) is greater than or equal to another given long integer (long) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertEqualsUnsignedLong | ( | expected__, | |
actual__ | |||
) |
Assert that two given unsigned long integers (long) are equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsUnsignedLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given unsigned long integers (long) are equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertNotEqualsUnsignedLong | ( | expected__, | |
actual__ | |||
) |
Assert that two given unsigned long integers (long) are not equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertNotEqualsUnsignedLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given unsigned long integers (long) are not equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessThanUnsignedLong | ( | expected__, | |
actual__ | |||
) |
Assert that a given unsigned long integer (long) is less than another given unsigned long integer (long)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessThanUnsignedLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given unsigned long integer (long) is less than another given unsigned long integer (long) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessOrEqualsUnsignedLong | ( | expected__, | |
actual__ | |||
) |
Assert that a given unsigned long integer (long) is less than or equal to another given unsigned long integer (long)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessOrEqualsUnsignedLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given unsigned long integer (long) is less than or equal to another given unsigned long integer (long) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterThanUnsignedLong | ( | expected__, | |
actual__ | |||
) |
Assert that a given unsigned long integer (long) is greater than another given unsigned long integer (long)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterThanUnsignedLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given unsigned long integer (long) is greater than another given unsigned long integer (long) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterOrEqualsUnsignedLong | ( | expected__, | |
actual__ | |||
) |
Assert that a given unsigned long integer (long) is greater than or equal to another given unsigned long integer (long)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterOrEqualsUnsignedLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given unsigned long integer (long) is greater than or equal to another given unsigned long integer (long) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertEqualsLongLong | ( | expected__, | |
actual__ | |||
) |
Assert that two given long long integers (long long) are equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsLongLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given long long integers (long long) are equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertNotEqualsLongLong | ( | expected__, | |
actual__ | |||
) |
Assert that two given long long integers (long long) are not equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertNotEqualsLongLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given long long integers (long long) are not equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessThanLongLong | ( | expected__, | |
actual__ | |||
) |
Assert that a given long long integer (long long) is less than another given long long integer (long long)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessThanLongLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given long long integer (long long) is less than another given long long integer (long long) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessOrEqualsLongLong | ( | expected__, | |
actual__ | |||
) |
Assert that a given long long integer (long long) is less than or equal to another given long long integer (long long)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessOrEqualsLongLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given long long integer (long long) is less than or equal to another given long long integer (long long) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterThanLongLong | ( | expected__, | |
actual__ | |||
) |
Assert that a given long long integer (long long) is greater than another given long long integer (long long)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterThanLongLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given long long integer (long long) is greater than another given long long integer (long long) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterOrEqualsLongLong | ( | expected__, | |
actual__ | |||
) |
Assert that a given long long integer (long long) is greater than or equal to another given long long integer (long long)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterOrEqualsLongLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given long long integer (long long) is greater than or equal to another given long long integer (long long) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertEqualsUnsignedLongLong | ( | expected__, | |
actual__ | |||
) |
Assert that two given unsigned long long integers (unsigned long long) are equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsUnsignedLongLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given unsigned long long integers (unsigned long long) are equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertNotEqualsUnsignedLongLong | ( | expected__, | |
actual__ | |||
) |
Assert that two given unsigned long long integers (unsigned long long) are not equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertNotEqualsUnsignedLongLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given unsigned long long integers (unsigned long long) are not equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessThanUnsignedLongLong | ( | expected__, | |
actual__ | |||
) |
Assert that a given unsigned long long integer (unsigned long long) is less than another given unsigned long long integer (unsigned long long)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessThanUnsignedLongLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given unsigned long long integer (unsigned long long) is less than another given unsigned long long integer (unsigned long long) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessOrEqualsUnsignedLongLong | ( | expected__, | |
actual__ | |||
) |
Assert that a given unsigned long long integer (unsigned long long) is less than or equal to another given unsigned long long integer (unsigned long long)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessOrEqualsUnsignedLongLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given unsigned long long integer (unsigned long long) is less than or equal to another given unsigned long long integer (unsigned long long) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterThanUnsignedLongLong | ( | expected__, | |
actual__ | |||
) |
Assert that a given unsigned long long integer (unsigned long long) is greater than another given unsigned long long integer (unsigned long long)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterThanUnsignedLongLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given unsigned long long integer (unsigned long long) is greater than another given unsigned long long integer (unsigned long long) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterOrEqualsUnsignedLongLong | ( | expected__, | |
actual__ | |||
) |
Assert that a given unsigned long long integer (unsigned long long) is greater than or equal to another given unsigned long long integer (unsigned long long)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterOrEqualsUnsignedLongLongWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given unsigned long long integer (unsigned long long) is greater than or equal to another given unsigned long long integer (unsigned long long) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertEqualsFloat | ( | expected__, | |
actual__ | |||
) |
Assert that two given real numbers (float) are equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsFloatWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given real numbers (float) are equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertNotEqualsFloat | ( | expected__, | |
actual__ | |||
) |
Assert that two given real numbers (float) are not equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertNotEqualsFloatWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given real numbers (float) are not equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessThanFloat | ( | expected__, | |
actual__ | |||
) |
Assert that a given real number (float) is less than another given real number (float)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessThanFloatWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given real number (float) is less than another given real number (float) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessOrEqualsFloat | ( | expected__, | |
actual__ | |||
) |
Assert that a given real number (float) is less than or equal to another given real number (float)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessOrEqualsFloatWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given real number (float) is less than or equal to another given real number (float) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterThanFloat | ( | expected__, | |
actual__ | |||
) |
Assert that a given real number (float) is greater than another given real number (float)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterThanFloatWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given real number (float) is greater than another given real number (float) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterOrEqualsFloat | ( | expected__, | |
actual__ | |||
) |
Assert that a given real number (float) is greater than or equal to another given real number (float)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterOrEqualsFloatWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given real number (float) is greater than or equal to another given real number (float) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertEqualsDouble | ( | expected__, | |
actual__ | |||
) |
Assert that two given double precision real numbers (double) are equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsDoubleWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given double precision real numbers (double) are equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertNotEqualsDouble | ( | expected__, | |
actual__ | |||
) |
Assert that two given double precision real numbers (double) are not equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertNotEqualsDoubleWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given double precision real numbers (double) are not equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessThanDouble | ( | expected__, | |
actual__ | |||
) |
Assert that a given double precision real number (double) is less than another given double precision real number (double)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessThanDoubleWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given double precision real number (double) is less than another given double precision real number (double) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessOrEqualsDouble | ( | expected__, | |
actual__ | |||
) |
Assert that a given double precision real number (double) is less than or equal to another given double precision real number (double)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessOrEqualsDoubleWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given double precision real number (double) is less than or equal to another given double precision real number (double) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterThanDouble | ( | expected__, | |
actual__ | |||
) |
Assert that a given double precision real number (double) is greater than another given double precision real number (double)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterThanDoubleWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given double precision real number (double) is greater than another given double precision real number (double) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterOrEqualsDouble | ( | expected__, | |
actual__ | |||
) |
Assert that a given double precision real number (double) is greater than or equal to another given double precision real number (double)
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterOrEqualsDoubleWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given double precision real number (double) is greater than or equal to another given double precision real number (double) Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertEqualsPtr | ( | expected__, | |
actual__ | |||
) |
Assert that two given pointers (void *) are equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsPtrWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given pointers (void *) are equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertNotEqualsPtr | ( | expected__, | |
actual__ | |||
) |
Assert that two given pointers (void *) are not equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertNotEqualsPtrWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given pointers (void *) are not equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertEqualsBoolean RTITest_assertEqualsUnsignedShort |
Assert that two given booleans are equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsNumericalChar | ( | expected__, | |
actual__ | |||
) |
Assert that two given numerical chars are equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Conversion to int will happen since variadic parameters will be promoted to int in the call to printf as the standard states (argument promotion), so Coverity thinks we are passing a char where an int is expected. Conversion to unsigned char is expected by STR34-C: Cast characters to unsigned char before converting to larger integer sizes.
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsSize_t | ( | expected__, | |
actual__ | |||
) |
Assert that two given size_t are equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertEqualsSize_tWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given size_t are equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertNotEqualsSize_t | ( | expected__, | |
actual__ | |||
) |
Assert that two given size_t are not equal.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertNotEqualsSize_tWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that two given size_t are not equal. Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessThanSize_t | ( | expected__, | |
actual__ | |||
) |
Assert that a given size_t is less than another given size_t.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessThanSize_tWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given size_t is less than another given size_t Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertLessOrEqualsSize_t | ( | expected__, | |
actual__ | |||
) |
Assert that a given size_t is less than or equal to another given size_t.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertLessOrEqualsSize_tWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given size_t is less than or equal to another given size_t Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterThanSize_t | ( | expected__, | |
actual__ | |||
) |
Assert that a given size_t is greater than another given size_t.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterThanSize_tWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given size_t is greater than another given size_t Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |
#define RTITest_assertGreaterOrEqualsSize_t | ( | expected__, | |
actual__ | |||
) |
Assert that a given size_t is greater than or equal to another given size_t.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
Calls goto done
if the assertion fails. Therefore, this macro requires a done
label to be defined in the method that this assertion is called in.
#define RTITest_assertGreaterOrEqualsSize_tWithAction | ( | expected__, | |
actual__, | |||
failAction__ | |||
) |
Assert that a given size_t is greater than or equal to another given size_t Otherwise, run the given action.
expected__ | In. Expected value of the variable. |
actual__ | In. Actual value of the variable. |
failAction__ | In. Action to be run if the assertion fails. |