| 11012 | typedef ::std::vector<InstantiationInfo> InstantiationContainer; |
| 11013 | |
| 11014 | static bool IsValidParamName(const std::string& name) { |
| 11015 | // Check for empty string |
| 11016 | if (name.empty()) |
| 11017 | return false; |
| 11018 | |
| 11019 | // Check for invalid characters |
| 11020 | for (std::string::size_type index = 0; index < name.size(); ++index) { |
| 11021 | if (!isalnum(name[index]) && name[index] != '_') |
| 11022 | return false; |
| 11023 | } |
| 11024 | |
| 11025 | return true; |
| 11026 | } |
| 11027 | |
| 11028 | const std::string test_suite_name_; |
| 11029 | CodeLocation code_location_; |