1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-24 08:51:36 +01:00

- fixed order of test assert bits

- test_runner_generator now protects against directories in include statements

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@61 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
mvandervoord
2010-03-14 01:50:53 +00:00
parent f7a9390ee7
commit 2051e500cb
2 changed files with 3 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ class UnityTestRunnerGenerator
def find_mocks(includes)
mock_headers = []
includes.each do |include_file|
mock_headers << include_file if (include_file =~ /^mock/i)
mock_headers << File.basename(include_file) if (include_file =~ /^mock/i)
end
return mock_headers
end

View File

@@ -109,7 +109,7 @@ void UnityPrintNumberHex(const unsigned long number, const char nibbles_to_print
void UnityPrintMask(const unsigned long mask, const unsigned long number)
{
unsigned long bit = 0x00000001;
unsigned long bit = 0x80000000;
long i;
for (i = 0; i < 32; i++)
@@ -129,7 +129,7 @@ void UnityPrintMask(const unsigned long mask, const unsigned long number)
{
UNITY_OUTPUT_CHAR('X');
}
bit = bit << 1;
bit = bit >> 1;
}
}