Index: ppapi/tests/test_flash.cc |
diff --git a/ppapi/tests/test_flash.cc b/ppapi/tests/test_flash.cc |
index 2657bf09a31055a302b948b6276676ac1f65ae5f..57c3e016806722d4a2dd0e2cfbbd13b18a08f582 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())); |
+ ASSERT_TRUE(result.is_string()); |
+ // TODO(wad) How do I mock up the full flow here? |
+ PASS(); |
+} |
+ |
+ |
void TestFlash::QuitMessageLoopTask(int32_t) { |
flash_interface_->QuitMessageLoop(instance_->pp_instance()); |
} |