cpptooling.generator.gtest

Members

Functions

generateGtestPrettyEqual
void generateGtestPrettyEqual(T members, const FullyQualifiedNameType name, string guard_prefix, ref const Container container, CppModule m)

Generate a compare operator for use with EXPECT_EQ in gtest.

generateGtestPrettyPrintHdr
void generateGtestPrettyPrintHdr(const FullyQualifiedNameType name, CppModule m)

Generate Google Test pretty printers of a PODs public members.

generateGtestPrettyPrintImpl
void generateGtestPrettyPrintImpl(T members, const FullyQualifiedNameType name, CppModule m)

Generate Google Test pretty printers of a PODs public members.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Test cases in See: test.component.generator

License

MPL-2