IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Framework.Contains Class Reference

Helper class with properties and methods that supply a number of constraints used in Asserts. More...

Static Public Member Functions

static CollectionContainsConstraint Item (object expected)
 Returns a new CollectionContainsConstraint checking for the presence of a particular object in the collection. More...
 
static
DictionaryContainsKeyConstraint 
Key (object expected)
 Returns a new DictionaryContainsKeyConstraint checking for the presence of a particular key in the dictionary. More...
 
static
DictionaryContainsValueConstraint 
Value (object expected)
 Returns a new DictionaryContainsValueConstraint checking for the presence of a particular value in the dictionary. More...
 
static SubstringConstraint Substring (string expected)
 Returns a constraint that succeeds if the actual value contains the substring supplied as an argument. More...
 

Detailed Description

Helper class with properties and methods that supply a number of constraints used in Asserts.

Member Function Documentation

static DictionaryContainsKeyConstraint NUnit.Framework.Contains.Key ( object  expected)
inlinestatic

Returns a new DictionaryContainsKeyConstraint checking for the presence of a particular key in the dictionary.

static DictionaryContainsValueConstraint NUnit.Framework.Contains.Value ( object  expected)
inlinestatic

Returns a new DictionaryContainsValueConstraint checking for the presence of a particular value in the dictionary.


The documentation for this class was generated from the following file: