g3_BUILD_rule.md 291 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.