Home > User Support > QTE

FAQ / QTE (Quality Town for Embedded Grade)

yQTE21zTest Creation Issues

QTE21_02 : C programming language

yquestionz
How can I test a function developed in C with GoogleTest?

yAnswerz
When testing C functions, it is necessary to declare that the function under test is a C functio
When reading the header file to be tested from the GoogleTest test driver source file, write the following.

extern "C" {

#include "xxxx.h"

}

Search for related support information.

yGoogle Search in Support Information Sitez

search keywordF@šinstallerš | šISO26262š

Other Keyword Search




Reference information and links