• Home
  • Raw
  • Download

Lines Matching refs:str04

137     string str04(data + 15, data + 16);  in testConstructorPointers()  local
138 EXPECT_TRUE(str04 == "g"); in testConstructorPointers()
189 string str04(str01, -1, 0); // invalid index in testConstructorInvalidValues() local
190 EXPECT_TRUE(str04.c_str() == empty.c_str()); in testConstructorInvalidValues()
273 const string str04; in testReserve() local
276 EXPECT_TRUE(str03.c_str() == str04.c_str()); in testReserve()
280 EXPECT_TRUE(str03.c_str() == str04.c_str()); in testReserve()
285 EXPECT_TRUE(str03.c_str() != str04.c_str()); in testReserve()
290 EXPECT_TRUE(str03.c_str() == str04.c_str()); in testReserve()
493 string str04("bell pants"); in testCompare() local
508 EXPECT_TRUE(str01 != str04); in testCompare()
557 string str04("versa"); in testSwap() local
558 str03.swap(str04); in testSwap()
560 EXPECT_TRUE(str04 == "altima"); in testSwap()
565 str04.swap(empty); in testSwap()
567 EXPECT_TRUE(str04.empty()); in testSwap()
648 string str04; in testAssignment() local
650 str04.assign(str03.c_str()); in testAssignment()
651 EXPECT_TRUE(str04 == "Need to buy a full face helmet for Lilie."); in testAssignment()
653 str04.assign(str03.c_str() + 5, 10); in testAssignment()
654 EXPECT_TRUE(str04 == "to buy a f"); in testAssignment()
656 str04.assign("noop"); in testAssignment()
657 str04.assign(NULL); in testAssignment()
658 EXPECT_TRUE(str04 == "noop"); in testAssignment()
660 str04.assign(str01, str01.size() - 1, 1); in testAssignment()
661 EXPECT_TRUE(str04 == "."); in testAssignment()
663 str04.assign("unchanged"); in testAssignment()
664 str04.assign(str01, str01.size(), 1); in testAssignment()
665 str04.assign(NULL, 4, 1); in testAssignment()
666 str04.assign(NULL, 4); in testAssignment()
667 EXPECT_TRUE(str04 == "unchanged"); in testAssignment()
728 string str04("left and"); in testConcat() local
730 string str06(str04 + str05); in testConcat()
733 EXPECT_TRUE(str06.c_str() != str04.c_str()); in testConcat()
736 str06 = str04 + str05; in testConcat()
738 EXPECT_TRUE(str06.c_str() != str04.c_str()); in testConcat()
908 string str04("a"); in testErase() local
910 str04.erase(1, kMaxSizeT); in testErase()
911 EXPECT_TRUE(str04.capacity() == 1); in testErase()
912 EXPECT_TRUE(str04.size() == 1); in testErase()