#include "base/trace_event/traced_value_support.h"
#include <optional>
#include <string_view>
#include "base/memory/ref_counted.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/perfetto/include/perfetto/test/traced_value_test_support.h"
namespace base {
namespace trace_event {
namespace {
struct RefCountedData : RefCounted<RefCountedData> { … };
struct WeakData { … };
}
TEST(TracedValueSupportTest, ScopedRefPtr) { … }
TEST(TracedValueSupportTest, Optional) { … }
TEST(TracedValueSupportTest, WeakPtr) { … }
TEST(TracedValueSupportTest, Time) { … }
TEST(TracedValueSupportTest, UnguessableToken) { … }
TEST(TracedValueSupportTest, UTF16String) { … }
TEST(TracedValueSupportTest, WideString) { … }
TEST(TracedValueSupportTest, StdString) { … }
TEST(TracedValueSupportTest, RawPtr) { … }
TEST(TracedValueSupportTest, RawRef) { … }
}
}