chromium/chrome/browser/sync_file_system/drive_backend/callback_helper_unittest.cc

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

#include "chrome/browser/sync_file_system/drive_backend/callback_helper.h"

#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/location.h"
#include "base/run_loop.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/task_environment.h"
#include "base/threading/thread.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace sync_file_system {
namespace drive_backend {

namespace {

void SimpleCallback(bool* called, int) {}

void CallbackWithPassed(bool* called, std::unique_ptr<int>) {}

void VerifyCalledOnTaskRunner(base::SingleThreadTaskRunner* task_runner,
                              bool* called) {}

}  // namespace

TEST(DriveBackendCallbackHelperTest, BasicTest) {}

TEST(DriveBackendCallbackHelperTest, RunOnOtherThreadTest) {}

TEST(DriveBackendCallbackHelperTest, PassNullFunctionTest) {}

}  // namespace drive_backend
}  // namespace sync_file_system