1 config BR2_PACKAGE_GMOCK
3 select BR2_PACKAGE_GTEST
4 depends on BR2_USE_WCHAR
5 depends on BR2_TOOLCHAIN_HAS_THREADS
6 depends on BR2_INSTALL_LIBSTDCPP
7 depends on BR2_USE_MMU # fork()
9 Inspired by jMock, EasyMock, and Hamcrest, and designed with C++'s
10 specifics in mind, Google C++ Mocking Framework (or Google Mock for
11 short) is a library for writing and using C++ mock classes.
15 * lets you create mock classes trivially using simple macros,
16 * supports a rich set of matchers and actions,
17 * handles unordered, partially ordered, or completely ordered
19 * is extensible by users, and
20 * works on Linux, Mac OS X, Windows, Windows Mobile, minGW, and
23 http://code.google.com/p/googlemock/
25 There are both host and target packages. The target one has include
26 files required to compile the tests and the static libraries required
27 to link/run them. The host package installs gmock_gen, a Python script
28 used to generate code mocks.
30 comment "gmock needs a toolchain w/ C++, wchar, threads"
31 depends on BR2_USE_MMU
32 depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP