diff --git a/References/Tools/NUnit/NUnitFitTests.html b/References/Tools/NUnit/NUnitFitTests.html
index b7eb5c9..ca5cd4f 100644
--- a/References/Tools/NUnit/NUnitFitTests.html
+++ b/References/Tools/NUnit/NUnitFitTests.html
@@ -1,277 +1,277 @@
-
-
-
- NUnit Acceptance Tests
-
- Developers love self-referential programs! Hence, NUnit has always run all it's
- own tests, even those that are not really unit tests.
-
Now, beginning with NUnit 2.4, NUnit has top-level tests using Ward Cunningham's
- FIT framework. At this time, the tests are pretty rudimentary, but it's a start
- and it's a framework for doing more.
-
Running the Tests
- Open a console or shell window and navigate to the NUnit bin directory, which
- contains this file. To run the test under Microsoft .Net, enter the command
-
runFile NUnitFitTests.html TestResults.html .
- To run it under Mono, enter
- mono runFile.exe NUnitFitTests.html TestResults.html .
- Note the space and dot at the end of each command. The results of your test
- will be in TestResults.html in the same directory.
- Platform and CLR Version
-
-
- NUnit.Fixtures.PlatformInfo |
-
-
- Verify Unit Tests
-
- Load and run the NUnit unit tests, verifying that the results are as expected.
- When these tests are run on different platforms, different numbers of tests may
- be skipped, so the values for Skipped and Run tests are informational only.
-
- The number of tests in each assembly should be constant across all platforms -
- any discrepancy usually means that one of the test source files was not
- compiled on the platform. There should be no failures and no tests ignored.
-
Note:
- At the moment, the nunit.extensions.tests assembly is failing because the
- fixture doesn't initialize addins in the test domain.
-
-
-
- NUnit.Fixtures.AssemblyRunner |
-
-
- Assembly |
- Tests() |
- Run() |
- Skipped() |
- Ignored() |
- Failures() |
-
-
- nunit.framework.tests.dll |
- 397 |
- |
- |
- 0 |
- 0 |
-
-
- nunit.core.tests.dll |
- 355 |
- |
- |
- 0 |
- 0 |
-
-
- nunit.util.tests.dll |
- 238 |
- |
- |
- 0 |
- 0 |
-
-
- nunit.mocks.tests.dll |
- 43 |
- |
- |
- 0 |
- 0 |
-
-
- nunit.extensions.tests.dll |
- 5 |
- |
- |
- 0 |
- 0 |
-
-
- nunit-console.tests.dll |
- 40 |
- |
- |
- 0 |
- 0 |
-
-
- nunit.uikit.tests.dll |
- 34 |
- |
- |
- 0 |
- 0 |
-
-
- nunit-gui.tests.dll |
- 15 |
- |
- |
- 0 |
- 0 |
-
-
- nunit.fixtures.tests.dll |
- 6 |
- |
- |
- 0 |
- 0 |
-
-
- Code Snippet Tests
-
- These tests create a test assembly from a snippet of code and then load and run
- the tests that it contains, verifying that the structure of the loaded tests is
- as expected and that the number of tests run, skipped, ignored or failed is
- correct.
-
-
-
- NUnit.Fixtures.SnippetRunner |
-
-
- Code |
- Tree() |
- Run() |
- Skipped() |
- Ignored() |
- Failures() |
-
-
- public class TestClass
-{
-}
- |
- EMPTY |
- 0 |
- 0 |
- 0 |
- 0 |
-
-
- using NUnit.Framework;
-
-[TestFixture]
-public class TestClass
-{
-}
- |
- TestClass |
- 0 |
- 0 |
- 0 |
- 0 |
-
-
- using NUnit.Framework;
-
-[TestFixture]
-public class TestClass
-{
- [Test]
- public void T1() { }
- [Test]
- public void T2() { }
- [Test]
- public void T3() { }
-}
- |
- TestClass
->T1
->T2
->T3
- |
- 3 |
- 0 |
- 0 |
- 0 |
-
-
- using NUnit.Framework;
-
-[TestFixture]
-public class TestClass1
-{
- [Test]
- public void T1() { }
-}
-
-[TestFixture]
-public class TestClass2
-{
- [Test]
- public void T2() { }
- [Test]
- public void T3() { }
-}
- |
- TestClass1
->T1
-TestClass2
->T2
->T3
- |
- 3 |
- 0 |
- 0 |
- 0 |
-
-
- using NUnit.Framework;
-
-[TestFixture]
-public class TestClass
-{
- [Test]
- public void T1() { }
- [Test, Ignore]
- public void T2() { }
- [Test]
- public void T3() { }
-}
- |
- TestClass
->T1
->T2
->T3
- |
- 2 |
- 0 |
- 1 |
- 0 |
-
-
- using NUnit.Framework;
-
-[TestFixture]
-public class TestClass
-{
- [Test]
- public void T1() { }
- [Test, Explicit]
- public void T2() { }
- [Test]
- public void T3() { }
-}
- |
- TestClass
->T1
->T2
->T3
- |
- 2 |
- 1 |
- 0 |
- 0 |
-
-
- Summary Information
-
-
-
+
+
+
+ NUnit Acceptance Tests
+
+ Developers love self-referential programs! Hence, NUnit has always run all it's
+ own tests, even those that are not really unit tests.
+
Now, beginning with NUnit 2.4, NUnit has top-level tests using Ward Cunningham's
+ FIT framework. At this time, the tests are pretty rudimentary, but it's a start
+ and it's a framework for doing more.
+
Running the Tests
+ Open a console or shell window and navigate to the NUnit bin directory, which
+ contains this file. To run the test under Microsoft .Net, enter the command
+
runFile NUnitFitTests.html TestResults.html .
+ To run it under Mono, enter
+ mono runFile.exe NUnitFitTests.html TestResults.html .
+ Note the space and dot at the end of each command. The results of your test
+ will be in TestResults.html in the same directory.
+ Platform and CLR Version
+
+
+ NUnit.Fixtures.PlatformInfo |
+
+
+ Verify Unit Tests
+
+ Load and run the NUnit unit tests, verifying that the results are as expected.
+ When these tests are run on different platforms, different numbers of tests may
+ be skipped, so the values for Skipped and Run tests are informational only.
+
+ The number of tests in each assembly should be constant across all platforms -
+ any discrepancy usually means that one of the test source files was not
+ compiled on the platform. There should be no failures and no tests ignored.
+
Note:
+ At the moment, the nunit.extensions.tests assembly is failing because the
+ fixture doesn't initialize addins in the test domain.
+
+
+
+ NUnit.Fixtures.AssemblyRunner |
+
+
+ Assembly |
+ Tests() |
+ Run() |
+ Skipped() |
+ Ignored() |
+ Failures() |
+
+
+ nunit.framework.tests.dll |
+ 397 |
+ |
+ |
+ 0 |
+ 0 |
+
+
+ nunit.core.tests.dll |
+ 355 |
+ |
+ |
+ 0 |
+ 0 |
+
+
+ nunit.util.tests.dll |
+ 238 |
+ |
+ |
+ 0 |
+ 0 |
+
+
+ nunit.mocks.tests.dll |
+ 43 |
+ |
+ |
+ 0 |
+ 0 |
+
+
+ nunit.extensions.tests.dll |
+ 5 |
+ |
+ |
+ 0 |
+ 0 |
+
+
+ nunit-console.tests.dll |
+ 40 |
+ |
+ |
+ 0 |
+ 0 |
+
+
+ nunit.uikit.tests.dll |
+ 34 |
+ |
+ |
+ 0 |
+ 0 |
+
+
+ nunit-gui.tests.dll |
+ 15 |
+ |
+ |
+ 0 |
+ 0 |
+
+
+ nunit.fixtures.tests.dll |
+ 6 |
+ |
+ |
+ 0 |
+ 0 |
+
+
+ Code Snippet Tests
+
+ These tests create a test assembly from a snippet of code and then load and run
+ the tests that it contains, verifying that the structure of the loaded tests is
+ as expected and that the number of tests run, skipped, ignored or failed is
+ correct.
+
+
+
+ NUnit.Fixtures.SnippetRunner |
+
+
+ Code |
+ Tree() |
+ Run() |
+ Skipped() |
+ Ignored() |
+ Failures() |
+
+
+ public class TestClass
+{
+}
+ |
+ EMPTY |
+ 0 |
+ 0 |
+ 0 |
+ 0 |
+
+
+ using NUnit.Framework;
+
+[TestFixture]
+public class TestClass
+{
+}
+ |
+ TestClass |
+ 0 |
+ 0 |
+ 0 |
+ 0 |
+
+
+ using NUnit.Framework;
+
+[TestFixture]
+public class TestClass
+{
+ [Test]
+ public void T1() { }
+ [Test]
+ public void T2() { }
+ [Test]
+ public void T3() { }
+}
+ |
+ TestClass
+>T1
+>T2
+>T3
+ |
+ 3 |
+ 0 |
+ 0 |
+ 0 |
+
+
+ using NUnit.Framework;
+
+[TestFixture]
+public class TestClass1
+{
+ [Test]
+ public void T1() { }
+}
+
+[TestFixture]
+public class TestClass2
+{
+ [Test]
+ public void T2() { }
+ [Test]
+ public void T3() { }
+}
+ |
+ TestClass1
+>T1
+TestClass2
+>T2
+>T3
+ |
+ 3 |
+ 0 |
+ 0 |
+ 0 |
+
+
+ using NUnit.Framework;
+
+[TestFixture]
+public class TestClass
+{
+ [Test]
+ public void T1() { }
+ [Test, Ignore]
+ public void T2() { }
+ [Test]
+ public void T3() { }
+}
+ |
+ TestClass
+>T1
+>T2
+>T3
+ |
+ 2 |
+ 0 |
+ 1 |
+ 0 |
+
+
+ using NUnit.Framework;
+
+[TestFixture]
+public class TestClass
+{
+ [Test]
+ public void T1() { }
+ [Test, Explicit]
+ public void T2() { }
+ [Test]
+ public void T3() { }
+}
+ |
+ TestClass
+>T1
+>T2
+>T3
+ |
+ 2 |
+ 1 |
+ 0 |
+ 0 |
+
+
+ Summary Information
+
+
+
diff --git a/References/Tools/NUnit/NUnitTests.config b/References/Tools/NUnit/NUnitTests.config
index ecbd55e..fb15771 100644
--- a/References/Tools/NUnit/NUnitTests.config
+++ b/References/Tools/NUnit/NUnitTests.config
@@ -1,84 +1,85 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/References/Tools/NUnit/NUnitTests.nunit b/References/Tools/NUnit/NUnitTests.nunit
index bb80dd6..e7bb7f4 100644
--- a/References/Tools/NUnit/NUnitTests.nunit
+++ b/References/Tools/NUnit/NUnitTests.nunit
@@ -1,14 +1,14 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/References/Tools/NUnit/agent.conf b/References/Tools/NUnit/agent.conf
index b4cf550..ddbcd8e 100644
--- a/References/Tools/NUnit/agent.conf
+++ b/References/Tools/NUnit/agent.conf
@@ -1,4 +1,4 @@
-
- 8080
- .
+
+ 8080
+ .
\ No newline at end of file
diff --git a/References/Tools/NUnit/agent.log.conf b/References/Tools/NUnit/agent.log.conf
index d340cad..4bd90ca 100644
--- a/References/Tools/NUnit/agent.log.conf
+++ b/References/Tools/NUnit/agent.log.conf
@@ -1,18 +1,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/References/Tools/NUnit/clr.bat b/References/Tools/NUnit/clr.bat
deleted file mode 100644
index 8291f26..0000000
--- a/References/Tools/NUnit/clr.bat
+++ /dev/null
@@ -1,96 +0,0 @@
-@echo off
-rem Run a program under a particular version of the .Net framework
-rem by setting the COMPLUS_Version environment variable.
-rem
-rem This command was written by Charlie Poole for the NUnit project.
-rem You may use it separately from NUnit at your own risk.
-
-if "%1"=="/?" goto help
-if "%1"=="?" goto help
-if "%1"=="" goto GetVersion
-if /I "%1"=="off" goto RemoveVersion
-if "%2"=="" goto SetVersion
-goto main
-
-:help
-echo Control the version of the .Net framework that is used. The
-echo command has several forms:
-echo.
-echo CLR
-echo Reports the version of the CLR that has been set
-echo.
-echo CLR version
-echo Sets the local shell environment to use a specific
-echo version of the CLR for subsequent commands.
-echo.
-echo CLR version command [arguments]
-echo Executes a single command using the specified CLR version.
-echo.
-echo CLR off
-echo Turns off specific version selection for commands
-echo.
-echo The CLR version may be specified as vn.n.n or n.n.n. In addition,
-echo the following shortcuts are recognized:
-echo net-1.0, 1.0 For version 1.0.3705
-echo net-1.1, 1.1 For version 1.1.4322
-echo beta2 For version 2.0.50215
-echo net-2.0, 2.0 For version 2.0.50727
-echo.
-echo NOTE:
-echo Any specific settings for required or supported runtime in
-echo the ^ section of a program's config file will
-echo override the version specified by this command, and the
-echo command will have no effect.
-echo.
-goto done
-
-:main
-
-setlocal
-set CMD=
-call :SetVersion %1
-shift /1
-
-:loop 'Copy remaining arguments to form the command
-if "%1"=="" goto run
-set CMD=%CMD% %1
-shift /1
-goto :loop
-
-:run 'Execute the command
-%CMD%
-endlocal
-goto done
-
-:SetVersion
-set COMPLUS_Version=%1
-
-rem Substitute proper format for certain names
-if /I "%COMPLUS_Version:~0,1%"=="v" goto useit
-if /I "%COMPLUS_Version%"=="net-1.0" set COMPLUS_Version=v1.0.3705&goto report
-if /I "%COMPLUS_Version%"=="1.0" set COMPLUS_Version=v1.0.3705&goto report
-if /I "%COMPLUS_Version%"=="net-1.1" set COMPLUS_Version=v1.1.4322&goto report
-if /I "%COMPLUS_Version%"=="1.1" set COMPLUS_Version=v1.1.4322&goto report
-if /I "%COMPLUS_Version%"=="beta2" set COMPLUS_Version=v2.0.50215&goto report
-if /I "%COMPLUS_Version%"=="net-2.0" set COMPLUS_Version=v2.0.50727&goto report
-if /I "%COMPLUS_Version%"=="2.0" set COMPLUS_Version=v2.0.50727&goto report
-
-rem Add additional substitutions here, branching to report
-
-rem assume it's a version number without 'v'
-set COMPLUS_Version=v%COMPLUS_Version%
-
-:report
-echo Setting CLR version to %COMPLUS_Version%
-goto done
-
-:GetVersion
-if "%COMPLUS_Version%"=="" echo CLR version is not set
-if NOT "%COMPLUS_Version%"=="" echo CLR version is set to %COMPLUS_Version%
-goto done
-
-:RemoveVersion
-set COMPLUS_Version=
-echo CLR version is no longer set
-
-:done
\ No newline at end of file
diff --git a/References/Tools/NUnit/framework/nunit.framework.dll b/References/Tools/NUnit/framework/nunit.framework.dll
index 2729ddf..875e098 100644
Binary files a/References/Tools/NUnit/framework/nunit.framework.dll and b/References/Tools/NUnit/framework/nunit.framework.dll differ
diff --git a/References/Tools/NUnit/framework/nunit.framework.xml b/References/Tools/NUnit/framework/nunit.framework.xml
index ccfa9ee..b9e1dd0 100644
--- a/References/Tools/NUnit/framework/nunit.framework.xml
+++ b/References/Tools/NUnit/framework/nunit.framework.xml
@@ -4,10 +4,964 @@
nunit.framework
-
+
- TypeConstraint is the abstract base for constraints
- that take a Type as their expected value.
+ Attribute used to apply a category to a test
+
+
+
+
+ The name of the category
+
+
+
+
+ Construct attribute for a given category based on
+ a name. The name may not contain the characters ',',
+ '+', '-' or '!'. However, this is not checked in the
+ constructor since it would cause an error to arise at
+ as the test was loaded without giving a clear indication
+ of where the problem is located. The error is handled
+ in NUnitFramework.cs by marking the test as not
+ runnable.
+
+ The name of the category
+
+
+
+ Protected constructor uses the Type name as the name
+ of the category.
+
+
+
+
+ The name of the category
+
+
+
+
+ Used to mark a field for use as a datapoint when executing a theory
+ within the same fixture that requires an argument of the field's Type.
+
+
+
+
+ Used to mark an array as containing a set of datapoints to be used
+ executing a theory within the same fixture that requires an argument
+ of the Type of the array elements.
+
+
+
+
+ Attribute used to provide descriptive text about a
+ test case or fixture.
+
+
+
+
+ Construct the attribute
+
+ Text describing the test
+
+
+
+ Gets the test description
+
+
+
+
+ Enumeration indicating how the expected message parameter is to be used
+
+
+
+ Expect an exact match
+
+
+ Expect a message containing the parameter string
+
+
+ Match the regular expression provided as a parameter
+
+
+ Expect a message that starts with the parameter string
+
+
+
+ ExpectedExceptionAttribute
+
+
+
+
+
+ Constructor for a non-specific exception
+
+
+
+
+ Constructor for a given type of exception
+
+ The type of the expected exception
+
+
+
+ Constructor for a given exception name
+
+ The full name of the expected exception
+
+
+
+ Gets or sets the expected exception type
+
+
+
+
+ Gets or sets the full Type name of the expected exception
+
+
+
+
+ Gets or sets the expected message text
+
+
+
+
+ Gets or sets the user message displayed in case of failure
+
+
+
+
+ Gets or sets the type of match to be performed on the expected message
+
+
+
+
+ Gets the name of a method to be used as an exception handler
+
+
+
+
+ ExplicitAttribute marks a test or test fixture so that it will
+ only be run if explicitly executed from the gui or command line
+ or if it is included by use of a filter. The test will not be
+ run simply because an enclosing suite is run.
+
+
+
+
+ Default constructor
+
+
+
+
+ Constructor with a reason
+
+ The reason test is marked explicit
+
+
+
+ The reason test is marked explicit
+
+
+
+
+ Attribute used to mark a test that is to be ignored.
+ Ignored tests result in a warning message when the
+ tests are run.
+
+
+
+
+ Constructs the attribute without giving a reason
+ for ignoring the test.
+
+
+
+
+ Constructs the attribute giving a reason for ignoring the test
+
+ The reason for ignoring the test
+
+
+
+ The reason for ignoring a test
+
+
+
+
+ Abstract base for Attributes that are used to include tests
+ in the test run based on environmental settings.
+
+
+
+
+ Constructor with no included items specified, for use
+ with named property syntax.
+
+
+
+
+ Constructor taking one or more included items
+
+ Comma-delimited list of included items
+
+
+
+ Name of the item that is needed in order for
+ a test to run. Multiple itemss may be given,
+ separated by a comma.
+
+
+
+
+ Name of the item to be excluded. Multiple items
+ may be given, separated by a comma.
+
+
+
+
+ The reason for including or excluding the test
+
+
+
+
+ PlatformAttribute is used to mark a test fixture or an
+ individual method as applying to a particular platform only.
+
+
+
+
+ Constructor with no platforms specified, for use
+ with named property syntax.
+
+
+
+
+ Constructor taking one or more platforms
+
+ Comma-deliminted list of platforms
+
+
+
+ CultureAttribute is used to mark a test fixture or an
+ individual method as applying to a particular Culture only.
+
+
+
+
+ Constructor with no cultures specified, for use
+ with named property syntax.
+
+
+
+
+ Constructor taking one or more cultures
+
+ Comma-deliminted list of cultures
+
+
+
+ Marks a test to use a combinatorial join of any argument data
+ provided. NUnit will create a test case for every combination of
+ the arguments provided. This can result in a large number of test
+ cases and so should be used judiciously. This is the default join
+ type, so the attribute need not be used except as documentation.
+
+
+
+
+ PropertyAttribute is used to attach information to a test as a name/value pair..
+
+
+
+
+ Construct a PropertyAttribute with a name and string value
+
+ The name of the property
+ The property value
+
+
+
+ Construct a PropertyAttribute with a name and int value
+
+ The name of the property
+ The property value
+
+
+
+ Construct a PropertyAttribute with a name and double value
+
+ The name of the property
+ The property value
+
+
+
+ Constructor for derived classes that set the
+ property dictionary directly.
+
+
+
+
+ Constructor for use by derived classes that use the
+ name of the type as the property name. Derived classes
+ must ensure that the Type of the property value is
+ a standard type supported by the BCL. Any custom
+ types will cause a serialization Exception when
+ in the client.
+
+
+
+
+ Gets the property dictionary for this attribute
+
+
+
+
+ Default constructor
+
+
+
+
+ Marks a test to use pairwise join of any argument data provided.
+ NUnit will attempt too excercise every pair of argument values at
+ least once, using as small a number of test cases as it can. With
+ only two arguments, this is the same as a combinatorial join.
+
+
+
+
+ Default constructor
+
+
+
+
+ Marks a test to use a sequential join of any argument data
+ provided. NUnit will use arguements for each parameter in
+ sequence, generating test cases up to the largest number
+ of argument values provided and using null for any arguments
+ for which it runs out of values. Normally, this should be
+ used with the same number of arguments for each parameter.
+
+
+
+
+ Default constructor
+
+
+
+
+ Summary description for MaxTimeAttribute.
+
+
+
+
+ Construct a MaxTimeAttribute, given a time in milliseconds.
+
+ The maximum elapsed time in milliseconds
+
+
+
+ RandomAttribute is used to supply a set of random values
+ to a single parameter of a parameterized test.
+
+
+
+
+ ValuesAttribute is used to provide literal arguments for
+ an individual parameter of a test.
+
+
+
+
+ Abstract base class for attributes that apply to parameters
+ and supply data for the parameter.
+
+
+
+
+ Gets the data to be provided to the specified parameter
+
+
+
+
+ The collection of data to be returned. Must
+ be set by any derived attribute classes.
+ We use an object[] so that the individual
+ elements may have their type changed in GetData
+ if necessary.
+
+
+
+
+ Construct with one argument
+
+
+
+
+
+ Construct with two arguments
+
+
+
+
+
+
+ Construct with three arguments
+
+
+
+
+
+
+
+ Construct with an array of arguments
+
+
+
+
+
+ Get the collection of values to be used as arguments
+
+
+
+
+ Construct a set of doubles from 0.0 to 1.0,
+ specifying only the count.
+
+
+
+
+
+ Construct a set of doubles from min to max
+
+
+
+
+
+
+
+ Construct a set of ints from min to max
+
+
+
+
+
+
+
+ Get the collection of values to be used as arguments
+
+
+
+
+ RangeAttribute is used to supply a range of values to an
+ individual parameter of a parameterized test.
+
+
+
+
+ Construct a range of ints using default step of 1
+
+
+
+
+
+
+ Construct a range of ints specifying the step size
+
+
+
+
+
+
+
+ Construct a range of longs
+
+
+
+
+
+
+
+ Construct a range of doubles
+
+
+
+
+
+
+
+ Construct a range of floats
+
+
+
+
+
+
+
+ RepeatAttribute may be applied to test case in order
+ to run it multiple times.
+
+
+
+
+ Construct a RepeatAttribute
+
+ The number of times to run the test
+
+
+
+ RequiredAddinAttribute may be used to indicate the names of any addins
+ that must be present in order to run some or all of the tests in an
+ assembly. If the addin is not loaded, the entire assembly is marked
+ as NotRunnable.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The required addin.
+
+
+
+ Gets the name of required addin.
+
+ The required addin name.
+
+
+
+ Summary description for SetCultureAttribute.
+
+
+
+
+ Construct given the name of a culture
+
+
+
+
+
+ Summary description for SetUICultureAttribute.
+
+
+
+
+ Construct given the name of a culture
+
+
+
+
+
+ Attribute used to mark a class that contains one-time SetUp
+ and/or TearDown methods that apply to all the tests in a
+ namespace or an assembly.
+
+
+
+
+ SetUpFixtureAttribute is used to identify a SetUpFixture
+
+
+
+
+ Attribute used to mark a static (shared in VB) property
+ that returns a list of tests.
+
+
+
+
+ Attribute used to identify a method that is called
+ immediately after each test is run. The method is
+ guaranteed to be called, even if an exception is thrown.
+
+
+
+
+ Adding this attribute to a method within a
+ class makes the method callable from the NUnit test runner. There is a property
+ called Description which is optional which you can provide a more detailed test
+ description. This class cannot be inherited.
+
+
+
+ [TestFixture]
+ public class Fixture
+ {
+ [Test]
+ public void MethodToTest()
+ {}
+
+ [Test(Description = "more detailed description")]
+ publc void TestDescriptionMethod()
+ {}
+ }
+
+
+
+
+
+ Descriptive text for this test
+
+
+
+
+ TestCaseAttribute is used to mark parameterized test cases
+ and provide them with their arguments.
+
+
+
+
+ The ITestCaseData interface is implemented by a class
+ that is able to return complete testcases for use by
+ a parameterized test method.
+
+ NOTE: This interface is used in both the framework
+ and the core, even though that results in two different
+ types. However, sharing the source code guarantees that
+ the various implementations will be compatible and that
+ the core is able to reflect successfully over the
+ framework implementations of ITestCaseData.
+
+
+
+
+ Gets the argument list to be provided to the test
+
+
+
+
+ Gets the expected result
+
+
+
+
+ Gets the expected exception Type
+
+
+
+
+ Gets the FullName of the expected exception
+
+
+
+
+ Gets the name to be used for the test
+
+
+
+
+ Gets the description of the test
+
+
+
+
+ Gets a value indicating whether this is ignored.
+
+ true if ignored; otherwise, false.
+
+
+
+ Gets the ignore reason.
+
+ The ignore reason.
+
+
+
+ Construct a TestCaseAttribute with a list of arguments.
+ This constructor is not CLS-Compliant
+
+
+
+
+
+ Construct a TestCaseAttribute with a single argument
+
+
+
+
+
+ Construct a TestCaseAttribute with a two arguments
+
+
+
+
+
+
+ Construct a TestCaseAttribute with a three arguments
+
+
+
+
+
+
+
+ Gets the list of arguments to a test case
+
+
+
+
+ Gets or sets the expected result.
+
+ The result.
+
+
+
+ Gets or sets the expected exception.
+
+ The expected exception.
+
+
+
+ Gets or sets the name the expected exception.
+
+ The expected name of the exception.
+
+
+
+ Gets or sets the expected message of the expected exception
+
+ The expected message of the exception.
+
+
+
+ Gets or sets the type of match to be performed on the expected message
+
+
+
+
+ Gets or sets the description.
+
+ The description.
+
+
+
+ Gets or sets the name of the test.
+
+ The name of the test.
+
+
+
+ Gets or sets the ignored status of the test
+
+
+
+
+ Gets or sets the ignored status of the test
+
+
+
+
+ Gets the ignore reason.
+
+ The ignore reason.
+
+
+
+ FactoryAttribute indicates the source to be used to
+ provide test cases for a test method.
+
+
+
+
+ Construct with the name of the factory - for use with languages
+ that don't support params arrays.
+
+ An array of the names of the factories that will provide data
+
+
+
+ Construct with a Type and name - for use with languages
+ that don't support params arrays.
+
+ The Type that will provide data
+ The name of the method, property or field that will provide data
+
+
+
+ The name of a the method, property or fiend to be used as a source
+
+
+
+
+ A Type to be used as a source
+
+
+
+
+ [TestFixture]
+ public class ExampleClass
+ {}
+
+
+
+
+ Default constructor
+
+
+
+
+ Construct with a object[] representing a set of arguments.
+ In .NET 2.0, the arguments may later be separated into
+ type arguments and constructor arguments.
+
+
+
+
+
+ Descriptive text for this fixture
+
+
+
+
+ The arguments originally provided to the attribute
+
+
+
+
+ Gets or sets a value indicating whether this should be ignored.
+
+ true if ignore; otherwise, false.
+
+
+
+ Gets or sets the ignore reason. May set Ignored as a side effect.
+
+ The ignore reason.
+
+
+
+ Get or set the type arguments. If not set
+ explicitly, any leading arguments that are
+ Types are taken as type arguments.
+
+
+
+
+ Attribute used to identify a method that is
+ called before any tests in a fixture are run.
+
+
+
+
+ Attribute used to identify a method that is called after
+ all the tests in a fixture have run. The method is
+ guaranteed to be called, even if an exception is thrown.
+
+
+
+
+ Adding this attribute to a method within a
+ class makes the method callable from the NUnit test runner. There is a property
+ called Description which is optional which you can provide a more detailed test
+ description. This class cannot be inherited.
+
+
+
+ [TestFixture]
+ public class Fixture
+ {
+ [Test]
+ public void MethodToTest()
+ {}
+
+ [Test(Description = "more detailed description")]
+ publc void TestDescriptionMethod()
+ {}
+ }
+
+
+
+
+
+ WUsed on a method, marks the test with a timeout value in milliseconds.
+ The test will be run in a separate thread and is cancelled if the timeout
+ is exceeded. Used on a method or assembly, sets the default timeout
+ for all contained test methods.
+
+
+
+
+ Construct a TimeoutAttribute given a time in milliseconds
+
+ The timeout value in milliseconds
+
+
+
+ Marks a test that must run in the STA, causing it
+ to run in a separate thread if necessary.
+
+ On methods, you may also use STAThreadAttribute
+ to serve the same purpose.
+
+
+
+
+ Construct a RequiresSTAAttribute
+
+
+
+
+ Marks a test that must run in the MTA, causing it
+ to run in a separate thread if necessary.
+
+ On methods, you may also use MTAThreadAttribute
+ to serve the same purpose.
+
+
+
+
+ Construct a RequiresMTAAttribute
+
+
+
+
+ Marks a test that must run on a separate thread.
+
+
+
+
+ Construct a RequiresThreadAttribute
+
+
+
+
+ Construct a RequiresThreadAttribute, specifying the apartment
+
+
+
+
+ ValueSourceAttribute indicates the source to be used to
+ provide data for one parameter of a test method.
+
+
+
+
+ Construct with the name of the factory - for use with languages
+ that don't support params arrays.
+
+ The name of the data source to be used
+
+
+
+ Construct with a Type and name - for use with languages
+ that don't support params arrays.
+
+ The Type that will provide data
+ The name of the method, property or field that will provide data
+
+
+
+ The name of a the method, property or fiend to be used as a source
+
+
+
+
+ A Type to be used as a source
+
+
+
+
+ AttributeExistsConstraint tests for the presence of a
+ specified attribute on a Type.
@@ -136,6 +1090,11 @@
+
+
+ Returns the string representation of this constraint
+
+
This operator creates a constraint that is satisfied only if both
@@ -203,261 +1162,29 @@
Matches override.
-
+
- The expected Type used by the constraint
-
-
-
-
- Construct a TypeConstraint for a given Type
+ Constructs an AttributeExistsConstraint for a specific attribute Type
-
+
- Write the actual value for a failing constraint test to a
- MessageWriter. TypeConstraints override this method to write
- the name of the type.
+ Tests whether the object provides the expected attribute.
- The writer on which the actual value is displayed
+ A Type, MethodInfo, or other ICustomAttributeProvider
+ True if the expected attribute is present, otherwise false
-
+
- ExactTypeConstraint is used to test that an object
- is of the exact type provided in the constructor
+ Writes the description of the constraint to the specified writer
-
+
- Construct an ExactTypeConstraint for a given Type
-
- The expected Type.
-
-
-
- Test that an object is of the exact type specified
-
- The actual value.
- True if the tested object is of the exact type provided, otherwise false.
-
-
-
- Write the description of this constraint to a MessageWriter
-
- The MessageWriter to use
-
-
-
- InstanceOfTypeConstraint is used to test that an object
- is of the same type provided or derived from it.
-
-
-
-
- Construct an InstanceOfTypeConstraint for the type provided
-
- The expected Type
-
-
-
- Test whether an object is of the specified type or a derived type
-
- The object to be tested
- True if the object is of the provided type or derives from it, otherwise false.
-
-
-
- Write a description of this constraint to a MessageWriter
-
- The MessageWriter to use
-
-
-
- AssignableFromConstraint is used to test that an object
- can be assigned from a given Type.
-
-
-
-
- Construct an AssignableFromConstraint for the type provided
-
-
-
-
-
- Test whether an object can be assigned from the specified type
-
- The object to be tested
- True if the object can be assigned a value of the expected Type, otherwise false.
-
-
-
- Write a description of this constraint to a MessageWriter
-
- The MessageWriter to use
-
-
-
- AssignableToConstraint is used to test that an object
- can be assigned to a given Type.
-
-
-
-
- Construct an AssignableToConstraint for the type provided
-
-
-
-
-
- Test whether an object can be assigned to the specified type
-
- The object to be tested
- True if the object can be assigned a value of the expected Type, otherwise false.
-
-
-
- Write a description of this constraint to a MessageWriter
-
- The MessageWriter to use
-
-
-
- ConstraintBuilder maintains the stacks that are used in
- processing a ConstraintExpression. An OperatorStack
- is used to hold operators that are waiting for their
- operands to be reognized. a ConstraintStack holds
- input constraints as well as the results of each
- operator applied.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Appends the specified operator to the expression by first
- reducing the operator stack and then pushing the new
- operator on the stack.
-
- The operator to push.
-
-
-
- Appends the specified constraint to the expresson by pushing
- it on the constraint stack.
-
- The constraint to push.
-
-
-
- Sets the top operator right context.
-
- The right context.
-
-
-
- Reduces the operator stack until the topmost item
- precedence is greater than or equal to the target precedence.
-
- The target precedence.
-
-
-
- Resolves this instance, returning a Constraint. If the builder
- is not currently in a resolvable state, an exception is thrown.
-
- The resolved constraint
-
-
-
- Gets a value indicating whether this instance is resolvable.
-
-
- true if this instance is resolvable; otherwise, false.
-
-
-
-
- OperatorStack is a type-safe stack for holding ConstraintOperators
-
-
-
-
- Initializes a new instance of the class.
-
- The builder.
-
-
-
- Pushes the specified operator onto the stack.
-
- The op.
-
-
-
- Pops the topmost operator from the stack.
-
-
-
-
-
- Gets a value indicating whether this is empty.
-
- true if empty; otherwise, false.
-
-
-
- Gets the topmost operator without modifying the stack.
-
- The top.
-
-
-
- ConstraintStack is a type-safe stack for holding Constraints
-
-
-
-
- Initializes a new instance of the class.
-
- The builder.
-
-
-
- Pushes the specified constraint. As a side effect,
- the constraint's builder field is set to the
- ConstraintBuilder owning this stack.
-
- The constraint.
-
-
-
- Pops this topmost constrait from the stack.
- As a side effect, the constraint's builder
- field is set to null.
-
-
-
-
-
- Gets a value indicating whether this is empty.
-
- true if empty; otherwise, false.
-
-
-
- Gets the topmost constraint without modifying the stack.
-
- The topmost constraint
-
-
-
- ThrowsConstraint is used to test the exception thrown by
- a delegate by applying a constraint to it.
+ AttributeConstraint tests that a specified attribute is present
+ on a Type or other provider and that the value of the attribute
+ satisfies some other constraint.
@@ -476,75 +1203,160 @@
-
+
- Initializes a new instance of the class,
- using a constraint to be applied to the exception.
+ Constructs an AttributeConstraint for a specified attriute
+ Type and base constraint.
- A constraint to apply to the caught exception.
+
+
-
+
- Executes the code of the delegate and captures any exception.
- If a non-null base constraint was provided, it applies that
- constraint to the exception.
-
- A delegate representing the code to be tested
- True if an exception is thrown and the constraint succeeds, otherwise false
-
-
-
- Converts an ActualValueDelegate to a TestDelegate
- before calling the primary overload.
-
-
-
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- Write the actual value for a failing constraint test to a
- MessageWriter. The default implementation simply writes
- the raw value of actual, leaving it to the writer to
- perform any formatting.
-
- The writer on which the actual value is displayed
-
-
-
- Returns the string representation of this constraint
+ Determines whether the Type or other provider has the
+ expected attribute and if its value matches the
+ additional constraint specified.
-
+
- Get the actual exception thrown - used by Assert.Throws.
+ Writes a description of the attribute to the specified writer.
-
+
- ThrowsNothingConstraint tests that a delegate does not
- throw an exception.
+ Writes the actual value supplied to the specified writer.
-
+
+
+ Returns a string representation of the constraint.
+
+
+
+
+ BasicConstraint is the abstract base for constraints that
+ perform a simple comparison to a constant value.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected.
+ The description.
+
+
Test whether the constraint is satisfied by a given value
The value to be tested
- True if no exception is thrown, otherwise false
+ True for success, false for failure
-
+
Write the constraint description to a MessageWriter
The writer on which the description is displayed
-
+
+
+ NullConstraint tests that the actual value is null
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ TrueConstraint tests that the actual value is true
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ FalseConstraint tests that the actual value is false
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ NaNConstraint tests that the actual value is a double or float NaN
+
+
+
+
+ Test that the actual value is an NaN
+
+
+
+
+
+
+ Write the constraint description to a specified writer
+
+
+
+
+
+ BinaryConstraint is the abstract base of all constraints
+ that combine two other constraints in some fashion.
+
+
+
+
+ The first constraint being combined
+
+
+
+
+ The second constraint being combined
+
+
+
+
+ Construct a BinaryConstraint from two other constraints
+
+ The first constraint
+ The second constraint
+
+
+
+ AndConstraint succeeds only if both members succeed.
+
+
+
+
+ Create an AndConstraint from two other constraints
+
+ The first constraint
+ The second constraint
+
+
+
+ Apply both member constraints to an actual value, succeeding
+ succeeding only if both of them succeed.
+
+ The actual value
+ True if the constraints both succeeded
+
+
+
+ Write a description for this contraint to a MessageWriter
+
+ The MessageWriter to receive the description
+
+
Write the actual value for a failing constraint test to a
MessageWriter. The default implementation simply writes
@@ -553,6 +1365,32 @@
The writer on which the actual value is displayed
+
+
+ OrConstraint succeeds if either member succeeds
+
+
+
+
+ Create an OrConstraint from two other constraints
+
+ The first constraint
+ The second constraint
+
+
+
+ Apply the member constraints to an actual value, succeeding
+ succeeding as soon as one of them succeeds.
+
+ The actual value
+ True if either constraint succeeded
+
+
+
+ Write a description for this contraint to a MessageWriter
+
+ The MessageWriter to receive the description
+
CollectionConstraint is the abstract base class for
@@ -662,36 +1500,6 @@
Flag the constraint to ignore case and return self.
-
-
- CollectionTally counts (tallies) the number of
- occurences of each object in one or more enumerations.
-
-
-
-
- Construct a CollectionTally object from a comparer and a collection
-
-
-
-
- Try to remove an object from the tally
-
- The object to remove
- True if successful, false if the object was not found
-
-
-
- Try to remove a set of objects from the tally
-
- The objects to remove
- True if successful, false if any object was not found
-
-
-
- The number of objects remaining in the tally
-
-
EmptyCollectionConstraint tests whether a collection is empty.
@@ -849,7 +1657,7 @@
-
+
Returns the string representation of the constraint.
@@ -860,273 +1668,371 @@
If used performs a reverse comparison
-
+
- EmptyDirectoryConstraint is used to test that a directory is empty
+ CollectionTally counts (tallies) the number of
+ occurences of each object in one or more enumerations.
-
+
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- Write the actual value for a failing constraint test to a
- MessageWriter. The default implementation simply writes
- the raw value of actual, leaving it to the writer to
- perform any formatting.
-
- The writer on which the actual value is displayed
-
-
-
- SubDirectoryConstraint is used to test that one directory is a subdirectory of another.
+ Construct a CollectionTally object from a comparer and a collection
-
+
- Initializes a new instance of the class.
+ Try to remove an object from the tally
- The dir info.
+ The object to remove
+ True if successful, false if the object was not found
-
+
- Test whether the constraint is satisfied by a given value
+ Try to remove a set of objects from the tally
- The value to be tested
- True for success, false for failure
+ The objects to remove
+ True if successful, false if any object was not found
-
+
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- Builds a list of DirectoryInfo objects, recursing where necessary
-
- directory to recurse
- list of DirectoryInfo objects from the top level
-
-
-
- private method to determine whether a directory is within the path
-
- top-level directory to search
- directory to search for
- true if found, false if not
-
-
-
- Method to compare two DirectoryInfo objects
-
- first directory to compare
- second directory to compare
- true if equivalent, false if not
-
-
-
- PathConstraint serves as the abstract base of constraints
- that operate on paths and provides several helper methods.
+ The number of objects remaining in the tally
-
+
- The expected path used in the constraint
+ ComparisonAdapter class centralizes all comparisons of
+ values in NUnit, adapting to the use of any provided
+ IComparer, IComparer<T> or Comparison<T>
-
+
- Flag indicating whether a caseInsensitive comparison should be made
+ Returns a ComparisonAdapter that wraps an IComparer
-
+
- Construct a PathConstraint for a give expected path
-
- The expected path
-
-
-
- Returns the string representation of this constraint
+ Returns a ComparisonAdapter that wraps an IComparer<T>
-
+
- Canonicalize the provided path
+ Returns a ComparisonAdapter that wraps a Comparison<T>
-
- The path in standardized form
-
+
- Test whether two paths are the same
+ Compares two objects
- The first path
- The second path
+
+
+
+ Gets the default ComparisonAdapter, which wraps an
+ NUnitComparer object.
+
+
+
+
+ Construct a ComparisonAdapter for an IComparer
+
+
+
+
+ Compares two objects
+
+
+
-
+
- Test whether one path is the same as or under another path
-
- The first path - supposed to be the parent path
- The second path - supposed to be the child path
-
-
-
-
- Modifies the current instance to be case-insensitve
- and returns it.
+ Construct a default ComparisonAdapter
-
+
- Modifies the current instance to be case-sensitve
- and returns it.
+ ComparisonAdapter<T> extends ComparisonAdapter and
+ allows use of an IComparer<T> or Comparison<T>
+ to actually perform the comparison.
-
+
- Summary description for SamePathConstraint.
+ Construct a ComparisonAdapter for an IComparer<T>
-
+
- Initializes a new instance of the class.
+ Compare a Type T to an object
- The expected path
-
+
+
+ Construct a ComparisonAdapter for a Comparison<T>
+
+
+
+
+ Compare a Type T to an object
+
+
+
+
+ Abstract base class for constraints that compare values to
+ determine if one is greater than, equal to or less than
+ the other.
+
+
+
+
+ The value against which a comparison is to be made
+
+
+
+
+ If true, less than returns success
+
+
+
+
+ if true, equal returns success
+
+
+
+
+ if true, greater than returns success
+
+
+
+
+ The predicate used as a part of the description
+
+
+
+
+ ComparisonAdapter to be used in making the comparison
+
+
+
+
+ Initializes a new instance of the class.
+
+ The value against which to make a comparison.
+ if set to true less succeeds.
+ if set to true equal succeeds.
+ if set to true greater succeeds.
+ String used in describing the constraint.
+
+
Test whether the constraint is satisfied by a given value
The value to be tested
True for success, false for failure
-
+
Write the constraint description to a MessageWriter
The writer on which the description is displayed
-
+
- SamePathOrUnderConstraint tests that one path is under another
+ Modifies the constraint to use an IComparer and returns self
-
+
- Initializes a new instance of the class.
-
- The expected path
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- PropertyExistsConstraint tests that a named property
- exists on the object provided through Match.
-
- Originally, PropertyConstraint provided this feature
- in addition to making optional tests on the vaue
- of the property. The two constraints are now separate.
+ Modifies the constraint to use an IComparer<T> and returns self
-
+
- Initializes a new instance of the class.
+ Modifies the constraint to use a Comparison<T> and returns self
- The name of the property.
-
+
- Test whether the property exists for a given object
+ Tests whether a value is greater than the value supplied to its constructor
- The object to be tested
- True for success, false for failure
-
+
- Write the constraint description to a MessageWriter
+ Initializes a new instance of the class.
- The writer on which the description is displayed
+ The expected value.
-
+
- Write the actual value for a failing constraint test to a
- MessageWriter.
+ Tests whether a value is greater than or equal to the value supplied to its constructor
- The writer on which the actual value is displayed
-
+
- Returns the string representation of the constraint.
+ Initializes a new instance of the class.
+
+ The expected value.
+
+
+
+ Tests whether a value is less than the value supplied to its constructor
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected value.
+
+
+
+ Tests whether a value is less than or equal to the value supplied to its constructor
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected value.
+
+
+
+ Delegate used to delay evaluation of the actual value
+ to be used in evaluating a constraint
+
+
+
+
+ ConstraintBuilder maintains the stacks that are used in
+ processing a ConstraintExpression. An OperatorStack
+ is used to hold operators that are waiting for their
+ operands to be reognized. a ConstraintStack holds
+ input constraints as well as the results of each
+ operator applied.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Appends the specified operator to the expression by first
+ reducing the operator stack and then pushing the new
+ operator on the stack.
+
+ The operator to push.
+
+
+
+ Appends the specified constraint to the expresson by pushing
+ it on the constraint stack.
+
+ The constraint to push.
+
+
+
+ Sets the top operator right context.
+
+ The right context.
+
+
+
+ Reduces the operator stack until the topmost item
+ precedence is greater than or equal to the target precedence.
+
+ The target precedence.
+
+
+
+ Resolves this instance, returning a Constraint. If the builder
+ is not currently in a resolvable state, an exception is thrown.
+
+ The resolved constraint
+
+
+
+ Gets a value indicating whether this instance is resolvable.
+
+
+ true if this instance is resolvable; otherwise, false.
+
+
+
+
+ OperatorStack is a type-safe stack for holding ConstraintOperators
+
+
+
+
+ Initializes a new instance of the class.
+
+ The builder.
+
+
+
+ Pushes the specified operator onto the stack.
+
+ The op.
+
+
+
+ Pops the topmost operator from the stack.
-
+
- PropertyConstraint extracts a named property and uses
- its value as the actual value for a chained constraint.
+ Gets a value indicating whether this is empty.
+
+ true if empty; otherwise, false.
+
+
+
+ Gets the topmost operator without modifying the stack.
+
+ The top.
+
+
+
+ ConstraintStack is a type-safe stack for holding Constraints
-
+
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- The name.
- The constraint to apply to the property.
+ The builder.
-
+
- Test whether the constraint is satisfied by a given value
+ Pushes the specified constraint. As a side effect,
+ the constraint's builder field is set to the
+ ConstraintBuilder owning this stack.
- The value to be tested
- True for success, false for failure
+ The constraint.
-
+
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- Write the actual value for a failing constraint test to a
- MessageWriter. The default implementation simply writes
- the raw value of actual, leaving it to the writer to
- perform any formatting.
-
- The writer on which the actual value is displayed
-
-
-
- Returns the string representation of the constraint.
+ Pops this topmost constrait from the stack.
+ As a side effect, the constraint's builder
+ field is set to null.
+
+
+ Gets a value indicating whether this is empty.
+
+ true if empty; otherwise, false.
+
+
+
+ Gets the topmost constraint without modifying the stack.
+
+ The topmost constraint
+
ConstraintExpression represents a compound constraint in the
@@ -1435,6 +2341,12 @@
is the same as an expected path after canonicalization.
+
+
+ Returns a constraint that tests whether the path provided
+ is the same path or under an expected path after canonicalization.
+
+
Returns a constraint that tests whether the path provided
@@ -1555,1251 +2467,6 @@
Returns a constraint that tests whether a collection is ordered
-
-
- RangeConstraint tests whethe two values are within a
- specified range.
-
-
-
-
- Initializes a new instance of the class.
-
- From.
- To.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- Modifies the constraint to use an IComparer and returns self.
-
-
-
-
- Modifies the constraint to use an IComparer<T> and returns self.
-
-
-
-
- Modifies the constraint to use a Comparison<T> and returns self.
-
-
-
-
- EqualConstraint is able to compare an actual value with the
- expected value provided in its constructor. Two objects are
- considered equal if both are null, or if both have the same
- value. NUnit has special semantics for some object types.
-
-
-
-
- If true, strings in error messages will be clipped
-
-
-
-
- NUnitEqualityComparer used to test equality.
-
-
-
-
- Initializes a new instance of the class.
-
- The expected value.
-
-
-
- Flag the constraint to use a tolerance when determining equality.
-
- Tolerance value to be used
- Self.
-
-
-
- Flag the constraint to use the supplied IComparer object.
-
- The IComparer object to use.
- Self.
-
-
-
- Flag the constraint to use the supplied IComparer object.
-
- The IComparer object to use.
- Self.
-
-
-
- Flag the constraint to use the supplied IComparer object.
-
- The IComparer object to use.
- Self.
-
-
-
- Flag the constraint to use the supplied Comparison object.
-
- The IComparer object to use.
- Self.
-
-
-
- Flag the constraint to use the supplied IEqualityComparer object.
-
- The IComparer object to use.
- Self.
-
-
-
- Flag the constraint to use the supplied IEqualityComparer object.
-
- The IComparer object to use.
- Self.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write a failure message. Overridden to provide custom
- failure messages for EqualConstraint.
-
- The MessageWriter to write to
-
-
-
- Write description of this constraint
-
- The MessageWriter to write to
-
-
-
- Display the failure information for two collections that did not match.
-
- The MessageWriter on which to display
- The expected collection.
- The actual collection
- The depth of this failure in a set of nested collections
-
-
-
- Displays a single line showing the types and sizes of the expected
- and actual collections or arrays. If both are identical, the value is
- only shown once.
-
- The MessageWriter on which to display
- The expected collection or array
- The actual collection or array
- The indentation level for the message line
-
-
-
- Displays a single line showing the point in the expected and actual
- arrays at which the comparison failed. If the arrays have different
- structures or dimensions, both values are shown.
-
- The MessageWriter on which to display
- The expected array
- The actual array
- Index of the failure point in the underlying collections
- The indentation level for the message line
-
-
-
- Flag the constraint to ignore case and return self.
-
-
-
-
- Flag the constraint to suppress string clipping
- and return self.
-
-
-
-
- Flag the constraint to compare arrays as collections
- and return self.
-
-
-
-
- Switches the .Within() modifier to interpret its tolerance as
- a distance in representable values (see remarks).
-
- Self.
-
- Ulp stands for "unit in the last place" and describes the minimum
- amount a given value can change. For any integers, an ulp is 1 whole
- digit. For floating point values, the accuracy of which is better
- for smaller numbers and worse for larger numbers, an ulp depends
- on the size of the number. Using ulps for comparison of floating
- point results instead of fixed tolerances is safer because it will
- automatically compensate for the added inaccuracy of larger numbers.
-
-
-
-
- Switches the .Within() modifier to interpret its tolerance as
- a percentage that the actual values is allowed to deviate from
- the expected value.
-
- Self
-
-
-
- Causes the tolerance to be interpreted as a TimeSpan in days.
-
- Self
-
-
-
- Causes the tolerance to be interpreted as a TimeSpan in hours.
-
- Self
-
-
-
- Causes the tolerance to be interpreted as a TimeSpan in minutes.
-
- Self
-
-
-
- Causes the tolerance to be interpreted as a TimeSpan in seconds.
-
- Self
-
-
-
- Causes the tolerance to be interpreted as a TimeSpan in milliseconds.
-
- Self
-
-
-
- Causes the tolerance to be interpreted as a TimeSpan in clock ticks.
-
- Self
-
-
-
- NotConstraint negates the effect of some other constraint
-
-
-
-
- Initializes a new instance of the class.
-
- The base constraint to be negated.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for if the base constraint fails, false if it succeeds
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- Write the actual value for a failing constraint test to a MessageWriter.
-
- The writer on which the actual value is displayed
-
-
-
- AllItemsConstraint applies another constraint to each
- item in a collection, succeeding if they all succeed.
-
-
-
-
- Construct an AllItemsConstraint on top of an existing constraint
-
-
-
-
-
- Apply the item constraint to each item in the collection,
- failing if any item fails.
-
-
-
-
-
-
- Write a description of this constraint to a MessageWriter
-
-
-
-
-
- SomeItemsConstraint applies another constraint to each
- item in a collection, succeeding if any of them succeeds.
-
-
-
-
- Construct a SomeItemsConstraint on top of an existing constraint
-
-
-
-
-
- Apply the item constraint to each item in the collection,
- succeeding if any item succeeds.
-
-
-
-
-
-
- Write a description of this constraint to a MessageWriter
-
-
-
-
-
- NoItemConstraint applies another constraint to each
- item in a collection, failing if any of them succeeds.
-
-
-
-
- Construct a SomeItemsConstraint on top of an existing constraint
-
-
-
-
-
- Apply the item constraint to each item in the collection,
- failing if any item fails.
-
-
-
-
-
-
- Write a description of this constraint to a MessageWriter
-
-
-
-
-
- ContainsConstraint tests a whether a string contains a substring
- or a collection contains an object. It postpones the decision of
- which test to use until the type of the actual argument is known.
- This allows testing whether a string is contained in a collection
- or as a substring of another string using the same syntax.
-
-
-
-
- Initializes a new instance of the class.
-
- The expected.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- Flag the constraint to ignore case and return self.
-
-
-
-
- Static methods used in creating messages
-
-
-
-
- Static string used when strings are clipped
-
-
-
-
- Returns the representation of a type as used in NUnitLite.
- This is the same as Type.ToString() except for arrays,
- which are displayed with their declared sizes.
-
-
-
-
-
-
- Converts any control characters in a string
- to their escaped representation.
-
- The string to be converted
- The converted string
-
-
-
- Return the a string representation for a set of indices into an array
-
- Array of indices for which a string is needed
-
-
-
- Get an array of indices representing the point in a collection or
- array corresponding to a single int index into the collection.
-
- The collection to which the indices apply
- Index in the collection
- Array of indices
-
-
-
- Clip a string to a given length, starting at a particular offset, returning the clipped
- string with ellipses representing the removed parts
-
- The string to be clipped
- The maximum permitted length of the result string
- The point at which to start clipping
- The clipped string
-
-
-
- Clip the expected and actual strings in a coordinated fashion,
- so that they may be displayed together.
-
-
-
-
-
-
-
-
- Shows the position two strings start to differ. Comparison
- starts at the start index.
-
- The expected string
- The actual string
- The index in the strings at which comparison should start
- Boolean indicating whether case should be ignored
- -1 if no mismatch found, or the index where mismatch found
-
-
-
- BasicConstraint is the abstract base for constraints that
- perform a simple comparison to a constant value.
-
-
-
-
- Initializes a new instance of the class.
-
- The expected.
- The description.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- NullConstraint tests that the actual value is null
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- TrueConstraint tests that the actual value is true
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- FalseConstraint tests that the actual value is false
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- NaNConstraint tests that the actual value is a double or float NaN
-
-
-
-
- Test that the actual value is an NaN
-
-
-
-
-
-
- Write the constraint description to a specified writer
-
-
-
-
-
- MessageWriter is the abstract base for classes that write
- constraint descriptions and messages in some form. The
- class has separate methods for writing various components
- of a message, allowing implementations to tailor the
- presentation as needed.
-
-
-
-
- Construct a MessageWriter given a culture
-
-
-
-
- Method to write single line message with optional args, usually
- written to precede the general failure message.
-
- The message to be written
- Any arguments used in formatting the message
-
-
-
- Method to write single line message with optional args, usually
- written to precede the general failure message, at a givel
- indentation level.
-
- The indentation level of the message
- The message to be written
- Any arguments used in formatting the message
-
-
-
- Display Expected and Actual lines for a constraint. This
- is called by MessageWriter's default implementation of
- WriteMessageTo and provides the generic two-line display.
-
- The constraint that failed
-
-
-
- Display Expected and Actual lines for given values. This
- method may be called by constraints that need more control over
- the display of actual and expected values than is provided
- by the default implementation.
-
- The expected value
- The actual value causing the failure
-
-
-
- Display Expected and Actual lines for given values, including
- a tolerance value on the Expected line.
-
- The expected value
- The actual value causing the failure
- The tolerance within which the test was made
-
-
-
- Display the expected and actual string values on separate lines.
- If the mismatch parameter is >=0, an additional line is displayed
- line containing a caret that points to the mismatch point.
-
- The expected string value
- The actual string value
- The point at which the strings don't match or -1
- If true, case is ignored in locating the point where the strings differ
- If true, the strings should be clipped to fit the line
-
-
-
- Writes the text for a connector.
-
- The connector.
-
-
-
- Writes the text for a predicate.
-
- The predicate.
-
-
-
- Writes the text for an expected value.
-
- The expected value.
-
-
-
- Writes the text for a modifier
-
- The modifier.
-
-
-
- Writes the text for an actual value.
-
- The actual value.
-
-
-
- Writes the text for a generalized value.
-
- The value.
-
-
-
- Writes the text for a collection value,
- starting at a particular point, to a max length
-
- The collection containing elements to write.
- The starting point of the elements to write
- The maximum number of elements to write
-
-
-
- Abstract method to get the max line length
-
-
-
-
- Modes in which the tolerance value for a comparison can
- be interpreted.
-
-
-
-
- The tolerance was created with a value, without specifying
- how the value would be used. This is used to prevent setting
- the mode more than once and is generally changed to Linear
- upon execution of the test.
-
-
-
-
- The tolerance is used as a numeric range within which
- two compared values are considered to be equal.
-
-
-
-
- Interprets the tolerance as the percentage by which
- the two compared values my deviate from each other.
-
-
-
-
- Compares two values based in their distance in
- representable numbers.
-
-
-
-
- The Tolerance class generalizes the notion of a tolerance
- within which an equality test succeeds. Normally, it is
- used with numeric types, but it can be used with any
- type that supports taking a difference between two
- objects and comparing that difference to a value.
-
-
-
-
- Constructs a linear tolerance of a specdified amount
-
-
-
-
- Constructs a tolerance given an amount and ToleranceMode
-
-
-
-
- Tests that the current Tolerance is linear with a
- numeric value, throwing an exception if it is not.
-
-
-
-
- Returns an empty Tolerance object, equivalent to
- specifying an exact match.
-
-
-
-
- Gets the ToleranceMode for the current Tolerance
-
-
-
-
- Gets the value of the current Tolerance instance.
-
-
-
-
- Returns a new tolerance, using the current amount as a percentage.
-
-
-
-
- Returns a new tolerance, using the current amount in Ulps.
-
-
-
-
- Returns a new tolerance with a TimeSpan as the amount, using
- the current amount as a number of days.
-
-
-
-
- Returns a new tolerance with a TimeSpan as the amount, using
- the current amount as a number of hours.
-
-
-
-
- Returns a new tolerance with a TimeSpan as the amount, using
- the current amount as a number of minutes.
-
-
-
-
- Returns a new tolerance with a TimeSpan as the amount, using
- the current amount as a number of seconds.
-
-
-
-
- Returns a new tolerance with a TimeSpan as the amount, using
- the current amount as a number of milliseconds.
-
-
-
-
- Returns a new tolerance with a TimeSpan as the amount, using
- the current amount as a number of clock ticks.
-
-
-
-
- Returns true if the current tolerance is empty.
-
-
-
-
- The Numerics class contains common operations on numeric values.
-
-
-
-
- Checks the type of the object, returning true if
- the object is a numeric type.
-
- The object to check
- true if the object is a numeric type
-
-
-
- Checks the type of the object, returning true if
- the object is a floating point numeric type.
-
- The object to check
- true if the object is a floating point numeric type
-
-
-
- Checks the type of the object, returning true if
- the object is a fixed point numeric type.
-
- The object to check
- true if the object is a fixed point numeric type
-
-
-
- Test two numeric values for equality, performing the usual numeric
- conversions and using a provided or default tolerance. If the tolerance
- provided is Empty, this method may set it to a default tolerance.
-
- The expected value
- The actual value
- A reference to the tolerance in effect
- True if the values are equal
-
-
-
- Compare two numeric values, performing the usual numeric conversions.
-
- The expected value
- The actual value
- The relationship of the values to each other
-
-
-
- EmptyConstraint tests a whether a string or collection is empty,
- postponing the decision about which test is applied until the
- type of the actual argument is known.
-
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- StringConstraint is the abstract base for constraints
- that operate on strings. It supports the IgnoreCase
- modifier for string operations.
-
-
-
-
- The expected value
-
-
-
-
- Indicates whether tests should be case-insensitive
-
-
-
-
- Constructs a StringConstraint given an expected value
-
- The expected value
-
-
-
- Modify the constraint to ignore case in matching.
-
-
-
-
- EmptyStringConstraint tests whether a string is empty.
-
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- NullEmptyStringConstraint tests whether a string is either null or empty.
-
-
-
-
- Constructs a new NullOrEmptyStringConstraint
-
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- SubstringConstraint can test whether a string contains
- the expected substring.
-
-
-
-
- Initializes a new instance of the class.
-
- The expected.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- StartsWithConstraint can test whether a string starts
- with an expected substring.
-
-
-
-
- Initializes a new instance of the class.
-
- The expected string
-
-
-
- Test whether the constraint is matched by the actual value.
- This is a template method, which calls the IsMatch method
- of the derived class.
-
-
-
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- EndsWithConstraint can test whether a string ends
- with an expected substring.
-
-
-
-
- Initializes a new instance of the class.
-
- The expected string
-
-
-
- Test whether the constraint is matched by the actual value.
- This is a template method, which calls the IsMatch method
- of the derived class.
-
-
-
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- RegexConstraint can test whether a string matches
- the pattern provided.
-
-
-
-
- Initializes a new instance of the class.
-
- The pattern.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- Abstract base class for constraints that compare values to
- determine if one is greater than, equal to or less than
- the other.
-
-
-
-
- The value against which a comparison is to be made
-
-
-
-
- If true, less than returns success
-
-
-
-
- if true, equal returns success
-
-
-
-
- if true, greater than returns success
-
-
-
-
- The predicate used as a part of the description
-
-
-
-
- ComparisonAdapter to be used in making the comparison
-
-
-
-
- Initializes a new instance of the class.
-
- The value against which to make a comparison.
- if set to true less succeeds.
- if set to true equal succeeds.
- if set to true greater succeeds.
- String used in describing the constraint.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- Modifies the constraint to use an IComparer and returns self
-
-
-
-
- Modifies the constraint to use an IComparer<T> and returns self
-
-
-
-
- Modifies the constraint to use a Comparison<T> and returns self
-
-
-
-
- Tests whether a value is greater than the value supplied to its constructor
-
-
-
-
- Initializes a new instance of the class.
-
- The expected value.
-
-
-
- Tests whether a value is greater than or equal to the value supplied to its constructor
-
-
-
-
- Initializes a new instance of the class.
-
- The expected value.
-
-
-
- Tests whether a value is less than the value supplied to its constructor
-
-
-
-
- Initializes a new instance of the class.
-
- The expected value.
-
-
-
- Tests whether a value is less than or equal to the value supplied to its constructor
-
-
-
-
- Initializes a new instance of the class.
-
- The expected value.
-
-
-
- SameAsConstraint tests whether an object is identical to
- the object passed to its constructor
-
-
-
-
- Initializes a new instance of the class.
-
- The expected object.
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- BinaryConstraint is the abstract base of all constraints
- that combine two other constraints in some fashion.
-
-
-
-
- The first constraint being combined
-
-
-
-
- The second constraint being combined
-
-
-
-
- Construct a BinaryConstraint from two other constraints
-
- The first constraint
- The second constraint
-
-
-
- AndConstraint succeeds only if both members succeed.
-
-
-
-
- Create an AndConstraint from two other constraints
-
- The first constraint
- The second constraint
-
-
-
- Apply both member constraints to an actual value, succeeding
- succeeding only if both of them succeed.
-
- The actual value
- True if the constraints both succeeded
-
-
-
- Write a description for this contraint to a MessageWriter
-
- The MessageWriter to receive the description
-
-
-
- Write the actual value for a failing constraint test to a
- MessageWriter. The default implementation simply writes
- the raw value of actual, leaving it to the writer to
- perform any formatting.
-
- The writer on which the actual value is displayed
-
-
-
- OrConstraint succeeds if either member succeeds
-
-
-
-
- Create an OrConstraint from two other constraints
-
- The first constraint
- The second constraint
-
-
-
- Apply the member constraints to an actual value, succeeding
- succeeding as soon as one of them succeeds.
-
- The actual value
- True if either constraint succeeded
-
-
-
- Write a description for this contraint to a MessageWriter
-
- The MessageWriter to receive the description
-
Helper class with properties and methods that supply
@@ -3044,6 +2711,12 @@
is the same as an expected path after canonicalization.
+
+
+ Returns a constraint that tests whether the path provided
+ is the same path or under an expected path after canonicalization.
+
+
Returns a constraint that tests whether the path provided
@@ -3159,252 +2832,6 @@
Returns a constraint that tests whether a collection is ordered
-
-
- Applies a delay to the match so that a match can be evaluated in the future.
-
-
-
-
- Creates a new DelayedConstraint
-
- The inner constraint two decorate
- The time interval after which the match is performed
- If the value of is less than 0
-
-
-
- Creates a new DelayedConstraint
-
- The inner constraint two decorate
- The time interval after which the match is performed
- The time interval used for polling
- If the value of is less than 0
-
-
-
- Test whether the constraint is satisfied by a given value
-
- The value to be tested
- True for if the base constraint fails, false if it succeeds
-
-
-
- Test whether the constraint is satisfied by a delegate
-
- The delegate whose value is to be tested
- True for if the base constraint fails, false if it succeeds
-
-
-
- Test whether the constraint is satisfied by a given reference.
- Overridden to wait for the specified delay period before
- calling the base constraint with the dereferenced value.
-
- A reference to the value to be tested
- True for success, false for failure
-
-
-
- Write the constraint description to a MessageWriter
-
- The writer on which the description is displayed
-
-
-
- Write the actual value for a failing constraint test to a MessageWriter.
-
- The writer on which the actual value is displayed
-
-
-
- Returns the string representation of the constraint.
-
-
-
-
- NUnitComparer encapsulates NUnit's default behavior
- in comparing two objects.
-
-
-
-
- Compares two objects
-
-
-
-
-
-
-
- Returns the default NUnitComparer.
-
-
-
-
- Delegate used to delay evaluation of the actual value
- to be used in evaluating a constraint
-
-
-
-
- NUnitEqualityComparer encapsulates NUnit's handling of
- equality tests between objects.
-
-
-
-
- If true, all string comparisons will ignore case
-
-
-
-
- If true, arrays will be treated as collections, allowing
- those of different dimensions to be compared
-
-
-
-
- If non-zero, equality comparisons within the specified
- tolerance will succeed.
-
-
-
-
- Comparison object used in comparisons for some constraints.
-
-
-
-
- Compares two objects for equality.
-
-
-
-
- Helper method to compare two arrays
-
-
-
-
- Method to compare two DirectoryInfo objects
-
- first directory to compare
- second directory to compare
- true if equivalent, false if not
-
-
-
- Returns the default NUnitEqualityComparer
-
-
-
-
- Gets and sets a flag indicating whether case should
- be ignored in determining equality.
-
-
-
-
- Gets and sets a flag indicating that arrays should be
- compared as collections, without regard to their shape.
-
-
-
-
- Gets and sets an external comparer to be used to
- test for equality. It is applied to members of
- collections, in place of NUnit's own logic.
-
-
-
-
- Gets and sets a tolerance used to compare objects of
- certin types.
-
-
-
-
- Gets the list of failure points for the last Match performed.
-
-
-
-
- ComparisonAdapter class centralizes all comparisons of
- values in NUnit, adapting to the use of any provided
- IComparer, IComparer<T> or Comparison<T>
-
-
-
-
- Returns a ComparisonAdapter that wraps an IComparer
-
-
-
-
- Returns a ComparisonAdapter that wraps an IComparer<T>
-
-
-
-
- Returns a ComparisonAdapter that wraps a Comparison<T>
-
-
-
-
- Compares two objects
-
-
-
-
- Gets the default ComparisonAdapter, which wraps an
- NUnitComparer object.
-
-
-
-
- Construct a ComparisonAdapter for an IComparer
-
-
-
-
- Compares two objects
-
-
-
-
-
-
-
- Construct a default ComparisonAdapter
-
-
-
-
- ComparisonAdapter<T> extends ComparisonAdapter and
- allows use of an IComparer<T> or Comparison<T>
- to actually perform the comparison.
-
-
-
-
- Construct a ComparisonAdapter for an IComparer<T>
-
-
-
-
- Compare a Type T to an object
-
-
-
-
- Construct a ComparisonAdapter for a Comparison<T>
-
-
-
-
- Compare a Type T to an object
-
-
The ConstraintOperator class is used internally by a
@@ -3690,26 +3117,155 @@
Apply the operator to produce an OrConstraint
-
+
- BinarySerializableConstraint tests whether
- an object is serializable in binary format.
+ ContainsConstraint tests a whether a string contains a substring
+ or a collection contains an object. It postpones the decision of
+ which test to use until the type of the actual argument is known.
+ This allows testing whether a string is contained in a collection
+ or as a substring of another string using the same syntax.
-
+
+
+ Initializes a new instance of the class.
+
+ The expected.
+
+
Test whether the constraint is satisfied by a given value
The value to be tested
True for success, false for failure
-
+
Write the constraint description to a MessageWriter
The writer on which the description is displayed
-
+
+
+ Flag the constraint to use the supplied IComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied IComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied Comparison object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied IEqualityComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied IEqualityComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to ignore case and return self.
+
+
+
+
+ Applies a delay to the match so that a match can be evaluated in the future.
+
+
+
+
+ Creates a new DelayedConstraint
+
+ The inner constraint two decorate
+ The time interval after which the match is performed
+ If the value of is less than 0
+
+
+
+ Creates a new DelayedConstraint
+
+ The inner constraint two decorate
+ The time interval after which the match is performed
+ The time interval used for polling
+ If the value of is less than 0
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for if the base constraint fails, false if it succeeds
+
+
+
+ Test whether the constraint is satisfied by a delegate
+
+ The delegate whose value is to be tested
+ True for if the base constraint fails, false if it succeeds
+
+
+
+ Test whether the constraint is satisfied by a given reference.
+ Overridden to wait for the specified delay period before
+ calling the base constraint with the dereferenced value.
+
+ A reference to the value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Write the actual value for a failing constraint test to a MessageWriter.
+
+ The writer on which the actual value is displayed
+
+
+
+ Returns the string representation of the constraint.
+
+
+
+
+ EmptyDirectoryConstraint is used to test that a directory is empty
+
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
Write the actual value for a failing constraint test to a
MessageWriter. The default implementation simply writes
@@ -3718,82 +3274,227 @@
The writer on which the actual value is displayed
-
+
- Returns the string representation
+ EmptyConstraint tests a whether a string or collection is empty,
+ postponing the decision about which test is applied until the
+ type of the actual argument is known.
-
-
- BinarySerializableConstraint tests whether
- an object is serializable in binary format.
-
-
-
+
Test whether the constraint is satisfied by a given value
The value to be tested
True for success, false for failure
-
+
Write the constraint description to a MessageWriter
The writer on which the description is displayed
-
+
- Write the actual value for a failing constraint test to a
- MessageWriter. The default implementation simply writes
- the raw value of actual, leaving it to the writer to
- perform any formatting.
-
- The writer on which the actual value is displayed
-
-
-
- Returns the string representation of this constraint
+ EqualConstraint is able to compare an actual value with the
+ expected value provided in its constructor. Two objects are
+ considered equal if both are null, or if both have the same
+ value. NUnit has special semantics for some object types.
-
+
- ResolvableConstraintExpression is used to represent a compound
- constraint being constructed at a point where the last operator
- may either terminate the expression or may have additional
- qualifying constraints added to it.
-
- It is used, for example, for a Property element or for
- an Exception element, either of which may be optionally
- followed by constraints that apply to the property or
- exception.
+ If true, strings in error messages will be clipped
-
+
- Create a new instance of ResolvableConstraintExpression
+ NUnitEqualityComparer used to test equality.
-
+
- Create a new instance of ResolvableConstraintExpression,
- passing in a pre-populated ConstraintBuilder.
+ Initializes a new instance of the class.
+
+ The expected value.
+
+
+
+ Flag the constraint to use a tolerance when determining equality.
+
+ Tolerance value to be used
+ Self.
+
+
+
+ Flag the constraint to use the supplied IComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied IComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied IComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied Comparison object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied IEqualityComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied IEqualityComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write a failure message. Overridden to provide custom
+ failure messages for EqualConstraint.
+
+ The MessageWriter to write to
+
+
+
+ Write description of this constraint
+
+ The MessageWriter to write to
+
+
+
+ Display the failure information for two collections that did not match.
+
+ The MessageWriter on which to display
+ The expected collection.
+ The actual collection
+ The depth of this failure in a set of nested collections
+
+
+
+ Displays a single line showing the types and sizes of the expected
+ and actual collections or arrays. If both are identical, the value is
+ only shown once.
+
+ The MessageWriter on which to display
+ The expected collection or array
+ The actual collection or array
+ The indentation level for the message line
+
+
+
+ Displays a single line showing the point in the expected and actual
+ arrays at which the comparison failed. If the arrays have different
+ structures or dimensions, both values are shown.
+
+ The MessageWriter on which to display
+ The expected array
+ The actual array
+ Index of the failure point in the underlying collections
+ The indentation level for the message line
+
+
+
+ Flag the constraint to ignore case and return self.
-
+
- Resolve the current expression to a Constraint
+ Flag the constraint to suppress string clipping
+ and return self.
-
+
- Appends an And Operator to the expression
+ Flag the constraint to compare arrays as collections
+ and return self.
-
+
- Appends an Or operator to the expression.
+ Switches the .Within() modifier to interpret its tolerance as
+ a distance in representable values (see remarks).
+ Self.
+
+ Ulp stands for "unit in the last place" and describes the minimum
+ amount a given value can change. For any integers, an ulp is 1 whole
+ digit. For floating point values, the accuracy of which is better
+ for smaller numbers and worse for larger numbers, an ulp depends
+ on the size of the number. Using ulps for comparison of floating
+ point results instead of fixed tolerances is safer because it will
+ automatically compensate for the added inaccuracy of larger numbers.
+
+
+
+
+ Switches the .Within() modifier to interpret its tolerance as
+ a percentage that the actual values is allowed to deviate from
+ the expected value.
+
+ Self
+
+
+
+ Causes the tolerance to be interpreted as a TimeSpan in days.
+
+ Self
+
+
+
+ Causes the tolerance to be interpreted as a TimeSpan in hours.
+
+ Self
+
+
+
+ Causes the tolerance to be interpreted as a TimeSpan in minutes.
+
+ Self
+
+
+
+ Causes the tolerance to be interpreted as a TimeSpan in seconds.
+
+ Self
+
+
+
+ Causes the tolerance to be interpreted as a TimeSpan in milliseconds.
+
+ Self
+
+
+
+ Causes the tolerance to be interpreted as a TimeSpan in clock ticks.
+
+ Self
@@ -3832,67 +3533,6 @@
Returns an EqualityAdapter that wraps a Comparison<T>.
-
-
- AttributeExistsConstraint tests for the presence of a
- specified attribute on a Type.
-
-
-
-
- Constructs an AttributeExistsConstraint for a specific attribute Type
-
-
-
-
-
- Tests whether the object provides the expected attribute.
-
- A Type, MethodInfo, or other ICustomAttributeProvider
- True if the expected attribute is present, otherwise false
-
-
-
- Writes the description of the constraint to the specified writer
-
-
-
-
- AttributeConstraint tests that a specified attribute is present
- on a Type or other provider and that the value of the attribute
- satisfies some other constraint.
-
-
-
-
- Constructs an AttributeConstraint for a specified attriute
- Type and base constraint.
-
-
-
-
-
-
- Determines whether the Type or other provider has the
- expected attribute and if its value matches the
- additional constraint specified.
-
-
-
-
- Writes a description of the attribute to the specified writer.
-
-
-
-
- Writes the actual value supplied to the specified writer.
-
-
-
-
- Returns a string representation of the constraint.
-
-
Helper routines for working with floating point numbers
@@ -4035,6 +3675,512 @@
The union's value as an unsigned long
+
+
+ MessageWriter is the abstract base for classes that write
+ constraint descriptions and messages in some form. The
+ class has separate methods for writing various components
+ of a message, allowing implementations to tailor the
+ presentation as needed.
+
+
+
+
+ Construct a MessageWriter given a culture
+
+
+
+
+ Method to write single line message with optional args, usually
+ written to precede the general failure message.
+
+ The message to be written
+ Any arguments used in formatting the message
+
+
+
+ Method to write single line message with optional args, usually
+ written to precede the general failure message, at a givel
+ indentation level.
+
+ The indentation level of the message
+ The message to be written
+ Any arguments used in formatting the message
+
+
+
+ Display Expected and Actual lines for a constraint. This
+ is called by MessageWriter's default implementation of
+ WriteMessageTo and provides the generic two-line display.
+
+ The constraint that failed
+
+
+
+ Display Expected and Actual lines for given values. This
+ method may be called by constraints that need more control over
+ the display of actual and expected values than is provided
+ by the default implementation.
+
+ The expected value
+ The actual value causing the failure
+
+
+
+ Display Expected and Actual lines for given values, including
+ a tolerance value on the Expected line.
+
+ The expected value
+ The actual value causing the failure
+ The tolerance within which the test was made
+
+
+
+ Display the expected and actual string values on separate lines.
+ If the mismatch parameter is >=0, an additional line is displayed
+ line containing a caret that points to the mismatch point.
+
+ The expected string value
+ The actual string value
+ The point at which the strings don't match or -1
+ If true, case is ignored in locating the point where the strings differ
+ If true, the strings should be clipped to fit the line
+
+
+
+ Writes the text for a connector.
+
+ The connector.
+
+
+
+ Writes the text for a predicate.
+
+ The predicate.
+
+
+
+ Writes the text for an expected value.
+
+ The expected value.
+
+
+
+ Writes the text for a modifier
+
+ The modifier.
+
+
+
+ Writes the text for an actual value.
+
+ The actual value.
+
+
+
+ Writes the text for a generalized value.
+
+ The value.
+
+
+
+ Writes the text for a collection value,
+ starting at a particular point, to a max length
+
+ The collection containing elements to write.
+ The starting point of the elements to write
+ The maximum number of elements to write
+
+
+
+ Abstract method to get the max line length
+
+
+
+
+ Static methods used in creating messages
+
+
+
+
+ Static string used when strings are clipped
+
+
+
+
+ Returns the representation of a type as used in NUnitLite.
+ This is the same as Type.ToString() except for arrays,
+ which are displayed with their declared sizes.
+
+
+
+
+
+
+ Converts any control characters in a string
+ to their escaped representation.
+
+ The string to be converted
+ The converted string
+
+
+
+ Return the a string representation for a set of indices into an array
+
+ Array of indices for which a string is needed
+
+
+
+ Get an array of indices representing the point in a collection or
+ array corresponding to a single int index into the collection.
+
+ The collection to which the indices apply
+ Index in the collection
+ Array of indices
+
+
+
+ Clip a string to a given length, starting at a particular offset, returning the clipped
+ string with ellipses representing the removed parts
+
+ The string to be clipped
+ The maximum permitted length of the result string
+ The point at which to start clipping
+ The clipped string
+
+
+
+ Clip the expected and actual strings in a coordinated fashion,
+ so that they may be displayed together.
+
+
+
+
+
+
+
+
+ Shows the position two strings start to differ. Comparison
+ starts at the start index.
+
+ The expected string
+ The actual string
+ The index in the strings at which comparison should start
+ Boolean indicating whether case should be ignored
+ -1 if no mismatch found, or the index where mismatch found
+
+
+
+ The Numerics class contains common operations on numeric values.
+
+
+
+
+ Checks the type of the object, returning true if
+ the object is a numeric type.
+
+ The object to check
+ true if the object is a numeric type
+
+
+
+ Checks the type of the object, returning true if
+ the object is a floating point numeric type.
+
+ The object to check
+ true if the object is a floating point numeric type
+
+
+
+ Checks the type of the object, returning true if
+ the object is a fixed point numeric type.
+
+ The object to check
+ true if the object is a fixed point numeric type
+
+
+
+ Test two numeric values for equality, performing the usual numeric
+ conversions and using a provided or default tolerance. If the tolerance
+ provided is Empty, this method may set it to a default tolerance.
+
+ The expected value
+ The actual value
+ A reference to the tolerance in effect
+ True if the values are equal
+
+
+
+ Compare two numeric values, performing the usual numeric conversions.
+
+ The expected value
+ The actual value
+ The relationship of the values to each other
+
+
+
+ NUnitComparer encapsulates NUnit's default behavior
+ in comparing two objects.
+
+
+
+
+ Compares two objects
+
+
+
+
+
+
+
+ Returns the default NUnitComparer.
+
+
+
+
+ NUnitEqualityComparer encapsulates NUnit's handling of
+ equality tests between objects.
+
+
+
+
+ If true, all string comparisons will ignore case
+
+
+
+
+ If true, arrays will be treated as collections, allowing
+ those of different dimensions to be compared
+
+
+
+
+ If non-zero, equality comparisons within the specified
+ tolerance will succeed.
+
+
+
+
+ Comparison object used in comparisons for some constraints.
+
+
+
+
+ Compares two objects for equality.
+
+
+
+
+ Helper method to compare two arrays
+
+
+
+
+ Method to compare two DirectoryInfo objects
+
+ first directory to compare
+ second directory to compare
+ true if equivalent, false if not
+
+
+
+ Returns the default NUnitEqualityComparer
+
+
+
+
+ Gets and sets a flag indicating whether case should
+ be ignored in determining equality.
+
+
+
+
+ Gets and sets a flag indicating that arrays should be
+ compared as collections, without regard to their shape.
+
+
+
+
+ Gets and sets an external comparer to be used to
+ test for equality. It is applied to members of
+ collections, in place of NUnit's own logic.
+
+
+
+
+ Gets and sets a tolerance used to compare objects of
+ certin types.
+
+
+
+
+ Gets the list of failure points for the last Match performed.
+
+
+
+
+ PathConstraint serves as the abstract base of constraints
+ that operate on paths and provides several helper methods.
+
+
+
+
+ The expected path used in the constraint
+
+
+
+
+ The actual path being tested
+
+
+
+
+ Flag indicating whether a caseInsensitive comparison should be made
+
+
+
+
+ Construct a PathConstraint for a give expected path
+
+ The expected path
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Returns true if the expected path and actual path match
+
+
+
+
+ Returns the string representation of this constraint
+
+
+
+
+ Canonicalize the provided path
+
+
+ The path in standardized form
+
+
+
+ Test whether two paths are the same
+
+ The first path
+ The second path
+ Indicates whether case should be ignored
+
+
+
+
+ Test whether one path is under another path
+
+ The first path - supposed to be the parent path
+ The second path - supposed to be the child path
+ Indicates whether case should be ignored
+
+
+
+
+ Test whether one path is the same as or under another path
+
+ The first path - supposed to be the parent path
+ The second path - supposed to be the child path
+
+
+
+
+ Modifies the current instance to be case-insensitve
+ and returns it.
+
+
+
+
+ Modifies the current instance to be case-sensitve
+ and returns it.
+
+
+
+
+ Summary description for SamePathConstraint.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected path
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The expected path
+ The actual path
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ SubPathConstraint tests that the actual path is under the expected path
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected path
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The expected path
+ The actual path
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ SamePathOrUnderConstraint tests that one path is under another
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected path
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The expected path
+ The actual path
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
Predicate constraint wraps a Predicate in a constraint,
@@ -4057,585 +4203,949 @@
Writes the description to a MessageWriter
-
+
- The TestCaseData class represents a set of arguments
- and other parameter info to be used for a parameterized
- test case. It provides a number of instance modifiers
- for use in initializing the test case.
-
- Note: Instance modifiers are getters that return
- the same instance after modifying it's state.
+ NotConstraint negates the effect of some other constraint
-
+
- The ITestCaseData interface is implemented by a class
- that is able to return complete testcases for use by
- a parameterized test method.
-
- NOTE: This interface is used in both the framework
- and the core, even though that results in two different
- types. However, sharing the source code guarantees that
- the various implementations will be compatible and that
- the core is able to reflect successfully over the
- framework implementations of ITestCaseData.
+ Initializes a new instance of the class.
+
+ The base constraint to be negated.
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for if the base constraint fails, false if it succeeds
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Write the actual value for a failing constraint test to a MessageWriter.
+
+ The writer on which the actual value is displayed
+
+
+
+ AllItemsConstraint applies another constraint to each
+ item in a collection, succeeding if they all succeed.
-
+
- Gets the argument list to be provided to the test
+ Construct an AllItemsConstraint on top of an existing constraint
+
-
+
- Gets the expected result
-
-
-
-
- Gets the expected exception Type
-
-
-
-
- Gets the FullName of the expected exception
-
-
-
-
- Gets the name to be used for the test
-
-
-
-
- Gets the description of the test
-
-
-
-
- Gets a value indicating whether this is ignored.
-
- true if ignored; otherwise, false.
-
-
-
- Gets the ignore reason.
-
- The ignore reason.
-
-
-
- The argument list to be provided to the test
-
-
-
-
- The expected result to be returned
-
-
-
-
- The expected exception Type
-
-
-
-
- The FullName of the expected exception
-
-
-
-
- The name to be used for the test
-
-
-
-
- The description of the test
-
-
-
-
- A dictionary of properties, used to add information
- to tests without requiring the class to change.
-
-
-
-
- If true, indicates that the test case is to be ignored
-
-
-
-
- The reason for ignoring a test case
-
-
-
-
- Initializes a new instance of the class.
-
- The arguments.
-
-
-
- Initializes a new instance of the class.
-
- The argument.
-
-
-
- Initializes a new instance of the class.
-
- The first argument.
- The second argument.
-
-
-
- Initializes a new instance of the class.
-
- The first argument.
- The second argument.
- The third argument.
-
-
-
- Sets the expected result for the test
-
- The expected result
- A modified TestCaseData
-
-
-
- Sets the expected exception type for the test
-
- Type of the expected exception.
- The modified TestCaseData instance
-
-
-
- Sets the expected exception type for the test
-
- FullName of the expected exception.
- The modified TestCaseData instance
-
-
-
- Sets the name of the test case
-
- The modified TestCaseData instance
-
-
-
- Sets the description for the test case
- being constructed.
-
- The description.
- The modified TestCaseData instance.
-
-
-
- Applies a category to the test
-
-
-
-
-
-
- Applies a named property to the test
-
-
-
-
-
-
-
- Applies a named property to the test
-
-
-
-
-
-
-
- Applies a named property to the test
-
-
-
-
-
-
-
- Ignores this TestCase.
-
-
-
-
-
- Ignores this TestCase, specifying the reason.
-
- The reason.
-
-
-
-
- Gets the argument list to be provided to the test
-
-
-
-
- Gets the expected result
-
-
-
-
- Gets the expected exception Type
-
-
-
-
- Gets the FullName of the expected exception
-
-
-
-
- Gets the name to be used for the test
-
-
-
-
- Gets the description of the test
-
-
-
-
- Gets a value indicating whether this is ignored.
-
- true if ignored; otherwise, false.
-
-
-
- Gets the ignore reason.
-
- The ignore reason.
-
-
-
- Gets a list of categories associated with this test.
-
-
-
-
- Gets the property dictionary for this test
-
-
-
-
- FactoryAttribute indicates the source to be used to
- provide test cases for a test method.
-
-
-
-
- Construct with the name of the factory - for use with languages
- that don't support params arrays.
-
- An array of the names of the factories that will provide data
-
-
-
- Construct with a Type and name - for use with languages
- that don't support params arrays.
-
- The Type that will provide data
- The name of the method, property or field that will provide data
-
-
-
- The name of a the method, property or fiend to be used as a source
-
-
-
-
- A Type to be used as a source
-
-
-
-
- Helper class with properties and methods that supply
- a number of constraints used in Asserts.
-
-
-
-
- Returns a new PropertyConstraintExpression, which will either
- test for the existence of the named property on the object
- being tested or apply any following constraint to that property.
-
-
-
-
- Returns a new AttributeConstraint checking for the
- presence of a particular attribute on an object.
-
-
-
-
- Returns a new AttributeConstraint checking for the
- presence of a particular attribute on an object.
-
-
-
-
- Returns a new CollectionContainsConstraint checking for the
- presence of a particular object in the collection.
-
-
-
-
- Returns a ConstraintExpression that negates any
- following constraint.
-
-
-
-
- Returns a ConstraintExpression, which will apply
- the following constraint to all members of a collection,
- succeeding if all of them succeed.
-
-
-
-
- Returns a ConstraintExpression, which will apply
- the following constraint to all members of a collection,
- succeeding if at least one of them succeeds.
-
-
-
-
- Returns a ConstraintExpression, which will apply
- the following constraint to all members of a collection,
- succeeding if all of them fail.
-
-
-
-
- Returns a new ConstraintExpression, which will apply the following
- constraint to the Length property of the object being tested.
-
-
-
-
- Returns a new ConstraintExpression, which will apply the following
- constraint to the Count property of the object being tested.
-
-
-
-
- Returns a new ConstraintExpression, which will apply the following
- constraint to the Message property of the object being tested.
-
-
-
-
- Returns a new ConstraintExpression, which will apply the following
- constraint to the InnerException property of the object being tested.
-
-
-
-
- The List class is a helper class with properties and methods
- that supply a number of constraints used with lists and collections.
-
-
-
-
- List.Map returns a ListMapper, which can be used to map
- the original collection to another collection.
+ Apply the item constraint to each item in the collection,
+ failing if any item fails.
-
+
- Enumeration indicating how the expected message parameter is to be used
+ Write a description of this constraint to a MessageWriter
+
+
+
+
+
+ SomeItemsConstraint applies another constraint to each
+ item in a collection, succeeding if any of them succeeds.
-
- Expect an exact match
-
-
- Expect a message containing the parameter string
-
-
- Match the regular expression provided as a parameter
-
-
- Expect a message that starts with the parameter string
-
-
+
- ExpectedExceptionAttribute
+ Construct a SomeItemsConstraint on top of an existing constraint
+
+
+
+
+ Apply the item constraint to each item in the collection,
+ succeeding if any item succeeds.
+
+
+
+
+
+
+ Write a description of this constraint to a MessageWriter
+
+
+
+
+
+ NoItemConstraint applies another constraint to each
+ item in a collection, failing if any of them succeeds.
+
+
+
+
+ Construct a SomeItemsConstraint on top of an existing constraint
+
+
+
+
+
+ Apply the item constraint to each item in the collection,
+ failing if any item fails.
+
+
+
+
+
+
+ Write a description of this constraint to a MessageWriter
+
+
+
+
+
+ PropertyExistsConstraint tests that a named property
+ exists on the object provided through Match.
-
-
-
- Constructor for a non-specific exception
+ Originally, PropertyConstraint provided this feature
+ in addition to making optional tests on the vaue
+ of the property. The two constraints are now separate.
-
+
- Constructor for a given type of exception
+ Initializes a new instance of the class.
- The type of the expected exception
+ The name of the property.
-
+
- Constructor for a given exception name
+ Test whether the property exists for a given object
- The full name of the expected exception
+ The object to be tested
+ True for success, false for failure
-
+
- Gets or sets the expected exception type
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Write the actual value for a failing constraint test to a
+ MessageWriter.
+
+ The writer on which the actual value is displayed
+
+
+
+ Returns the string representation of the constraint.
+
+
+
+
+
+ PropertyConstraint extracts a named property and uses
+ its value as the actual value for a chained constraint.
-
+
- Gets or sets the full Type name of the expected exception
+ Initializes a new instance of the class.
+
+ The name.
+ The constraint to apply to the property.
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Write the actual value for a failing constraint test to a
+ MessageWriter. The default implementation simply writes
+ the raw value of actual, leaving it to the writer to
+ perform any formatting.
+
+ The writer on which the actual value is displayed
+
+
+
+ Returns the string representation of the constraint.
+
+
+
+
+
+ RangeConstraint tests whethe two values are within a
+ specified range.
-
+
- Gets or sets the expected message text
+ Initializes a new instance of the class.
+
+ From.
+ To.
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Modifies the constraint to use an IComparer and returns self.
-
+
- Gets or sets the user message displayed in case of failure
+ Modifies the constraint to use an IComparer<T> and returns self.
-
+
- Gets or sets the type of match to be performed on the expected message
+ Modifies the constraint to use a Comparison<T> and returns self.
-
+
- Gets the name of a method to be used as an exception handler
+ ResolvableConstraintExpression is used to represent a compound
+ constraint being constructed at a point where the last operator
+ may either terminate the expression or may have additional
+ qualifying constraints added to it.
+
+ It is used, for example, for a Property element or for
+ an Exception element, either of which may be optionally
+ followed by constraints that apply to the property or
+ exception.
-
+
- TestCaseAttribute is used to mark parameterized test cases
- and provide them with their arguments.
+ Create a new instance of ResolvableConstraintExpression
-
+
- Construct a TestCaseAttribute with a list of arguments.
- This constructor is not CLS-Compliant
-
-
-
-
-
- Construct a TestCaseAttribute with a single argument
-
-
-
-
-
- Construct a TestCaseAttribute with a two arguments
-
-
-
-
-
-
- Construct a TestCaseAttribute with a three arguments
-
-
-
-
-
-
-
- Gets the list of arguments to a test case
+ Create a new instance of ResolvableConstraintExpression,
+ passing in a pre-populated ConstraintBuilder.
-
+
- Gets or sets the expected result.
-
- The result.
-
-
-
- Gets or sets the expected exception.
-
- The expected exception.
-
-
-
- Gets or sets the name the expected exception.
-
- The expected name of the exception.
-
-
-
- Gets or sets the expected message of the expected exception
-
- The expected message of the exception.
-
-
-
- Gets or sets the type of match to be performed on the expected message
+ Resolve the current expression to a Constraint
-
+
- Gets or sets the description.
-
- The description.
-
-
-
- Gets or sets the name of the test.
-
- The name of the test.
-
-
-
- Gets or sets the ignored status of the test
+ Appends an And Operator to the expression
-
+
- Gets or sets the ignored status of the test
+ Appends an Or operator to the expression.
-
+
- Gets the ignore reason.
+ ReusableConstraint wraps a resolved constraint so that it
+ may be saved and reused as needed.
- The ignore reason.
-
+
+
+ Construct a ReusableConstraint
+
+ The constraint or expression to be reused
+
+
+
+ Conversion operator from a normal constraint to a ReusableConstraint.
+
+ The original constraint to be wrapped as a ReusableConstraint
+
+
+
+
+ Returns the string representation of the constraint.
+
+ A string representing the constraint
+
+
+
+ Resolves the ReusableConstraint by returning the constraint
+ that it originally wrapped.
+
+ A resolved constraint
+
+
+
+ SameAsConstraint tests whether an object is identical to
+ the object passed to its constructor
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected object.
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ BinarySerializableConstraint tests whether
+ an object is serializable in binary format.
+
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Write the actual value for a failing constraint test to a
+ MessageWriter. The default implementation simply writes
+ the raw value of actual, leaving it to the writer to
+ perform any formatting.
+
+ The writer on which the actual value is displayed
+
+
+
+ Returns the string representation
+
+
+
+
+ BinarySerializableConstraint tests whether
+ an object is serializable in binary format.
+
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Write the actual value for a failing constraint test to a
+ MessageWriter. The default implementation simply writes
+ the raw value of actual, leaving it to the writer to
+ perform any formatting.
+
+ The writer on which the actual value is displayed
+
+
+
+ Returns the string representation of this constraint
+
+
+
+
+ StringConstraint is the abstract base for constraints
+ that operate on strings. It supports the IgnoreCase
+ modifier for string operations.
+
+
+
+
+ The expected value
+
+
+
+
+ Indicates whether tests should be case-insensitive
+
+
+
+
+ Constructs a StringConstraint given an expected value
+
+ The expected value
+
+
+
+ Modify the constraint to ignore case in matching.
+
+
+
+
+ EmptyStringConstraint tests whether a string is empty.
+
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ NullEmptyStringConstraint tests whether a string is either null or empty.
+
+
+
+
+ Constructs a new NullOrEmptyStringConstraint
+
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ SubstringConstraint can test whether a string contains
+ the expected substring.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected.
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ StartsWithConstraint can test whether a string starts
+ with an expected substring.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected string
+
+
+
+ Test whether the constraint is matched by the actual value.
+ This is a template method, which calls the IsMatch method
+ of the derived class.
+
+
+
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ EndsWithConstraint can test whether a string ends
+ with an expected substring.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected string
+
+
+
+ Test whether the constraint is matched by the actual value.
+ This is a template method, which calls the IsMatch method
+ of the derived class.
+
+
+
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ RegexConstraint can test whether a string matches
+ the pattern provided.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The pattern.
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ ThrowsConstraint is used to test the exception thrown by
+ a delegate by applying a constraint to it.
+
+
+
+
+ Initializes a new instance of the class,
+ using a constraint to be applied to the exception.
+
+ A constraint to apply to the caught exception.
+
+
+
+ Executes the code of the delegate and captures any exception.
+ If a non-null base constraint was provided, it applies that
+ constraint to the exception.
+
+ A delegate representing the code to be tested
+ True if an exception is thrown and the constraint succeeds, otherwise false
+
+
+
+ Converts an ActualValueDelegate to a TestDelegate
+ before calling the primary overload.
+
+
+
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Write the actual value for a failing constraint test to a
+ MessageWriter. The default implementation simply writes
+ the raw value of actual, leaving it to the writer to
+ perform any formatting.
+
+ The writer on which the actual value is displayed
+
+
+
+ Returns the string representation of this constraint
+
+
+
+
+ Get the actual exception thrown - used by Assert.Throws.
+
+
+
+
+ ThrowsNothingConstraint tests that a delegate does not
+ throw an exception.
+
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True if no exception is thrown, otherwise false
+
+
+
+ Converts an ActualValueDelegate to a TestDelegate
+ before calling the primary overload.
+
+
+
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Write the actual value for a failing constraint test to a
+ MessageWriter. The default implementation simply writes
+ the raw value of actual, leaving it to the writer to
+ perform any formatting.
+
+ The writer on which the actual value is displayed
+
+
+
+ Modes in which the tolerance value for a comparison can
+ be interpreted.
+
+
+
+
+ The tolerance was created with a value, without specifying
+ how the value would be used. This is used to prevent setting
+ the mode more than once and is generally changed to Linear
+ upon execution of the test.
+
+
+
+
+ The tolerance is used as a numeric range within which
+ two compared values are considered to be equal.
+
+
+
+
+ Interprets the tolerance as the percentage by which
+ the two compared values my deviate from each other.
+
+
+
+
+ Compares two values based in their distance in
+ representable numbers.
+
+
+
+
+ The Tolerance class generalizes the notion of a tolerance
+ within which an equality test succeeds. Normally, it is
+ used with numeric types, but it can be used with any
+ type that supports taking a difference between two
+ objects and comparing that difference to a value.
+
+
+
+
+ Constructs a linear tolerance of a specdified amount
+
+
+
+
+ Constructs a tolerance given an amount and ToleranceMode
+
+
+
+
+ Tests that the current Tolerance is linear with a
+ numeric value, throwing an exception if it is not.
+
+
+
+
+ Returns an empty Tolerance object, equivalent to
+ specifying an exact match.
+
+
+
+
+ Gets the ToleranceMode for the current Tolerance
+
+
+
+
+ Gets the value of the current Tolerance instance.
+
+
+
+
+ Returns a new tolerance, using the current amount as a percentage.
+
+
+
+
+ Returns a new tolerance, using the current amount in Ulps.
+
+
+
+
+ Returns a new tolerance with a TimeSpan as the amount, using
+ the current amount as a number of days.
+
+
+
+
+ Returns a new tolerance with a TimeSpan as the amount, using
+ the current amount as a number of hours.
+
+
+
+
+ Returns a new tolerance with a TimeSpan as the amount, using
+ the current amount as a number of minutes.
+
+
+
+
+ Returns a new tolerance with a TimeSpan as the amount, using
+ the current amount as a number of seconds.
+
+
+
+
+ Returns a new tolerance with a TimeSpan as the amount, using
+ the current amount as a number of milliseconds.
+
+
+
+
+ Returns a new tolerance with a TimeSpan as the amount, using
+ the current amount as a number of clock ticks.
+
+
+
+
+ Returns true if the current tolerance is empty.
+
+
+
+
+ TypeConstraint is the abstract base for constraints
+ that take a Type as their expected value.
+
+
+
+
+ The expected Type used by the constraint
+
+
+
+
+ Construct a TypeConstraint for a given Type
+
+
+
+
+
+ Write the actual value for a failing constraint test to a
+ MessageWriter. TypeConstraints override this method to write
+ the name of the type.
+
+ The writer on which the actual value is displayed
+
+
+
+ ExactTypeConstraint is used to test that an object
+ is of the exact type provided in the constructor
+
+
+
+
+ Construct an ExactTypeConstraint for a given Type
+
+ The expected Type.
+
+
+
+ Test that an object is of the exact type specified
+
+ The actual value.
+ True if the tested object is of the exact type provided, otherwise false.
+
+
+
+ Write the description of this constraint to a MessageWriter
+
+ The MessageWriter to use
+
+
+
+ InstanceOfTypeConstraint is used to test that an object
+ is of the same type provided or derived from it.
+
+
+
+
+ Construct an InstanceOfTypeConstraint for the type provided
+
+ The expected Type
+
+
+
+ Test whether an object is of the specified type or a derived type
+
+ The object to be tested
+ True if the object is of the provided type or derives from it, otherwise false.
+
+
+
+ Write a description of this constraint to a MessageWriter
+
+ The MessageWriter to use
+
+
+
+ AssignableFromConstraint is used to test that an object
+ can be assigned from a given Type.
+
+
+
+
+ Construct an AssignableFromConstraint for the type provided
+
+
+
+
+
+ Test whether an object can be assigned from the specified type
+
+ The object to be tested
+ True if the object can be assigned a value of the expected Type, otherwise false.
+
+
+
+ Write a description of this constraint to a MessageWriter
+
+ The MessageWriter to use
+
+
+
+ AssignableToConstraint is used to test that an object
+ can be assigned to a given Type.
+
+
+
+
+ Construct an AssignableToConstraint for the type provided
+
+
+
+
+
+ Test whether an object can be assigned to the specified type
+
+ The object to be tested
+ True if the object can be assigned a value of the expected Type, otherwise false.
+
+
+
+ Write a description of this constraint to a MessageWriter
+
+ The MessageWriter to use
+
+
Thrown when an assertion failed.
+
-
-
+
+ The error message that explains
+ the reason for the exception
-
+
The error message that explains
the reason for the exception
The exception that caused the
current exception
-
+
+
+ Serialization Constructor
+
+
+
+
+ Thrown when an assertion failed.
+
+
+
+
+
+
+ The error message that explains
+ the reason for the exception
+ The exception that caused the
+ current exception
+
+
Serialization Constructor
@@ -4661,6 +5171,25 @@
Serialization Constructor
+
+
+ Thrown when an assertion failed.
+
+
+
+
+
+
+ The error message that explains
+ the reason for the exception
+ The exception that caused the
+ current exception
+
+
+
+ Serialization Constructor
+
+
Delegate used by tests that execute code and
@@ -7216,185 +7745,277 @@
resets the counter to zero.
-
+
- RequiredAddinAttribute may be used to indicate the names of any addins
- that must be present in order to run some or all of the tests in an
- assembly. If the addin is not loaded, the entire assembly is marked
- as NotRunnable.
+ AssertionHelper is an optional base class for user tests,
+ allowing the use of shorter names for constraints and
+ asserts and avoiding conflict with the definition of
+ , from which it inherits much of its
+ behavior, in certain mock object frameworks.
-
+
- Initializes a new instance of the class.
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure. Works
+ identically to
- The required addin.
+ A Constraint to be applied
+ The actual value to test
-
+
- Gets the name of required addin.
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure. Works
+ identically to
- The required addin name.
+ A Constraint to be applied
+ The actual value to test
+ The message that will be displayed on failure
-
+
- Marks a test to use a combinatorial join of any argument
- data provided. Since this is the default, the attribute is
- not needed.
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure. Works
+ identically to
+
+ A Constraint to be applied
+ The actual value to test
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ A Constraint expression to be applied
+ An ActualValueDelegate returning the value to be tested
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ A Constraint expression to be applied
+ An ActualValueDelegate returning the value to be tested
+ The message that will be displayed on failure
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ An ActualValueDelegate returning the value to be tested
+ A Constraint expression to be applied
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Apply a constraint to a referenced value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ A Constraint to be applied
+ The actual value to test
+
+
+
+ Apply a constraint to a referenced value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ A Constraint to be applied
+ The actual value to test
+ The message that will be displayed on failure
+
+
+
+ Apply a constraint to a referenced value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ A Constraint to be applied
+ The actual value to test
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that a condition is true. If the condition is false the method throws
+ an . Works Identically to
+ .
+
+ The evaluated condition
+ The message to display if the condition is false
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that a condition is true. If the condition is false the method throws
+ an . Works Identically to
+ .
+
+ The evaluated condition
+ The message to display if the condition is false
+
+
+
+ Asserts that a condition is true. If the condition is false the method throws
+ an . Works Identically to .
+
+ The evaluated condition
+
+
+
+ Asserts that the code represented by a delegate throws an exception
+ that satisfies the constraint provided.
+
+ A TestDelegate to be executed
+ A ThrowsConstraint used in the test
+
+
+
+ Returns a ListMapper based on a collection.
+
+ The original collection
+
+
+
+
+ Provides static methods to express the assumptions
+ that must be met for a test to give a meaningful
+ result. If an assumption is not met, the test
+ should produce an inconclusive result.
-
+
- PropertyAttribute is used to attach information to a test as a name/value pair..
+ The Equals method throws an AssertionException. This is done
+ to make sure there is no mistake by calling this function.
+
+
-
+
- Construct a PropertyAttribute with a name and string value
+ override the default ReferenceEquals to throw an AssertionException. This
+ implementation makes sure there is no mistake in calling this function
+ as part of Assert.
- The name of the property
- The property value
+
+
-
+
- Construct a PropertyAttribute with a name and int value
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an InconclusiveException on failure.
- The name of the property
- The property value
+ A Constraint expression to be applied
+ The actual value to test
-
+
- Construct a PropertyAttribute with a name and double value
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an InconclusiveException on failure.
- The name of the property
- The property value
+ A Constraint expression to be applied
+ The actual value to test
+ The message that will be displayed on failure
-
+
- Constructor for derived classes that set the
- property dictionary directly.
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an InconclusiveException on failure.
+ A Constraint expression to be applied
+ The actual value to test
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
-
+
- Constructor for use by derived classes that use the
- name of the type as the property name. Derived classes
- must ensure that the Type of the property value is
- a standard type supported by the BCL. Any custom
- types will cause a serialization Exception when
- in the client.
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an InconclusiveException on failure.
+ A Constraint expression to be applied
+ An ActualValueDelegate returning the value to be tested
-
+
- Gets the property dictionary for this attribute
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an InconclusiveException on failure.
+ A Constraint expression to be applied
+ An ActualValueDelegate returning the value to be tested
+ The message that will be displayed on failure
-
+
- Default constructor
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an InconclusiveException on failure.
+ An ActualValueDelegate returning the value to be tested
+ A Constraint expression to be applied
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
-
+
- Marks a test to use a combinatorial join of any argument
- data provided. Since this is the default, the attribute is
- not needed.
+ Apply a constraint to a referenced value, succeeding if the constraint
+ is satisfied and throwing an InconclusiveException on failure.
+ A Constraint expression to be applied
+ The actual value to test
-
+
- Default constructor
+ Apply a constraint to a referenced value, succeeding if the constraint
+ is satisfied and throwing an InconclusiveException on failure.
+ A Constraint expression to be applied
+ The actual value to test
+ The message that will be displayed on failure
-
+
- Marks a test to use a combinatorial join of any argument
- data provided. Since this is the default, the attribute is
- not needed.
+ Apply a constraint to a referenced value, succeeding if the constraint
+ is satisfied and throwing an InconclusiveException on failure.
+ A Constraint expression to be applied
+ The actual value to test
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
-
+
- Default constructor
-
+ Asserts that a condition is true. If the condition is false the method throws
+ an .
+
+ The evaluated condition
+ The message to display if the condition is false
+ Arguments to be used in formatting the message
-
+
- Adding this attribute to a method within a
- class makes the method callable from the NUnit test runner. There is a property
- called Description which is optional which you can provide a more detailed test
- description. This class cannot be inherited.
+ Asserts that a condition is true. If the condition is false the method throws
+ an .
-
-
- [TestFixture]
- public class Fixture
- {
- [Test]
- public void MethodToTest()
- {}
-
- [Test(Description = "more detailed description")]
- publc void TestDescriptionMethod()
- {}
- }
-
-
+ The evaluated condition
+ The message to display if the condition is false
-
+
- Descriptive text for this test
+ Asserts that a condition is true. If the condition is false the
+ method throws an .
+ The evaluated condition
-
-
- [TestFixture]
- public class ExampleClass
- {}
-
-
-
+
- Default constructor
-
-
-
-
- Construct with a object[] representing a set of arguments.
- In .NET 2.0, the arguments may later be separated into
- type arguments and constructor arguments.
-
-
-
-
-
- Descriptive text for this fixture
-
-
-
-
- The arguments originally provided to the attribute
-
-
-
-
- Gets or sets a value indicating whether this should be ignored.
-
- true if ignore; otherwise, false.
-
-
-
- Gets or sets the ignore reason. May set Ignored as a side effect.
-
- The ignore reason.
-
-
-
- Get or set the type arguments. If not set
- explicitly, any leading arguments that are
- Types are taken as type arguments.
+ Asserts that the code represented by a delegate throws an exception
+ that satisfies the constraint provided.
+ A TestDelegate to be executed
+ A ThrowsConstraint used in the test
@@ -7832,1608 +8453,24 @@
An array, list or other collection implementing IEnumerable
A custom comparer to perform the comparisons
-
+
- Abstract base class for attributes that apply to parameters
- and supply data for the parameter.
+ Static helper class used in the constraint-based syntax
-
+
- Gets the data to be provided to the specified parameter
+ Creates a new SubstringConstraint
+ The value of the substring
+ A SubstringConstraint
-
+
- ValuesAttribute is used to provide literal arguments for
- an individual parameter of a test.
+ Creates a new CollectionContainsConstraint.
-
-
-
- The collection of data to be returned. Must
- be set by any derived attribute classes.
-
-
-
-
- Construct with one argument
-
-
-
-
-
- Construct with two arguments
-
-
-
-
-
-
- Construct with three arguments
-
-
-
-
-
-
-
- Construct with an array of arguments
-
-
-
-
-
- Get the collection of values to be used as arguments
-
-
-
-
- Thrown when an assertion failed.
-
-
-
-
- The error message that explains
- the reason for the exception
-
-
- The error message that explains
- the reason for the exception
- The exception that caused the
- current exception
-
-
-
- Serialization Constructor
-
-
-
-
- WUsed on a method, marks the test with a timeout value in milliseconds.
- The test will be run in a separate thread and is cancelled if the timeout
- is exceeded. Used on a method or assembly, sets the default timeout
- for all contained test methods.
-
-
-
-
- Construct a TimeoutAttribute given a time in milliseconds
-
- The timeout value in milliseconds
-
-
-
- Marks a test that must run in the STA, causing it
- to run in a separate thread if necessary.
-
- On methods, you may also use STAThreadAttribute
- to serve the same purpose.
-
-
-
-
- Construct a RequiresSTAAttribute
-
-
-
-
- Marks a test that must run in the MTA, causing it
- to run in a separate thread if necessary.
-
- On methods, you may also use MTAThreadAttribute
- to serve the same purpose.
-
-
-
-
- Construct a RequiresMTAAttribute
-
-
-
-
- Marks a test that must run on a separate thread.
-
-
-
-
- Construct a RequiresThreadAttribute
-
-
-
-
- Construct a RequiresThreadAttribute, specifying the apartment
-
-
-
-
- AssertionHelper is an optional base class for user tests,
- allowing the use of shorter names for constraints and
- asserts and avoiding conflict with the definition of
- , from which it inherits much of its
- behavior, in certain mock object frameworks.
-
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure. Works
- identically to
-
- A Constraint to be applied
- The actual value to test
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure. Works
- identically to
-
- A Constraint to be applied
- The actual value to test
- The message that will be displayed on failure
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure. Works
- identically to
-
- A Constraint to be applied
- The actual value to test
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- A Constraint expression to be applied
- An ActualValueDelegate returning the value to be tested
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- A Constraint expression to be applied
- An ActualValueDelegate returning the value to be tested
- The message that will be displayed on failure
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- An ActualValueDelegate returning the value to be tested
- A Constraint expression to be applied
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Apply a constraint to a referenced value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- A Constraint to be applied
- The actual value to test
-
-
-
- Apply a constraint to a referenced value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- A Constraint to be applied
- The actual value to test
- The message that will be displayed on failure
-
-
-
- Apply a constraint to a referenced value, succeeding if the constraint
- is satisfied and throwing an assertion exception on failure.
-
- A Constraint to be applied
- The actual value to test
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an . Works Identically to
- .
-
- The evaluated condition
- The message to display if the condition is false
- Arguments to be used in formatting the message
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an . Works Identically to
- .
-
- The evaluated condition
- The message to display if the condition is false
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an . Works Identically to .
-
- The evaluated condition
-
-
-
- Asserts that the code represented by a delegate throws an exception
- that satisfies the constraint provided.
-
- A TestDelegate to be executed
- A ThrowsConstraint used in the test
-
-
-
- Returns a ListMapper based on a collection.
-
- The original collection
-
-
-
-
- Attribute used to apply a category to a test
-
-
-
-
- The name of the category
-
-
-
-
- Construct attribute for a given category
-
- The name of the category
-
-
-
- Protected constructor uses the Type name as the name
- of the category.
-
-
-
-
- The name of the category
-
-
-
-
- RandomAttribute is used to supply a set of random values
- to a single parameter of a parameterized test.
-
-
-
-
- Construct a set of doubles from 0.0 to 1.0,
- specifying only the count.
-
-
-
-
-
- Construct a set of doubles from min to max
-
-
-
-
-
-
-
- Construct a set of ints from min to max
-
-
-
-
-
-
-
- Get the collection of values to be used as arguments
-
-
-
-
- Attribute used to provide descriptive text about a
- test case or fixture.
-
-
-
-
- Construct the attribute
-
- Text describing the test
-
-
-
- Gets the test description
-
-
-
-
- ExplicitAttribute marks a test or test fixture so that it will
- only be run if explicitly executed from the gui or command line
- or if it is included by use of a filter. The test will not be
- run simply because an enclosing suite is run.
-
-
-
-
- Default constructor
-
-
-
-
- Constructor with a reason
-
- The reason test is marked explicit
-
-
-
- The reason test is marked explicit
-
-
-
-
- Provides static methods to express the assumptions
- that must be met for a test to give a meaningful
- result. If an assumption is not met, the test
- should produce an inconclusive result.
-
-
-
-
- The Equals method throws an AssertionException. This is done
- to make sure there is no mistake by calling this function.
-
-
-
-
-
-
- override the default ReferenceEquals to throw an AssertionException. This
- implementation makes sure there is no mistake in calling this function
- as part of Assert.
-
-
-
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an InconclusiveException on failure.
-
- A Constraint expression to be applied
- The actual value to test
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an InconclusiveException on failure.
-
- A Constraint expression to be applied
- The actual value to test
- The message that will be displayed on failure
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an InconclusiveException on failure.
-
- A Constraint expression to be applied
- The actual value to test
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an InconclusiveException on failure.
-
- A Constraint expression to be applied
- An ActualValueDelegate returning the value to be tested
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an InconclusiveException on failure.
-
- A Constraint expression to be applied
- An ActualValueDelegate returning the value to be tested
- The message that will be displayed on failure
-
-
-
- Apply a constraint to an actual value, succeeding if the constraint
- is satisfied and throwing an InconclusiveException on failure.
-
- An ActualValueDelegate returning the value to be tested
- A Constraint expression to be applied
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Apply a constraint to a referenced value, succeeding if the constraint
- is satisfied and throwing an InconclusiveException on failure.
-
- A Constraint expression to be applied
- The actual value to test
-
-
-
- Apply a constraint to a referenced value, succeeding if the constraint
- is satisfied and throwing an InconclusiveException on failure.
-
- A Constraint expression to be applied
- The actual value to test
- The message that will be displayed on failure
-
-
-
- Apply a constraint to a referenced value, succeeding if the constraint
- is satisfied and throwing an InconclusiveException on failure.
-
- A Constraint expression to be applied
- The actual value to test
- The message that will be displayed on failure
- Arguments to be used in formatting the message
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
- The message to display if the condition is false
- Arguments to be used in formatting the message
-
-
-
- Asserts that a condition is true. If the condition is false the method throws
- an .
-
- The evaluated condition
- The message to display if the condition is false
-
-
-
- Asserts that a condition is true. If the condition is false the
- method throws an .
-
- The evaluated condition
-
-
-
- Asserts that the code represented by a delegate throws an exception
- that satisfies the constraint provided.
-
- A TestDelegate to be executed
- A ThrowsConstraint used in the test
-
-
-
- GlobalSettings is a place for setting default values used
- by the framework in performing asserts.
-
-
-
-
- Default tolerance for floating point equality
-
-
-
-
- Helper class with properties and methods that supply
- a number of constraints used in Asserts.
-
-
-
-
- Returns a constraint that tests two items for equality
-
-
-
-
- Returns a constraint that tests that two references are the same object
-
-
-
-
- Returns a constraint that tests whether the
- actual value is greater than the suppled argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is greater than or equal to the suppled argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is greater than or equal to the suppled argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is less than the suppled argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is less than or equal to the suppled argument
-
-
-
-
- Returns a constraint that tests whether the
- actual value is less than or equal to the suppled argument
-
-
-
-
- Returns a constraint that tests whether the actual
- value is of the exact type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual
- value is of the exact type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is of the type supplied as an argument or a derived type.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is of the type supplied as an argument or a derived type.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is of the type supplied as an argument or a derived type.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is of the type supplied as an argument or a derived type.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is assignable from the type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is assignable from the type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is assignable from the type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is assignable from the type supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is a collection containing the same elements as the
- collection supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the actual value
- is a subset of the collection supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value contains the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value starts with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value ends with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value matches the Regex pattern supplied as an argument.
-
-
-
-
- Returns a constraint that tests whether the path provided
- is the same as an expected path after canonicalization.
-
-
-
-
- Returns a constraint that tests whether the path provided
- is the same path or under an expected path after canonicalization.
-
-
-
-
- Returns a constraint that tests whether the actual value falls
- within a specified range.
-
-
-
-
- Returns a ConstraintExpression that negates any
- following constraint.
-
-
-
-
- Returns a ConstraintExpression, which will apply
- the following constraint to all members of a collection,
- succeeding if all of them succeed.
-
-
-
-
- Returns a constraint that tests for null
-
-
-
-
- Returns a constraint that tests for True
-
-
-
-
- Returns a constraint that tests for False
-
-
-
-
- Returns a constraint that tests for NaN
-
-
-
-
- Returns a constraint that tests for empty
-
-
-
-
- Returns a constraint that tests whether a collection
- contains all unique items.
-
-
-
-
- Returns a constraint that tests whether an object graph is serializable in binary format.
-
-
-
-
- Returns a constraint that tests whether an object graph is serializable in xml format.
-
-
-
-
- Returns a constraint that tests whether a collection is ordered
-
-
-
-
- Interface implemented by a user fixture in order to
- validate any expected exceptions. It is only called
- for test methods marked with the ExpectedException
- attribute.
-
-
-
-
- Method to handle an expected exception
-
- The exception to be handled
-
-
-
- Attribute used to mark a test that is to be ignored.
- Ignored tests result in a warning message when the
- tests are run.
-
-
-
-
- Constructs the attribute without giving a reason
- for ignoring the test.
-
-
-
-
- Constructs the attribute giving a reason for ignoring the test
-
- The reason for ignoring the test
-
-
-
- The reason for ignoring a test
-
-
-
-
- Thrown when an assertion failed.
-
-
-
-
-
-
- The error message that explains
- the reason for the exception
- The exception that caused the
- current exception
-
-
-
- Serialization Constructor
-
-
-
-
- Abstract base for Attributes that are used to include tests
- in the test run based on environmental settings.
-
-
-
-
- Constructor with no included items specified, for use
- with named property syntax.
-
-
-
-
- Constructor taking one or more included items
-
- Comma-delimited list of included items
-
-
-
- Name of the item that is needed in order for
- a test to run. Multiple itemss may be given,
- separated by a comma.
-
-
-
-
- Name of the item to be excluded. Multiple items
- may be given, separated by a comma.
-
-
-
-
- The reason for including or excluding the test
-
-
-
-
- PlatformAttribute is used to mark a test fixture or an
- individual method as applying to a particular platform only.
-
-
-
-
- Constructor with no platforms specified, for use
- with named property syntax.
-
-
-
-
- Constructor taking one or more platforms
-
- Comma-deliminted list of platforms
-
-
-
- CultureAttribute is used to mark a test fixture or an
- individual method as applying to a particular Culture only.
-
-
-
-
- Constructor with no cultures specified, for use
- with named property syntax.
-
-
-
-
- Constructor taking one or more cultures
-
- Comma-deliminted list of cultures
-
-
-
- RangeAttribute is used to supply a range of values to an
- individual parameter of a parameterized test.
-
-
-
-
- Construct a range of ints using default step of 1
-
-
-
-
-
-
- Construct a range of ints specifying the step size
-
-
-
-
-
-
-
- Construct a range of longs
-
-
-
-
-
-
-
- Construct a range of doubles
-
-
-
-
-
-
-
- Construct a range of floats
-
-
-
-
-
-
-
- Summary description for SetCultureAttribute.
-
-
-
-
- Construct given the name of a culture
-
-
-
-
-
- ValueSourceAttribute indicates the source to be used to
- provide data for one parameter of a test method.
-
-
-
-
- Construct with the name of the factory - for use with languages
- that don't support params arrays.
-
- The name of the data source to be used
-
-
-
- Construct with a Type and name - for use with languages
- that don't support params arrays.
-
- The Type that will provide data
- The name of the method, property or field that will provide data
-
-
-
- The name of a the method, property or fiend to be used as a source
-
-
-
-
- A Type to be used as a source
-
-
-
-
- TextMessageWriter writes constraint descriptions and messages
- in displayable form as a text stream. It tailors the display
- of individual message components to form the standard message
- format of NUnit assertion failure messages.
-
-
-
-
- Prefix used for the expected value line of a message
-
-
-
-
- Prefix used for the actual value line of a message
-
-
-
-
- Length of a message prefix
-
-
-
-
- Construct a TextMessageWriter
-
-
-
-
- Construct a TextMessageWriter, specifying a user message
- and optional formatting arguments.
-
-
-
-
-
-
- Method to write single line message with optional args, usually
- written to precede the general failure message, at a givel
- indentation level.
-
- The indentation level of the message
- The message to be written
- Any arguments used in formatting the message
-
-
-
- Display Expected and Actual lines for a constraint. This
- is called by MessageWriter's default implementation of
- WriteMessageTo and provides the generic two-line display.
-
- The constraint that failed
-
-
-
- Display Expected and Actual lines for given values. This
- method may be called by constraints that need more control over
- the display of actual and expected values than is provided
- by the default implementation.
-
- The expected value
- The actual value causing the failure
-
-
-
- Display Expected and Actual lines for given values, including
- a tolerance value on the expected line.
-
- The expected value
- The actual value causing the failure
- The tolerance within which the test was made
-
-
-
- Display the expected and actual string values on separate lines.
- If the mismatch parameter is >=0, an additional line is displayed
- line containing a caret that points to the mismatch point.
-
- The expected string value
- The actual string value
- The point at which the strings don't match or -1
- If true, case is ignored in string comparisons
- If true, clip the strings to fit the max line length
-
-
-
- Writes the text for a connector.
-
- The connector.
-
-
-
- Writes the text for a predicate.
-
- The predicate.
-
-
-
- Write the text for a modifier.
-
- The modifier.
-
-
-
- Writes the text for an expected value.
-
- The expected value.
-
-
-
- Writes the text for an actual value.
-
- The actual value.
-
-
-
- Writes the text for a generalized value.
-
- The value.
-
-
-
- Writes the text for a collection value,
- starting at a particular point, to a max length
-
- The collection containing elements to write.
- The starting point of the elements to write
- The maximum number of elements to write
-
-
-
- Write the generic 'Expected' line for a constraint
-
- The constraint that failed
-
-
-
- Write the generic 'Expected' line for a given value
-
- The expected value
-
-
-
- Write the generic 'Expected' line for a given value
- and tolerance.
-
- The expected value
- The tolerance within which the test was made
-
-
-
- Write the generic 'Actual' line for a constraint
-
- The constraint for which the actual value is to be written
-
-
-
- Write the generic 'Actual' line for a given value
-
- The actual value causing a failure
-
-
-
- Gets or sets the maximum line length for this writer
-
-
-
-
- Basic Asserts on strings.
-
-
-
-
- The Equals method throws an AssertionException. This is done
- to make sure there is no mistake by calling this function.
-
-
-
-
-
-
- override the default ReferenceEquals to throw an AssertionException. This
- implementation makes sure there is no mistake in calling this function
- as part of Assert.
-
-
-
-
-
-
- Asserts that a string is found within another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string is found within another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
-
-
-
- Asserts that a string is found within another string.
-
- The expected string
- The string to be examined
-
-
-
- Asserts that a string is not found within another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string is found within another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
-
-
-
- Asserts that a string is found within another string.
-
- The expected string
- The string to be examined
-
-
-
- Asserts that a string starts with another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string starts with another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
-
-
-
- Asserts that a string starts with another string.
-
- The expected string
- The string to be examined
-
-
-
- Asserts that a string does not start with another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string does not start with another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
-
-
-
- Asserts that a string does not start with another string.
-
- The expected string
- The string to be examined
-
-
-
- Asserts that a string ends with another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string ends with another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
-
-
-
- Asserts that a string ends with another string.
-
- The expected string
- The string to be examined
-
-
-
- Asserts that a string does not end with another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string does not end with another string.
-
- The expected string
- The string to be examined
- The message to display in case of failure
-
-
-
- Asserts that a string does not end with another string.
-
- The expected string
- The string to be examined
-
-
-
- Asserts that two strings are equal, without regard to case.
-
- The expected string
- The actual string
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that two strings are equal, without regard to case.
-
- The expected string
- The actual string
- The message to display in case of failure
-
-
-
- Asserts that two strings are equal, without regard to case.
-
- The expected string
- The actual string
-
-
-
- Asserts that two strings are not equal, without regard to case.
-
- The expected string
- The actual string
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that two strings are Notequal, without regard to case.
-
- The expected string
- The actual string
- The message to display in case of failure
-
-
-
- Asserts that two strings are not equal, without regard to case.
-
- The expected string
- The actual string
-
-
-
- Asserts that a string matches an expected regular expression pattern.
-
- The regex pattern to be matched
- The actual string
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string matches an expected regular expression pattern.
-
- The regex pattern to be matched
- The actual string
- The message to display in case of failure
-
-
-
- Asserts that a string matches an expected regular expression pattern.
-
- The regex pattern to be matched
- The actual string
-
-
-
- Asserts that a string does not match an expected regular expression pattern.
-
- The regex pattern to be used
- The actual string
- The message to display in case of failure
- Arguments used in formatting the message
-
-
-
- Asserts that a string does not match an expected regular expression pattern.
-
- The regex pattern to be used
- The actual string
- The message to display in case of failure
-
-
-
- Asserts that a string does not match an expected regular expression pattern.
-
- The regex pattern to be used
- The actual string
-
-
-
- Attribute used to mark a class that contains one-time SetUp
- and/or TearDown methods that apply to all the tests in a
- namespace or an assembly.
-
-
-
-
- SetUpFixtureAttribute is used to identify a SetUpFixture
-
-
-
-
- RepeatAttribute may be applied to test case in order
- to run it multiple times.
-
-
-
-
- Construct a RepeatAttribute
-
- The number of times to run the test
-
-
-
- Attribute used to mark a static (shared in VB) property
- that returns a list of tests.
-
-
-
-
- Attribute used to identify a method that is called
- immediately after each test is run. The method is
- guaranteed to be called, even if an exception is thrown.
-
-
-
-
- The Iz class is a synonym for Is intended for use in VB,
- which regards Is as a keyword.
-
-
-
-
- Helper class with properties and methods that supply
- constraints that operate on exceptions.
-
-
-
-
- Creates a constraint specifying the exact type of exception expected
-
-
-
-
- Creates a constraint specifying the exact type of exception expected
-
-
-
-
- Creates a constraint specifying the type of exception expected
-
-
-
-
- Creates a constraint specifying the type of exception expected
-
-
-
-
- Creates a constraint specifying an expected exception
-
-
-
-
- Creates a constraint specifying an exception with a given InnerException
-
-
-
-
- Creates a constraint specifying an expected TargetInvocationException
-
-
-
-
- Creates a constraint specifying an expected TargetInvocationException
-
-
-
-
- Creates a constraint specifying an expected TargetInvocationException
-
-
-
-
- Creates a constraint specifying that no exception is thrown
-
-
-
-
- ListMapper is used to transform a collection used as an actual argument
- producing another collection to be used in the assertion.
-
-
-
-
- Construct a ListMapper based on a collection
-
- The collection to be transformed
-
-
-
- Produces a collection containing all the values of a property
-
- The collection of property values
-
-
-
-
- Attribute used to identify a method that is
- called before any tests in a fixture are run.
-
-
-
-
- Attribute used to identify a method that is called after
- all the tests in a fixture have run. The method is
- guaranteed to be called, even if an exception is thrown.
-
-
-
-
- Helper class with static methods used to supply constraints
- that operate on strings.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value contains the substring supplied as an argument.
-
-
-
-
- Returns a constraint that fails if the actual
- value contains the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value starts with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that fails if the actual
- value starts with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value ends with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that fails if the actual
- value ends with the substring supplied as an argument.
-
-
-
-
- Returns a constraint that succeeds if the actual
- value matches the Regex pattern supplied as an argument.
-
-
-
-
- Returns a constraint that fails if the actual
- value matches the pattern supplied as an argument.
-
-
-
-
- Returns a ConstraintExpression, which will apply
- the following constraint to all members of a collection,
- succeeding if all of them succeed.
-
-
-
-
- Summary description for MaxTimeAttribute.
-
-
-
-
- Construct a MaxTimeAttribute, given a time in milliseconds.
-
- The maximum elapsed time in milliseconds
-
-
-
- Summary description for SetUICultureAttribute.
-
-
-
-
- Construct given the name of a culture
-
-
+ The item that should be found.
+ A new CollectionContainsConstraint
@@ -9782,18 +8819,6 @@
A directory to search
sub-directory asserted to exist under directory
-
-
- The SpecialValue enum is used to represent TestCase arguments
- that cannot be used as arguments to an Attribute.
-
-
-
-
- Null represents a null value, which cannot be used as an
- argument to an attriute under .NET 1.x
-
-
Summary description for FileAssert.
@@ -9994,28 +9019,383 @@
The path to a file containing the value that is expected
The path to a file containing the actual value
-
+
- Adding this attribute to a method within a
- class makes the method callable from the NUnit test runner. There is a property
- called Description which is optional which you can provide a more detailed test
- description. This class cannot be inherited.
+ GlobalSettings is a place for setting default values used
+ by the framework in performing asserts.
-
-
- [TestFixture]
- public class Fixture
- {
- [Test]
- public void MethodToTest()
- {}
-
- [Test(Description = "more detailed description")]
- publc void TestDescriptionMethod()
- {}
- }
-
-
+
+
+
+ Default tolerance for floating point equality
+
+
+
+
+ Helper class with properties and methods that supply
+ a number of constraints used in Asserts.
+
+
+
+
+ Returns a new PropertyConstraintExpression, which will either
+ test for the existence of the named property on the object
+ being tested or apply any following constraint to that property.
+
+
+
+
+ Returns a new AttributeConstraint checking for the
+ presence of a particular attribute on an object.
+
+
+
+
+ Returns a new AttributeConstraint checking for the
+ presence of a particular attribute on an object.
+
+
+
+
+ Returns a new CollectionContainsConstraint checking for the
+ presence of a particular object in the collection.
+
+
+
+
+ Returns a ConstraintExpression that negates any
+ following constraint.
+
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding if all of them succeed.
+
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding if at least one of them succeeds.
+
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding if all of them fail.
+
+
+
+
+ Returns a new ConstraintExpression, which will apply the following
+ constraint to the Length property of the object being tested.
+
+
+
+
+ Returns a new ConstraintExpression, which will apply the following
+ constraint to the Count property of the object being tested.
+
+
+
+
+ Returns a new ConstraintExpression, which will apply the following
+ constraint to the Message property of the object being tested.
+
+
+
+
+ Returns a new ConstraintExpression, which will apply the following
+ constraint to the InnerException property of the object being tested.
+
+
+
+
+ Interface implemented by a user fixture in order to
+ validate any expected exceptions. It is only called
+ for test methods marked with the ExpectedException
+ attribute.
+
+
+
+
+ Method to handle an expected exception
+
+ The exception to be handled
+
+
+
+ Helper class with properties and methods that supply
+ a number of constraints used in Asserts.
+
+
+
+
+ Returns a constraint that tests two items for equality
+
+
+
+
+ Returns a constraint that tests that two references are the same object
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is greater than the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is greater than or equal to the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is greater than or equal to the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is less than the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is less than or equal to the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is less than or equal to the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the actual
+ value is of the exact type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual
+ value is of the exact type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is of the type supplied as an argument or a derived type.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is of the type supplied as an argument or a derived type.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is of the type supplied as an argument or a derived type.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is of the type supplied as an argument or a derived type.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is assignable from the type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is assignable from the type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is assignable from the type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is assignable from the type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is a collection containing the same elements as the
+ collection supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is a subset of the collection supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value contains the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value starts with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value ends with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value matches the Regex pattern supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the path provided
+ is the same as an expected path after canonicalization.
+
+
+
+
+ Returns a constraint that tests whether the path provided
+ is the same path or under an expected path after canonicalization.
+
+
+
+
+ Returns a constraint that tests whether the path provided
+ is the same path or under an expected path after canonicalization.
+
+
+
+
+ Returns a constraint that tests whether the actual value falls
+ within a specified range.
+
+
+
+
+ Returns a ConstraintExpression that negates any
+ following constraint.
+
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding if all of them succeed.
+
+
+
+
+ Returns a constraint that tests for null
+
+
+
+
+ Returns a constraint that tests for True
+
+
+
+
+ Returns a constraint that tests for False
+
+
+
+
+ Returns a constraint that tests for NaN
+
+
+
+
+ Returns a constraint that tests for empty
+
+
+
+
+ Returns a constraint that tests whether a collection
+ contains all unique items.
+
+
+
+
+ Returns a constraint that tests whether an object graph is serializable in binary format.
+
+
+
+
+ Returns a constraint that tests whether an object graph is serializable in xml format.
+
+
+
+
+ Returns a constraint that tests whether a collection is ordered
+
+
+
+
+ The Iz class is a synonym for Is intended for use in VB,
+ which regards Is as a keyword.
+
+
+
+
+ The List class is a helper class with properties and methods
+ that supply a number of constraints used with lists and collections.
+
+
+
+
+ List.Map returns a ListMapper, which can be used to map
+ the original collection to another collection.
+
+
+
+
+
+
+ ListMapper is used to transform a collection used as an actual argument
+ producing another collection to be used in the assertion.
+
+
+
+
+ Construct a ListMapper based on a collection
+
+ The collection to be transformed
+
+
+
+ Produces a collection containing all the values of a property
+
+ The collection of property values
+
@@ -10071,17 +9451,934 @@
Get a random seed for use in creating a randomizer.
-
+
- Used to mark a field for use as a datapoint when executing a theory
- within the same fixture that requires an argument of the field's Type.
+ The SpecialValue enum is used to represent TestCase arguments
+ that cannot be used as arguments to an Attribute.
-
+
- Used to mark an array as containing a set of datapoints to be used
- executing a theory within the same fixture that requires an argument
- of the Type of the array elements.
+ Null represents a null value, which cannot be used as an
+ argument to an attriute under .NET 1.x
+
+
+
+
+ Basic Asserts on strings.
+
+
+
+
+ The Equals method throws an AssertionException. This is done
+ to make sure there is no mistake by calling this function.
+
+
+
+
+
+
+ override the default ReferenceEquals to throw an AssertionException. This
+ implementation makes sure there is no mistake in calling this function
+ as part of Assert.
+
+
+
+
+
+
+ Asserts that a string is found within another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that a string is found within another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+
+
+
+ Asserts that a string is found within another string.
+
+ The expected string
+ The string to be examined
+
+
+
+ Asserts that a string is not found within another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that a string is found within another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+
+
+
+ Asserts that a string is found within another string.
+
+ The expected string
+ The string to be examined
+
+
+
+ Asserts that a string starts with another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that a string starts with another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+
+
+
+ Asserts that a string starts with another string.
+
+ The expected string
+ The string to be examined
+
+
+
+ Asserts that a string does not start with another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that a string does not start with another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+
+
+
+ Asserts that a string does not start with another string.
+
+ The expected string
+ The string to be examined
+
+
+
+ Asserts that a string ends with another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that a string ends with another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+
+
+
+ Asserts that a string ends with another string.
+
+ The expected string
+ The string to be examined
+
+
+
+ Asserts that a string does not end with another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that a string does not end with another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+
+
+
+ Asserts that a string does not end with another string.
+
+ The expected string
+ The string to be examined
+
+
+
+ Asserts that two strings are equal, without regard to case.
+
+ The expected string
+ The actual string
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that two strings are equal, without regard to case.
+
+ The expected string
+ The actual string
+ The message to display in case of failure
+
+
+
+ Asserts that two strings are equal, without regard to case.
+
+ The expected string
+ The actual string
+
+
+
+ Asserts that two strings are not equal, without regard to case.
+
+ The expected string
+ The actual string
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that two strings are Notequal, without regard to case.
+
+ The expected string
+ The actual string
+ The message to display in case of failure
+
+
+
+ Asserts that two strings are not equal, without regard to case.
+
+ The expected string
+ The actual string
+
+
+
+ Asserts that a string matches an expected regular expression pattern.
+
+ The regex pattern to be matched
+ The actual string
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that a string matches an expected regular expression pattern.
+
+ The regex pattern to be matched
+ The actual string
+ The message to display in case of failure
+
+
+
+ Asserts that a string matches an expected regular expression pattern.
+
+ The regex pattern to be matched
+ The actual string
+
+
+
+ Asserts that a string does not match an expected regular expression pattern.
+
+ The regex pattern to be used
+ The actual string
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that a string does not match an expected regular expression pattern.
+
+ The regex pattern to be used
+ The actual string
+ The message to display in case of failure
+
+
+
+ Asserts that a string does not match an expected regular expression pattern.
+
+ The regex pattern to be used
+ The actual string
+
+
+
+ The TestCaseData class represents a set of arguments
+ and other parameter info to be used for a parameterized
+ test case. It provides a number of instance modifiers
+ for use in initializing the test case.
+
+ Note: Instance modifiers are getters that return
+ the same instance after modifying it's state.
+
+
+
+
+ The argument list to be provided to the test
+
+
+
+
+ The expected result to be returned
+
+
+
+
+ The expected exception Type
+
+
+
+
+ The FullName of the expected exception
+
+
+
+
+ The name to be used for the test
+
+
+
+
+ The description of the test
+
+
+
+
+ A dictionary of properties, used to add information
+ to tests without requiring the class to change.
+
+
+
+
+ If true, indicates that the test case is to be ignored
+
+
+
+
+ The reason for ignoring a test case
+
+
+
+
+ Initializes a new instance of the class.
+
+ The arguments.
+
+
+
+ Initializes a new instance of the class.
+
+ The argument.
+
+
+
+ Initializes a new instance of the class.
+
+ The first argument.
+ The second argument.
+
+
+
+ Initializes a new instance of the class.
+
+ The first argument.
+ The second argument.
+ The third argument.
+
+
+
+ Sets the expected result for the test
+
+ The expected result
+ A modified TestCaseData
+
+
+
+ Sets the expected exception type for the test
+
+ Type of the expected exception.
+ The modified TestCaseData instance
+
+
+
+ Sets the expected exception type for the test
+
+ FullName of the expected exception.
+ The modified TestCaseData instance
+
+
+
+ Sets the name of the test case
+
+ The modified TestCaseData instance
+
+
+
+ Sets the description for the test case
+ being constructed.
+
+ The description.
+ The modified TestCaseData instance.
+
+
+
+ Applies a category to the test
+
+
+
+
+
+
+ Applies a named property to the test
+
+
+
+
+
+
+
+ Applies a named property to the test
+
+
+
+
+
+
+
+ Applies a named property to the test
+
+
+
+
+
+
+
+ Ignores this TestCase.
+
+
+
+
+
+ Ignores this TestCase, specifying the reason.
+
+ The reason.
+
+
+
+
+ Gets the argument list to be provided to the test
+
+
+
+
+ Gets the expected result
+
+
+
+
+ Gets the expected exception Type
+
+
+
+
+ Gets the FullName of the expected exception
+
+
+
+
+ Gets the name to be used for the test
+
+
+
+
+ Gets the description of the test
+
+
+
+
+ Gets a value indicating whether this is ignored.
+
+ true if ignored; otherwise, false.
+
+
+
+ Gets the ignore reason.
+
+ The ignore reason.
+
+
+
+ Gets a list of categories associated with this test.
+
+
+
+
+ Gets the property dictionary for this test
+
+
+
+
+ Provide the context information of the current test
+
+
+
+
+ Constructs a TestContext using the provided context dictionary
+
+ A context dictionary
+
+
+
+ Get the current test context. This is created
+ as needed. The user may save the context for
+ use within a test, but it should not be used
+ outside the test for which it is created.
+
+
+
+
+ Gets a TestAdapter representing the currently executing test in this context.
+
+
+
+
+ Gets a ResultAdapter representing the current result for the test
+ executing in this context.
+
+
+
+
+ Gets the current directory for this TestContext
+
+
+
+
+ TestAdapter adapts a Test for consumption by
+ the user test code.
+
+
+
+
+ Constructs a TestAdapter for this context
+
+ The context dictionary
+
+
+
+ The name of the test.
+
+
+
+
+ The FullName of the test
+
+
+
+
+ The properties of the test.
+
+
+
+
+ ResultAdapter adapts a TestResult for consumption by
+ the user test code.
+
+
+
+
+ Construct a ResultAdapter for a context
+
+ The context holding the result
+
+
+
+ The TestState of current test. This maps to the ResultState
+ used in nunit.core and is subject to change in the future.
+
+
+
+
+ The TestStatus of current test. This enum will be used
+ in future versions of NUnit and so is to be preferred
+ to the TestState value.
+
+
+
+
+ The ResultState enum indicates the result of running a test
+
+
+
+
+ The result is inconclusive
+
+
+
+
+ The test was not runnable.
+
+
+
+
+ The test has been skipped.
+
+
+
+
+ The test has been ignored.
+
+
+
+
+ The test succeeded
+
+
+
+
+ The test failed
+
+
+
+
+ The test encountered an unexpected exception
+
+
+
+
+ The test was cancelled by the user
+
+
+
+
+ The TestStatus enum indicates the result of running a test
+
+
+
+
+ The test was inconclusive
+
+
+
+
+ The test has skipped
+
+
+
+
+ The test succeeded
+
+
+
+
+ The test failed
+
+
+
+
+ Helper class with static methods used to supply constraints
+ that operate on strings.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value contains the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that fails if the actual
+ value contains the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value starts with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that fails if the actual
+ value starts with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value ends with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that fails if the actual
+ value ends with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value matches the Regex pattern supplied as an argument.
+
+
+
+
+ Returns a constraint that fails if the actual
+ value matches the pattern supplied as an argument.
+
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding if all of them succeed.
+
+
+
+
+ TextMessageWriter writes constraint descriptions and messages
+ in displayable form as a text stream. It tailors the display
+ of individual message components to form the standard message
+ format of NUnit assertion failure messages.
+
+
+
+
+ Prefix used for the expected value line of a message
+
+
+
+
+ Prefix used for the actual value line of a message
+
+
+
+
+ Length of a message prefix
+
+
+
+
+ Construct a TextMessageWriter
+
+
+
+
+ Construct a TextMessageWriter, specifying a user message
+ and optional formatting arguments.
+
+
+
+
+
+
+ Method to write single line message with optional args, usually
+ written to precede the general failure message, at a givel
+ indentation level.
+
+ The indentation level of the message
+ The message to be written
+ Any arguments used in formatting the message
+
+
+
+ Display Expected and Actual lines for a constraint. This
+ is called by MessageWriter's default implementation of
+ WriteMessageTo and provides the generic two-line display.
+
+ The constraint that failed
+
+
+
+ Display Expected and Actual lines for given values. This
+ method may be called by constraints that need more control over
+ the display of actual and expected values than is provided
+ by the default implementation.
+
+ The expected value
+ The actual value causing the failure
+
+
+
+ Display Expected and Actual lines for given values, including
+ a tolerance value on the expected line.
+
+ The expected value
+ The actual value causing the failure
+ The tolerance within which the test was made
+
+
+
+ Display the expected and actual string values on separate lines.
+ If the mismatch parameter is >=0, an additional line is displayed
+ line containing a caret that points to the mismatch point.
+
+ The expected string value
+ The actual string value
+ The point at which the strings don't match or -1
+ If true, case is ignored in string comparisons
+ If true, clip the strings to fit the max line length
+
+
+
+ Writes the text for a connector.
+
+ The connector.
+
+
+
+ Writes the text for a predicate.
+
+ The predicate.
+
+
+
+ Write the text for a modifier.
+
+ The modifier.
+
+
+
+ Writes the text for an expected value.
+
+ The expected value.
+
+
+
+ Writes the text for an actual value.
+
+ The actual value.
+
+
+
+ Writes the text for a generalized value.
+
+ The value.
+
+
+
+ Writes the text for a collection value,
+ starting at a particular point, to a max length
+
+ The collection containing elements to write.
+ The starting point of the elements to write
+ The maximum number of elements to write
+
+
+
+ Write the generic 'Expected' line for a constraint
+
+ The constraint that failed
+
+
+
+ Write the generic 'Expected' line for a given value
+
+ The expected value
+
+
+
+ Write the generic 'Expected' line for a given value
+ and tolerance.
+
+ The expected value
+ The tolerance within which the test was made
+
+
+
+ Write the generic 'Actual' line for a constraint
+
+ The constraint for which the actual value is to be written
+
+
+
+ Write the generic 'Actual' line for a given value
+
+ The actual value causing a failure
+
+
+
+ Gets or sets the maximum line length for this writer
+
+
+
+
+ Helper class with properties and methods that supply
+ constraints that operate on exceptions.
+
+
+
+
+ Creates a constraint specifying the exact type of exception expected
+
+
+
+
+ Creates a constraint specifying the exact type of exception expected
+
+
+
+
+ Creates a constraint specifying the type of exception expected
+
+
+
+
+ Creates a constraint specifying the type of exception expected
+
+
+
+
+ Creates a constraint specifying an expected exception
+
+
+
+
+ Creates a constraint specifying an exception with a given InnerException
+
+
+
+
+ Creates a constraint specifying an expected TargetInvocationException
+
+
+
+
+ Creates a constraint specifying an expected TargetInvocationException
+
+
+
+
+ Creates a constraint specifying an expected TargetInvocationException
+
+
+
+
+ Creates a constraint specifying that no exception is thrown
diff --git a/References/Tools/NUnit/framework/nunit.mocks.dll b/References/Tools/NUnit/framework/nunit.mocks.dll
index 558f475..97b88e7 100644
Binary files a/References/Tools/NUnit/framework/nunit.mocks.dll and b/References/Tools/NUnit/framework/nunit.mocks.dll differ
diff --git a/References/Tools/NUnit/framework/pnunit.framework.dll b/References/Tools/NUnit/framework/pnunit.framework.dll
index 494dc72..ca9b5cb 100644
Binary files a/References/Tools/NUnit/framework/pnunit.framework.dll and b/References/Tools/NUnit/framework/pnunit.framework.dll differ
diff --git a/References/Tools/NUnit/launcher.log.conf b/References/Tools/NUnit/launcher.log.conf
index d340cad..4bd90ca 100644
--- a/References/Tools/NUnit/launcher.log.conf
+++ b/References/Tools/NUnit/launcher.log.conf
@@ -1,18 +1,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/References/Tools/NUnit/lib/nunit-console-runner.dll b/References/Tools/NUnit/lib/nunit-console-runner.dll
index 3f9c0e9..a18299e 100644
Binary files a/References/Tools/NUnit/lib/nunit-console-runner.dll and b/References/Tools/NUnit/lib/nunit-console-runner.dll differ
diff --git a/References/Tools/NUnit/lib/nunit-gui-runner.dll b/References/Tools/NUnit/lib/nunit-gui-runner.dll
index 894c338..ec364fa 100644
Binary files a/References/Tools/NUnit/lib/nunit-gui-runner.dll and b/References/Tools/NUnit/lib/nunit-gui-runner.dll differ
diff --git a/References/Tools/NUnit/lib/nunit.core.dll b/References/Tools/NUnit/lib/nunit.core.dll
index 6fd79cf..5e9fcc0 100644
Binary files a/References/Tools/NUnit/lib/nunit.core.dll and b/References/Tools/NUnit/lib/nunit.core.dll differ
diff --git a/References/Tools/NUnit/lib/nunit.core.interfaces.dll b/References/Tools/NUnit/lib/nunit.core.interfaces.dll
index 2794827..3152dd2 100644
Binary files a/References/Tools/NUnit/lib/nunit.core.interfaces.dll and b/References/Tools/NUnit/lib/nunit.core.interfaces.dll differ
diff --git a/References/Tools/NUnit/lib/nunit.fixtures.dll b/References/Tools/NUnit/lib/nunit.fixtures.dll
index 1658b37..0b19937 100644
Binary files a/References/Tools/NUnit/lib/nunit.fixtures.dll and b/References/Tools/NUnit/lib/nunit.fixtures.dll differ
diff --git a/References/Tools/NUnit/lib/nunit.uiexception.dll b/References/Tools/NUnit/lib/nunit.uiexception.dll
index 3f05866..66b4b95 100644
Binary files a/References/Tools/NUnit/lib/nunit.uiexception.dll and b/References/Tools/NUnit/lib/nunit.uiexception.dll differ
diff --git a/References/Tools/NUnit/lib/nunit.uikit.dll b/References/Tools/NUnit/lib/nunit.uikit.dll
index cb3cfdf..adc5ead 100644
Binary files a/References/Tools/NUnit/lib/nunit.uikit.dll and b/References/Tools/NUnit/lib/nunit.uikit.dll differ
diff --git a/References/Tools/NUnit/lib/nunit.util.dll b/References/Tools/NUnit/lib/nunit.util.dll
index 71ca49b..b31beef 100644
Binary files a/References/Tools/NUnit/lib/nunit.util.dll and b/References/Tools/NUnit/lib/nunit.util.dll differ
diff --git a/References/Tools/NUnit/nunit-agent-x86.exe b/References/Tools/NUnit/nunit-agent-x86.exe
new file mode 100644
index 0000000..00b331c
Binary files /dev/null and b/References/Tools/NUnit/nunit-agent-x86.exe differ
diff --git a/References/Tools/NUnit/nunit-agent-x86.exe.config b/References/Tools/NUnit/nunit-agent-x86.exe.config
new file mode 100644
index 0000000..d840f37
--- /dev/null
+++ b/References/Tools/NUnit/nunit-agent-x86.exe.config
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/References/Tools/NUnit/nunit-agent.exe b/References/Tools/NUnit/nunit-agent.exe
index 9b189c1..8729148 100644
Binary files a/References/Tools/NUnit/nunit-agent.exe and b/References/Tools/NUnit/nunit-agent.exe differ
diff --git a/References/Tools/NUnit/nunit-agent.exe.config b/References/Tools/NUnit/nunit-agent.exe.config
index c31edbc..d840f37 100644
--- a/References/Tools/NUnit/nunit-agent.exe.config
+++ b/References/Tools/NUnit/nunit-agent.exe.config
@@ -1,87 +1,69 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/References/Tools/NUnit/nunit-console-x86.exe b/References/Tools/NUnit/nunit-console-x86.exe
index 83849f3..48f726f 100644
Binary files a/References/Tools/NUnit/nunit-console-x86.exe and b/References/Tools/NUnit/nunit-console-x86.exe differ
diff --git a/References/Tools/NUnit/nunit-console-x86.exe.config b/References/Tools/NUnit/nunit-console-x86.exe.config
index 2636e47..fa0a262 100644
--- a/References/Tools/NUnit/nunit-console-x86.exe.config
+++ b/References/Tools/NUnit/nunit-console-x86.exe.config
@@ -1,87 +1,69 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/References/Tools/NUnit/nunit-console.exe b/References/Tools/NUnit/nunit-console.exe
index 9f61905..74f3dff 100644
Binary files a/References/Tools/NUnit/nunit-console.exe and b/References/Tools/NUnit/nunit-console.exe differ
diff --git a/References/Tools/NUnit/nunit-console.exe.config b/References/Tools/NUnit/nunit-console.exe.config
index 2636e47..fa0a262 100644
--- a/References/Tools/NUnit/nunit-console.exe.config
+++ b/References/Tools/NUnit/nunit-console.exe.config
@@ -1,87 +1,69 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/References/Tools/NUnit/nunit-x86.exe b/References/Tools/NUnit/nunit-x86.exe
index 1383237..f791368 100644
Binary files a/References/Tools/NUnit/nunit-x86.exe and b/References/Tools/NUnit/nunit-x86.exe differ
diff --git a/References/Tools/NUnit/nunit-x86.exe.config b/References/Tools/NUnit/nunit-x86.exe.config
index 9dae8a1..1641a50 100644
--- a/References/Tools/NUnit/nunit-x86.exe.config
+++ b/References/Tools/NUnit/nunit-x86.exe.config
@@ -1,95 +1,83 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/References/Tools/NUnit/nunit.exe b/References/Tools/NUnit/nunit.exe
index e3a0d28..7718d8d 100644
Binary files a/References/Tools/NUnit/nunit.exe and b/References/Tools/NUnit/nunit.exe differ
diff --git a/References/Tools/NUnit/nunit.exe.config b/References/Tools/NUnit/nunit.exe.config
index 9dae8a1..1641a50 100644
--- a/References/Tools/NUnit/nunit.exe.config
+++ b/References/Tools/NUnit/nunit.exe.config
@@ -1,95 +1,83 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/References/Tools/NUnit/nunit.framework.dll b/References/Tools/NUnit/nunit.framework.dll
index 2729ddf..875e098 100644
Binary files a/References/Tools/NUnit/nunit.framework.dll and b/References/Tools/NUnit/nunit.framework.dll differ
diff --git a/References/Tools/NUnit/pnunit-agent.exe b/References/Tools/NUnit/pnunit-agent.exe
index 7a559eb..31a03d8 100644
Binary files a/References/Tools/NUnit/pnunit-agent.exe and b/References/Tools/NUnit/pnunit-agent.exe differ
diff --git a/References/Tools/NUnit/pnunit-agent.exe.config b/References/Tools/NUnit/pnunit-agent.exe.config
index 15d4cdb..0bf29b3 100644
--- a/References/Tools/NUnit/pnunit-agent.exe.config
+++ b/References/Tools/NUnit/pnunit-agent.exe.config
@@ -1,87 +1,77 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/References/Tools/NUnit/pnunit-launcher.exe b/References/Tools/NUnit/pnunit-launcher.exe
index 5251378..e4c4f09 100644
Binary files a/References/Tools/NUnit/pnunit-launcher.exe and b/References/Tools/NUnit/pnunit-launcher.exe differ
diff --git a/References/Tools/NUnit/pnunit-launcher.exe.config b/References/Tools/NUnit/pnunit-launcher.exe.config
index b037b91..0bf29b3 100644
--- a/References/Tools/NUnit/pnunit-launcher.exe.config
+++ b/References/Tools/NUnit/pnunit-launcher.exe.config
@@ -1,87 +1,77 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/References/Tools/NUnit/pnunit.framework.dll b/References/Tools/NUnit/pnunit.framework.dll
index 494dc72..ca9b5cb 100644
Binary files a/References/Tools/NUnit/pnunit.framework.dll and b/References/Tools/NUnit/pnunit.framework.dll differ
diff --git a/References/Tools/NUnit/pnunit.tests.dll b/References/Tools/NUnit/pnunit.tests.dll
index ac67a2b..e3985d6 100644
Binary files a/References/Tools/NUnit/pnunit.tests.dll and b/References/Tools/NUnit/pnunit.tests.dll differ
diff --git a/References/Tools/NUnit/runFile.exe.config b/References/Tools/NUnit/runFile.exe.config
index 35909b4..f58f099 100644
--- a/References/Tools/NUnit/runFile.exe.config
+++ b/References/Tools/NUnit/runFile.exe.config
@@ -1,43 +1,43 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/References/Tools/NUnit/runpnunit.bat b/References/Tools/NUnit/runpnunit.bat
index 6efc8b4..a05cbb7 100644
--- a/References/Tools/NUnit/runpnunit.bat
+++ b/References/Tools/NUnit/runpnunit.bat
@@ -1,2 +1,2 @@
-start pnunit-agent agent.conf
+start pnunit-agent agent.conf
pnunit-launcher test.conf
\ No newline at end of file
diff --git a/References/Tools/NUnit/test.conf b/References/Tools/NUnit/test.conf
index a35e718..14cd113 100644
--- a/References/Tools/NUnit/test.conf
+++ b/References/Tools/NUnit/test.conf
@@ -1,24 +1,24 @@
-
-
-
-
- Testing
-
-
- Testing
- pnunit.tests.dll
- TestLibraries.Testing.EqualTo19
- localhost:8080
-
- ..\server
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ Testing
+
+
+ Testing
+ pnunit.tests.dll
+ TestLibraries.Testing.EqualTo19
+ localhost:8080
+
+ ..\server
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file