Skip to content
Snippets Groups Projects
Commit c205468b authored by Gennadiy Civil's avatar Gennadiy Civil
Browse files

Merge pull request #2338 from kuzkry:environment-documentation

PiperOrigin-RevId: 260559531
parents 05747d2e 2fa7be93
No related branches found
No related tags found
No related merge requests found
......@@ -1222,15 +1222,15 @@ First, you subclass the `::testing::Environment` class to define a test
environment, which knows how to set-up and tear-down:
```c++
class Environment {
class Environment : public ::testing::Environment {
public:
virtual ~Environment() {}
// Override this to define how to set up the environment.
virtual void SetUp() {}
void SetUp() override {}
// Override this to define how to tear down the environment.
virtual void TearDown() {}
void TearDown() override {}
};
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment