Abbreviated Matchers

Functions

AutoPointer< TypelessMatcher > mockpp::once ()
 Creates a matcher to verify a single invocation.
AutoPointer< TypelessMatcher > mockpp::atLeastOnce ()
 Creates a matcher to verify a minimum invocation count of one.
AutoPointer< TypelessMatcher > mockpp::unlimited ()
 Creates a matcher to verify an arbitrary invocation count.
AutoPointer< TypelessMatcher > mockpp::atMost (int expectedCount)
 Creates a matcher to verify a maximal invocation count.
AutoPointer< TypelessMatcher > mockpp::atLeast (int expectedCount)
 Creates a matcher to verify a minimal invocation count.
AutoPointer< TypelessMatcher > mockpp::exactly (int expectedCount)
 Creates a matcher to verify an exact invocation count.
AutoPointer< TypelessMatcher > mockpp::never ()
 Creates a matcher to verify that the invactation never occured.
AutoPointer< TypelessMatcher > mockpp::never (const String &errorMessage)
 Creates a matcher to verify that the invactation never occured.

Detailed Description

See also:
mockpp::InvocationMatcher Provides convenience functions that create matcher objects. Use of these functions should also help to increase readability if you import them via some appriopriate using directive.

Function Documentation

AutoPointer< TypelessMatcher > mockpp::atLeast ( int  expectedCount  ) 

Creates a matcher to verify a minimal invocation count.

See also:
mockpp::InvokeAtLeastMatcher
Returns:
the new matcher
AutoPointer< TypelessMatcher > mockpp::atLeastOnce (  ) 

Creates a matcher to verify a minimum invocation count of one.

See also:
mockpp::InvokeAtLeastOnceMatcher
Returns:
the new matcher
AutoPointer< TypelessMatcher > mockpp::atMost ( int  expectedCount  ) 

Creates a matcher to verify a maximal invocation count.

See also:
mockpp::InvokeAtMostMatcher
Returns:
the new matcher
AutoPointer< TypelessMatcher > mockpp::exactly ( int  expectedCount  ) 

Creates a matcher to verify an exact invocation count.

See also:
mockpp::InvokeCountMatcher
Returns:
the new matcher
AutoPointer< TypelessMatcher > mockpp::never ( const String &  errorMessage  ) 

Creates a matcher to verify that the invactation never occured.

See also:
mockpp::TestFailureMatcher
Parameters:
errorMessage additional info for error message
Returns:
the new matcher
AutoPointer< TypelessMatcher > mockpp::never (  ) 

Creates a matcher to verify that the invactation never occured.

See also:
mockpp::TestFailureMatcher
Returns:
the new matcher
AutoPointer< TypelessMatcher > mockpp::once (  ) 

Creates a matcher to verify a single invocation.

See also:
mockpp::InvokeOnceMatcher
Returns:
the new matcher
AutoPointer< TypelessMatcher > mockpp::unlimited (  ) 

Creates a matcher to verify an arbitrary invocation count.

See also:
mockpp::UnlimitedMatcher
Returns:
the new matcher
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines

Generated on Tue Jan 5 09:48:57 2010 for mockpp by  doxygen 1.6.1