#include "util/stream/log_output_stream.h"
#include <algorithm>
#include <memory>
#include <string>
#include "gtest/gtest.h"
namespace crashpad {
namespace test {
namespace {
constexpr size_t kOutputCap = …;
constexpr size_t kLineBufferSize = …;
const char* kBeginGuard = …;
const char* kEndGuard = …;
const char* kAbortGuard = …;
class LogOutputStreamTestDelegate final : public LogOutputStream::Delegate { … };
class LogOutputStreamTest : public testing::Test { … };
TEST_F(LogOutputStreamTest, WriteShortLog) { … }
TEST_F(LogOutputStreamTest, WriteLongLog) { … }
TEST_F(LogOutputStreamTest, WriteAbort) { … }
TEST_F(LogOutputStreamTest, FlushAbort) { … }
}
}
}