Index: mojo/common/common_custom_types_unittest.cc |
diff --git a/mojo/common/common_custom_types_unittest.cc b/mojo/common/common_custom_types_unittest.cc |
index d6ec8f7f855c5b5756ee1fafb07b745f01563461..520f82a9a005028c8b79217b80382dd28e9c4d3a 100644 |
--- a/mojo/common/common_custom_types_unittest.cc |
+++ b/mojo/common/common_custom_types_unittest.cc |
@@ -298,6 +298,19 @@ TEST_F(CommonCustomTypesTest, String16) { |
run_loop.Run(); |
} |
+TEST_F(CommonCustomTypesTest, EmptyString16) { |
+ base::RunLoop run_loop; |
+ |
+ TestString16Ptr ptr; |
+ TestString16Impl impl(GetProxy(&ptr)); |
+ |
+ base::string16 str16; |
+ |
+ ptr->BounceString16(str16, ExpectResponse(&str16, run_loop.QuitClosure())); |
+ |
+ run_loop.Run(); |
+} |
+ |
} // namespace test |
} // namespace common |
} // namespace mojo |