Hi all,

I just pushed WildcardTestPredicate to my public repository. It is an
adaption of Vlad's code. If you care to look; as a reminder you can
find the repository at: http://github.com/rioki/unittest-cpp.

A few things I have to note:

Vald's code for wild-card matching is a charm and was almost not
touched; so great work there. I eliminated the class WildcardMatcher
compleatly tough and changed it to a free form function.

The notation for suite and test changed to SUITE_NAME::TEST_NAME. This
was done to mimic the C++ notation.

The OptParser class was completely ignored (though it is good work).
The reason for leaving out the OptParser out has the following
rationale and that applies to similar issues with main / command line
arguments:

UnitTest++ does not assume in what context (GUI/Console) it runs. How
parameters to predicates, RunTestIf or similar are read or created is
up to the programmer who calls RunTestIf. This can be a compiler
switch, hard coded, command line options or what ever they come up
with. And yes, they may use boost or tr1 in THEIR code to do that.

Sean

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
unittest-cpp-devel mailing list
unittest-cpp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unittest-cpp-devel

Reply via email to