fix low memory crash UT issue
Showing the changes to test/api/decoder_test.cpp (1 of 9 files). Show all
Unified · Split
| @@ -76,9 +76,9 @@ TEST_P (DecoderOutputTest, CompareOutput) { · 75 unmodified lines | ||
| 76 | 76 | FileParam p = GetParam(); |
| 77 | 77 | #if defined(ANDROID_NDK) |
| 78 | 78 | std::string filename = std::string ("/sdcard/") + p.fileName; |
| 79 | − DecodeFile (filename.c_str(), this); | |
| 79 | + ASSERT_TRUE ( DecodeFile (filename.c_str(), this)); | |
| 80 | 80 | #else |
| 81 | − DecodeFile (p.fileName, this); | |
| 81 | + ASSERT_TRUE (DecodeFile(p.fileName, this)); | |
| 82 | 82 | #endif |
| 83 | 83 | |
| 84 | 84 | unsigned char digest[SHA_DIGEST_LENGTH]; |