Home | History | Annotate | Download | only in tests

Lines Matching refs:lines

36 bool ReadLines(const string& input_file_path, vector<string>* lines) {
45 lines->push_back(line);
51 bool HasSentinel(const vector<string>& lines, const string& sentinel) {
52 for (const auto& line : lines) {
85 vector<string> lines;
92 // Ignore errors when reading lines. The file may not immediately exist
94 lines.clear();
95 ReadLines(input_file_path, &lines);
97 if (HasSentinel(lines, success_sentinel)) {
101 if (HasSentinel(lines, failure_sentinel)) {
107 for (const auto& line : lines) {