Hallo,
I don't know why it is still in the documentation, but the function you
refer to was removed in 1.3 or 1.4. You now do test configuration and
execution (if needed) with a test runner. See TestRunner.cpp line 13 how to
do this.
Sean
On Sat, Mar 17, 2012 at 12:03 AM, Cong Ma <cong...@curvedental.com> wrote:
> Hi,
>
> According to the document, there should be an overload RunAllTests()
> which takes 4 arguments.
>
> However I grep in source code and couldn't find it. Where is it ?
>
> Thanks~~
>
> Test runners
>>
>> The RunAllTests() function has an overload that lets you customize the
>> behavior of the runner, such as global time constraints, custom reporters,
>> which suite to run, etc.
>>
>> int RunAllTests(TestReporter& reporter, TestList const& list, char const*
>> suiteName, int const maxTestTimeInMs);
>>
>> If you attempt to pass custom parameters to RunAllTests(), note that the
>> list parameter should have the value Test::GetTestList().
>>
>> The parameterless RunAllTests() is a simple wrapper for this one, with
>> sensible defaults.
>>
>
>
> --
>
> *CONG MA *
>
> *skype: cong.ma.curve*
>
> *
> *
>
> *CURVE DENTAL*
>
> *A Fresh, Web-based Alternative to Dental Software*
>
> *www.curvedental.com*
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> unittest-cpp-devel mailing list
> unittest-cpp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/unittest-cpp-devel
>
>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
unittest-cpp-devel mailing list
unittest-cpp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unittest-cpp-devel