| 283 | } |
| 284 | |
| 285 | long |
| 286 | TestConfig::domainToRepo( int domain) const |
| 287 | { |
| 288 | DomainRepoMap::const_iterator where = this->domainRepoMap_.find( domain); |
| 289 | if( where == this->domainRepoMap_.end()) { |
| 290 | return -1; // MAGIC: -1 == DEFAULT_REPO |
| 291 | |
| 292 | } else { |
| 293 | return where->second; |
| 294 | } |
| 295 | } |
no test coverage detected