chromium/ui/compositor/compositor_lock_unittest.cc

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <stdint.h>

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/test/test_mock_time_task_runner.h"
#include "cc/trees/layer_tree_host.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/compositor/compositor_lock.h"

Mock;
_;

namespace ui {
namespace {

// For tests that control time.
class CompositorLockTest : public testing::Test {};

class MockCompositorLockClient : public ui::CompositorLockClient {};

}  // namespace

TEST_F(CompositorLockTest, LocksTimeOut) {}

TEST_F(CompositorLockTest, MultipleLockClients) {}

TEST_F(CompositorLockTest, ExtendingLifeOfLockDoesntUseDeadClient) {}

TEST_F(CompositorLockTest, AddingLocksDoesNotExtendTimeout) {}

TEST_F(CompositorLockTest, AllowAndExtendTimeout) {}

TEST_F(CompositorLockTest, ExtendingTimeoutStartingCreatedTime) {}

TEST_F(CompositorLockTest, AllowButNotExtendTimeout) {}

TEST_F(CompositorLockTest, AllowingExtendDoesNotUseDeadClient) {}

TEST_F(CompositorLockTest, LockIsDestroyedDoesntTimeout) {}

TEST_F(CompositorLockTest, TimeoutEndsWhenLockEnds) {}

TEST_F(CompositorLockTest, CompositorLockOutlivesManager) {}

}  // namespace ui