|
ContainerTracer
0.1
|

Macros | |
| #define | PROGMEM |
| #define | UNITY_FAIL_AND_BAIL |
| #define | UNITY_IGNORE_AND_BAIL |
| #define | RETURN_IF_FAIL_OR_IGNORE |
| #define | UnityPrintPointlessAndBail() |
| #define | UNITY_FLOAT_OR_DOUBLE_WITHIN(delta, expected, actual, diff) |
| #define | UNITY_NAN_CHECK isnan(expected) && isnan(actual) |
| #define | UNITY_PRINT_EXPECTED_AND_ACTUAL_FLOAT(expected, actual) |
Functions | |
| static void | UnityPrintChar (const char *pch) |
| void | UnityPrint (const char *string) |
| void | UnityPrintLen (const char *string, const UNITY_UINT32 length) |
| void | UnityPrintNumberByStyle (const UNITY_INT number, const UNITY_DISPLAY_STYLE_T style) |
| void | UnityPrintNumber (const UNITY_INT number_to_print) |
| void | UnityPrintNumberUnsigned (const UNITY_UINT number) |
| void | UnityPrintNumberHex (const UNITY_UINT number, const char nibbles_to_print) |
| void | UnityPrintMask (const UNITY_UINT mask, const UNITY_UINT number) |
| void | UnityPrintFloat (const UNITY_DOUBLE input_number) |
| static void | UnityTestResultsBegin (const char *file, const UNITY_LINE_TYPE line) |
| static void | UnityTestResultsFailBegin (const UNITY_LINE_TYPE line) |
| void | UnityConcludeTest (void) |
| static void | UnityAddMsgIfSpecified (const char *msg) |
| static void | UnityPrintExpectedAndActualStrings (const char *expected, const char *actual) |
| static void | UnityPrintExpectedAndActualStringsLen (const char *expected, const char *actual, const UNITY_UINT32 length) |
| static int | UnityIsOneArrayNull (UNITY_INTERNAL_PTR expected, UNITY_INTERNAL_PTR actual, const UNITY_LINE_TYPE lineNumber, const char *msg) |
| void | UnityAssertBits (const UNITY_INT mask, const UNITY_INT expected, const UNITY_INT actual, const char *msg, const UNITY_LINE_TYPE lineNumber) |
| void | UnityAssertEqualNumber (const UNITY_INT expected, const UNITY_INT actual, const char *msg, const UNITY_LINE_TYPE lineNumber, const UNITY_DISPLAY_STYLE_T style) |
| void | UnityAssertGreaterOrLessOrEqualNumber (const UNITY_INT threshold, const UNITY_INT actual, const UNITY_COMPARISON_T compare, const char *msg, const UNITY_LINE_TYPE lineNumber, const UNITY_DISPLAY_STYLE_T style) |
| void | UnityAssertEqualIntArray (UNITY_INTERNAL_PTR expected, UNITY_INTERNAL_PTR actual, const UNITY_UINT32 num_elements, const char *msg, const UNITY_LINE_TYPE lineNumber, const UNITY_DISPLAY_STYLE_T style, const UNITY_FLAGS_T flags) |
| static int | UnityFloatsWithin (UNITY_FLOAT delta, UNITY_FLOAT expected, UNITY_FLOAT actual) |
| void | UnityAssertEqualFloatArray (UNITY_PTR_ATTRIBUTE const UNITY_FLOAT *expected, UNITY_PTR_ATTRIBUTE const UNITY_FLOAT *actual, const UNITY_UINT32 num_elements, const char *msg, const UNITY_LINE_TYPE lineNumber, const UNITY_FLAGS_T flags) |
| void | UnityAssertFloatsWithin (const UNITY_FLOAT delta, const UNITY_FLOAT expected, const UNITY_FLOAT actual, const char *msg, const UNITY_LINE_TYPE lineNumber) |
| void | UnityAssertFloatSpecial (const UNITY_FLOAT actual, const char *msg, const UNITY_LINE_TYPE lineNumber, const UNITY_FLOAT_TRAIT_T style) |
| static int | UnityDoublesWithin (UNITY_DOUBLE delta, UNITY_DOUBLE expected, UNITY_DOUBLE actual) |
| void | UnityAssertEqualDoubleArray (UNITY_PTR_ATTRIBUTE const UNITY_DOUBLE *expected, UNITY_PTR_ATTRIBUTE const UNITY_DOUBLE *actual, const UNITY_UINT32 num_elements, const char *msg, const UNITY_LINE_TYPE lineNumber, const UNITY_FLAGS_T flags) |
| void | UnityAssertDoublesWithin (const UNITY_DOUBLE delta, const UNITY_DOUBLE expected, const UNITY_DOUBLE actual, const char *msg, const UNITY_LINE_TYPE lineNumber) |
| void | UnityAssertDoubleSpecial (const UNITY_DOUBLE actual, const char *msg, const UNITY_LINE_TYPE lineNumber, const UNITY_FLOAT_TRAIT_T style) |
| void | UnityAssertNumbersWithin (const UNITY_UINT delta, const UNITY_INT expected, const UNITY_INT actual, const char *msg, const UNITY_LINE_TYPE lineNumber, const UNITY_DISPLAY_STYLE_T style) |
| void | UnityAssertNumbersArrayWithin (const UNITY_UINT delta, UNITY_INTERNAL_PTR expected, UNITY_INTERNAL_PTR actual, const UNITY_UINT32 num_elements, const char *msg, const UNITY_LINE_TYPE lineNumber, const UNITY_DISPLAY_STYLE_T style, const UNITY_FLAGS_T flags) |
| void | UnityAssertEqualString (const char *expected, const char *actual, const char *msg, const UNITY_LINE_TYPE lineNumber) |
| void | UnityAssertEqualStringLen (const char *expected, const char *actual, const UNITY_UINT32 length, const char *msg, const UNITY_LINE_TYPE lineNumber) |
| void | UnityAssertEqualStringArray (UNITY_INTERNAL_PTR expected, const char **actual, const UNITY_UINT32 num_elements, const char *msg, const UNITY_LINE_TYPE lineNumber, const UNITY_FLAGS_T flags) |
| void | UnityAssertEqualMemory (UNITY_INTERNAL_PTR expected, UNITY_INTERNAL_PTR actual, const UNITY_UINT32 length, const UNITY_UINT32 num_elements, const char *msg, const UNITY_LINE_TYPE lineNumber, const UNITY_FLAGS_T flags) |
| UNITY_INTERNAL_PTR | UnityNumToPtr (const UNITY_INT num, const UNITY_UINT8 size) |
| UNITY_INTERNAL_PTR | UnityFloatToPtr (const float num) |
| UNITY_INTERNAL_PTR | UnityDoubleToPtr (const double num) |
| void | UnityFail (const char *msg, const UNITY_LINE_TYPE line) |
| void | UnityIgnore (const char *msg, const UNITY_LINE_TYPE line) |
| void | UnityMessage (const char *msg, const UNITY_LINE_TYPE line) |
| void | UnityDefaultTestRun (UnityTestFunction Func, const char *FuncName, const int FuncLineNum) |
| void | UnitySetTestFile (const char *filename) |
| void | UnityBegin (const char *filename) |
| int | UnityEnd (void) |
Variables | |
| struct UNITY_STORAGE_T | Unity |
| const char PROGMEM | UnityStrOk [] = "OK" |
| const char PROGMEM | UnityStrPass [] = "PASS" |
| const char PROGMEM | UnityStrFail [] = "FAIL" |
| const char PROGMEM | UnityStrIgnore [] = "IGNORE" |
| static const char PROGMEM | UnityStrNull [] = "NULL" |
| static const char PROGMEM | UnityStrSpacer [] = ". " |
| static const char PROGMEM | UnityStrExpected [] = " Expected " |
| static const char PROGMEM | UnityStrWas [] = " Was " |
| static const char PROGMEM | UnityStrGt [] = " to be greater than " |
| static const char PROGMEM | UnityStrLt [] = " to be less than " |
| static const char PROGMEM | UnityStrOrEqual [] = "or equal to " |
| static const char PROGMEM | UnityStrNotEqual [] = " to be not equal to " |
| static const char PROGMEM | UnityStrElement [] = " Element " |
| static const char PROGMEM | UnityStrByte [] = " Byte " |
| static const char PROGMEM | UnityStrMemory [] = " Memory Mismatch." |
| static const char PROGMEM | UnityStrDelta [] = " Values Not Within Delta " |
| static const char PROGMEM | UnityStrPointless [] |
| static const char PROGMEM | UnityStrNullPointerForExpected [] |
| static const char PROGMEM | UnityStrNullPointerForActual [] |
| static const char PROGMEM | UnityStrNot [] = "Not " |
| static const char PROGMEM | UnityStrInf [] = "Infinity" |
| static const char PROGMEM | UnityStrNegInf [] = "Negative Infinity" |
| static const char PROGMEM | UnityStrNaN [] = "NaN" |
| static const char PROGMEM | UnityStrDet [] = "Determinate" |
| static const char PROGMEM | UnityStrInvalidFloatTrait [] = "Invalid Float Trait" |
| const char PROGMEM | UnityStrErrShorthand [] = "Unity Shorthand Support Disabled" |
| const char PROGMEM | UnityStrErrFloat [] = "Unity Floating Point Disabled" |
| const char PROGMEM | UnityStrErrDouble [] = "Unity Double Precision Disabled" |
| const char PROGMEM | UnityStrErr64 [] = "Unity 64-bit Support Disabled" |
| static const char PROGMEM | UnityStrBreaker [] = "-----------------------" |
| static const char PROGMEM | UnityStrResultsTests [] = " Tests " |
| static const char PROGMEM | UnityStrResultsFailures [] = " Failures " |
| static const char PROGMEM | UnityStrResultsIgnored [] = " Ignored " |
| static const char PROGMEM | UnityStrDetail1Name [] = UNITY_DETAIL1_NAME " " |
| static const char PROGMEM | UnityStrDetail2Name [] = " " UNITY_DETAIL2_NAME " " |
| union { | |
| UNITY_INT8 i8 | |
| UNITY_INT16 i16 | |
| UNITY_INT32 i32 | |
| float f | |
| double d | |
| } | UnityQuickCompare |
| #define PROGMEM |
| #define RETURN_IF_FAIL_OR_IGNORE |
| #define UNITY_FAIL_AND_BAIL |
| #define UNITY_FLOAT_OR_DOUBLE_WITHIN | ( | delta, | |
| expected, | |||
| actual, | |||
| diff | |||
| ) |
| #define UNITY_IGNORE_AND_BAIL |
| #define UNITY_PRINT_EXPECTED_AND_ACTUAL_FLOAT | ( | expected, | |
| actual | |||
| ) |
| #define UnityPrintPointlessAndBail | ( | ) |
|
static |

