//***************************************************************************** // (C) Automotive Lighting Reutlingen GmbH // Tuebinger Strasse 123, 72762 Reutlingen, Germany // // Automotive Lighting Reutlingen GmbH owns all the rights to this work. // This work shall not be copied, reproduced, used, modified, transferred // or its information shall not be disclosed without the prior written // authorization of Automotive Lighting Reutlingen GmbH. //***************************************************************************** //============================================================================= // Includes //============================================================================= #if defined(TYP_TEST_GoogleTest) #include extern "C" boolean ALUnitTest_Init(int argc, char** argv) { testing::InitGoogleTest(&argc, argv); return (boolean) TRUE; } extern "C" boolean ALUnitTest_AddFunction(const char* const, const ALUnitTest_TestFunctionType) { // This function does not need any implementation details for googletest. return (boolean) TRUE; } extern "C" boolean ALUnitTest_RunTests(void) { const bool run_all_tests_is_ok = (RUN_ALL_TESTS() != 0); return (run_all_tests_is_ok ? (boolean) TRUE : (boolean) FALSE); } #endif