chromium/services/tracing/public/cpp/perfetto/trace_packet_tokenizer_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.

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

#include "services/tracing/public/cpp/perfetto/trace_packet_tokenizer.h"

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/perfetto/include/perfetto/ext/tracing/core/trace_packet.h"
#include "third_party/perfetto/protos/perfetto/trace/trace.pb.h"
#include "third_party/perfetto/protos/perfetto/trace/trace_packet.pb.h"

#include <list>

namespace tracing {
namespace {

constexpr char kTestString[] =;

class TracePacketTokenizerTest : public testing::Test {};

TEST_F(TracePacketTokenizerTest, Basic) {}

TEST_F(TracePacketTokenizerTest, PartialParse) {}

TEST_F(TracePacketTokenizerTest, MultiplePackets) {}

TEST_F(TracePacketTokenizerTest, Fragmentation) {}

}  // namespace
}  // namespace tracing