-------------------------------------------------------------------------
| 33 | |
| 34 | //------------------------------------------------------------------------- |
| 35 | TEST(UnifiedDiffCoverageFilterTest, IsSourceFileSelected) |
| 36 | { |
| 37 | UnifiedDiffCoverageFilter filter{ ToFiles(fileNames_), boost::none }; |
| 38 | |
| 39 | ASSERT_TRUE(filter.IsSourceFileSelected(fileNames_.at(0))); |
| 40 | ASSERT_TRUE(filter.IsSourceFileSelected(fileNames_.at(0))); |
| 41 | ASSERT_FALSE(filter.IsSourceFileSelected(L"Unknow")); |
| 42 | ASSERT_TRUE(filter.IsSourceFileSelected(fileNames_.at(1))); |
| 43 | } |
| 44 | |
| 45 | //------------------------------------------------------------------------- |
| 46 | TEST(UnifiedDiffCoverageFilterTest, IsLineSelected) |
nothing calls this directly
no test coverage detected