History

checking the scripits for unittest automatically on mobile

syureyi committed 12 years ago

Commit f78f3951 parent a22d9766 files · +144 −32Browse files

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

Unified · Split

test/api/decode_encode_test.cpp+8−1
@@ -102,11 +102,18 @@ TEST_P (DecodeEncodeTest, CompareOutput) { · 101 unmodified lines
102 CompareHash (digest, p.hashStr);102 CompareHash (digest, p.hashStr);
103 }103 }
104}104}
105 105#if defined(ANDROID_NDK)
106static const DecodeEncodeFileParam kFileParamArray[] = {
107 {"/sdcard/res/test_vd_1d.264", "a4c7299ec1a7bacd5819685e221a79ac2b56cdbc", 320, 192, 12.0f},
108 {"/sdcard/res/test_vd_rc.264", "106fd8cc978c1801b0d1f8297e9b7f17d5336e15", 320, 192, 12.0f},
109};
110#else
106static const DecodeEncodeFileParam kFileParamArray[] = {111static const DecodeEncodeFileParam kFileParamArray[] = {
107 {"res/test_vd_1d.264", "a4c7299ec1a7bacd5819685e221a79ac2b56cdbc", 320, 192, 12.0f},112 {"res/test_vd_1d.264", "a4c7299ec1a7bacd5819685e221a79ac2b56cdbc", 320, 192, 12.0f},
108 {"res/test_vd_rc.264", "106fd8cc978c1801b0d1f8297e9b7f17d5336e15", 320, 192, 12.0f},113 {"res/test_vd_rc.264", "106fd8cc978c1801b0d1f8297e9b7f17d5336e15", 320, 192, 12.0f},
109};114};
110 115
116#endif
117
111INSTANTIATE_TEST_CASE_P (DecodeEncodeFile, DecodeEncodeTest,118INSTANTIATE_TEST_CASE_P (DecodeEncodeFile, DecodeEncodeTest,
112 ::testing::ValuesIn (kFileParamArray));119 ::testing::ValuesIn (kFileParamArray));

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