Go to the source code of this file.
◆ TEST_F() [1/4]
Definition at line 254 of file encodedstreamtest.cpp.
255 TestEncodedInputStream<UTF8<>,
UTF8<> >(
"utf8.json");
256 TestEncodedInputStream<UTF8<>,
UTF8<> >(
"utf8bom.json");
257 TestEncodedInputStream<UTF16LE<>,
UTF16<> >(
"utf16le.json");
258 TestEncodedInputStream<UTF16LE<>,
UTF16<> >(
"utf16lebom.json");
259 TestEncodedInputStream<UTF16BE<>,
UTF16<> >(
"utf16be.json");
260 TestEncodedInputStream<UTF16BE<>,
UTF16<> >(
"utf16bebom.json");
261 TestEncodedInputStream<UTF32LE<>,
UTF32<> >(
"utf32le.json");
262 TestEncodedInputStream<UTF32LE<>,
UTF32<> >(
"utf32lebom.json");
263 TestEncodedInputStream<UTF32BE<>,
UTF32<> >(
"utf32be.json");
264 TestEncodedInputStream<UTF32BE<>,
UTF32<> >(
"utf32bebom.json");
◆ TEST_F() [2/4]
Definition at line 267 of file encodedstreamtest.cpp.
268 TestAutoUTFInputStream(
"utf8.json",
false);
269 TestAutoUTFInputStream(
"utf8bom.json",
true);
270 TestAutoUTFInputStream(
"utf16le.json",
false);
271 TestAutoUTFInputStream(
"utf16lebom.json",
true);
272 TestAutoUTFInputStream(
"utf16be.json",
false);
273 TestAutoUTFInputStream(
"utf16bebom.json",
true);
274 TestAutoUTFInputStream(
"utf32le.json",
false);
275 TestAutoUTFInputStream(
"utf32lebom.json",
true);
276 TestAutoUTFInputStream(
"utf32be.json",
false);
277 TestAutoUTFInputStream(
"utf32bebom.json",
true);
281 const char json[] =
"{ }";
Represents an in-memory input byte stream.
#define EXPECT_FALSE(condition)
#define EXPECT_EQ(val1, val2)
◆ TEST_F() [3/4]
Definition at line 289 of file encodedstreamtest.cpp.
290 TestEncodedOutputStream<UTF8<>,
UTF8<> >(
"utf8.json",
false);
291 TestEncodedOutputStream<UTF8<>,
UTF8<> >(
"utf8bom.json",
true);
292 TestEncodedOutputStream<UTF16LE<>,
UTF16<> >(
"utf16le.json",
false);
293 TestEncodedOutputStream<UTF16LE<>,
UTF16<> >(
"utf16lebom.json",
true);
294 TestEncodedOutputStream<UTF16BE<>,
UTF16<> >(
"utf16be.json",
false);
295 TestEncodedOutputStream<UTF16BE<>,
UTF16<> >(
"utf16bebom.json",
true);
296 TestEncodedOutputStream<UTF32LE<>,
UTF32<> >(
"utf32le.json",
false);
297 TestEncodedOutputStream<UTF32LE<>,
UTF32<> >(
"utf32lebom.json",
true);
298 TestEncodedOutputStream<UTF32BE<>,
UTF32<> >(
"utf32be.json",
false);
299 TestEncodedOutputStream<UTF32BE<>,
UTF32<> >(
"utf32bebom.json",
true);
◆ TEST_F() [4/4]
Definition at line 302 of file encodedstreamtest.cpp.
303 TestAutoUTFOutputStream(
kUTF8,
false,
"utf8.json");
304 TestAutoUTFOutputStream(
kUTF8,
true,
"utf8bom.json");
305 TestAutoUTFOutputStream(
kUTF16LE,
false,
"utf16le.json");
306 TestAutoUTFOutputStream(
kUTF16LE,
true,
"utf16lebom.json");
307 TestAutoUTFOutputStream(
kUTF16BE,
false,
"utf16be.json");
308 TestAutoUTFOutputStream(
kUTF16BE,
true,
"utf16bebom.json");
309 TestAutoUTFOutputStream(
kUTF32LE,
false,
"utf32le.json");
310 TestAutoUTFOutputStream(
kUTF32LE,
true,
"utf32lebom.json");
311 TestAutoUTFOutputStream(
kUTF32BE,
false,
"utf32be.json");
312 TestAutoUTFOutputStream(
kUTF32BE,
true,
"utf32bebom.json");