Lines Matching refs:Google
1 ## Google Mock ##
3 The Google C++ mocking framework.
7 Google's framework for writing and using C++ mock classes.
18 Google mock:
49 the Apache License, which is different from Google Mock's license.
57 Google Test, if you choose to use Google Mock with it (recommended).
58 * Read [Google Mock for Dummies](../googlemock/docs/ForDummies.md).
59 * Read the instructions below on how to build Google Mock.
61 You can also watch Zhanyong's [talk](http://www.youtube.com/watch?v=sYpCyLI47rM) on Google Mock's u…
77 ### Using Google Mock Without Google Test ###
79 Google Mock is not a testing framework itself. Instead, it needs a
80 testing framework for writing tests. Google Mock works seamlessly
81 with [Google Test](https://github.com/google/googletest), but
86 Google Mock is implemented on top of [Google Test](
88 You must use the bundled version of Google Test when using Google Mock.
90 You can also easily configure Google Mock to work with another testing
91 framework, although it will still need Google Test. Please read
96 Google Mock depends on advanced C++ features and thus requires a more
97 modern compiler. The following are needed to use Google Mock:
118 build Google Mock and its tests, which has further requirements:
126 ### Building Google Mock ###
132 as described for Google Test.
134 If are using Google Mock with an
138 To make it work for Google Mock you will need to change
146 This works because `gmock_main` library is compiled with Google Test.
151 system to build Google Mock (described below), you'll need to
159 To build Google Mock and your tests that use it, you need to tell your
164 This section shows how you can integrate Google Mock into your
167 Suppose you put Google Mock in directory `${GMOCK_DIR}` and Google Test
169 build Google Mock, create a library build target (or a project as
193 (We need -pthread as Google Test and Google Mock use threads.)
203 use to build Google Mock on systems where GNU make is available
204 (e.g. Linux, Mac OS X, and Cygwin). It doesn't try to build Google
205 Mock's own tests. Instead, it just builds the Google Mock library and
222 directory contains VC++ 2010 projects for building Google Mock and
227 If you want to create your own project to use with Google Mock, you'll
234 Include Directories, type <path to Google Mock>/include.
236 ### Tweaking Google Mock ###
238 Google Mock can be used in diverse environments. The default
240 some environments. However, you can easily tweak Google Mock by
251 Google Mock is compact, so most users can build and link it as a static
252 library for the simplicity. Google Mock can be used as a DLL, but the
253 same DLL must contain Google Test as well. See
254 [Google Test's README][gtest_readme]
257 ### Tweaking Google Mock ###
259 Most of Google Test's control macros apply to Google Mock as well.
260 Please see [Google Test's README][gtest_readme] for how to tweak them.
264 We strive to keep Google Mock releases backward compatible.
267 do if you are upgrading from an earlier version of Google Mock.
271 You may need to explicitly enable or disable Google Test's own TR1
277 On platforms where the pthread library is available, Google Test and
278 Google Mock use it in order to be thread-safe. For this to work, you
280 "[Multi-threaded Tests](../googletest/README.md#multi-threaded-tests)" section in file Google Test'…