#include "cc/benchmarks/micro_benchmark_controller.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/ptr_util.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "cc/animation/animation_host.h"
#include "cc/benchmarks/micro_benchmark.h"
#include "cc/layers/layer.h"
#include "cc/test/fake_impl_task_runner_provider.h"
#include "cc/test/fake_layer_tree_host.h"
#include "cc/test/fake_layer_tree_host_impl.h"
#include "cc/test/fake_proxy.h"
#include "cc/test/test_task_graph_runner.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace cc {
namespace {
class MicroBenchmarkControllerTest : public testing::Test { … };
void IncrementCallCount(int* count, base::Value::Dict value) { … }
TEST_F(MicroBenchmarkControllerTest, ScheduleFail) { … }
TEST_F(MicroBenchmarkControllerTest, CommitScheduled) { … }
TEST_F(MicroBenchmarkControllerTest, BenchmarkRan) { … }
TEST_F(MicroBenchmarkControllerTest, MultipleBenchmarkRan) { … }
TEST_F(MicroBenchmarkControllerTest, BenchmarkImplRan) { … }
TEST_F(MicroBenchmarkControllerTest, SendMessage) { … }
}
}