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 48 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 82 of file ios-savepoint-test.cpp.

◆ setFill()

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

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

◆ nested()

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

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

◆ restoreAfterException()

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

Definition at line 118 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: