| Index: ppapi/tests/test_flash.cc
|
| diff --git a/ppapi/tests/test_flash.cc b/ppapi/tests/test_flash.cc
|
| index 2657bf09a31055a302b948b6276676ac1f65ae5f..51ee08cb39e5db2307bed4bd607b3deec2fba64a 100644
|
| --- a/ppapi/tests/test_flash.cc
|
| +++ b/ppapi/tests/test_flash.cc
|
| @@ -32,6 +32,7 @@ void TestFlash::RunTests(const std::string& filter) {
|
| RUN_TEST(MessageLoop, filter);
|
| RUN_TEST(GetLocalTimeZoneOffset, filter);
|
| RUN_TEST(GetCommandLineArgs, filter);
|
| + RUN_TEST(GetDeviceID, filter);
|
| }
|
|
|
| std::string TestFlash::TestSetInstanceAlwaysOnTop() {
|
| @@ -99,6 +100,15 @@ std::string TestFlash::TestGetCommandLineArgs() {
|
| PASS();
|
| }
|
|
|
| +std::string TestFlash::TestGetDeviceID() {
|
| + Var result(pp::PASS_REF,
|
| + flash_interface_->GetDeviceID(instance_->pp_instance()));
|
| + // TODO(wad) figure out how to mock the input and test the full flow.
|
| + ASSERT_TRUE(result.is_string());
|
| + PASS();
|
| +}
|
| +
|
| +
|
| void TestFlash::QuitMessageLoopTask(int32_t) {
|
| flash_interface_->QuitMessageLoop(instance_->pp_instance());
|
| }
|
|
|