| 440 | }; |
| 441 | |
| 442 | struct TCmp { |
| 443 | template <class T> |
| 444 | inline bool operator()(const T& l, const T& r) const noexcept { |
| 445 | return stricmp(Fix(l.Name().data()), Fix(r.Name().data())) < 0; |
| 446 | } |
| 447 | |
| 448 | static inline const char* Fix(const char* n) noexcept { |
| 449 | if (*n == 'T') { |
| 450 | return n + 1; |
| 451 | } |
| 452 | |
| 453 | return n; |
| 454 | } |
| 455 | }; |
| 456 | } |
| 457 | |
| 458 | NUnitTest::TTestFactory::TTestFactory(ITestSuiteProcessor* processor) |