#include "src/trace_processor/sorter/trace_token_buffer.h"
#include <optional>
#include "perfetto/base/compiler.h"
#include "perfetto/trace_processor/ref_counted.h"
#include "perfetto/trace_processor/trace_blob.h"
#include "perfetto/trace_processor/trace_blob_view.h"
#include "src/trace_processor/importers/common/parser_types.h"
#include "src/trace_processor/importers/proto/packet_sequence_state_generation.h"
#include "src/trace_processor/types/trace_processor_context.h"
#include "test/gtest_and_gmock.h"
namespace perfetto {
namespace trace_processor {
namespace {
class TraceTokenBufferUnittest : public testing::Test { … };
TEST_F(TraceTokenBufferUnittest, TracePacketDataInOut) { … }
TEST_F(TraceTokenBufferUnittest, PacketAppendMultipleBlobs) { … }
TEST_F(TraceTokenBufferUnittest, BlobSharing) { … }
TEST_F(TraceTokenBufferUnittest, SequenceStateSharing) { … }
TEST_F(TraceTokenBufferUnittest, ManySequenceState) { … }
TEST_F(TraceTokenBufferUnittest, PacketLargeOffset) { … }
TEST_F(TraceTokenBufferUnittest, TrackEventDataInOut) { … }
TEST_F(TraceTokenBufferUnittest, ExtractOrAppendAfterFreeMemory) { … }
}
}
}