chromium/mojo/public/cpp/bindings/tests/callback_helpers_unittest.cc

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

#include "mojo/public/cpp/bindings/callback_helpers.h"

#include <memory>
#include <string>
#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 "testing/gtest/include/gtest/gtest.h"

namespace mojo {

namespace {

void SetBool(bool* var, bool val) {}

void SetBoolFromRawPtr(bool* var, bool* val) {}

void SetIntegers(int* a_var, int* b_var, int a_val, int b_val) {}

void SetIntegerFromUniquePtr(int* var, std::unique_ptr<int> val) {}

void SetString(std::string* var, const std::string val) {}

void CallClosure(base::OnceClosure cl) {}

}  // namespace

TEST(CallbackWithDeleteTest, SetIntegers_Run) {}

TEST(CallbackWithDeleteTest, SetIntegers_Destruction) {}

TEST(CallbackWithDefaultTest, CallClosure_Run) {}

TEST(CallbackWithDefaultTest, CallClosure_Destruction) {}

TEST(CallbackWithDefaultTest, Closure_Run) {}

TEST(CallbackWithDefaultTest, Closure_Destruction) {}

TEST(CallbackWithDefaultTest, SetBool_Run) {}

TEST(CallbackWithDefaultTest, SetBoolFromRawPtr_Run) {}

TEST(CallbackWithDefaultTest, SetBoolFromRawPtr_Destruction) {}

TEST(CallbackWithDefaultTest, SetBool_Destruction) {}

TEST(CallbackWithDefaultTest, SetIntegers_Run) {}

TEST(CallbackWithDefaultTest, SetIntegers_Destruction) {}

TEST(CallbackWithDefaultTest, SetIntegerFromUniquePtr_Run) {}

TEST(CallbackWithDefaultTest, SetIntegerFromUniquePtr_Destruction) {}

TEST(CallbackWithDefaultTest, SetString_Run) {}

TEST(CallbackWithDefaultTest, SetString_Destruction) {}

}  // namespace mojo