| void UnityAssertBits | ( | const UNITY_INT | mask, |
| const UNITY_INT | expected, | ||
| const UNITY_INT | actual, | ||
| const char * | msg, | ||
| const UNITY_LINE_TYPE | lineNumber | ||
| ) |

| void UnityAssertDoubleSpecial | ( | const UNITY_DOUBLE | actual, |
| const char * | msg, | ||
| const UNITY_LINE_TYPE | lineNumber, | ||
| const UNITY_FLOAT_TRAIT_T | style | ||
| ) |

| void UnityAssertDoublesWithin | ( | const UNITY_DOUBLE | delta, |
| const UNITY_DOUBLE | expected, | ||
| const UNITY_DOUBLE | actual, | ||
| const char * | msg, | ||
| const UNITY_LINE_TYPE | lineNumber | ||
| ) |

| void UnityAssertEqualDoubleArray | ( | UNITY_PTR_ATTRIBUTE const UNITY_DOUBLE * | expected, |
| UNITY_PTR_ATTRIBUTE const UNITY_DOUBLE * | actual, | ||
| const UNITY_UINT32 | num_elements, | ||
| const char * | msg, | ||
| const UNITY_LINE_TYPE | lineNumber, | ||
| const UNITY_FLAGS_T | flags | ||
| ) |

| void UnityAssertEqualFloatArray | ( | UNITY_PTR_ATTRIBUTE const UNITY_FLOAT * | expected, |
| UNITY_PTR_ATTRIBUTE const UNITY_FLOAT * | actual, | ||
| const UNITY_UINT32 | num_elements, | ||
| const char * | msg, | ||
| const UNITY_LINE_TYPE | lineNumber, | ||
| const UNITY_FLAGS_T | flags | ||
| ) |

| void UnityAssertEqualIntArray | ( | UNITY_INTERNAL_PTR | expected, |
| UNITY_INTERNAL_PTR | actual, | ||
| const UNITY_UINT32 | num_elements, | ||
| const char * | msg, | ||
| const UNITY_LINE_TYPE | lineNumber, | ||
| const UNITY_DISPLAY_STYLE_T | style, | ||
| const UNITY_FLAGS_T | flags | ||
| ) |

| void UnityAssertEqualMemory | ( | UNITY_INTERNAL_PTR | expected, |
| UNITY_INTERNAL_PTR | actual, | ||
| const UNITY_UINT32 | length, | ||
| const UNITY_UINT32 | num_elements, | ||
| const char * | msg, | ||
| const UNITY_LINE_TYPE | lineNumber, | ||
| const UNITY_FLAGS_T | flags | ||
| ) |

| void UnityAssertEqualNumber | ( | const UNITY_INT | expected, |
| const UNITY_INT | actual, | ||
| const char * | msg, | ||
| const UNITY_LINE_TYPE | lineNumber, | ||
| const UNITY_DISPLAY_STYLE_T | style | ||
| ) |

| void UnityAssertEqualString | ( | const char * | expected, |
| const char * | actual, | ||
| const char * | msg, | ||
| const UNITY_LINE_TYPE | lineNumber | ||
| ) |

| void UnityAssertEqualStringArray | ( | UNITY_INTERNAL_PTR | expected, |
| const char ** | actual, | ||
| const UNITY_UINT32 | num_elements, | ||
| const char * | msg, | ||
| const UNITY_LINE_TYPE | lineNumber, | ||
| const UNITY_FLAGS_T | flags | ||
| ) |

| void UnityAssertEqualStringLen | ( | const char * | expected, |
| const char * | actual, | ||
| const UNITY_UINT32 | length, | ||
| const char * | msg, | ||
| const UNITY_LINE_TYPE | lineNumber | ||
| ) |

| void UnityAssertFloatSpecial | ( | const UNITY_FLOAT | actual, |
| const char * | msg, | ||
| const UNITY_LINE_TYPE | lineNumber, | ||
| const UNITY_FLOAT_TRAIT_T | style | ||
| ) |

| void UnityAssertFloatsWithin | ( | const UNITY_FLOAT | delta, |
| const UNITY_FLOAT | expected, | ||
| const UNITY_FLOAT | actual, | ||
| const char * | msg, | ||
| const UNITY_LINE_TYPE | lineNumber | ||
| ) |

| void UnityAssertGreaterOrLessOrEqualNumber | ( | const UNITY_INT | threshold, |
| const UNITY_INT | actual, | ||
| const UNITY_COMPARISON_T | compare, | ||
| const char * | msg, | ||
| const UNITY_LINE_TYPE | lineNumber, | ||
| const UNITY_DISPLAY_STYLE_T | style | ||
| ) |

| void UnityAssertNumbersArrayWithin | ( | const UNITY_UINT | delta, |
| UNITY_INTERNAL_PTR | expected, | ||
| UNITY_INTERNAL_PTR | actual, | ||
| const UNITY_UINT32 | num_elements, | ||
| const char * | msg, | ||
| const UNITY_LINE_TYPE | lineNumber, | ||
| const UNITY_DISPLAY_STYLE_T | style, | ||
| const UNITY_FLAGS_T | flags | ||
| ) |

| void UnityAssertNumbersWithin | ( | const UNITY_UINT | delta, |
| const UNITY_INT | expected, | ||
| const UNITY_INT | actual, | ||
| const char * | msg, | ||
| const UNITY_LINE_TYPE | lineNumber, | ||
| const UNITY_DISPLAY_STYLE_T | style | ||
| ) |

| void UnityBegin | ( | const char * | filename | ) |
| void UnityConcludeTest | ( | void | ) |

| void UnityDefaultTestRun | ( | UnityTestFunction | Func, |
| const char * | FuncName, | ||
| const int | FuncLineNum | ||
| ) |

|
static |
| UNITY_INTERNAL_PTR UnityDoubleToPtr | ( | const double | num | ) |

| int UnityEnd | ( | void | ) |

| void UnityFail | ( | const char * | msg, |
| const UNITY_LINE_TYPE | line | ||
| ) |

|
static |
| UNITY_INTERNAL_PTR UnityFloatToPtr | ( | const float | num | ) |
| void UnityIgnore | ( | const char * | msg, |
| const UNITY_LINE_TYPE | line | ||
| ) |

|
static |

| void UnityMessage | ( | const char * | msg, |
| const UNITY_LINE_TYPE | line | ||
| ) |

| UNITY_INTERNAL_PTR UnityNumToPtr | ( | const UNITY_INT | num, |
| const UNITY_UINT8 | size | ||
| ) |
| void UnityPrint | ( | const char * | string | ) |

|
static |

|
static |

|
static |

| void UnityPrintFloat | ( | const UNITY_DOUBLE | input_number | ) |

| void UnityPrintLen | ( | const char * | string, |
| const UNITY_UINT32 | length | ||
| ) |

| void UnityPrintMask | ( | const UNITY_UINT | mask, |
| const UNITY_UINT | number | ||
| ) |
| void UnityPrintNumber | ( | const UNITY_INT | number_to_print | ) |

| void UnityPrintNumberByStyle | ( | const UNITY_INT | number, |
| const UNITY_DISPLAY_STYLE_T | style | ||
| ) |

| void UnityPrintNumberHex | ( | const UNITY_UINT | number, |
| const char | nibbles_to_print | ||
| ) |
| void UnityPrintNumberUnsigned | ( | const UNITY_UINT | number | ) |
| void UnitySetTestFile | ( | const char * | filename | ) |
|
static |

|
static |

| double d |
| float f |
| UNITY_INT16 i16 |
| UNITY_INT32 i32 |
| UNITY_INT8 i8 |
| struct UNITY_STORAGE_T Unity |
| union { ... } UnityQuickCompare |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| const char PROGMEM UnityStrErr64[] = "Unity 64-bit Support Disabled" |
| const char PROGMEM UnityStrErrDouble[] = "Unity Double Precision Disabled" |
| const char PROGMEM UnityStrErrFloat[] = "Unity Floating Point Disabled" |
| const char PROGMEM UnityStrErrShorthand[] = "Unity Shorthand Support Disabled" |
|
static |
| const char PROGMEM UnityStrFail[] = "FAIL" |
|
static |
| const char PROGMEM UnityStrIgnore[] = "IGNORE" |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| const char PROGMEM UnityStrOk[] = "OK" |
|
static |
| const char PROGMEM UnityStrPass[] = "PASS" |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
1.8.13