cpptooling.generator.gtest

Members

Functions

generateGtestHdr
auto generateGtestHdr(Path if_file, Path incl_guard, DextoolVersion ver, CustomHeader custom_hdr, CppModule gtest)
Undocumented in source. Be warned that the author may not have intended to support it.
generateGtestPrettyEqual
void generateGtestPrettyEqual(T members, FullyQualifiedNameType name, string guard_prefix, Container container, CppModule m)

Generate a compare operator for use with EXPECT_EQ in gtest.

generateGtestPrettyPrintHdr
void generateGtestPrettyPrintHdr(FullyQualifiedNameType name, CppModule m)

Generate Google Test pretty printers of a PODs public members.

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

Generate Google Test pretty printers of a PODs public members.

Meta

License

MPL-2

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