#include "mojo/public/cpp/bindings/binder_map.h"
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/thread_pool.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "mojo/public/cpp/bindings/generic_pending_receiver.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "mojo/public/cpp/bindings/self_owned_receiver.h"
#include "mojo/public/cpp/bindings/tests/binder_map_unittest.test-mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace mojo {
namespace test {
namespace binder_map_unittest {
class BinderMapTest : public testing::Test { … };
class TestInterface1Impl : public mojom::TestInterface1 { … };
class TestInterface2Impl : public mojom::TestInterface2 { … };
TEST_F(BinderMapTest, NoMatch) { … }
TEST_F(BinderMapTest, BasicMatch) { … }
TEST_F(BinderMapTest, WithContext) { … }
TEST_F(BinderMapTest, CorrectSequence) { … }
}
}
}