#include "base/check.h"
#include "base/functional/callback_helpers.h"
#include "base/notreached.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/time/time.h"
#include "base/timer/elapsed_timer.h"
#include "mojo/public/cpp/bindings/receiver.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/idle_tracking_unittest.test-mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace mojo {
namespace test {
namespace idle_tracking_unittest {
IdleTrackingTest;
class TestServiceImpl : public mojom::TestService, public mojom::KeepAlive { … };
TEST_P(IdleTrackingTest, ControlMessagesDontExpectAck) { … }
TEST_P(IdleTrackingTest, BasicTracking) { … }
TEST_P(IdleTrackingTest, PendingRepliesPreventIdling) { … }
TEST_P(IdleTrackingTest, OtherBoundReceiversPreventIdling) { … }
TEST_P(IdleTrackingTest, NonZeroTimeout) { … }
TEST_P(IdleTrackingTest, SubInterfacesCanIdleSeparately) { … }
INSTANTIATE_MOJO_BINDINGS_TEST_SUITE_P(…);
}
}
}