DDraceNetwork Docs
|
#include "test.h"
#include <gtest/gtest.h>
#include <base/system.h>
#include <engine/shared/linereader.h>
Functions | |
void | TestFileLineReaderRaw (const char *pWritten, unsigned WrittenLength, std::initializer_list< const char * > pReads, bool ExpectSuccess, bool WriteBom) |
void | TestFileLineReaderRaw (const char *pWritten, unsigned WrittenLength, std::initializer_list< const char * > pReads, bool ExpectSuccess) |
void | TestFileLineReader (const char *pWritten, std::initializer_list< const char * > pReads) |
TEST (LineReader, NormalNewline) | |
TEST (LineReader, CRLFNewline) | |
TEST (LineReader, MixedNewline) | |
TEST (LineReader, EmptyLines) | |
TEST (LineReader, Invalid) | |
TEST (LineReader, NullBytes) | |
TEST | ( | LineReader | , |
CRLFNewline | |||
) |
TEST | ( | LineReader | , |
EmptyLines | |||
) |
TEST | ( | LineReader | , |
Invalid | |||
) |
TEST | ( | LineReader | , |
MixedNewline | |||
) |
TEST | ( | LineReader | , |
NormalNewline | |||
) |
TEST | ( | LineReader | , |
NullBytes | |||
) |
void TestFileLineReader | ( | const char * | pWritten, |
std::initializer_list< const char * > | pReads | ||
) |
void TestFileLineReaderRaw | ( | const char * | pWritten, |
unsigned | WrittenLength, | ||
std::initializer_list< const char * > | pReads, | ||
bool | ExpectSuccess | ||
) |
void TestFileLineReaderRaw | ( | const char * | pWritten, |
unsigned | WrittenLength, | ||
std::initializer_list< const char * > | pReads, | ||
bool | ExpectSuccess, | ||
bool | WriteBom | ||
) |