chromium/dbus/property_unittest.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "dbus/property.h"

#include <stddef.h>
#include <stdint.h>

#include <memory>
#include <string>
#include <vector>

#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/message_loop/message_pump_type.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/test/task_environment.h"
#include "base/threading/thread.h"
#include "base/threading/thread_restrictions.h"
#include "dbus/bus.h"
#include "dbus/object_path.h"
#include "dbus/object_proxy.h"
#include "dbus/test_service.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace dbus {

// The property test exerises the asynchronous APIs in PropertySet and
// Property<>.
class PropertyTest : public testing::Test {};

TEST_F(PropertyTest, InitialValues) {}

TEST_F(PropertyTest, UpdatedValues) {}

TEST_F(PropertyTest, Get) {}

TEST_F(PropertyTest, Set) {}

TEST_F(PropertyTest, Invalidate) {}

TEST(PropertyTestStatic, ReadWriteStringMap) {}

TEST(PropertyTestStatic, SerializeStringMap) {}

TEST(PropertyTestStatic, ReadWriteNetAddressArray) {}

TEST(PropertyTestStatic, SerializeNetAddressArray) {}

TEST(PropertyTestStatic, ReadWriteStringToByteVectorMapVariantWrapped) {}

TEST(PropertyTestStatic, ReadWriteStringToByteVectorMap) {}

TEST(PropertyTestStatic, SerializeStringToByteVectorMap) {}

TEST(PropertyTestStatic, ReadWriteUInt16ToByteVectorMapVariantWrapped) {}

TEST(PropertyTestStatic, ReadWriteUInt16ToByteVectorMap) {}

TEST(PropertyTestStatic, SerializeUInt16ToByteVectorMap) {}

}  // namespace dbus