ref: b5e1746b87c9a4dd94acd9d99c5aed6d4af1fe6d
dir: /test/api/simple_test.cpp/
#include <gtest/gtest.h>
#if defined (ANDROID_NDK)
#include <stdio.h>
#endif
#if (defined(ANDROID_NDK)||defined(APPLE_IOS))
int CodecUtMain(int argc , char** argv ) {
#else
int main (int argc, char** argv) {
#endif
#if defined(ANDROID_NDK)
char xmlPath[1024] = "";
sprintf(xmlPath,"xml:%s",argv[1]);
::testing::GTEST_FLAG(output) = xmlPath;
#endif
::testing::InitGoogleTest (&argc, argv);
return RUN_ALL_TESTS();
}