chromium/dbus/object_proxy_unittest.cc

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

#include "dbus/object_proxy.h"

#include "base/functional/bind.h"
#include "base/memory/ref_counted.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "dbus/bus.h"
#include "dbus/test_service.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace dbus {
namespace {

class ObjectProxyTest : public testing::Test {};

// Used as a WaitForServiceToBeAvailableCallback.
void OnServiceIsAvailable(bool* dest_service_is_available,
                          int* num_calls,
                          bool src_service_is_available) {}

// Used as a callback for TestService::RequestOwnership().
void OnOwnershipRequestDone(bool success) {}

// Used as a callback for TestService::ReleaseOwnership().
void OnOwnershipReleased() {}

TEST_F(ObjectProxyTest, WaitForServiceToBeAvailableRunOnce) {}

TEST_F(ObjectProxyTest, WaitForServiceToBeAvailableAlreadyRunning) {}

TEST_F(ObjectProxyTest, WaitForServiceToBeAvailableMultipleCallbacks) {}

}  // namespace
}  // namespace dbus