Lines Matching refs:output_file_contents
303 std::string* output_file_contents) { in CreateAndDump() argument
309 EXPECT_TRUE(DumpClassesAndMethods(profile_file.GetFilename(), output_file_contents)); in CreateAndDump()
696 std::string output_file_contents; in TEST_F() local
697 ASSERT_TRUE(CreateAndDump(file_contents, &output_file_contents)); in TEST_F()
698 ASSERT_EQ(output_file_contents, file_contents); in TEST_F()
713 std::string output_file_contents; in TEST_F() local
817 std::string output_file_contents; in TEST_F() local
818 EXPECT_TRUE(DumpClassesAndMethods(out_profile.GetFilename(), &output_file_contents)); in TEST_F()
820 EXPECT_NE(output_file_contents.find(kCleanClass + "\n"), std::string::npos) in TEST_F()
821 << output_file_contents; in TEST_F()
822 EXPECT_NE(output_file_contents.find(kDirtyClass + "\n"), std::string::npos) in TEST_F()
823 << output_file_contents; in TEST_F()
825 EXPECT_EQ(output_file_contents.find(kUncommonCleanClass + "\n"), std::string::npos) in TEST_F()
826 << output_file_contents; in TEST_F()
827 EXPECT_EQ(output_file_contents.find(kUncommonDirtyClass + "\n"), std::string::npos) in TEST_F()
828 << output_file_contents; in TEST_F()
830 EXPECT_NE(output_file_contents.find("Ljava/lang/Comparable;\n"), std::string::npos) in TEST_F()
831 << output_file_contents; in TEST_F()
833 EXPECT_NE(output_file_contents.find("HSP" + kHotMethod), std::string::npos) in TEST_F()
834 << output_file_contents; in TEST_F()
835 EXPECT_NE(output_file_contents.find("P" + kOtherMethod), std::string::npos) in TEST_F()
836 << output_file_contents; in TEST_F()
838 EXPECT_EQ(output_file_contents.find("Ljava/util/HashMap;\n"), std::string::npos) in TEST_F()
839 << output_file_contents; in TEST_F()
842 EXPECT_EQ(output_file_contents.find("HP" + kOtherMethod), std::string::npos) in TEST_F()
843 << output_file_contents; in TEST_F()
845 EXPECT_NE(output_file_contents.find("HP" + kMultiMethod), std::string::npos) in TEST_F()
846 << output_file_contents; in TEST_F()
860 std::string output_file_contents; in TEST_F() local
861 ASSERT_TRUE(CreateAndDump(input_file_contents, &output_file_contents)); in TEST_F()
865 ASSERT_EQ(output_file_contents, expected_contents); in TEST_F()
879 std::string output_file_contents; in TEST_F() local
880 ASSERT_TRUE(CreateAndDump(input_file_contents, &output_file_contents)); in TEST_F()
882 ASSERT_EQ(output_file_contents, expected_contents); in TEST_F()