Showing the changes to test/api/simple_test.cpp (1 of 85 files). Show all
Unified · Split
| @@ -5,15 +5,15 @@ · 4 unmodified lines | |||
| 5 | 5 | ||
| 6 | 6 | ||
| 7 | #if (defined(ANDROID_NDK)||defined(APPLE_IOS)) | 7 | #if (defined(ANDROID_NDK)||defined(APPLE_IOS)) |
| 8 | int CodecUtMain(int argc , char** argv ) { | 8 | int CodecUtMain (int argc , char** argv) { |
| 9 | #else | 9 | #else |
| 10 | int main (int argc, char** argv) { | 10 | int main (int argc, char** argv) { |
| 11 | #endif | 11 | #endif |
| 12 | 12 | ||
| 13 | #if defined(ANDROID_NDK) | 13 | #if defined(ANDROID_NDK) |
| 14 | char xmlPath[1024] = ""; | 14 | char xmlPath[1024] = ""; |
| 15 | sprintf(xmlPath,"xml:%s",argv[1]); | 15 | sprintf (xmlPath, "xml:%s", argv[1]); |
| 16 | ::testing::GTEST_FLAG(output) = xmlPath; | 16 | ::testing::GTEST_FLAG (output) = xmlPath; |
| 17 | #endif | 17 | #endif |
| 18 | ::testing::InitGoogleTest (&argc, argv); | 18 | ::testing::InitGoogleTest (&argc, argv); |
| 19 | 19 | ||