#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/functional/callback_helpers.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "mojo/public/cpp/bindings/message.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "mojo/public/cpp/bindings/tests/bindings_test_base.h"
#include "mojo/public/cpp/system/functions.h"
#include "mojo/public/interfaces/bindings/tests/test_bad_messages.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace mojo {
namespace test {
namespace {
class TestBadMessagesImpl : public TestBadMessages { … };
class ReportBadMessageTest : public BindingsTestBase { … };
TEST_P(ReportBadMessageTest, Request) { … }
TEST_P(ReportBadMessageTest, RequestAsync) { … }
TEST_P(ReportBadMessageTest, Response) { … }
TEST_P(ReportBadMessageTest, ResponseAsync) { … }
INSTANTIATE_MOJO_BINDINGS_TEST_SUITE_P(…);
}
}
}