Home
last modified time | relevance | path

Searched refs:bad_message_callback (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/mojo/public/cpp/bindings/tests/
Dreport_bad_message_unittest.cc29 ReportBadMessageCallback& bad_message_callback() { in bad_message_callback() function in mojo::test::__anon196fcb310111::TestBadMessagesImpl
115 DCHECK(!impl()->bad_message_callback().is_null()); in TEST_P()
116 std::move(impl()->bad_message_callback()).Run("bad!"); in TEST_P()
142 ReportBadMessageCallback bad_message_callback; in TEST_P() local
151 loop.QuitClosure(), &bad_message_callback)); in TEST_P()
158 std::move(bad_message_callback) in TEST_P()
179 ReportBadMessageCallback bad_message_callback; in TEST_P() local
183 bad_message_callback = context.GetBadMessageCallback(); in TEST_P()
187 std::move(bad_message_callback).Run("nope nope nope"); in TEST_P()
Dbinding_unittest.cc504 ReportBadMessageCallback bad_message_callback; in TEST_P() local
519 &binding, &bad_message_callback)); in TEST_P()
523 EXPECT_TRUE(bad_message_callback); in TEST_P()
526 std::move(bad_message_callback).Run("delayed bad message"); in TEST_P()
Dbinding_set_unittest.cc303 ReportBadMessageCallback bad_message_callback; in TEST_P() local
310 SaveBadMessageCallback(&bindings, &bad_message_callback)); in TEST_P()
316 std::move(bad_message_callback).Run("message 1"); in TEST_P()