| 3601 | } |
| 3602 | |
| 3603 | static std::string FormatWordList(const std::vector<std::string>& words) { |
| 3604 | Message word_list; |
| 3605 | for (size_t i = 0; i < words.size(); ++i) { |
| 3606 | if (i > 0 && words.size() > 2) { |
| 3607 | word_list << ", "; |
| 3608 | } |
| 3609 | if (i == words.size() - 1) { |
| 3610 | word_list << "and "; |
| 3611 | } |
| 3612 | word_list << "'" << words[i] << "'"; |
| 3613 | } |
| 3614 | return word_list.GetString(); |
| 3615 | } |
| 3616 | |
| 3617 | bool ValidateTestPropertyName(const std::string& property_name, |
| 3618 | const std::vector<std::string>& reserved_names) { |
no test coverage detected