Home | History | Annotate | Download | only in test

Lines Matching full:wchar_t

316 // wchar_t.
317 TEST(PrintBuiltInTypeTest, Wchar_t) {
334 EXPECT_EQ("L'\\x576' (1398)", Print(static_cast<wchar_t>(0x576)));
335 EXPECT_EQ("L'\\xC74D' (51021)", Print(static_cast<wchar_t>(0xC74D)));
338 // Test that Int64 provides more storage than wchar_t.
339 TEST(PrintTypeSizeTest, Wchar_t) {
340 EXPECT_LT(sizeof(wchar_t), sizeof(testing::internal::Int64));
413 // of unsigned short. Defining an overload for const wchar_t* in that case
417 // wchar_t is implemented as a native type.
420 // const wchar_t*.
422 const wchar_t* p = L"World";
426 // wchar_t*.
428 wchar_t p[] = L"Hi";
430 Print(static_cast<wchar_t*>(p)));
435 const wchar_t* p = NULL;
441 const wchar_t s[] = {'\'', '"', '?', '\\', '\a', '\b', '\f', '\n', '\r',
445 Print(static_cast<const wchar_t*>(s)));
447 #endif // native wchar_t
680 const wchar_t s[] = L"'\"?\\\a\b\f\n\0\r\t\v\xD3\x576\x8D3\xC74D a";
681 const ::wstring str(s, sizeof(s)/sizeof(wchar_t));
691 const wchar_t s[] = L"'\"?\\\a\b\f\n\0\r\t\v\xD3\x576\x8D3\xC74D a";
692 const ::std::wstring str(s, sizeof(s)/sizeof(wchar_t));