But when I try to test code with Adobe's header files included I get an unknown type error. So I included the same directories and precompiled headers to my test executable as I ded for my plug-in target. This way I got rid of the unknown type errors but ended up with:
undefined symbols for architecture x86_64:
"K2Memory::RTLCompatibleNewDelegate(unsigned long)", referenced from: testing::internal::TypedExpectation<int (bool, double)>& testing::internal::TypedExpectation<int (bool, double)>::WillOnce<void>(testing::Action<int (bool, double)>) in Test.o ... "K2Memory::RTLCompatibleDeleteDelegate(void*)", referenced from: Dummy_foobar_Test::~Dummy_foobar_Test() in Test.o TeaBreakTest_MorningTea_Test::~TeaBreakTest_MorningTea_Test() in Test.o
Has anybody managed to implement a unit test with GoogleTest including an Adobe header like WideString.h or PMString.h? Is it possible at all?