Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
IosSavepoint_test Class Reference

Description

Test:
verifies capturing and restoring of std::ostream formatting state.
See also
ios-savepoint.hpp

Definition at line 40 of file ios-savepoint-test.cpp.

Private Member Functions

void run (Arg)
 
void __verifySane ()
 verify that original state is restored
 
void switchToHex ()
 
void setFill ()
 
void nested ()
 
void restoreAfterException ()
 

Member Function Documentation

◆ run()

void run ( Arg  )
inlineprivate

Definition at line 44 of file ios-savepoint-test.cpp.

References IosSavepoint_test::__verifySane(), IosSavepoint_test::nested(), IosSavepoint_test::restoreAfterException(), IosSavepoint_test::setFill(), and IosSavepoint_test::switchToHex().

+ Here is the call graph for this function:

◆ __verifySane()

void __verifySane ( )
inlineprivate

verify that original state is restored

Definition at line 66 of file ios-savepoint-test.cpp.

Referenced by IosSavepoint_test::run().

+ Here is the caller graph for this function:

◆ switchToHex()

void switchToHex ( )
inlineprivate
Test:
verify that hexadecimal output is cleared

Definition at line 74 of file ios-savepoint-test.cpp.

Referenced by IosSavepoint_test::run().

+ Here is the caller graph for this function:

◆ setFill()

void setFill ( )
inlineprivate
Test:
verify that a custom fill character is cleared

Definition at line 85 of file ios-savepoint-test.cpp.

Referenced by IosSavepoint_test::run().

+ Here is the caller graph for this function:

◆ nested()

void nested ( )
inlineprivate
Test:
verify usage in nested scopes

Definition at line 96 of file ios-savepoint-test.cpp.

Referenced by IosSavepoint_test::run().

+ Here is the caller graph for this function:

◆ restoreAfterException()

void restoreAfterException ( )
inlineprivate
Test:
verify clean-up happens even in case of an exception

Definition at line 110 of file ios-savepoint-test.cpp.

Referenced by IosSavepoint_test::run().

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

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