3 #ifndef INCLUDE_NN_NLIB_TESTING_TESTING_H_
4 #define INCLUDE_NN_NLIB_TESTING_TESTING_H_
15 namespace testing = ::nlib_ns::testing;
18 inline void InitGoogleTest(
int* argc,
char** argv) {
InitNintendoTest(argc, argv); }
19 inline void InitGoogleTest(
int* argc,
wchar_t** argv) {
InitNintendoTest(argc, argv); }
20 #define NLIB_TESTING_OSTREAM ::nlib_ns::testing::detail_func::DummyStream
25 #include "gtest/gtest.h"
27 #define NLIB_TESTING_OSTREAM std::ostream
29 inline void InitNintendoTest(
int* argc,
char** argv) { InitGoogleTest(argc, argv); }
30 inline void InitNintendoTest(
int* argc,
wchar_t** argv) { InitGoogleTest(argc, argv); }
35 #endif // INCLUDE_NN_NLIB_TESTING_TESTING_H_
Controls display when tests fails.
Defines a test that parameterizes values.
void InitNintendoTest(int *argc, char **argv)
Processes command-line options for the test program.
A file that contains the configuration information for each development environment.
Defines the macro for a basic, simple test.
Defines a predicate assertion.