| 375 | } |
| 376 | |
| 377 | cmCTest::Part cmCTest::GetPartFromName(std::string const& name) |
| 378 | { |
| 379 | // Look up by lower-case to make names case-insensitive. |
| 380 | std::string lower_name = cmSystemTools::LowerCase(name); |
| 381 | auto const i = this->Impl->PartMap.find(lower_name); |
| 382 | if (i != this->Impl->PartMap.end()) { |
| 383 | return i->second; |
| 384 | } |
| 385 | |
| 386 | // The string does not name a valid part. |
| 387 | return PartCount; |
| 388 | } |
| 389 | |
| 390 | void cmCTest::Initialize(std::string const& binary_dir) |
| 391 | { |
no test coverage detected