Home
last modified time | relevance | path

Searched refs:expectLines (Results 1 - 1 of 1) sorted by relevance

/developtools/hiperf/test/unittest/common/native/
H A Dsubcommand_report_test.cpp97 std::vector<std::string> expectLines = StringSplit(ReadFileToString(targetFile), "\n"); in FileCompare() local
103 for (size_t y = 0; y < expectLines.size(); y++) { in FileCompare()
104 expectLines[y].erase(expectLines[y].find_last_not_of(" ") + 1); in FileCompare()
107 auto expect = expectLines.begin(); in FileCompare()
108 EXPECT_EQ(actualLines.size(), expectLines.size()); in FileCompare()
110 while (actual != actualLines.end() and expect != expectLines.end() and !HasFailure()) { in FileCompare()

Completed in 3 milliseconds