Lumiera  0.pre.03
»edit your freedom«
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 __verifySane ()
 verify that original state is restored
 
void nested ()
 
void restoreAfterException ()
 
void run (Arg)
 
void setFill ()
 
void switchToHex ()
 

Member Function Documentation

◆ switchToHex()

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

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

◆ setFill()

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

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

◆ nested()

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

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

◆ 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.

+ Inheritance diagram for IosSavepoint_test:
+ Collaboration diagram for IosSavepoint_test:

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