IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
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... | |
Helper class with properties and methods that supply a number of constraints used in Asserts.
|
inlinestatic |
Returns a new CollectionContainsConstraint checking for the presence of a particular object in the collection.
Referenced by NUnit.Framework.Attributes.CategoryAttributeTests.CanDeriveFromCategoryAttribute(), NUnit.Framework.Attributes.CategoryAttributeTests.CanSpecifyOnMethodAndTestCase(), NUnit.Framework.Attributes.CategoryAttributeTests.CategoryOnFixture(), NUnit.Framework.Attributes.CategoryAttributeTests.CategoryOnTestMethod(), NUnit.Framework.Attributes.CategoryAttributeTests.DerivedCategoryMayBeInherited(), NUnit.Framework.Internal.PropertyBagTests.IndexGetsListOfValues(), NUnit.Framework.Internal.PropertyBagTests.IndexSetsListOfValues(), and NUnit.ConsoleRunner.Tests.MakeTestPackageTests.WhenNoOptionsAreSpecified_PackageContainsWorkDirectorySettingOnly().
|
inlinestatic |
Returns a new DictionaryContainsKeyConstraint checking for the presence of a particular key in the dictionary.
|
inlinestatic |
Returns a new DictionaryContainsValueConstraint checking for the presence of a particular value in the dictionary.
|
inlinestatic |
Returns a constraint that succeeds if the actual value contains the substring supplied as an argument.
Referenced by NUnitLite.Tests.TextUITests.DisplayRuntimeEnvironment(), NUnit.Framework.Api.FrameworkControllerTests.ExploreTestsAction_BadFile_ReturnsNonRunnableSuite(), NUnit.Framework.Api.FrameworkControllerTests.ExploreTestsAction_FileNotFound_ReturnsNonRunnableSuite(), NUnit.Framework.Api.FrameworkControllerTests.LoadTestsAction_BadFile_ReturnsNonRunnableSuite(), NUnit.Framework.Api.FrameworkControllerTests.LoadTestsAction_FileNotFound_ReturnsNonRunnableSuite(), NUnit.Framework.Api.FrameworkControllerTests.RunTestsAction_BadFile_ReturnsNonRunnableSuite(), NUnit.Framework.Api.FrameworkControllerTests.RunTestsAction_FileNotFound_ReturnsNonRunnableSuite(), NUnit.Engine.Services.ResultWriters.Tests.XmlTransformResultWriterTests.SummaryTransformTest(), and NUnit.Framework.Internal.TestXmlTests.TestNameWithInvalidCharacter().