• Home
  • Raw
  • Download

Lines Matching refs:Mock

1 ## Google Mock ##
49 the Apache License, which is different from Google Mock's license. argument
57 Google Test, if you choose to use Google Mock with it (recommended).
58 * Read [Google Mock for Dummies](../../master/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
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
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 ###
130 as described for Google Test. If are using Google Mock with an
134 detail how to build Google Mock without CMake.
139 system to build Google Mock (described below), you'll need to
147 To build Google Mock and your tests that use it, you need to tell your
152 This section shows how you can integrate Google Mock into your
155 Suppose you put Google Mock in directory `${GMOCK_DIR}` and Google Test
157 build Google Mock, create a library build target (or a project as
181 (We need -pthread as Google Test and Google Mock use threads.)
191 use to build Google Mock on systems where GNU make is available
193 Mock's own tests. Instead, it just builds the Google Mock library and
210 directory contains VC++ 2010 projects for building Google Mock and
215 If you want to create your own project to use with Google Mock, you'll
222 Include Directories, type <path to Google Mock>/include.
224 ### Tweaking Google Mock ###
226 Google Mock can be used in diverse environments. The default
228 some environments. However, you can easily tweak Google Mock by
239 Google Mock uses the C++ Technical Report 1 (TR1) tuple library
242 subset of TR1 tuple that's enough for Google Mock's need. Google Mock
247 and Google Mock use. However, if your project already uses TR1 tuple,
248 you need to tell Google Test and Google Mock to use the same TR1 tuple
254 to the compiler flags while compiling Google Test, Google Mock, and
255 your tests. If you want to force Google Test and Google Mock to use
262 If you want to use Boost's TR1 tuple library with Google Mock, please
268 Google Mock is compact, so most users can build and link it as a static
269 library for the simplicity. Google Mock can be used as a DLL, but the
274 ### Tweaking Google Mock ###
276 Most of Google Test's control macros apply to Google Mock as well.
281 We strive to keep Google Mock releases backward compatible.
284 do if you are upgrading from an earlier version of Google Mock.
295 Google Mock use it in order to be thread-safe. For this to work, you
307 ### Developing Google Mock ###
309 This section discusses how to make your own changes to Google Mock.
311 #### Testing Google Mock Itself #### argument
316 the instructions above to configure Google Mock.
321 Once you have successfully configured Google Mock, the build steps are
327 Note that when building your project against Google Mock, you are building