Ah... a further comment however: CollectionAssert was intended to be "frozen"
with all new abilities added through the Assert.That interface. In
addition, it is
expected to have the same API as the Microsoft CollectionAssert. So while we
will accept this feature, it might be implemented only as a constraint....
On Tue, May 10, 2011 at 6:03 PM, Rechenelf <email address hidden> wrote:
> Public bug reported:
>
> It would be nice to have two other methods for CollectionAssert
>
> CollectionAssert.ContainsValue(result.DisplayStrings, displayString);
> instead of my current implementation
> Assert.IsTrue(result.DisplayStrings.ContainsValue(displayString));
>
> also:
> CollectionAssert.ContainsKey
>
> where result.DisplayStrings is a IDictionary
>
> ** Affects: nunit-3.0
> Importance: Undecided
> Status: New
>
>
> ** Tags: dictionary feature
>
> --
> You received this bug notification because you are subscribed to NUnit
> Extended Testing Platform.
> https://bugs.launchpad.net/bugs/780607
>
> Title:
> CollectionAssert for Dictionary
>
Ah... a further comment however: CollectionAssert was intended to be "frozen"
with all new abilities added through the Assert.That interface. In
addition, it is
expected to have the same API as the Microsoft CollectionAssert. So while we
will accept this feature, it might be implemented only as a constraint....
Assert. That(result. DisplayStrings( ), ContainsValue( displayString) );
Charlie
On Tue, May 10, 2011 at 6:03 PM, Rechenelf <email address hidden> wrote: t.ContainsValue (result. DisplayStrings, displayString); IsTrue( result. DisplayStrings. ContainsValue( displayString) ); t.ContainsKey DisplayStrings is a IDictionary /bugs.launchpad .net/bugs/ 780607
> Public bug reported:
>
> It would be nice to have two other methods for CollectionAssert
>
> CollectionAsser
> instead of my current implementation
> Assert.
>
> also:
> CollectionAsser
>
> where result.
>
> ** Affects: nunit-3.0
> Importance: Undecided
> Status: New
>
>
> ** Tags: dictionary feature
>
> --
> You received this bug notification because you are subscribed to NUnit
> Extended Testing Platform.
> https:/
>
> Title:
> CollectionAssert for Dictionary
>