Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: testing/README.chromium

Issue 6241018: Pull in gmock through DEPS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/testing
Patch Set: don't use svn mirror for now Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« DEPS ('K') | « DEPS ('k') | testing/gmock/CHANGES » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 confuses gclient.)
4
5 Current revision: 282
6
7
8 -- HOW TO USE --
9
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
12 onto testing/gmock.gyp:gmock in your gyp target.
13
14 For more general informaiton, there is a lot of good documentation availble on
15 the googlemock website:
16
17 http://code.google.com/p/googlemock/
18
19 In particular, the "For Dummies" guide is a good place to start. The
20 "CheatSheet" and "CookBook" are better as references.
21
22
23 -- RECREATING PACKAGE --
24
25 Example:
26
27 svn export --ignore-externals \
28 http://googlemock.googlecode.com/svn/trunk/ gmock
29
30 When checking out a copy from svn, --ignore-externals should be used to avoid
31 getting an extra copy of gtest.
32
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
35 revision of the source is listed at the top of the README.
OLDNEW
« DEPS ('K') | « DEPS ('k') | testing/gmock/CHANGES » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698