Lines Matching refs:Google
1 Google C++ Mocking Framework
9 Google's framework for writing and using C++ mock classes on a variety
15 Google Mock:
38 License, which is different from Google Mock's license.
43 Google Mock is implemented on top of the Google Test C++ testing
46 must use the bundled version of Google Test when using Google Mock, or
49 You can also easily configure Google Mock to work with another testing
50 framework of your choice; although it will still need Google Test as
55 Google Mock depends on advanced C++ features and thus requires a more
56 modern compiler. The following are needed to use Google Mock:
60 These are the base requirements to build and use Google Mock from a source
81 build Google Mock and its own tests from an SVN checkout (described
93 There are two primary ways of getting Google Mock's source code: you
102 Google Mock is released in versioned source packages which can be
121 To check out the main branch (also known as the "trunk") of Google
127 system to build Google Mock (described below), you'll need to
154 To build Google Mock and your tests that use it, you need to tell your
161 This section shows how you can integrate Google Mock into your
164 Suppose you put Google Mock in directory ${GMOCK_DIR} and Google Test
166 build Google Mock, create a library build target (or a project as
192 use to build Google Mock on systems where GNU make is available
193 (e.g. Linux, Mac OS X, and Cygwin). It doesn't try to build Google
194 Mock's own tests. Instead, it just builds the Google Mock library and
212 directory contains VC++ 2010 projects for building Google Mock and
217 If you want to create your own project to use with Google Mock, you'll
224 Include Directories, type <path to Google Mock>/include.
226 Tweaking Google Mock
229 Google Mock can be used in diverse environments. The default
231 some environments. However, you can easily tweak Google Mock by
241 Google Mock uses the C++ Technical Report 1 (TR1) tuple library
243 compilers. The good news is that Google Test 1.4.0+ implements a
244 subset of TR1 tuple that's enough for Google Mock's need. Google Mock
248 Usually you don't need to care about which tuple library Google Test
249 and Google Mock use. However, if your project already uses TR1 tuple,
250 you need to tell Google Test and Google Mock to use the same TR1 tuple
256 to the compiler flags while compiling Google Test, Google Mock, and
257 your tests. If you want to force Google Test and Google Mock to use
264 If you want to use Boost's TR1 tuple library with Google Mock, please
270 Google Mock is compact, so most users can build and link it as a static
271 library for the simplicity. Google Mock can be used as a DLL, but the
272 same DLL must contain Google Test as well. See Google Test's README
275 ### Tweaking Google Mock ###
277 Most of Google Test's control macros apply to Google Mock as well.
283 We strive to keep Google Mock releases backward compatible.
286 do if you are upgrading from an earlier version of Google Mock.
290 You may need to explicitly enable or disable Google Test's own TR1
296 On platforms where the pthread library is available, Google Test and
297 Google Mock use it in order to be thread-safe. For this to work, you
310 Developing Google Mock
313 This section discusses how to make your own changes to Google Mock.
315 ### Testing Google Mock Itself ###
318 functionality, you'll want to compile and run Google Test's own tests.
320 the instructions in section "SVN Checkout" to configure Google Mock.
325 Once you have successfully configured Google Mock, the build steps are
331 Note that when building your project against Google Mock, you are building
332 against Google Test as well. There is no need to configure Google Test
337 Some of Google Mock's source files are generated from templates (not
354 We welcome patches. Please read the Google Mock developer's guide [4]