Merge pull request #3189 from ellert:gtest-help-test-GNU/kFreeBSD
PiperOrigin-RevId: 349349288
This commit is contained in:
17
googlemock/g3doc/includes/g3_BUILD_rule.md
Normal file
17
googlemock/g3doc/includes/g3_BUILD_rule.md
Normal file
@@ -0,0 +1,17 @@
|
||||
## BUILD Rule
|
||||
|
||||
Add *one* of the following to your `deps`:
|
||||
|
||||
```build
|
||||
"//testing/base/public:gunit",
|
||||
"//testing/base/public:gtest_main",
|
||||
```
|
||||
|
||||
Add this to your `.cc` file:
|
||||
|
||||
```cpp
|
||||
#include "gmock/gmock.h"
|
||||
```
|
||||
|
||||
Unless noted, *all functions and classes* are defined in the `::testing`
|
||||
namespace.
|
||||
Reference in New Issue
Block a user