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
102102 CompareHash (digest, p.hashStr);
103103 }
104104 }
105−
105+#if defined(ANDROID_NDK)
106+static 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
106111 static const DecodeEncodeFileParam kFileParamArray[] = {
107112 {"res/test_vd_1d.264", "a4c7299ec1a7bacd5819685e221a79ac2b56cdbc", 320, 192, 12.0f},
108113 {"res/test_vd_rc.264", "106fd8cc978c1801b0d1f8297e9b7f17d5336e15", 320, 192, 12.0f},
109114 };
110115
116+#endif
117+
111118 INSTANTIATE_TEST_CASE_P (DecodeEncodeFile, DecodeEncodeTest,
112119 ::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