#include "content/browser/startup_task_runner.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/functional/callback_helpers.h"
#include "base/location.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "base/task/task_runner.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
namespace {
_;
Assign;
Invoke;
int observer_calls = …;
int task_count = …;
int observer_result;
void Observer(int result) { … }
class StartupTaskRunnerTest : public testing::Test { … };
class MockTaskRunner { … };
class TaskRunnerProxy : public base::SingleThreadTaskRunner { … };
TEST_F(StartupTaskRunnerTest, SynchronousExecution) { … }
TEST_F(StartupTaskRunnerTest, NullObserver) { … }
TEST_F(StartupTaskRunnerTest, SynchronousExecutionFailedTask) { … }
TEST_F(StartupTaskRunnerTest, AsynchronousExecution) { … }
TEST_F(StartupTaskRunnerTest, AsynchronousExecutionFailedTask) { … }
}
}