Searched refs:insertion_list (Results 1 – 1 of 1) sorted by relevance
/external/protobuf/src/google/protobuf/compiler/ |
D | mock_code_generator.cc | 111 std::vector<std::string> insertion_list; in ExpectGenerated() local 113 SplitStringUsing(insertions, ",", &insertion_list); in ExpectGenerated() 116 EXPECT_EQ(lines.size(), 3 + insertion_list.size() * 2); in ExpectGenerated() 121 EXPECT_EQ(kFirstInsertionPoint, lines[1 + insertion_list.size()]); in ExpectGenerated() 122 EXPECT_EQ(kSecondInsertionPoint, lines[2 + insertion_list.size() * 2]); in ExpectGenerated() 124 for (size_t i = 0; i < insertion_list.size(); i++) { in ExpectGenerated() 125 EXPECT_EQ(GetOutputFileContent(insertion_list[i], "first_insert", file, in ExpectGenerated() 130 EXPECT_EQ(" " + GetOutputFileContent(insertion_list[i], "second_insert", in ExpectGenerated() 132 lines[2 + insertion_list.size() + i]); in ExpectGenerated()
|