Пример #1
0
        protected override bool CheckFilter(TestCase testCase)
        {
            var isExplicit = testCase.GetPropertyValue(CategoryList.NUnitExplicitProperty, false);

            return(!isExplicit && TfsTestCaseFilterExpression?.MatchTestCase(testCase, p => PropertyValueProvider(testCase, p)) != false);
        }
Пример #2
0
 protected override bool CheckFilter(TestCase testCase)
 {
     return(TfsTestCaseFilterExpression?.MatchTestCase(testCase, p => PropertyValueProvider(testCase, p)) != false);
 }
Пример #3
0
 public IEnumerable <TestCase> CheckFilter(IEnumerable <TestCase> tests)
 {
     return(TfsTestCaseFilterExpression == null ? tests : tests.Where(underTest => !TfsTestCaseFilterExpression.MatchTestCase(underTest, p => PropertyValueProvider(underTest, p)) == false).ToList());
 }