Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::internal::GTestFlagSaver Class Reference

#include <gtest-internal-inl.h>

Public Member Functions

 GTestFlagSaver ()
 
 ~GTestFlagSaver ()
 

Detailed Description

Definition at line 155 of file gtest-internal-inl.h.

Constructor & Destructor Documentation

◆ GTestFlagSaver()

testing::internal::GTestFlagSaver::GTestFlagSaver ( )
inline

Definition at line 158 of file gtest-internal-inl.h.

158 {
159 also_run_disabled_tests_ = GTEST_FLAG(also_run_disabled_tests);
160 break_on_failure_ = GTEST_FLAG(break_on_failure);
161 catch_exceptions_ = GTEST_FLAG(catch_exceptions);
162 color_ = GTEST_FLAG(color);
163 death_test_style_ = GTEST_FLAG(death_test_style);
164 death_test_use_fork_ = GTEST_FLAG(death_test_use_fork);
165 filter_ = GTEST_FLAG(filter);
166 internal_run_death_test_ = GTEST_FLAG(internal_run_death_test);
167 list_tests_ = GTEST_FLAG(list_tests);
168 output_ = GTEST_FLAG(output);
169 print_time_ = GTEST_FLAG(print_time);
170 print_utf8_ = GTEST_FLAG(print_utf8);
171 random_seed_ = GTEST_FLAG(random_seed);
172 repeat_ = GTEST_FLAG(repeat);
173 shuffle_ = GTEST_FLAG(shuffle);
174 stack_trace_depth_ = GTEST_FLAG(stack_trace_depth);
175 stream_result_to_ = GTEST_FLAG(stream_result_to);
176 throw_on_failure_ = GTEST_FLAG(throw_on_failure);
177 }
#define GTEST_FLAG(name)

◆ ~GTestFlagSaver()

testing::internal::GTestFlagSaver::~GTestFlagSaver ( )
inline

Definition at line 180 of file gtest-internal-inl.h.

180 {
181 GTEST_FLAG(also_run_disabled_tests) = also_run_disabled_tests_;
182 GTEST_FLAG(break_on_failure) = break_on_failure_;
183 GTEST_FLAG(catch_exceptions) = catch_exceptions_;
184 GTEST_FLAG(color) = color_;
185 GTEST_FLAG(death_test_style) = death_test_style_;
186 GTEST_FLAG(death_test_use_fork) = death_test_use_fork_;
187 GTEST_FLAG(filter) = filter_;
188 GTEST_FLAG(internal_run_death_test) = internal_run_death_test_;
189 GTEST_FLAG(list_tests) = list_tests_;
190 GTEST_FLAG(output) = output_;
191 GTEST_FLAG(print_time) = print_time_;
192 GTEST_FLAG(print_utf8) = print_utf8_;
193 GTEST_FLAG(random_seed) = random_seed_;
194 GTEST_FLAG(repeat) = repeat_;
195 GTEST_FLAG(shuffle) = shuffle_;
196 GTEST_FLAG(stack_trace_depth) = stack_trace_depth_;
197 GTEST_FLAG(stream_result_to) = stream_result_to_;
198 GTEST_FLAG(throw_on_failure) = throw_on_failure_;
199 }

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