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
7676 FileParam p = GetParam();
7777 #if defined(ANDROID_NDK)
7878 std::string filename = std::string ("/sdcard/") + p.fileName;
79− DecodeFile (filename.c_str(), this);
79+ ASSERT_TRUE ( DecodeFile (filename.c_str(), this));
8080 #else
81− DecodeFile (p.fileName, this);
81+ ASSERT_TRUE (DecodeFile(p.fileName, this));
8282 #endif
8383
8484 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