#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "components/paint_preview/common/file_stream.h"
#include "base/files/scoped_temp_dir.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace paint_preview {
TEST(PaintPreviewFileStreamTest, TestWriteRead) { … }
TEST(PaintPreviewFileStreamTest, TestWriteFail) { … }
TEST(PaintPreviewFileStreamTest, TestWriteFailCapped) { … }
TEST(PaintPreviewFileStreamTest, TestWriteFailCappedFirstWrite) { … }
TEST(PaintPreviewFileStreamTest, TestWriteFailOverflow) { … }
TEST(PaintPreviewFileStreamTest, TestSkip) { … }
TEST(PaintPreviewFileStreamTest, TestReadAndSkip) { … }
TEST(PaintPreviewFileStreamTest, TestReadFail) { … }
}