Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Filtering example is wrong #135

Open
benmcmorran opened this issue May 11, 2018 · 0 comments
Open

Filtering example is wrong #135

benmcmorran opened this issue May 11, 2018 · 0 comments
Labels

Comments

@benmcmorran
Copy link
Member

The example test case filtering code does not compile. Specifically here:

var filterExpression = runContext.GetTestCaseFilter(supportedProperties, (propertyName) =>
{
    TestProperty testProperty = null;
    supportedProperties.TryGetValue(propertyName, out testProperty);
    return testProperty;
});

GetTestCaseFilter() has this signature:

ITestCaseFilterExpression GetTestCaseFilter(IEnumerable<String> supportedProperties, Func<string, TestProperty> propertyProvider);

but supportedProperties in the example is a Dictionary<string, TestProperty>

@pvlakshm pvlakshm added the bug label Jun 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants