Lines Matching refs:Unity

23 #define UNITY_FAIL_AND_BAIL   { Unity.CurrentTestFailed  = 1; UNITY_OUTPUT_FLUSH(); TEST_ABORT(); }
24 #define UNITY_IGNORE_AND_BAIL { Unity.CurrentTestIgnored = 1; UNITY_OUTPUT_FLUSH(); TEST_ABORT(); }
25 #define RETURN_IF_FAIL_OR_IGNORE if (Unity.CurrentTestFailed || Unity.CurrentTestIgnored) TEST_ABOR…
27 struct UNITY_STORAGE_T Unity; variable
500 UnityPrint(Unity.CurrentTestName); in UnityTestResultsBegin()
510 UnityPrint(Unity.CurrentTestName); in UnityTestResultsBegin()
519 UnityPrint(Unity.CurrentTestName); in UnityTestResultsBegin()
526 UnityPrint(Unity.CurrentTestName); in UnityTestResultsBegin()
536 UnityTestResultsBegin(Unity.TestFile, line); in UnityTestResultsFailBegin()
544 if (Unity.CurrentTestIgnored) in UnityConcludeTest()
546 Unity.TestIgnores++; in UnityConcludeTest()
548 else if (!Unity.CurrentTestFailed) in UnityConcludeTest()
550 UnityTestResultsBegin(Unity.TestFile, Unity.CurrentTestLineNumber); in UnityConcludeTest()
555 Unity.TestFailures++; in UnityConcludeTest()
558 Unity.CurrentTestFailed = 0; in UnityConcludeTest()
559 Unity.CurrentTestIgnored = 0; in UnityConcludeTest()
576 if (Unity.CurrentDetail1) in UnityAddMsgIfSpecified()
579 UnityPrint(Unity.CurrentDetail1); in UnityAddMsgIfSpecified()
580 if (Unity.CurrentDetail2) in UnityAddMsgIfSpecified()
583 UnityPrint(Unity.CurrentDetail2); in UnityAddMsgIfSpecified()
1192 Unity.CurrentTestFailed = (((UNITY_UINT)actual - (UNITY_UINT)expected) > delta); in UnityAssertNumbersWithin()
1196 Unity.CurrentTestFailed = (((UNITY_UINT)expected - (UNITY_UINT)actual) > delta); in UnityAssertNumbersWithin()
1203 Unity.CurrentTestFailed = (((UNITY_UINT)actual - (UNITY_UINT)expected) > delta); in UnityAssertNumbersWithin()
1207 Unity.CurrentTestFailed = (((UNITY_UINT)expected - (UNITY_UINT)actual) > delta); in UnityAssertNumbersWithin()
1211 if (Unity.CurrentTestFailed) in UnityAssertNumbersWithin()
1296Unity.CurrentTestFailed = (((UNITY_UINT)actual_val - (UNITY_UINT)expect_val) > delta); in UnityAssertNumbersArrayWithin()
1300Unity.CurrentTestFailed = (((UNITY_UINT)expect_val - (UNITY_UINT)actual_val) > delta); in UnityAssertNumbersArrayWithin()
1307Unity.CurrentTestFailed = (((UNITY_UINT)actual_val - (UNITY_UINT)expect_val) > delta); in UnityAssertNumbersArrayWithin()
1311Unity.CurrentTestFailed = (((UNITY_UINT)expect_val - (UNITY_UINT)actual_val) > delta); in UnityAssertNumbersArrayWithin()
1315 if (Unity.CurrentTestFailed) in UnityAssertNumbersArrayWithin()
1362 Unity.CurrentTestFailed = 1; in UnityAssertEqualString()
1371 Unity.CurrentTestFailed = 1; in UnityAssertEqualString()
1375 if (Unity.CurrentTestFailed) in UnityAssertEqualString()
1402 Unity.CurrentTestFailed = 1; in UnityAssertEqualStringLen()
1411 Unity.CurrentTestFailed = 1; in UnityAssertEqualStringLen()
1415 if (Unity.CurrentTestFailed) in UnityAssertEqualStringLen()
1475 Unity.CurrentTestFailed = 1; in UnityAssertEqualStringArray()
1484 Unity.CurrentTestFailed = 1; in UnityAssertEqualStringArray()
1488 if (Unity.CurrentTestFailed) in UnityAssertEqualStringArray()
1739 UnityTestResultsBegin(Unity.TestFile, line); in UnityPrintF()
1763 UnityTestResultsBegin(Unity.TestFile, line); in UnityFail()
1773 if (Unity.CurrentDetail1) in UnityFail()
1776 UnityPrint(Unity.CurrentDetail1); in UnityFail()
1777 if (Unity.CurrentDetail2) in UnityFail()
1780 UnityPrint(Unity.CurrentDetail2); in UnityFail()
1800 UnityTestResultsBegin(Unity.TestFile, line); in UnityIgnore()
1814 UnityTestResultsBegin(Unity.TestFile, line); in UnityMessage()
1830 Unity.CurrentTestName = FuncName; in UnityDefaultTestRun()
1831 Unity.CurrentTestLineNumber = (UNITY_LINE_TYPE)FuncLineNum; in UnityDefaultTestRun()
1832 Unity.NumberOfTests++; in UnityDefaultTestRun()
1852 Unity.TestFile = filename; in UnitySetTestFile()
1858 Unity.TestFile = filename; in UnityBegin()
1859 Unity.CurrentTestName = NULL; in UnityBegin()
1860 Unity.CurrentTestLineNumber = 0; in UnityBegin()
1861 Unity.NumberOfTests = 0; in UnityBegin()
1862 Unity.TestFailures = 0; in UnityBegin()
1863 Unity.TestIgnores = 0; in UnityBegin()
1864 Unity.CurrentTestFailed = 0; in UnityBegin()
1865 Unity.CurrentTestIgnored = 0; in UnityBegin()
1877 UnityPrintNumber((UNITY_INT)(Unity.NumberOfTests)); in UnityEnd()
1879 UnityPrintNumber((UNITY_INT)(Unity.TestFailures)); in UnityEnd()
1881 UnityPrintNumber((UNITY_INT)(Unity.TestIgnores)); in UnityEnd()
1884 if (Unity.TestFailures == 0U) in UnityEnd()
1898 return (int)(Unity.TestFailures); in UnityEnd()
2056 retval = IsStringInBiggerString(Unity.TestFile, ptr1); in UnityStringArgumentMatches()
2065 if (IsStringInBiggerString(Unity.CurrentTestName, ptrf)) in UnityStringArgumentMatches()
2072 if (IsStringInBiggerString(Unity.CurrentTestName, ptr1) == 1) in UnityStringArgumentMatches()