#include "base/check.h"
#include "base/functional/callback_helpers.h"
#include "base/task/sequenced_task_runner.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "mojo/public/cpp/bindings/receiver_set.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "mojo/public/cpp/bindings/tests/bindings_test_base.h"
#include "mojo/public/cpp/bindings/tests/connection_group_unittest.test-mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace mojo {
namespace test {
namespace connection_group_unittest {
class ConnectionGroupTest : public testing::Test { … };
ConnectionGroupBindingsTest;
class TestInterfaceImpl : public mojom::TestInterface { … };
TEST_P(ConnectionGroupBindingsTest, RefCounting) { … }
TEST_P(ConnectionGroupBindingsTest, PassedEndpointsInheritFromReceiver) { … }
TEST_F(ConnectionGroupTest, NotifyOnDecrementToZero) { … }
TEST_F(ConnectionGroupTest, NotifyOnDecrementToZeroMultipleTimes) { … }
INSTANTIATE_MOJO_BINDINGS_TEST_SUITE_P(…);
}
}
}