From 8b274116c01c46413157b9643b844682aa8440be Mon Sep 17 00:00:00 2001 From: mvandervoord Date: Fri, 19 Jun 2009 02:04:47 +0000 Subject: [PATCH] * fixed mistake in global ordering support in test runner generator git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@33 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e --- auto/generate_test_runner.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto/generate_test_runner.rb b/auto/generate_test_runner.rb index 92ab45a..c9f67f8 100644 --- a/auto/generate_test_runner.rb +++ b/auto/generate_test_runner.rb @@ -93,7 +93,7 @@ class UnityTestRunnerGenerator output.puts('#include "BullseyeCoverage.h"') if @options[:coverage] output.puts('') output.puts('char MessageBuffer[50];') - output.puts('int GlobalExpectOrder;') if @options[:order] + output.puts('int GlobalExpectCount;') if @options[:order] output.puts('int GlobalVerifyOrder;') if @options[:order] end @@ -118,7 +118,7 @@ class UnityTestRunnerGenerator unless (mocks.empty?) output.puts("static void CMock_Init(void)") output.puts("{") - output.puts("#{@tab}GlobalExpectOrder = 0;") if @options[:order] + output.puts("#{@tab}GlobalExpectCount = 0;") if @options[:order] output.puts("#{@tab}GlobalVerifyOrder = 0;") if @options[:order] mocks.each do |mock| output.puts("#{@tab}#{mock}_Init();") -- GitLab