Shaka Packager SDK
|
#include <flag_saver.h>
Public Member Functions | |
FlagSaver (absl::Flag< T > *flag) | |
A replacement for gflags' FlagSaver, which is used in testing. A FlagSaver is an RAII object to save and restore the values of command-line flags during a test. Unlike the gflags version, flags to be saved and restored must be listed explicitly.
Definition at line 19 of file flag_saver.h.