Google Test
Build Statushttps://api.travisci.org/google/googletest.svg?branch=masterhttps://travisci.org/google/googletest Build statushttps://ci.appveyor.com/api/projects/status/4o38plt0xbo1ubc8/branch/master?svg=truehttps://ci.app
閱讀文章 →Googletest Mocking gMock Framework
Google's framework for writing and using C++ mock classes. It can help you derive better designs of your system and write better tests.
閱讀文章 →cheat sheet
note that ~Foo must be virtual we can define its mock as
閱讀文章 →gMock Cookbook
You can find recipes for using gMock here. If you haven't yet, please read thisfordummies.md first to make sure you understand the basics.
閱讀文章 →for dummies
When you write a prototype or test, often it's not feasible or wise to rely on real objects entirely. A mock object implements the same interface as a real object so it can be used as one, but lets you specify at run tim
閱讀文章 →gmock faq
In order for a method to be mocked, it must be virtual, unless you use the highperf dependency injection techniqueMockingNonVirtualMethods.
閱讀文章 →Customization Points
The custom directory is an injection point for custom user configurations.
閱讀文章 →Download and unpack googletest at configure time
To build Google Test and your tests that use it, you need to tell your build system where to find its headers and source files. The exact way to do it depends on which build system you use, and is usually straightforward
閱讀文章 →Advanced googletest Topics
Now that you have read the googletest Primerprimer.md and learned how to write tests using googletest, it's time to learn some new tricks. This document will show you more assertions as well as how to construct complex f
閱讀文章 →Googletest FAQ
Underscore is special, as C++ reserves the following to be used by the compiler and the standard library:
閱讀文章 →pkgconfig
GoogleTest comes with pkgconfig files that can be used to determine all necessary flags for compiling and linking to GoogleTest and GoogleMock. Pkgconfig is a standardised plaintext format containing
閱讀文章 →Googletest Primer
googletest helps you write better C++ tests.
閱讀文章 →The Problem
Template and macro libraries often need to define many classes, functions, or macros that vary only or almost only in the number of arguments they take. It's a lot of repetitive, mechanical, and errorprone work.
閱讀文章 →Googletest Samples {samples}
If you're like us, you'd like to look at googletest samples.https://github.com/google/googletest/tree/master/googletest/samples The sample directory has a number of wellcommented samples showing how to use a variety of g
閱讀文章 →Customization Points
The custom directory is an injection point for custom user configurations.
閱讀文章 →Platform Support
This document reflects the level of support offered by eProsima Fast CDR on different platforms as per the following definitions:
閱讀文章 →Quality Declaration
This document is a declaration of software quality for eProsima Fast CDR based on the guidelines provided in the ROS 2 REP2004 documenthttps://www.ros.org/reps/rep2004.html.
閱讀文章 →Fast CDR
Licensehttps://img.shields.io/github/license/eProsima/FastCDR.svghttps://opensource.org/licenses/Apache2.0 Releaseshttps://img.shields.io/github/v/release/eProsima/FastCDR?sort=semverhttps://github.com/eProsima/FastCDR/r
閱讀文章 →VERSIONING
Versioning policy declaration =============================
閱讀文章 →Platform Support
This document reflects the level of support offered by eprosima Fast DDS on different platforms as per the following definitions:
閱讀文章 →External Dependency Public API foonathanmemory
This document lists the foonathanmemory API that eprosima Fast DDS uses. This document will be updated if new features are included and used in eprosima Fast DDS.
閱讀文章 →Quality Declaration
This document is a declaration of software quality for eprosima Fast DDS inspired on the guidelines provided in the ROS 2 REP2004 documenthttps://www.ros.org/reps/rep2004.html.
閱讀文章 →External Dependency Quality Declaration foonathanmemory
This document is a declaration of software quality for the foonathanmemory external dependency, inspired on the guidelines provided in the ROS 2 REP2004 documenthttps://ros.org/reps/rep2004.html.
閱讀文章 →eProsima Fast DDS
Fast DDSresources/images/fastddsgithubbanner.pnghttps://eprosima.com/index.php/productsall/eprosimafastdds
閱讀文章 →