mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-29 03:04:27 +01:00
- added accessor to line number
- tweaked reporting colors git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@66 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
@@ -16,11 +16,11 @@ def report(message)
|
|||||||
:green
|
:green
|
||||||
when /^OK$/
|
when /^OK$/
|
||||||
:green
|
:green
|
||||||
when /FAIL/
|
when /(?:FAIL|ERROR)/
|
||||||
:red
|
:red
|
||||||
when /IGNORE/
|
when /IGNORE/
|
||||||
:yellow
|
:yellow
|
||||||
when /^(Creating|Compiling|Linking)/
|
when /^(?:Creating|Compiling|Linking)/
|
||||||
:white
|
:white
|
||||||
else
|
else
|
||||||
:blue
|
:blue
|
||||||
|
|||||||
@@ -39,6 +39,8 @@
|
|||||||
runTest(func); \
|
runTest(func); \
|
||||||
UnityConcludeTest();
|
UnityConcludeTest();
|
||||||
|
|
||||||
|
#define TEST_LINE_NUM (Unity.CurrentTestLineNumber)
|
||||||
|
|
||||||
//-------------------------------------------------------
|
//-------------------------------------------------------
|
||||||
// Basic Fail and Ignore
|
// Basic Fail and Ignore
|
||||||
//-------------------------------------------------------
|
//-------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user