#include "client/ring_buffer_annotation.h"
#include "client/length_delimited_ring_buffer.h"
#include <array>
#include <string>
#include "client/annotation_list.h"
#include "client/crashpad_info.h"
#include "gtest/gtest.h"
#include "test/gtest_death.h"
namespace crashpad {
namespace test {
namespace {
constexpr uint32_t kRingBufferHeaderSize = …;
constexpr uint32_t kLengthDelimiter1ByteSize = …;
class RingBufferAnnotationTest : public testing::Test { … };
TEST_F(RingBufferAnnotationTest, Basics) { … }
TEST_F(RingBufferAnnotationTest, MultiplePushesWithoutWrapping) { … }
TEST_F(RingBufferAnnotationTest,
MultiplePushCallsWithWrappingShouldOverwriteInFIFOOrder) { … }
}
}
}