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](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](http://code.google.com/p/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 ###
131 system to build Google Mock (described below), you'll need to
139 To build Google Mock and your tests that use it, you need to tell your
144 This section shows how you can integrate Google Mock into your
147 Suppose you put Google Mock in directory `${GMOCK_DIR}` and Google Test
149 build Google Mock, create a library build target (or a project as
173 (We need -pthread as Google Test and Google Mock use threads.)
183 use to build Google Mock on systems where GNU make is available
184 (e.g. Linux, Mac OS X, and Cygwin). It doesn't try to build Google
185 Mock's own tests. Instead, it just builds the Google Mock library and
202 directory contains VC++ 2010 projects for building Google Mock and
207 If you want to create your own project to use with Google Mock, you'll
214 Include Directories, type <path to Google Mock>/include.
216 ### Tweaking Google Mock ###
218 Google Mock can be used in diverse environments. The default
220 some environments. However, you can easily tweak Google Mock by
231 Google Mock uses the C++ Technical Report 1 (TR1) tuple library
233 compilers. The good news is that Google Test 1.4.0+ implements a
234 subset of TR1 tuple that's enough for Google Mock's need. Google Mock
238 Usually you don't need to care about which tuple library Google Test
239 and Google Mock use. However, if your project already uses TR1 tuple,
240 you need to tell Google Test and Google Mock to use the same TR1 tuple
246 to the compiler flags while compiling Google Test, Google Mock, and
247 your tests. If you want to force Google Test and Google Mock to use
254 If you want to use Boost's TR1 tuple library with Google Mock, please
260 Google Mock is compact, so most users can build and link it as a static
261 library for the simplicity. Google Mock can be used as a DLL, but the
262 same DLL must contain Google Test as well. See
263 [Google Test's README][gtest_readme]
266 ### Tweaking Google Mock ###
268 Most of Google Test's control macros apply to Google Mock as well.
269 Please see [Google Test's README][gtest_readme] for how to tweak them.
273 We strive to keep Google Mock releases backward compatible.
276 do if you are upgrading from an earlier version of Google Mock.
280 You may need to explicitly enable or disable Google Test's own TR1
286 On platforms where the pthread library is available, Google Test and
287 Google Mock use it in order to be thread-safe. For this to work, you
290 )" section in file Google Test's README for what you may need to do.
299 ### Developing Google Mock ###
301 This section discusses how to make your own changes to Google Mock.
303 #### Testing Google Mock Itself ####
306 functionality, you'll want to compile and run Google Test's own tests.
308 the instructions above to configure Google Mock.
313 Once you have successfully configured Google Mock, the build steps are
319 Note that when building your project against Google Mock, you are building
320 against Google Test as well. There is no need to configure Google Test