Lines Matching refs:empty_string
834 string empty_string;
836 EXPECT_TRUE(empty_string.capacity() == 0);
837 EXPECT_TRUE(empty_string.size() == 0);
850 string empty_string;
852 empty_string.clear();
853 EXPECT_TRUE(empty_string.capacity() == 0);
854 EXPECT_TRUE(empty_string.size() == 0);
868 string empty_string;
870 empty_string.erase();
871 EXPECT_TRUE(empty_string.capacity() == 0);
872 EXPECT_TRUE(empty_string.size() == 0);
874 empty_string.erase(kMaxSizeT);
875 EXPECT_TRUE(empty_string.capacity() == 0);
876 EXPECT_TRUE(empty_string.size() == 0);
878 empty_string.erase(kMaxSizeT, kMaxSizeT);
879 EXPECT_TRUE(empty_string.capacity() == 0);
880 EXPECT_TRUE(empty_string.size() == 0);