| 3639 | } |
| 3640 | |
| 3641 | static std::string FormatWordList(const std::vector<std::string>& words) { |
| 3642 | Message word_list; |
| 3643 | for (size_t i = 0; i < words.size(); ++i) { |
| 3644 | if (i > 0 && words.size() > 2) { |
| 3645 | word_list << ", "; |
| 3646 | } |
| 3647 | if (i == words.size() - 1) { |
| 3648 | word_list << "and "; |
| 3649 | } |
| 3650 | word_list << "'" << words[i] << "'"; |
| 3651 | } |
| 3652 | return word_list.GetString(); |
| 3653 | } |
| 3654 | |
| 3655 | static bool ValidateTestPropertyName( |
| 3656 | const std::string& property_name, |
no test coverage detected