|
|
TestInvocation.h |
| Includes: |
Use the links in the table of contents to the left to access the documentation.
Concrete class describing an invocation of a test method.
Abstract base class describing an invocation of a test.
Creates a complete concrete test invocation given a class and instance method.
TEST_INVOCATION |
Creates a complete concrete test invocation given a class and instance method.
#define TEST_INVOCATION(c,m) new ConcreteTestInvocation<c>(#c, #m, std::mem_fun<void, c>(&c::m))
cThe class of the test invocation to create.
mThe instance method to use for the created test invocation.
Returns a new ConcreteTestInvocation that can be used to invoke the given instance method on a particular object.
The TEST_INVOCATION macro creates a concrete test invocation given a class and an instance method, describing not only the instance method of the specified class that the invocation should invoke but also giving the invocation a proper name.
Last Updated: 2009-08-12