提交 e8c1dcf3 编写于 作者: G greg-williams

* Updated generate_test_runner.rb to work with latest Unity changes

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@9 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
上级 c22740f1
...@@ -132,7 +132,7 @@ class UnityTestRunnerGenerator ...@@ -132,7 +132,7 @@ class UnityTestRunnerGenerator
output.puts("#{@tab}#{@tab}setUp();") output.puts("#{@tab}#{@tab}setUp();")
output.puts("#{@tab}#{@tab}test();") output.puts("#{@tab}#{@tab}test();")
output.puts("#{@tab}}") output.puts("#{@tab}}")
output.puts("#{@tab}TEST_WRAP(CMock_Verify());") unless (used_mocks.empty?) output.puts("#{@tab}CMock_Verify();") unless (used_mocks.empty?)
output.puts("#{@tab}CMock_Destroy();") unless (used_mocks.empty?) output.puts("#{@tab}CMock_Destroy();") unless (used_mocks.empty?)
output.puts("#{@tab}tearDown();") output.puts("#{@tab}tearDown();")
output.puts("}") output.puts("}")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册