Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
TestHelper_test Class Reference

Description

verifies the proper working of helper functions frequently used within the Lumiera testsuite.

See also
test-helper.hpp

Definition at line 65 of file test-helper-test.cpp.

Private Member Functions

void run (Arg)
 
void checkTypeDisplay ()
 
void checkGarbageStr ()
 
void checkThrowChecker ()
 
void checkLocalManipulation ()
 

Member Function Documentation

◆ run()

void run ( Arg  )
inlineprivate

Definition at line 68 of file test-helper-test.cpp.

References TestHelper_test::checkGarbageStr(), TestHelper_test::checkLocalManipulation(), TestHelper_test::checkThrowChecker(), and TestHelper_test::checkTypeDisplay().

+ Here is the call graph for this function:

◆ checkTypeDisplay()

void checkTypeDisplay ( )
inlineprivate
Test:
prints "sizeof()" including some type name.

Definition at line 79 of file test-helper-test.cpp.

References lib::test::showSizeof().

Referenced by TestHelper_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkGarbageStr()

void checkGarbageStr ( )
inlineprivate

Definition at line 123 of file test-helper-test.cpp.

References lib::test::randStr().

Referenced by TestHelper_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkThrowChecker()

void checkThrowChecker ( )
inlineprivate
Test:
check the VERIFY_ERROR macro, which ensures a given error is raised.

Definition at line 142 of file test-helper-test.cpp.

References lib::test::test::dontThrow(), lib::test::test::doThrow(), and VERIFY_ERROR.

Referenced by TestHelper_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkLocalManipulation()

void checkLocalManipulation ( )
inlineprivate
Test:
check a local manipulations, which are undone when leaving the scope.

Definition at line 158 of file test-helper-test.cpp.

References Time::ANYTIME, and TRANSIENTLY.

Referenced by TestHelper_test::run().

+ Here is the caller graph for this function:
+ Inheritance diagram for TestHelper_test:
+ Collaboration diagram for TestHelper_test:

The documentation for this class was generated from the following file: