• Home
  • Raw
  • Download

Lines Matching refs:string16

232   string16 output;  // Allow contents to carry over to next testcase  in TEST()
249 EXPECT_EQ(string16(), output); in TEST()
480 string16 utf16 = ASCIIToUTF16(char_cases[i]); in TEST()
490 string16 empty16; in TEST()
499 string16 string16_with_nul = ASCIIToUTF16(string_with_nul); in TEST()
500 EXPECT_EQ(static_cast<string16::size_type>(length_with_nul), in TEST()
627 string16 str = ASCIIToUTF16(scenario.str); in TEST()
658 string16::size_type start_offset; in TEST()
677 string16 str = ASCIIToUTF16(cases[i].str); in TEST()
735 string16 separator = ASCIIToUTF16(", "); in TEST()
736 std::vector<string16> parts; in TEST()
737 EXPECT_EQ(string16(), JoinString(parts, separator)); in TEST()
739 parts.push_back(string16()); in TEST()
740 EXPECT_EQ(string16(), JoinString(parts, separator)); in TEST()
780 string16 separator = ASCIIToUTF16(", "); in TEST()
782 EXPECT_EQ(string16(), JoinString(parts, separator)); in TEST()
786 EXPECT_EQ(string16(), JoinString(parts, separator)); in TEST()
789 const string16 kA = ASCIIToUTF16("a"); in TEST()
793 const string16 kB = ASCIIToUTF16("b"); in TEST()
795 const string16 kC = ASCIIToUTF16("c"); in TEST()
801 const string16 kSpace = ASCIIToUTF16(" "); in TEST()
831 string16 separator = ASCIIToUTF16(", "); in TEST()
832 EXPECT_EQ(string16(), JoinString({}, separator)); in TEST()
835 EXPECT_EQ(string16(), JoinString({StringPiece16()}, separator)); in TEST()
838 const string16 kA = ASCIIToUTF16("a"); in TEST()
841 const string16 kB = ASCIIToUTF16("b"); in TEST()
842 const string16 kC = ASCIIToUTF16("c"); in TEST()
847 const string16 kSpace = ASCIIToUTF16(" "); in TEST()
894 EXPECT_FALSE(StartsWith(string16(), ASCIIToUTF16("javascript"), in TEST()
896 EXPECT_FALSE(StartsWith(string16(), ASCIIToUTF16("javascript"), in TEST()
898 EXPECT_TRUE(StartsWith(ASCIIToUTF16("java"), string16(), in TEST()
900 EXPECT_TRUE(StartsWith(ASCIIToUTF16("java"), string16(), in TEST()
921 EXPECT_FALSE(EndsWith(string16(), ASCIIToUTF16(".plugin"), in TEST()
923 EXPECT_FALSE(EndsWith(string16(), ASCIIToUTF16(".plugin"), in TEST()
925 EXPECT_TRUE(EndsWith(ASCIIToUTF16("Foo.plugin"), string16(), in TEST()
927 EXPECT_TRUE(EndsWith(ASCIIToUTF16("Foo.plugin"), string16(), in TEST()
934 EndsWith(string16(), string16(), base::CompareCase::INSENSITIVE_ASCII)); in TEST()
935 EXPECT_TRUE(EndsWith(string16(), string16(), base::CompareCase::SENSITIVE)); in TEST()
939 std::vector<string16> subst; in TEST()
964 std::vector<string16> subst; in TEST()
969 string16 formatted = in TEST()
977 std::vector<string16> subst; in TEST()
988 string16 formatted = in TEST()
998 std::vector<string16> subst; in TEST()
1009 string16 original = ASCIIToUTF16("$1a,$2b,$3c,$4d,$5e,$6f,$7g,$8h,$9i"); in TEST()
1010 string16 expected = in TEST()
1030 std::vector<string16> subst; in TEST()
1037 string16 formatted = in TEST()
1044 std::vector<string16> subst; in TEST()
1046 string16 formatted = in TEST()
1052 std::vector<string16> subst; in TEST()
1054 string16 formatted = in TEST()
1295 EXPECT_TRUE(ContainsOnlyChars(string16(), kWhitespaceUTF16)); in TEST()