8#ifndef META_OCEAN_TEST_TESTBASE_TEST_SCOPED_FUNCTION_H
9#define META_OCEAN_TEST_TESTBASE_TEST_SCOPED_FUNCTION_H
49 inline void invokeFunction();
55 inline size_t number()
const;
Helper class allowing to determine whether a function was invoked or not.
Definition TestScopedFunction.h:38
size_t number() const
Returns the number of times the function has been invoked.
Definition TestScopedFunction.h:98
Object & operator=(const Object &)=delete
Disabled assign operator.
Object()=default
Default constructor.
size_t number_
The number of times the function has been invoked.
Definition TestScopedFunction.h:73
void invokeFunction()
Invokes a function.
Definition TestScopedFunction.h:93
Object(const Object &)=delete
Disabled copy constructor.
This class implement a test for the TestScopedFunction class.
Definition TestScopedFunction.h:31
static bool test(const double testDuration, const TestSelector &selector=TestSelector())
Tests the ScopedFunction class.
static bool testRelease()
Tests the release functionality.
This class implements a test selector that parses test function strings and determines which tests sh...
Definition TestSelector.h:51
The namespace covering the entire Ocean framework.
Definition Accessor.h:15