mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-08-16 07:40:01 +08: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
|
||||
when /^OK$/
|
||||
:green
|
||||
when /FAIL/
|
||||
when /(?:FAIL|ERROR)/
|
||||
:red
|
||||
when /IGNORE/
|
||||
:yellow
|
||||
when /^(Creating|Compiling|Linking)/
|
||||
when /^(?:Creating|Compiling|Linking)/
|
||||
:white
|
||||
else
|
||||
:blue
|
||||
|
@ -39,6 +39,8 @@
|
||||
runTest(func); \
|
||||
UnityConcludeTest();
|
||||
|
||||
#define TEST_LINE_NUM (Unity.CurrentTestLineNumber)
|
||||
|
||||
//-------------------------------------------------------
|
||||
// Basic Fail and Ignore
|
||||
//-------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user