Home | History | Annotate | Download | only in test

Lines Matching refs:str2

1098   string str2("OABOCDOOEOO");
1100 EXPECT_FALSE(m0.Matches(str2 + string(1, '\0')));
1102 str1[3] = str2[3] = '\0';
1104 str2));
1107 str2[0] = str2[6] = str2[7] = str2[10] = '\0';
1109 str1[9] = str2[9] = '\0';
1110 EXPECT_FALSE(m2.Matches(str2));
1113 EXPECT_TRUE(m3.Matches(str2));
1115 EXPECT_FALSE(m3.Matches(str2 + "x"));
1116 str2.append(1, '\0');
1117 EXPECT_FALSE(m3.Matches(str2));
1118 EXPECT_FALSE(m3.Matches(string(str2, 0, 9)));
1491 ::std::wstring str2(L"OABOCDOOEOO");
1493 EXPECT_FALSE(m0.Matches(str2 + ::std::wstring(1, L'\0')));
1495 str1[3] = str2[3] = L'\0';
1497 EXPECT_TRUE(m1.Matches(str2));
1500 str2[0] = str2[6] = str2[7] = str2[10] = L'\0';
1502 str1[9] = str2[9] = L'\0';
1503 EXPECT_FALSE(m2.Matches(str2));
1506 EXPECT_TRUE(m3.Matches(str2));
1508 EXPECT_FALSE(m3.Matches(str2 + L"x"));
1509 str2.append(1, L'\0');
1510 EXPECT_FALSE(m3.Matches(str2));
1511 EXPECT_FALSE(m3.Matches(::std::wstring(str2, 0, 9)));
1682 ::wstring str2(L"OABOCDOOEOO");
1684 EXPECT_FALSE(m0.Matches(str2 + ::wstring(1, L'\0')));
1686 str1[3] = str2[3] = L'\0';
1688 EXPECT_TRUE(m1.Matches(str2));
1691 str2[0] = str2[6] = str2[7] = str2[10] = L'\0';
1693 str1[9] = str2[9] = L'\0';
1694 EXPECT_FALSE(m2.Matches(str2));
1697 EXPECT_TRUE(m3.Matches(str2));
1699 EXPECT_FALSE(m3.Matches(str2 + L"x"));
1700 str2.append(1, L'\0');
1701 EXPECT_FALSE(m3.Matches(str2));
1702 EXPECT_FALSE(m3.Matches(::wstring(str2, 0, 9)));