| 63 | } |
| 64 | |
| 65 | std::string TestEnv::OptionValue(const std::string& key) |
| 66 | { |
| 67 | std::ostringstream out; |
| 68 | |
| 69 | auto it = argmap.find(key); |
| 70 | if (it != argmap.end() && !it->second.empty()) |
| 71 | { |
| 72 | auto iv = it->second.begin(); |
| 73 | out << (*iv); |
| 74 | while (++iv != it->second.end()) |
| 75 | { |
| 76 | out << " " << (*iv); |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | return out.str(); |
| 81 | } |
| 82 | |
| 83 | // Specific functions |
| 84 | bool TestEnv::Allowed_IPv6() |