을 받아들이는 방법을 나는 방법 어떤을 가진 클래스는 변수 인수를 허용 한 :GMOCK 변수 인수
error: 'Result' in 'struct testing::internal::Function<void(const char*, ...)>' does not name a type
MOCK_METHOD1(myprint, void (const char* format, ...));
^
error: incomplete type 'testing::internal::Function<void(const char*, ...)>' used in nested name specifier
error: incomplete type 'testing::internal::Function<void(const char*, ...)>' used in nested name specifier
error: template argument 1 is invalid
error: field 'gmock1_print_15' has incomplete type 'testing::internal::FunctionMocker<void(const char*, ...)>'
어떻게 변수 인수를 매개 변수로 사용하는 메소드를 조롱 할 수 있습니까?
포인터 주셔서 감사합니다 - 내 문제를 해결했습니다. – Prakash