chromium/services/tracing/perfetto/privacy_filtering_check_unittest.cc

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

#include "services/tracing/perfetto/privacy_filtering_check.h"

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/perfetto/protos/perfetto/trace/trace.pb.h"
#include "third_party/perfetto/protos/perfetto/trace/trace_packet.pb.h"
#include "third_party/perfetto/protos/perfetto/trace/track_event/process_descriptor.pb.h"
#include "third_party/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pb.h"
#include "third_party/perfetto/protos/perfetto/trace/track_event/track_descriptor.pb.h"
#include "third_party/perfetto/protos/perfetto/trace/track_event/track_event.pb.h"

namespace tracing {

void FillDisallowedTestField(perfetto::protos::TracePacket* packet) {}

perfetto::protos::Trace GetFilteredTrace(const perfetto::protos::Trace& trace) {}

TEST(PrivacyFilteringTest, EmptyTrace) {}

TEST(PrivacyFilteringTest, SafeToplevelField) {}

TEST(PrivacyFilteringTest, SafeToplevelMessageField) {}

TEST(PrivacyFilteringTest, RepeatedFields) {}

TEST(PrivacyFilteringTest, UnsafeToplevelField) {}

TEST(PrivacyFilteringTest, SafeMessageWithOnlyUnsafeFields) {}

TEST(PrivacyFilteringTest, SafeAndUnsafeFields) {}

TEST(PrivacyFilteringTest, SafeAndUnsafePackets) {}

TEST(PrivacyFilteringTest, NestedSafeAndUnsafeFields) {}

}  // namespace tracing