OLD | NEW |
1 We include a snapshot of gmock from http://googlemock.googlecode.com/svn/trunk. | 1 We include a snapshot of gmock from http://googlemock.googlecode.com/svn/trunk. |
2 (Why not pull from it directly via DEPS? Because it uses svn:externals, which | 2 (Why not pull from it directly via DEPS? Because it uses svn:externals, which |
3 confuses gclient.) | 3 confuses gclient.) |
4 | 4 |
5 Current revision: 254 | 5 Current revision: 278 |
6 | 6 |
7 | 7 |
8 -- HOW TO USE -- | 8 -- HOW TO USE -- |
9 | 9 |
10 If you are unfamiliar with gmock, there is an example of how to write a test | 10 If you are unfamiliar with gmock, there is an example of how to write a test |
11 based on gmock in base/gmock_unittest.cc. To use gmock, just add a dependency | 11 based on gmock in base/gmock_unittest.cc. To use gmock, just add a dependency |
12 onto testing/gmock.gyp:gmock in your gyp target. | 12 onto testing/gmock.gyp:gmock in your gyp target. |
13 | 13 |
14 For more general informaiton, there is a lot of good documentation availble on | 14 For more general informaiton, there is a lot of good documentation availble on |
15 the googlemock website: | 15 the googlemock website: |
(...skipping 10 matching lines...) Expand all Loading... |
26 | 26 |
27 svn export --ignore-externals \ | 27 svn export --ignore-externals \ |
28 http://googlemock.googlecode.com/svn/trunk/ gmock | 28 http://googlemock.googlecode.com/svn/trunk/ gmock |
29 | 29 |
30 When checking out a copy from svn, --ignore-externals should be used to avoid | 30 When checking out a copy from svn, --ignore-externals should be used to avoid |
31 getting an extra copy of gtest. | 31 getting an extra copy of gtest. |
32 | 32 |
33 This command will grab the head of trunk. Optionally, -r [revision number] to | 33 This command will grab the head of trunk. Optionally, -r [revision number] to |
34 can be passed to svn export if you want a specific revision. The current | 34 can be passed to svn export if you want a specific revision. The current |
35 revision of the source is listed at the top of the README. | 35 revision of the source is listed at the top of the README. |
OLD | NEW |