History

Merge pull request #3084 from huili2/UT_low_memory_fix

fix low memory crash UT issue

guangwei committed 7 years ago

Commit 1d357ef2 parents 63a546e d58148c9 files · +38 −24Browse files

Showing the changes to test/api/decoder_test.cpp (1 of 9 files). Show all

Unified · Split

test/api/decoder_test.cpp+2−2
@@ -76,9 +76,9 @@ TEST_P (DecoderOutputTest, CompareOutput) { · 75 unmodified lines
76 FileParam p = GetParam();76 FileParam p = GetParam();
77#if defined(ANDROID_NDK)77#if defined(ANDROID_NDK)
78 std::string filename = std::string ("/sdcard/") + p.fileName;78 std::string filename = std::string ("/sdcard/") + p.fileName;
79 DecodeFile (filename.c_str(), this);79 ASSERT_TRUE ( DecodeFile (filename.c_str(), this));
80#else80#else
81 DecodeFile (p.fileName, this);81 ASSERT_TRUE (DecodeFile(p.fileName, this));
82#endif82#endif
83 83
84 unsigned char digest[SHA_DIGEST_LENGTH];84 unsigned char digest[SHA_DIGEST_LENGTH];

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t