#include "lldb/Utility/StreamTee.h"
#include "lldb/Utility/StreamString.h"
#include "gtest/gtest.h"
usingnamespacelldb_private;
TEST(StreamTeeTest, DefaultConstructor) { … }
TEST(StreamTeeTest, Constructor1Stream) { … }
TEST(StreamTeeTest, Constructor2Streams) { … }
TEST(StreamTeeTest, CopyConstructor) { … }
TEST(StreamTeeTest, Assignment) { … }
TEST(StreamTeeTest, Write) { … }
namespace {
struct FlushTestStream : public Stream { … };
}
TEST(StreamTeeTest, Flush) { … }
TEST(StreamTeeTest, AppendStream) { … }
TEST(StreamTeeTest, GetStreamAtIndexOutOfBounds) { … }
TEST(StreamTeeTest, GetStreamAtIndexOutOfBoundsEmpty) { … }
TEST(StreamTeeTest, SetStreamAtIndexOverwrite) { … }
TEST(StreamTeeTest, SetStreamAtIndexOutOfBounds) { … }