Home | History | Annotate | Download | only in gtest

Lines Matching defs:Environment

821 // An Environment object is capable of setting up and tearing down an
822 // environment. The user should subclass this to define his own
823 // environment(s).
825 // An Environment object does the set-up and tear-down in virtual
835 class Environment {
837 // The d'tor is virtual as we need to subclass Environment.
838 virtual ~Environment() {}
840 // Override this to define how to set up the environment.
843 // Override this to define how to tear down the environment.
867 // Fired before environment set-up for each iteration of tests starts.
870 // Fired after environment set-up for each iteration of tests ends.
888 // Fired before environment tear-down for each iteration of tests starts.
891 // Fired after environment tear-down for each iteration of tests ends.
1099 // Registers and returns a global test environment. When a test
1105 // The UnitTest object takes ownership of the given environment.
1108 Environment* AddEnvironment(Environment* env);
1137 friend Environment* AddGlobalTestEnvironment(Environment* env);
1170 // A convenient wrapper for adding an environment for the test
1178 // testing::Environment* const foo_env =
1188 inline Environment* AddGlobalTestEnvironment(Environment* env) {