]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/subversion/doc/programmer/gtest-guide.txt
MFC r275385 (by bapt):
[FreeBSD/stable/10.git] / contrib / subversion / doc / programmer / gtest-guide.txt
1 Googlemock and Googletest Suite for Subversion
2 ---------------------------------------------
3
4 Googlemock and Googletest are external packages that are downloaded
5 and compiled on request, as part of regular compilations.
6
7 Googlemock is available here:
8
9     https://code.google.com/p/googlemock/
10
11 The source packages already include Googletest, which is available
12 here:
13
14    https://code.google.com/p/googletest/
15
16 Subversion uses Googlemock and Googletest for the C++HL test suite.
17
18
19
20 To configure Subversion to use Googlemock, type
21
22    ./get-dep.sh gmock
23
24 This will download Googlemock and put the fused source into the
25 'gmock-fused' directory. Once it's there, configure will pick it up
26 automatically (but you do have to re-run autogen.sh and configure).
27
28 You can disable building Googlemock (and hence the C++HL test suite)
29 with the --disable-gmock configure option. This will tell configure to
30 ignore the gmock-fused directory.