Home
last modified time | relevance | path

Searched refs:expectedFilename (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dencodedstreamtest.cpp162 void TestEncodedOutputStream(const char* expectedFilename, bool putBOM) { in TestEncodedOutputStream() argument
177 EXPECT_TRUE(CompareFile(filename, expectedFilename)); in TestEncodedOutputStream()
191 EXPECT_TRUE(CompareBufferFile(mb.GetBuffer(), mb.GetSize(), expectedFilename)); in TestEncodedOutputStream()
195 void TestAutoUTFOutputStream(UTFType type, bool putBOM, const char *expectedFilename) { in TestAutoUTFOutputStream() argument
211 EXPECT_TRUE(CompareFile(filename, expectedFilename)); in TestAutoUTFOutputStream()
225 EXPECT_TRUE(CompareBufferFile(mb.GetBuffer(), mb.GetSize(), expectedFilename)); in TestAutoUTFOutputStream()
229 bool CompareFile(const char* filename, const char* expectedFilename) { in CompareFile() argument
232 char* expectedBuffer = ReadFile(expectedFilename, true, &expectedLength); in CompareFile()
239 …ol CompareBufferFile(const char* actualBuffer, size_t actualLength, const char* expectedFilename) { in CompareBufferFile() argument
241 char* expectedBuffer = ReadFile(expectedFilename, true, &expectedLength); in CompareBufferFile()