diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..b713459b
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,26 @@
+#top-most EditorConfig for project
+root = true
+
+[*]
+end_of_line = crlf
+insert_final_newline = true
+
+[*.cs]
+indent_style = space
+indent_size = 4
+
+[*.{xml,csproj,config}]
+indent_style = tab
+indent_size = 4
+
+[*.json]
+indent_style = space
+indent_size = 2
+
+[*.js]
+indent_style = space
+indent_size = 2
+
+[*.yml]
+indent_style = space
+indent_size = 2
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 00000000..c6020604
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,31 @@
+---
+name: Bug report
+about: Create a report to help us improve
+title: ''
+labels: ''
+assignees: ''
+
+---
+
+**Describe the bug**
+A clear and concise description of what the bug is.
+
+**To Reproduce**
+Either fork from this fiddle and paste link here: https://dotnetfiddle.net/mh9CjX
+
+or
+
+Steps to reproduce the behavior:
+1. Go to '...'
+2. Click on '....'
+3. Scroll down to '....'
+4. See error
+
+**Expected behavior**
+A clear and concise description of what you expected to happen.
+
+**Screenshots**
+If applicable, add screenshots to help explain your problem.
+
+**Additional context**
+Add any other context about the problem here.
diff --git a/.gitignore b/.gitignore
index 388719cd..4969d4de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,24 +1,43 @@
-src/libcmdline/bin/*
-src/libcmdline/obj
-src/demo/bin/*
-src/demo/obj
-src/tests/bin/*
-src/tests/obj
-src/templates/CSharpTemplate/bin/*
-src/templates/CSharpTemplate/obj
-src/templates/VBNetTemplate/bin/*
-src/templates/VBNetTemplate/obj
+
+#ignore build outputs
+[B|b]in
+[O|o]bj
+build/*
+
+#ignore managed external libs
packages
+paket-files
+
*.suo
*.userprefs
*~
+\#*\#
*.pidb
+
+#ignore Test results/temps
*.test-cache
-src/libcmdline/test-results/*
-src/tests/test-results/*
+tests/CommandLine/test-results/*
+tests/CommandLine.Tests/test-results/*
+TestResult.xml
+
*.DS_Store
*.csproj.user
-TestResult.xml
*.nupkg
*.old
-StyleCop.Cache
\ No newline at end of file
+StyleCop.Cache
+.paket/paket.exe
+.fake
+*.cache
+docs/output/*
+artifacts/*
+*.xproj.user
+*.nuget.targets
+*.lock.json
+*.nuget.props
+*.DotSettings.user
+# Visual Studio 2015 cache/options directory
+.vs/
+# Rider
+.idea/
+
+[R|r]elease/**
diff --git a/.nuget/NuGet.Config b/.nuget/NuGet.Config
deleted file mode 100644
index 6a318ad9..00000000
--- a/.nuget/NuGet.Config
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.nuget/NuGet.exe b/.nuget/NuGet.exe
deleted file mode 100644
index 4645f4b3..00000000
Binary files a/.nuget/NuGet.exe and /dev/null differ
diff --git a/.nuget/NuGet.targets b/.nuget/NuGet.targets
deleted file mode 100644
index dce921ac..00000000
--- a/.nuget/NuGet.targets
+++ /dev/null
@@ -1,153 +0,0 @@
-
-
-
- $(MSBuildProjectDirectory)\..\
-
-
- false
-
-
- false
-
-
- true
-
-
- false
-
-
-
-
-
-
-
-
-
-
- $([System.IO.Path]::Combine($(SolutionDir), ".nuget"))
- $([System.IO.Path]::Combine($(ProjectDir), "packages.config"))
- $([System.IO.Path]::Combine($(SolutionDir), "packages"))
-
-
-
-
- $(SolutionDir).nuget
- packages.config
- $(SolutionDir)packages
-
-
-
-
- $(NuGetToolsPath)\nuget.exe
- @(PackageSource)
-
- "$(NuGetExePath)"
- mono --runtime=v4.0.30319 $(NuGetExePath)
-
- $(TargetDir.Trim('\\'))
-
- -RequireConsent
-
- $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(RequireConsentSwitch) -o "$(PackagesDir)"
- $(NuGetCommand) pack "$(ProjectPath)" -p Configuration=$(Configuration) -o "$(PackageOutputDir)" -symbols
-
-
-
- RestorePackages;
- $(BuildDependsOn);
-
-
-
-
- $(BuildDependsOn);
- BuildPackage;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.nuget/packages.config b/.nuget/packages.config
deleted file mode 100644
index 1c6d6842..00000000
--- a/.nuget/packages.config
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 00000000..eea8ad12
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,174 @@
+# Changelog
+All notable changes to this project will be documented in this file.
+
+CommandLineParser project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+## [2.9.0-preview2]
+
+### Added
+- Properly assign arguments after a double dash to values, fix #605 by [@robnasby, PR# 610](https://github.com/commandlineparser/commandline/pull/610).
+
+### Changed
+- Drop "Add multi-instance option support".
+
+
+## [2.9.0-preview1] - 2020-7-24
+
+### Added
+- Add multi-instance option support by [@rmunn and @tydunkel, PR# 594](https://github.com/commandlineparser/commandline/pull/594).
+- Fix unparsing FileInfo and DirectoryInfo by[@kapsiR, PR# 627](https://github.com/commandlineparser/commandline/pull/627).
+- Move Errors and Value up to the abstract class definition, fixes #543 , #165 by [@johnjaylward, PR# 634](https://github.com/commandlineparser/commandline/pull/634).
+- Add support for flags enums, fixes #247, #599 and #582 by [@shaosss, PR# 623](https://github.com/commandlineparser/commandline/pull/623).
+- Implement verb aliases, fixes #6, #517 by[@johnjaylward, PR# 636](https://github.com/commandlineparser/commandline/pull/636).
+- Add a new method FormatCommandLineArgs to unparse commandline to array of string, Fix #375 and #628 .
+ - Also, add SplitArgs method to split commandline, fix #665 by[@moh-hassan, PR# 662](https://github.com/commandlineparser/commandline/pull/662) and [commit cccae2db](https://github.com/commandlineparser/commandline/commit/cccae2db749c2ebf25125bfd18e05427be0adbcf).
+- Allow single dash as a value, fix #300 and #574 by [@moh-hassan, PR# 669](https://github.com/commandlineparser/commandline/pull/669).
+
+
+## [2.8.0] - 2020-5-1
+## [2.8.0-preview4] - 2020-4-30
+## [2.8.0-preview1] - 2020-3-14
+
+### Added
+- Added support for async programming for `WithParsed and WithNotParsed` by [@joseangelmt, PR# 390 ](https://github.com/commandlineparser/commandline/pull/390).
+- Publish a new symbol packages with source link support for c# and F# (.snupkg) to improved package debugging experience by [@moh-hassan, PR#554](https://github.com/commandlineparser/commandline/pull/554)
+- Add default verb support by [@Artentus, PR# 556](https://github.com/commandlineparser/commandline/pull/556).
+- Add more details for localized attribute properties by [@EdmondShtogu, PR# 558](https://github.com/commandlineparser/commandline/pull/558)
+- Support Default in Group Options and raise error if both SetName and Group are applied on option by [@hadzhiyski, PR# 575](https://github.com/commandlineparser/commandline/pull/575).
+- Support mutable types without empty constructor that only does explicit implementation of interfaces by [@pergardebrink, PR#590](https://github.com/commandlineparser/commandline/pull/590).
+
+
+### Changed
+- Tests cleanup by [@gsscoder, PR# 560](https://github.com/commandlineparser/commandline/pull/560).
+- Upgraded parts of CSharpx from Version 1.6.2-alpha by [@gsscoder, PR# 561](https://github.com/commandlineparser/commandline/pull/561).
+- Upgraded RailwaySharp from Version 1.1.0 by [@gsscoder, PR# 562](https://github.com/commandlineparser/commandline/pull/562).
+- SkipDefault is being respected by [Usage] Examples by [@kendfrey, PR# 565](https://github.com/commandlineparser/commandline/pull/565).
+- Remove useless testing code by [@gsscoder, PR# 568](https://github.com/commandlineparser/commandline/pull/568).
+- Remove constraint on T for ParseArguments with factory (required by issue #70) by [@pergardebrink](https://github.com/commandlineparser/commandline/pull/590).
+- Update nuget api key by [@ericnewton76](https://github.com/commandlineparser/commandline/commit/2218294550e94bcbc2b76783970541385eaf9c07)
+
+### Fixed
+- Fix #579 Unable to parse TimeSpan given from the FormatCommandLine by [@gsscoder, PR# 580](https://github.com/commandlineparser/commandline/pull/580).
+- Fix issue #339 for using custom struct having a constructor with string parameter by [moh-hassan, PR# 588](https://github.com/commandlineparser/commandline/pull/588).
+- Fix issue #409 to avoid IOException break in Debug mode in WPF app by [moh-hassan, PR# 589 ](https://github.com/commandlineparser/commandline/pull/589).
+
+
+## [2.7.82] - 2020-1-1
+## [2.7.0] - 2020-1-1
+### Added
+- Add option groups feature by [@hadzhiyski](https://github.com/commandlineparser/commandline/pull/552) - When one or more options has group set, at least one of these properties should have set value (they behave as required).
+- Add a new overload method for AutoBuild to enable HelpText customization by [@moh-hassan](https://github.com/commandlineparser/commandline/pull/557).
+- Improve spacing in HelpText by [@asherber](https://github.com/commandlineparser/commandline/pull/494) by adding a new option in the HelpText.
+- Add a new option "SkipDefault" in UnParserSettings by [@moh-hassan](https://github.com/commandlineparser/commandline/pull/550) to add the ability of skipping the options with a default value and fix [#541](https://github.com/commandlineparser/commandline/issues/541).
+- Generate a new symbolic nuget Package by [@moh-hassan](https://github.com/commandlineparser/commandline/pull/554) to Improve the debugging of Applications with the NuGet package using [symbols experience](https://github.com/NuGet/Home/wiki/NuGet-Package-Debugging-&-Symbols-Improvements).
+- Add Support to [SourceLink](https://github.com/dotnet/sourcelink/blob/master/docs/README.md) in the nuget package [@moh-hassan](https://github.com/commandlineparser/commandline/pull/554).
+
+### Changed
+- Remove the Exception when both CompanyAttribute and CopyRightAttribute are null in the Excuting assembly and set the copyright text to a default value by [@moh-hassan](https://github.com/commandlineparser/commandline/pull/557).
+- Change the default copyright to include current year instead of 1 by [@moh-hassan](https://github.com/commandlineparser/commandline/pull/557).
+- Enabling c# 8 and Vs2019 image in Appveyor.
+
+### Fixed
+- Fix NullReferenceException when creating a default immutable instance by [@0xced](https://github.com/commandlineparser/commandline/pull/495).
+- Fix issue [#496](https://github.com/commandlineparser/commandline/issues/496) - Cryptic error message with immutable option class by[@moh-hassan](https://github.com/commandlineparser/commandline/pull/555).
+- Fix UnParserExtensions.FormatCommandLine by [@moh-hassan](https://github.com/commandlineparser/commandline/pull/550) to resolve:
+ - Fix Quote for Options of type DatTime [#502](https://github.com/commandlineparser/commandline/issues/502) and [#528](https://github.com/commandlineparser/commandline/issues/258).
+ - Fix Quote for options of type TimeSpan and DateTimeOffset.
+ - Fix Nullable type [#305](https://github.com/commandlineparser/commandline/issues/305)
+
+- Fix nuget Licence in nuget package by [@moh-hassan](https://github.com/commandlineparser/commandline/pull/549) and fix issue [#545](https://github.com/commandlineparser/commandline/issues/545).
+- Fix PackageIconUrl warning in nuget package by [@moh-hassan](https://github.com/commandlineparser/commandline/pull/551).
+- Fix immutable nullException, Improve exception message when immutable type can't be created
+- Fix Custom help for verbs issue[#529](https://github.com/commandlineparser/commandline/issues/529) by [@moh-hassan](https://github.com/commandlineparser/commandline/pull/557).
+- Fix --help switch throwing exception in F# [#366](https://github.com/commandlineparser/commandline/issues/366)
+by [@WallaceKelly](https://github.com/commandlineparser/commandline/pull/493)
+
+## [2.6.0] - 2019-07-31
+### Added
+- Support HelpText localization with ResourceType property by [@tkouba](https://github.com/commandlineparser/commandline/pull/356).
+- Add demo for complete localization of command line help using resources by[@tkouba](https://github.com/commandlineparser/commandline/pull/485).
+- Localize VerbAttribute by [@moh-hassan](https://github.com/commandlineparser/commandline/pull/473).
+- Improve support for multiline help text by [@NeilMacMullen](https://github.com/commandlineparser/commandline/pull/456/).
+- Reorder options in auto help text (issue #482) [@b3b00](https://github.com/commandlineparser/commandline/pull/484).
+- Add IsHelp() and IsVersion() Extension methods to mange HelpText errors by [@moh-hassan](https://github.com/commandlineparser/commandline/pull/467).
+
+### Fixed
+- Fix issues for HelpText.AutoBuild configuration (issues #224 , # 259) by [@moh-hassan](https://github.com/commandlineparser/commandline/pull/467).
+- Test maintainance: add missed tests and removing xUnit1013 warning by [@moh-hassan](https://github.com/commandlineparser/commandline/pull/462).
+- Fix issue #104 of nullable enum by [@moh-hassan](https://github.com/commandlineparser/commandline/pull/453).
+- Fix issue #418, modify version screen to print a new line at the end by [@moh-hassan](https://github.com/commandlineparser/commandline/pull/443).
+
+
+## [2.5.0] - 2019-04-27
+### Added
+- Add support to NET40 and NET45 for both CSharp and FSharp by [@moh-hassan](https://github.com/commandlineparser/commandline/pull/430).
+
+
+### Changed
+- Proposed changes for enhancement by [@Wind010](https://github.com/commandlineparser/commandline/pull/314), cover:appveyor.yml, ReflectionExtensions.cs and error.cs.
+- Enhance the CSharp demo to run in multi-target net40;net45;netcoreapp2.0;netcoreapp2.1 by [@moh-hassan](https://github.com/commandlineparser/commandline/pull/430).
+- Added explicit support for .NET 4.6.1 and .NET Core 2.0 by [@ravenpride](https://github.com/commandlineparser/commandline/pull/400).
+- Convert commandline project to multi-target project netstandard2.0;net40;net45;net461.
+- Convert commandline Test to multi-target project net461;netcoreapp2.0.
+
+
+
+### Fixed
+- Fix the null EntryAssembly Exception in unit test of net4x projects: issues #389,#424 by [@moh-hassan](https://github.com/commandlineparser/commandline/pull/430).
+- Fix the test case 'Add unit tests for Issue #389 and #392
+- Fix CSC error CS7027: Error signing output with public key from file 'CommandLine.snk' -- Invalid public key in appveyor CI.
+- Fix the error CS0234: The type or namespace name 'FSharp' for net40 Framework.
+- Fix Mis-typed CommandLine.BaseAttribute.Default results in ArgumentException: Object of type 'X' cannot be converted to type 'Y' (issue #189) by[@Wind010](https://github.com/commandlineparser/commandline/pull/314).
+
+
+
+
+## [2.4.3] - 2019-01-09
+### Added
+- Add support to NetStandard2.0 by [@ViktorHofer](https://github.com/commandlineparser/commandline/pull/307)
+- Add strong name signing [@ViktorHofer](https://github.com/commandlineparser/commandline/pull/307)
+- Added AutoBuild and AutoVersion properties to control adding of implicit 'help' and 'version' options/verbs by [@Athari](https://github.com/commandlineparser/commandline/pull/256).
+- Added simpler C# Quick Start example at readme.md by [@lythix](https://github.com/commandlineparser/commandline/pull/274).
+- Add validate feature in Set parameter, and throw exception, and show usage,Issue #283 by[@e673](https://github.com/commandlineparser/commandline/pull/286).
+
+
+### Deprecated
+- Drop support for NET40 and NET45
+
+
+### Removed
+- Disable faulty tests in netsatbdard2.0 and enable testing in CI.
+
+
+### Fixed
+- Fix grammar error in specification error message by [@DillonAd](https://github.com/commandlineparser/commandline/pull/276).
+- Fix HelpText.AutoBuild Usage spacing by[@ElijahReva](https://github.com/commandlineparser/commandline/pull/280).
+- Fix type at readme.md file by [@matthewjberger](https://github.com/commandlineparser/commandline/pull/304)
+- Fix not showing correct header info, issue #34 by[@tynar](https://github.com/commandlineparser/commandline/pull/312).
+- Fix title of assembly renders oddly issue-#197 by [@Yiabiten](https://github.com/commandlineparser/commandline/pull/344).
+- Fix nuget apikey by [@ericnewton76](https://github.com/commandlineparser/commandline/pull/386).
+- Fix missing fsharp from github release deployment by @ericnewton76.
+- Fix to Display Width Tests by [@Oddley](https://github.com/commandlineparser/commandline/pull/278).
+- Fixing DisplayWidth for newer Mono by [@Oddley](https://github.com/commandlineparser/commandline/pull/279).
+
+
+## [2.3.0] - 2018-08-13
+### Added
+- Properly handle CaseInsensitiveEnumValues flag fixing issue #198 by [@niklaskarl](https://github.com/commandlineparser/commandline/pull/231).
+
+### Changed
+- Updated README examples quick start example for c# and Vb.net to work with the new API by [@loligans](https://github.com/commandlineparser/commandline/pull/218).
+- Updated README by [@ericnewton76](https://github.com/commandlineparser/commandline/pull/208).
+- Update copyright in unit tests
+- Patching appveyor dotnet csproj
+- Updates to appveyor to create a build matrix
+
+### Fixed
+- hotfix/issue #213 fsharp dependency by [@ericnewton76](https://github.com/commandlineparser/commandline/pull/215).
+
+
+## [2.2.1] - 2018-01-10
+
+## [2.2.0] - 2018-01-07
+
+## [1.9.71.2] - 2013-02-27: The starting bascode version
diff --git a/CommandLine.5.1.ReSharper b/CommandLine.5.1.ReSharper
deleted file mode 100644
index 7bac9e74..00000000
--- a/CommandLine.5.1.ReSharper
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
- SOLUTION
-
-
- False
- False
- False
- False
- False
- 1
- 1
- True
-
- public
- protected
- internal
- private
- new
- abstract
- virtual
- override
- sealed
- static
- readonly
- extern
- unsafe
- volatile
-
- False
- True
- False
- False
-
-
-
- $object$_On$event$
- $event$Handler
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- $object$_On$event$
- $event$Handler
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- OnDifferentLines
- FirstAttributeOnSingleLine
-
-
-
-
- $object$_On$event$
- $event$Handler
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/CommandLine.sln b/CommandLine.sln
index 293635db..102837f1 100644
--- a/CommandLine.sln
+++ b/CommandLine.sln
@@ -1,85 +1,39 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommandLine", "src\libcmdline\CommandLine.csproj", "{5DEA2811-2FFA-4959-830B-CAD3ACACABEB}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommandLine.Tests", "src\tests\CommandLine.Tests.csproj", "{86E1AC34-ED2D-4E42-8B95-65208FEA36C2}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommandLine.Demo", "src\demo\CommandLine.Demo.csproj", "{9E573FFF-4ECB-4C59-A914-C0B74D44D2E8}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".Welcome", ".Welcome", "{4F498B61-A7BC-4B32-9ACB-901D4F50659B}"
- ProjectSection(SolutionItems) = preProject
- doc\ChangeLog = doc\ChangeLog
- doc\LICENSE = doc\LICENSE
- doc\PublicAPI.md = doc\PublicAPI.md
- README.md = README.md
- EndProjectSection
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NuGet", "NuGet", "{CC062800-4709-4A04-8A0D-DD972C1BFFC5}"
- ProjectSection(SolutionItems) = preProject
- nuget\CommandLine.nuspec = nuget\CommandLine.nuspec
- nuget\readme.txt = nuget\readme.txt
- EndProjectSection
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{18282A82-E36C-4938-8397-C0A1166983BA}"
- ProjectSection(SolutionItems) = preProject
- Rakefile.rb = Rakefile.rb
- EndProjectSection
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{350E598F-50C7-45A2-83A6-346AF7D163F5}"
- ProjectSection(SolutionItems) = preProject
- .nuget\NuGet.Config = .nuget\NuGet.Config
- .nuget\NuGet.exe = .nuget\NuGet.exe
- .nuget\NuGet.targets = .nuget\NuGet.targets
- .nuget\packages.config = .nuget\packages.config
- EndProjectSection
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Develop", "Develop", "{939BEBC0-CE70-4209-A991-0DA4E8F3B9AE}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Debug|x86 = Debug|x86
- Release|Any CPU = Release|Any CPU
- Release|x86 = Release|x86
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {5DEA2811-2FFA-4959-830B-CAD3ACACABEB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5DEA2811-2FFA-4959-830B-CAD3ACACABEB}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5DEA2811-2FFA-4959-830B-CAD3ACACABEB}.Debug|x86.ActiveCfg = Debug|Any CPU
- {5DEA2811-2FFA-4959-830B-CAD3ACACABEB}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5DEA2811-2FFA-4959-830B-CAD3ACACABEB}.Release|Any CPU.Build.0 = Release|Any CPU
- {5DEA2811-2FFA-4959-830B-CAD3ACACABEB}.Release|x86.ActiveCfg = Release|Any CPU
- {86E1AC34-ED2D-4E42-8B95-65208FEA36C2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {86E1AC34-ED2D-4E42-8B95-65208FEA36C2}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {86E1AC34-ED2D-4E42-8B95-65208FEA36C2}.Debug|x86.ActiveCfg = Debug|Any CPU
- {86E1AC34-ED2D-4E42-8B95-65208FEA36C2}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {86E1AC34-ED2D-4E42-8B95-65208FEA36C2}.Release|Any CPU.Build.0 = Release|Any CPU
- {86E1AC34-ED2D-4E42-8B95-65208FEA36C2}.Release|x86.ActiveCfg = Release|Any CPU
- {9E573FFF-4ECB-4C59-A914-C0B74D44D2E8}.Debug|Any CPU.ActiveCfg = Debug|x86
- {9E573FFF-4ECB-4C59-A914-C0B74D44D2E8}.Debug|Any CPU.Build.0 = Debug|x86
- {9E573FFF-4ECB-4C59-A914-C0B74D44D2E8}.Debug|x86.ActiveCfg = Debug|x86
- {9E573FFF-4ECB-4C59-A914-C0B74D44D2E8}.Debug|x86.Build.0 = Debug|x86
- {9E573FFF-4ECB-4C59-A914-C0B74D44D2E8}.Release|Any CPU.ActiveCfg = Release|x86
- {9E573FFF-4ECB-4C59-A914-C0B74D44D2E8}.Release|Any CPU.Build.0 = Release|x86
- {9E573FFF-4ECB-4C59-A914-C0B74D44D2E8}.Release|x86.ActiveCfg = Release|x86
- {9E573FFF-4ECB-4C59-A914-C0B74D44D2E8}.Release|x86.Build.0 = Release|x86
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(NestedProjects) = preSolution
- {939BEBC0-CE70-4209-A991-0DA4E8F3B9AE} = {4F498B61-A7BC-4B32-9ACB-901D4F50659B}
- {18282A82-E36C-4938-8397-C0A1166983BA} = {4F498B61-A7BC-4B32-9ACB-901D4F50659B}
- {CC062800-4709-4A04-8A0D-DD972C1BFFC5} = {939BEBC0-CE70-4209-A991-0DA4E8F3B9AE}
- EndGlobalSection
- GlobalSection(MonoDevelopProperties) = preSolution
- StartupItem = src\demo\CommandLine.Demo.csproj
- Policies = $0
- $0.TextStylePolicy = $1
- $1.FileWidth = 120
- $1.TabsToSpaces = False
- $1.inheritsSet = VisualStudio
- $1.inheritsScope = text/plain
- EndGlobalSection
-EndGlobal
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+VisualStudioVersion = 15.0.27703.2042
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CommandLine", "src\CommandLine\CommandLine.csproj", "{E1BD3C65-49C3-49E7-BABA-C60980CB3F20}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CommandLine.Tests", "tests\CommandLine.Tests\CommandLine.Tests.csproj", "{0A15C4D2-B3E9-43AB-8155-1B39F7AC8A5E}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{1361E8B1-D0E1-493E-B8C1-7380A7B7C472}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {E1BD3C65-49C3-49E7-BABA-C60980CB3F20}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E1BD3C65-49C3-49E7-BABA-C60980CB3F20}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E1BD3C65-49C3-49E7-BABA-C60980CB3F20}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E1BD3C65-49C3-49E7-BABA-C60980CB3F20}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0A15C4D2-B3E9-43AB-8155-1B39F7AC8A5E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0A15C4D2-B3E9-43AB-8155-1B39F7AC8A5E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0A15C4D2-B3E9-43AB-8155-1B39F7AC8A5E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0A15C4D2-B3E9-43AB-8155-1B39F7AC8A5E}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {0A15C4D2-B3E9-43AB-8155-1B39F7AC8A5E} = {1361E8B1-D0E1-493E-B8C1-7380A7B7C472}
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {5B5A476C-82FB-49FB-B592-5224D9005186}
+ EndGlobalSection
+ GlobalSection(MonoDevelopProperties) = preSolution
+ StartupItem = src\CommandLine\CommandLine.csproj
+ EndGlobalSection
+EndGlobal
diff --git a/CommandLine.sln.DotSettings.user b/CommandLine.sln.DotSettings.user
deleted file mode 100644
index 44ddc427..00000000
--- a/CommandLine.sln.DotSettings.user
+++ /dev/null
@@ -1,68 +0,0 @@
-
- True
-
-
- 1
- 1
- True
-
- True
- False
- False
- OnDifferentLines
- FirstAttributeOnSingleLine
- $object$_On$event$
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="I" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
-
- <Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="T" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- $object$_On$event$
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="I" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" />
- <Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="T" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- <Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" />
- <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" />
- False
- VS
- True
-
- [8,-35](1024,624)
-
-
- True
- 4
-
-
-
- True
- 4
- Session
- <Session><Elements><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Infrastructure.ArgumentParserFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Infrastructure.ArgumentParserFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.AttributesFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.AttributesFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.CopyrightInfoFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.CopyrightInfoFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Infrastructure.EnumeratorsFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Infrastructure.EnumeratorsFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HeadingInfoFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HeadingInfoFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.HelpOptionAttributeFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.HelpOptionAttributeFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HelpTextFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.MultiLineTextAttributeFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.MultiLineTextAttributeFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.OptionArrayAttributeFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.OptionArrayAttributeFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.OptionAttributeFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.OptionAttributeFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.OptionListAttributeFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.OptionListAttributeFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Infrastructure.OptionMapFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Infrastructure.OptionMapFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserSettingsFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserSettingsFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserStateFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserStateFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Infrastructure.ReflectionHelperFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Infrastructure.ReflectionHelperFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.SingletonFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.SingletonFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.StrictFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.StrictFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.UnknownArgumentsFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.UnknownArgumentsFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ValueListAttributeParsingFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ValueListAttributeParsingFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.ValueOptionAttributeFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.ValueOptionAttributeFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ValueOptionAttributeParsingFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ValueOptionAttributeParsingFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.VerbsFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.VerbsFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.VerbsHelpTextFixture" type="XunitTestClassElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.VerbsHelpTextFixture" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture.Add_an_empty_pre_options_line_is_allowed" ParentId="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HelpTextFixture" methodName="Add_an_empty_pre_options_line_is_allowed" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture.Add_options_with_dashes" ParentId="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HelpTextFixture" methodName="Add_options_with_dashes" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.AttributesFixture.All_options_allow_null_value_in_short_name" ParentId="xunit:CommandLine.Tests.Unit.Attributes.AttributesFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.AttributesFixture" methodName="All_options_allow_null_value_in_short_name" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.AttributesFixture.All_options_allow_one_character_in_short_name" ParentId="xunit:CommandLine.Tests.Unit.Attributes.AttributesFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.AttributesFixture" methodName="All_options_allow_one_character_in_short_name" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Allow_single_dash_as_non_option_value" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Allow_single_dash_as_non_option_value" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Allow_single_dash_as_option_input_value" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Allow_single_dash_as_option_input_value" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.MultiLineTextAttributeFixture.Assembly_license_should_offer_read_only_property_named_value" ParentId="xunit:CommandLine.Tests.Unit.Text.MultiLineTextAttributeFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.MultiLineTextAttributeFixture" methodName="Assembly_license_should_offer_read_only_property_named_value" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.MultiLineTextAttributeFixture.Assembly_usage_should_offer_read_only_property_named_value" ParentId="xunit:CommandLine.Tests.Unit.Text.MultiLineTextAttributeFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.MultiLineTextAttributeFixture" methodName="Assembly_usage_should_offer_read_only_property_named_value" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.HelpOptionAttributeFixture.Bad_input_activates_help" ParentId="xunit:CommandLine.Tests.Unit.Attributes.HelpOptionAttributeFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.HelpOptionAttributeFixture" methodName="Bad_input_activates_help" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ValueOptionAttributeParsingFixture.Between_value_options_order_matters" ParentId="xunit:CommandLine.Tests.Unit.Parser.ValueOptionAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ValueOptionAttributeParsingFixture" methodName="Between_value_options_order_matters" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Infrastructure.EnumeratorsFixture.Char_iteration" ParentId="xunit:CommandLine.Tests.Unit.Infrastructure.EnumeratorsFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Infrastructure.EnumeratorsFixture" methodName="Char_iteration" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture.Concrete_type_is_generic_list_of_string" ParentId="xunit:CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture" methodName="Concrete_type_is_generic_list_of_string" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture.Concrete_type_is_generic_list_of_string_sub_type" ParentId="xunit:CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture" methodName="Concrete_type_is_generic_list_of_string_sub_type" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.HelpOptionAttributeFixture.Correct_input_not_activates_help" ParentId="xunit:CommandLine.Tests.Unit.Attributes.HelpOptionAttributeFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.HelpOptionAttributeFixture" methodName="Correct_input_not_activates_help" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture.Create_basic_instance" ParentId="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HelpTextFixture" methodName="Create_basic_instance" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture.Customize_options_format" ParentId="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HelpTextFixture" methodName="Customize_options_format" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.SingletonFixture.Default_doesnt_support_mutually_exclusive_options" ParentId="xunit:CommandLine.Tests.Unit.Parser.SingletonFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.SingletonFixture" methodName="Default_doesnt_support_mutually_exclusive_options" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.SingletonFixture.Default_parsing_culture_is_invariant" ParentId="xunit:CommandLine.Tests.Unit.Parser.SingletonFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.SingletonFixture" methodName="Default_parsing_culture_is_invariant" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Default_parsing_is_case_sensitive" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Default_parsing_is_case_sensitive" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.CopyrightInfoFixture.Default_symbol_several_years" ParentId="xunit:CommandLine.Tests.Unit.Text.CopyrightInfoFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.CopyrightInfoFixture" methodName="Default_symbol_several_years" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.CopyrightInfoFixture.Default_symbol_two_non_consecutive_years" ParentId="xunit:CommandLine.Tests.Unit.Text.CopyrightInfoFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.CopyrightInfoFixture" methodName="Default_symbol_two_non_consecutive_years" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.CopyrightInfoFixture.Derived_class" ParentId="xunit:CommandLine.Tests.Unit.Text.CopyrightInfoFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.CopyrightInfoFixture" methodName="Derived_class" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture.Detailed_help_with_bad_format" ParentId="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HelpTextFixture" methodName="Detailed_help_with_bad_format" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture.Detailed_help_with_bad_format_and_mutual_exclusiveness" ParentId="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HelpTextFixture" methodName="Detailed_help_with_bad_format_and_mutual_exclusiveness" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture.Detailed_help_with_bad_mutual_exclusiveness" ParentId="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HelpTextFixture" methodName="Detailed_help_with_bad_mutual_exclusiveness" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture.Detailed_help_with_missing_required" ParentId="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HelpTextFixture" methodName="Detailed_help_with_missing_required" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture.Detailed_help_with_missing_required_and_bad_format" ParentId="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HelpTextFixture" methodName="Detailed_help_with_missing_required_and_bad_format" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Disabling_case_sensitive" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Disabling_case_sensitive" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.HelpOptionAttributeFixture.Explicit_help_activation" ParentId="xunit:CommandLine.Tests.Unit.Attributes.HelpOptionAttributeFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.HelpOptionAttributeFixture" methodName="Explicit_help_activation" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.VerbsFixture.Failed_parsing_prints_help_index" ParentId="xunit:CommandLine.Tests.Unit.Parser.VerbsFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.VerbsFixture" methodName="Failed_parsing_prints_help_index" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.VerbsHelpTextFixture.Failed_parsing_prints_help_index" ParentId="xunit:CommandLine.Tests.Unit.Text.VerbsHelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.VerbsHelpTextFixture" methodName="Failed_parsing_prints_help_index" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.VerbsFixture.Failed_verb_parsing_prints_particular_help_screen" ParentId="xunit:CommandLine.Tests.Unit.Parser.VerbsFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.VerbsFixture" methodName="Failed_verb_parsing_prints_particular_help_screen" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.VerbsHelpTextFixture.Failed_verb_parsing_prints_particular_help_screen" ParentId="xunit:CommandLine.Tests.Unit.Text.VerbsHelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.VerbsHelpTextFixture" methodName="Failed_verb_parsing_prints_particular_help_screen" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Infrastructure.ReflectionHelperFixture.Get_fields_attribute_list" ParentId="xunit:CommandLine.Tests.Unit.Infrastructure.ReflectionHelperFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Infrastructure.ReflectionHelperFixture" methodName="Get_fields_attribute_list" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Infrastructure.ReflectionHelperFixture.Get_fields_by_attribute" ParentId="xunit:CommandLine.Tests.Unit.Infrastructure.ReflectionHelperFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Infrastructure.ReflectionHelperFixture" methodName="Get_fields_by_attribute" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture.Get_generic_list_of_string_interface_reference" ParentId="xunit:CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture" methodName="Get_generic_list_of_string_interface_reference" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Infrastructure.ReflectionHelperFixture.Get_method_by_attribute" ParentId="xunit:CommandLine.Tests.Unit.Infrastructure.ReflectionHelperFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Infrastructure.ReflectionHelperFixture" methodName="Get_method_by_attribute" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Infrastructure.ArgumentParserFixture.Get_next_input_values" ParentId="xunit:CommandLine.Tests.Unit.Infrastructure.ArgumentParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Infrastructure.ArgumentParserFixture" methodName="Get_next_input_values" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.ValueOptionAttributeFixture.Index_Explicitly_Set_On_Value_Option" ParentId="xunit:CommandLine.Tests.Unit.Attributes.ValueOptionAttributeFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.ValueOptionAttributeFixture" methodName="Index_Explicitly_Set_On_Value_Option" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.ValueOptionAttributeFixture.Index_Implicit_By_Declaration_Order" ParentId="xunit:CommandLine.Tests.Unit.Attributes.ValueOptionAttributeFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.ValueOptionAttributeFixture" methodName="Index_Implicit_By_Declaration_Order" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture.Instancing_with_parameterless_constructor" ParentId="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HelpTextFixture" methodName="Instancing_with_parameterless_constructor" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture.Invoke_render_parsing_errors_text" ParentId="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HelpTextFixture" methodName="Invoke_render_parsing_errors_text" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture.Long_help_text_without_spaces" ParentId="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HelpTextFixture" methodName="Long_help_text_without_spaces" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture.Long_pre_and_post_lines_without_spaces" ParentId="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HelpTextFixture" methodName="Long_pre_and_post_lines_without_spaces" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.CopyrightInfoFixture.Lower_symbol_one_year" ParentId="xunit:CommandLine.Tests.Unit.Text.CopyrightInfoFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.CopyrightInfoFixture" methodName="Lower_symbol_one_year" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Infrastructure.OptionMapFixture.Manage_options" ParentId="xunit:CommandLine.Tests.Unit.Infrastructure.OptionMapFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Infrastructure.OptionMapFixture" methodName="Manage_options" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture.Meta_value" ParentId="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HelpTextFixture" methodName="Meta_value" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture.Multiple_required_fields_with_more_than_one_required_field_not_specified_reports_all_missing_required_fields" ParentId="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HelpTextFixture" methodName="Multiple_required_fields_with_more_than_one_required_field_not_specified_reports_all_missing_required_fields" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HeadingInfoFixture.Only_program_name" ParentId="xunit:CommandLine.Tests.Unit.Text.HeadingInfoFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HeadingInfoFixture" methodName="Only_program_name" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parse_culture_specific_nullable_number" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parse_culture_specific_nullable_number" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parse_culture_specific_number" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parse_culture_specific_number" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Parse_culture_specific_number" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Parse_culture_specific_number" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Parse_different_arrays_together__combination_one" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Parse_different_arrays_together__combination_one" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Parse_different_arrays_together__combination_two" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Parse_different_arrays_together__combination_two" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Parse_double_array_option_using_short_name" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Parse_double_array_option_using_short_name" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parse_enum_options" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parse_enum_options" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Parse_integer_array_option_using_short_name" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Parse_integer_array_option_using_short_name" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parse_negative_floating_point_value" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parse_negative_floating_point_value" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parse_negative_floating_point_value_input_style2" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parse_negative_floating_point_value_input_style2" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parse_negative_floating_point_value_input_style3" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parse_negative_floating_point_value_input_style3" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parse_negative_floating_point_value_input_style4" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parse_negative_floating_point_value_input_style4" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parse_negative_integer_value" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parse_negative_integer_value" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture.Parse_nullable_double_option" ParentId="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" methodName="Parse_nullable_double_option" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture.Parse_nullable_enumeration_option" ParentId="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" methodName="Parse_nullable_enumeration_option" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture.Parse_nullable_integer_option" ParentId="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" methodName="Parse_nullable_integer_option" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parse_option_list" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parse_option_list" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parse_options_with_bad_defaults" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parse_options_with_bad_defaults" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parse_options_with_default_array" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parse_options_with_default_array" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parse_options_with_defaults" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parse_options_with_defaults" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parse_short_adjacent_options" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parse_short_adjacent_options" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parse_short_long_options" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parse_short_long_options" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.StrictFixture.Parse_strict_bad_input_fails_and_exits" ParentId="xunit:CommandLine.Tests.Unit.Parser.StrictFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.StrictFixture" methodName="Parse_strict_bad_input_fails_and_exits" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.StrictFixture.Parse_strict_bad_input_fails_and_exits_when_get_usage_is_defined" ParentId="xunit:CommandLine.Tests.Unit.Parser.StrictFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.StrictFixture" methodName="Parse_strict_bad_input_fails_and_exits_when_get_usage_is_defined" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.StrictFixture.Parse_strict_bad_input_fails_and_exits_with_verbs" ParentId="xunit:CommandLine.Tests.Unit.Parser.StrictFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.StrictFixture" methodName="Parse_strict_bad_input_fails_and_exits_with_verbs" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.StrictFixture.Parse_strict_bad_input_fails_and_exits_with_verbs_when_get_usage_is_defined" ParentId="xunit:CommandLine.Tests.Unit.Parser.StrictFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.StrictFixture" methodName="Parse_strict_bad_input_fails_and_exits_with_verbs_when_get_usage_is_defined" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Parse_string_array_option_using_long_name" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Parse_string_array_option_using_long_name" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Parse_string_array_option_using_long_name_with_equal_sign" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Parse_string_array_option_using_long_name_with_equal_sign" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Parse_string_array_option_using_long_name_with_value_list" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Parse_string_array_option_using_long_name_with_value_list" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Parse_string_array_option_using_short_name" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Parse_string_array_option_using_short_name" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Parse_string_array_option_using_short_name_and_string_option_after" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Parse_string_array_option_using_short_name_and_string_option_after" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Parse_string_array_option_using_short_name_and_string_option_before" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Parse_string_array_option_using_short_name_and_string_option_before" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Parse_string_array_option_using_short_name_with_options_before_and_after" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Parse_string_array_option_using_short_name_with_options_before_and_after" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Parse_string_array_option_using_short_name_with_value_adjacent" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Parse_string_array_option_using_short_name_with_value_adjacent" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parse_string_integer_bool_options" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parse_string_integer_bool_options" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.SingletonFixture.Parse_string_integer_bool_options" ParentId="xunit:CommandLine.Tests.Unit.Parser.SingletonFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.SingletonFixture" methodName="Parse_string_integer_bool_options" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parse_string_option" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parse_string_option" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture.Parse_string_option_and_nullable_value_types" ParentId="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" methodName="Parse_string_option_and_nullable_value_types" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Parse_two_uint_consecutive_array" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Parse_two_uint_consecutive_array" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Parse_two_uint_consecutive_array_using_short_names" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Parse_two_uint_consecutive_array_using_short_names" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.UnknownArgumentsFixture.Parse_valid_unknown_arguments" ParentId="xunit:CommandLine.Tests.Unit.Parser.UnknownArgumentsFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.UnknownArgumentsFixture" methodName="Parse_valid_unknown_arguments" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.VerbsFixture.Parse_verbs_create_instance" ParentId="xunit:CommandLine.Tests.Unit.Parser.VerbsFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.VerbsFixture" methodName="Parse_verbs_create_instance" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.VerbsFixture.Parse_verbs_using_instance" ParentId="xunit:CommandLine.Tests.Unit.Parser.VerbsFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.VerbsFixture" methodName="Parse_verbs_using_instance" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parser_should_report_missing_value" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parser_should_report_missing_value" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserStateFixture.Parser_state_attribute_should_be_applied_to_a_property_of_the_correct_type" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserStateFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserStateFixture" methodName="Parser_state_attribute_should_be_applied_to_a_property_of_the_correct_type" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserStateFixture.Parser_state_attribute_should_be_applied_to_a_property_of_the_correct_type_also_if_not_initialized" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserStateFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserStateFixture" methodName="Parser_state_attribute_should_be_applied_to_a_property_of_the_correct_type_also_if_not_initialized" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserStateFixture.Parser_state_instance_should_not_pre_built" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserStateFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserStateFixture" methodName="Parser_state_instance_should_not_pre_built" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture.Parsing_mutually_exclusive_options_and_required_option_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture" methodName="Parsing_mutually_exclusive_options_and_required_option_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture.Parsing_mutually_exclusive_options_and_required_option_succeeds" ParentId="xunit:CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture" methodName="Parsing_mutually_exclusive_options_and_required_option_succeeds" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parsing_non_existent_long_option_fails_without_throwing_an_exception" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parsing_non_existent_long_option_fails_without_throwing_an_exception" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Parsing_non_existent_short_option_fails_without_throwing_an_exception" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Parsing_non_existent_short_option_fails_without_throwing_an_exception" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture.Parsing_one_mutually_exclusive_option_succeeds" ParentId="xunit:CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture" methodName="Parsing_one_mutually_exclusive_option_succeeds" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture.Parsing_one_mutually_exclusive_option_with_another_option_succeeds" ParentId="xunit:CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture" methodName="Parsing_one_mutually_exclusive_option_with_another_option_succeeds" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture.Parsing_three_mutually_exclusive_options_in_two_set_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture" methodName="Parsing_three_mutually_exclusive_options_in_two_set_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture.Parsing_two_mutually_exclusive_options_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture" methodName="Parsing_two_mutually_exclusive_options_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture.Parsing_two_mutually_exclusive_options_in_two_set_succeeds" ParentId="xunit:CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.MutuallyExclusiveParsingFixture" methodName="Parsing_two_mutually_exclusive_options_in_two_set_succeeds" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture.Passing_bad_value_to_a_nullable_double_option_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" methodName="Passing_bad_value_to_a_nullable_double_option_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture.Passing_bad_value_to_a_nullable_enumeration_option_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" methodName="Passing_bad_value_to_a_nullable_enumeration_option_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture.Passing_bad_value_to_a_nullable_integer_option_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" methodName="Passing_bad_value_to_a_nullable_integer_option_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Passing_bad_value_to_an_integer_array_option_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Passing_bad_value_to_an_integer_array_option_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Passing_double_value_to_float_option_must_fail_gracefully" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Passing_double_value_to_float_option_must_fail_gracefully" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Passing_float_value_to_long_option_must_fail_gracefully" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Passing_float_value_to_long_option_must_fail_gracefully" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Passing_integer_value_to_short_option_must_fail_gracefully" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Passing_integer_value_to_short_option_must_fail_gracefully" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Passing_long_value_to_integer_option_must_fail_gracefully" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Passing_long_value_to_integer_option_must_fail_gracefully" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Passing_no_value_to_a_byte_type_long_option_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Passing_no_value_to_a_byte_type_long_option_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Passing_no_value_to_a_double_type_long_option_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Passing_no_value_to_a_double_type_long_option_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Passing_no_value_to_a_float_type_long_option_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Passing_no_value_to_a_float_type_long_option_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Passing_no_value_to_a_long_type_long_option_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Passing_no_value_to_a_long_type_long_option_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture.Passing_no_value_to_a_nullable_double_option_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" methodName="Passing_no_value_to_a_nullable_double_option_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture.Passing_no_value_to_a_nullable_enumeration_option_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" methodName="Passing_no_value_to_a_nullable_enumeration_option_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture.Passing_no_value_to_a_nullable_integer_option_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.NullableTypesParsingFixture" methodName="Passing_no_value_to_a_nullable_integer_option_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Passing_no_value_to_a_short_type_long_option_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Passing_no_value_to_a_short_type_long_option_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Passing_no_value_to_a_string_array_option_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Passing_no_value_to_a_string_array_option_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Passing_no_value_to_a_string_type_long_option_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Passing_no_value_to_a_string_type_long_option_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Passing_no_value_to_an_integer_array_option_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Passing_no_value_to_an_integer_array_option_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Passing_no_value_to_an_integer_type_long_option_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Passing_no_value_to_an_integer_type_long_option_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Passing_short_value_to_byte_option_must_fail_gracefully" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Passing_short_value_to_byte_option_must_fail_gracefully" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture.Post_options_lines_feature_added" ParentId="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HelpTextFixture" methodName="Post_options_lines_feature_added" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HeadingInfoFixture.Program_name_and_version" ParentId="xunit:CommandLine.Tests.Unit.Text.HeadingInfoFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HeadingInfoFixture" methodName="Program_name_and_version" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.VerbsHelpTextFixture.Requesting_bad_help_prints_help_index" ParentId="xunit:CommandLine.Tests.Unit.Text.VerbsHelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.VerbsHelpTextFixture" methodName="Requesting_bad_help_prints_help_index" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.VerbsHelpTextFixture.Requesting_help_of_particular_verb_without_instance_should_work" ParentId="xunit:CommandLine.Tests.Unit.Text.VerbsHelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.VerbsHelpTextFixture" methodName="Requesting_help_of_particular_verb_without_instance_should_work" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.VerbsHelpTextFixture.Requesting_help_prints_help_index" ParentId="xunit:CommandLine.Tests.Unit.Text.VerbsHelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.VerbsHelpTextFixture" methodName="Requesting_help_prints_help_index" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserSettingsFixture.Setting_help_writer_using_constructor" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserSettingsFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserSettingsFixture" methodName="Setting_help_writer_using_constructor" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserSettingsFixture.Setting_help_writer_using_property" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserSettingsFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserSettingsFixture" methodName="Setting_help_writer_using_property" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserSettingsFixture.Setting_instance_became_immutable_after_being_consumed" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserSettingsFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserSettingsFixture" methodName="Setting_instance_became_immutable_after_being_consumed" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserSettingsFixture.Setting_instance_is_not_reusable" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserSettingsFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserSettingsFixture" methodName="Setting_instance_is_not_reusable" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.AttributesFixture.Short_name_with_line_terminator_throws_exception" ParentId="xunit:CommandLine.Tests.Unit.Attributes.AttributesFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.AttributesFixture" methodName="Short_name_with_line_terminator_throws_exception" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.AttributesFixture.Short_name_with_line_terminator_throws_exception_2" ParentId="xunit:CommandLine.Tests.Unit.Attributes.AttributesFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.AttributesFixture" methodName="Short_name_with_line_terminator_throws_exception_2" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.AttributesFixture.Short_name_with_white_space_throws_exception" ParentId="xunit:CommandLine.Tests.Unit.Attributes.AttributesFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.AttributesFixture" methodName="Short_name_with_white_space_throws_exception" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.AttributesFixture.Short_name_with_white_space_throws_exception_2" ParentId="xunit:CommandLine.Tests.Unit.Attributes.AttributesFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.AttributesFixture" methodName="Short_name_with_white_space_throws_exception_2" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Short_option_refuses_equal_token" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Short_option_refuses_equal_token" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.OptionArrayAttributeFixture.Should_correctly_parse_two_consecutive_arrays" ParentId="xunit:CommandLine.Tests.Unit.Attributes.OptionArrayAttributeFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.OptionArrayAttributeFixture" methodName="Should_correctly_parse_two_consecutive_arrays" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.VerbsFixture.Should_fail_gracefully_when_no_getusage_is_defined" ParentId="xunit:CommandLine.Tests.Unit.Parser.VerbsFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.VerbsFixture" methodName="Should_fail_gracefully_when_no_getusage_is_defined" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.CopyrightInfoFixture.Should_not_grow_when_converted_to_string" ParentId="xunit:CommandLine.Tests.Unit.Text.CopyrightInfoFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.CopyrightInfoFixture" methodName="Should_not_grow_when_converted_to_string" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.OptionListAttributeFixture.Should_use_property_name_as_long_name_if_omitted" ParentId="xunit:CommandLine.Tests.Unit.Attributes.OptionListAttributeFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.OptionListAttributeFixture" methodName="Should_use_property_name_as_long_name_if_omitted" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.OptionArrayAttributeFixture.Should_use_property_name_as_long_name_if_omitted" ParentId="xunit:CommandLine.Tests.Unit.Attributes.OptionArrayAttributeFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.OptionArrayAttributeFixture" methodName="Should_use_property_name_as_long_name_if_omitted" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.OptionAttributeFixture.Should_use_property_name_as_long_name_if_omitted" ParentId="xunit:CommandLine.Tests.Unit.Attributes.OptionAttributeFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.OptionAttributeFixture" methodName="Should_use_property_name_as_long_name_if_omitted" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Infrastructure.EnumeratorsFixture.String_iteration" ParentId="xunit:CommandLine.Tests.Unit.Infrastructure.EnumeratorsFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Infrastructure.EnumeratorsFixture" methodName="String_iteration" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.CopyrightInfoFixture.Upper_symbol_two_consecutive_years" ParentId="xunit:CommandLine.Tests.Unit.Text.CopyrightInfoFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.CopyrightInfoFixture" methodName="Upper_symbol_two_consecutive_years" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture.Use_generic_list_of_string_interface_reference" ParentId="xunit:CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture" methodName="Use_generic_list_of_string_interface_reference" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Using_wrong_case_with_default_fails" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Using_wrong_case_with_default_fails" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ValueListAttributeParsingFixture.Value_list_attribute_isolates_non_option_values" ParentId="xunit:CommandLine.Tests.Unit.Parser.ValueListAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ValueListAttributeParsingFixture" methodName="Value_list_attribute_isolates_non_option_values" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ValueListAttributeParsingFixture.Value_list_with_max_elem_inside_bounds" ParentId="xunit:CommandLine.Tests.Unit.Parser.ValueListAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ValueListAttributeParsingFixture" methodName="Value_list_with_max_elem_inside_bounds" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ValueListAttributeParsingFixture.Value_list_with_max_elem_outside_bounds" ParentId="xunit:CommandLine.Tests.Unit.Parser.ValueListAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ValueListAttributeParsingFixture" methodName="Value_list_with_max_elem_outside_bounds" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ValueListAttributeParsingFixture.Value_list_with_max_elem_set_to_zero_failes" ParentId="xunit:CommandLine.Tests.Unit.Parser.ValueListAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ValueListAttributeParsingFixture" methodName="Value_list_with_max_elem_set_to_zero_failes" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ValueListAttributeParsingFixture.Value_list_with_max_elem_set_to_zero_succeeds" ParentId="xunit:CommandLine.Tests.Unit.Parser.ValueListAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ValueListAttributeParsingFixture" methodName="Value_list_with_max_elem_set_to_zero_succeeds" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ValueOptionAttributeParsingFixture.Value_option_attribute_isolates_non_option_values" ParentId="xunit:CommandLine.Tests.Unit.Parser.ValueOptionAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ValueOptionAttributeParsingFixture" methodName="Value_option_attribute_isolates_non_option_values" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ValueOptionAttributeParsingFixture.Value_option_attribute_values_are_not_mandatory" ParentId="xunit:CommandLine.Tests.Unit.Parser.ValueOptionAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ValueOptionAttributeParsingFixture" methodName="Value_option_attribute_values_are_not_mandatory" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ValueOptionAttributeParsingFixture.Value_option_takes_precedence_on_value_list_regardless_declaration_order" ParentId="xunit:CommandLine.Tests.Unit.Parser.ValueOptionAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ValueOptionAttributeParsingFixture" methodName="Value_option_takes_precedence_on_value_list_regardless_declaration_order" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture.When_help_text_is_longer_than_width_it_will_wrap_around_as_if_in_a_column" ParentId="xunit:CommandLine.Tests.Unit.Text.HelpTextFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.HelpTextFixture" methodName="When_help_text_is_longer_than_width_it_will_wrap_around_as_if_in_a_column" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Will_throw_exception_if_arguments_array_is_null" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Will_throw_exception_if_arguments_array_is_null" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.CopyrightInfoFixture.Will_throw_exception_if_author_is_null" ParentId="xunit:CommandLine.Tests.Unit.Text.CopyrightInfoFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.CopyrightInfoFixture" methodName="Will_throw_exception_if_author_is_null" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture.Will_throw_exception_if_concrete_type_is_incompatible" ParentId="xunit:CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture" methodName="Will_throw_exception_if_concrete_type_is_incompatible" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture.Will_throw_exception_if_concrete_type_is_null" ParentId="xunit:CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Attributes.ValueListAttributeFixture" methodName="Will_throw_exception_if_concrete_type_is_null" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Text.CopyrightInfoFixture.Will_throw_exception_if_no_years_are_supplied" ParentId="xunit:CommandLine.Tests.Unit.Text.CopyrightInfoFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Text.CopyrightInfoFixture" methodName="Will_throw_exception_if_no_years_are_supplied" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Will_throw_exception_if_option_array_attribute_bound_to_integer_with_long_name" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Will_throw_exception_if_option_array_attribute_bound_to_integer_with_long_name" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Will_throw_exception_if_option_array_attribute_bound_to_integer_with_short_name" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Will_throw_exception_if_option_array_attribute_bound_to_integer_with_short_name" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Will_throw_exception_if_option_array_attribute_bound_to_string_with_long_name" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Will_throw_exception_if_option_array_attribute_bound_to_string_with_long_name" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture.Will_throw_exception_if_option_array_attribute_bound_to_string_with_short_name" ParentId="xunit:CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.OptionArrayAttributeParsingFixture" methodName="Will_throw_exception_if_option_array_attribute_bound_to_string_with_short_name" skipReason="" /><UnitTestElement Provider="xUnit" Id="xunit:CommandLine.Tests.Unit.Parser.ParserFixture.Will_throw_exception_if_options_instance_is_null" ParentId="xunit:CommandLine.Tests.Unit.Parser.ParserFixture" type="XunitTestMethodElement" projectId="86E1AC34-ED2D-4E42-8B95-65208FEA36C2" typeName="CommandLine.Tests.Unit.Parser.ParserFixture" methodName="Will_throw_exception_if_options_instance_is_null" skipReason="" /></Elements></Session>
- NotOverridden
- NotOverridden
\ No newline at end of file
diff --git a/CommandLine.snk b/CommandLine.snk
index 96087a73..6b0b6501 100644
Binary files a/CommandLine.snk and b/CommandLine.snk differ
diff --git a/Directory.Build.props b/Directory.Build.props
new file mode 100644
index 00000000..3db45ca4
--- /dev/null
+++ b/Directory.Build.props
@@ -0,0 +1,18 @@
+
+
+ CS1591;CS0219;8002;NU5125
+ $(MSBuildThisFileDirectory)
+ false
+
+
+ $(DefineConstants);NETFRAMEWORK
+
+
+
+
+ runtime; build; native; contentfiles; analyzers
+ all
+
+
+
+
diff --git a/doc/LICENSE b/License.md
similarity index 88%
rename from doc/LICENSE
rename to License.md
index e166da25..ef77a61c 100644
--- a/doc/LICENSE
+++ b/License.md
@@ -1,9 +1,6 @@
-Command Line Parser Library
+The MIT License (MIT)
-Author:
- Giacomo Stelluti Scala (gsscoder@gmail.com)
-
-Copyright (c) 2005 - 2013 Giacomo Stelluti Scala
+Copyright (c) 2005 - 2015 Giacomo Stelluti Scala & Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/README.md b/README.md
index d00d4a9a..79a16fa7 100644
--- a/README.md
+++ b/README.md
@@ -1,118 +1,351 @@
-Command Line Parser Library 1.9.71.2 stable for CLR.
-===
-The Command Line Parser Library offers to CLR applications a clean and concise API for manipulating command line arguments and related tasks defining switches, options and verb commands. It allows you to display an help screen with an high degree of customization and a simple way to report syntax errors to the end user. Everything that is boring and repetitive to be programmed stands up on library shoulders, letting developers concentrate on core logic.
-__This library provides _hassle free_ command line parsing with a constantly updated API since 2005.__
+[](https://ci.appveyor.com/project/commandlineparser/commandline/branch/master)
+[](http://nuget.org/packages/commandlineparser)
+[](https://www.nuget.org/packages/CommandLineParser/)
+[](https://www.nuget.org/packages/CommandLineParser/)
+[](https://gitter.im/gsscoder/commandline?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+
+# Command Line Parser Library for CLR and NetStandard
+
+**Note:** the API surface has changed since v1.9.x and earlier. If you are looking for documentation on v1.9.x, please see [stable-1.9.71.2](https://github.com/gsscoder/commandline/tree/stable-1.9.71.2)
+
+The Command Line Parser Library offers CLR applications a clean and concise API for manipulating command line arguments and related tasks, such as defining switches, options and verb commands. It allows you to display a help screen with a high degree of customization and a simple way to report syntax errors to the end user.
-Compatibility:
----
- - .NET Framework 3.5+
- - Mono 2.1+ Profile
-
-At glance:
----
- - One line parsing using default singleton: ``CommandLine.Parser.Default.ParseArguments(...)``.
- - One line help screen generator: ``HelpText.AutoBuild(...)``.
- - Map command line arguments to ``IList``, arrays, enum or standard scalar types.
- - __Plug-In friendly__ architecture as explained [here](https://github.com/gsscoder/commandline/wiki/Plug-in-Friendly-Architecture).
- - Define [verb commands](https://github.com/gsscoder/commandline/wiki/Verb-Commands) as ``git commit -a``.
- - Create parser instance using lambda expressions.
- - Most of features applies with a [CoC](http://en.wikipedia.org/wiki/Convention_over_configuration) philosophy.
-
-To install:
----
- - NuGet way (latest stable): ``Install-Package CommandLineParser``
- - NuGet way (latest version): ``Install-Package CommandLineParser -pre``
- - XCOPY way: ``cp -r CommandLine/src/libcmdline To/Your/Project/Dir``
-
-To build:
----
-You can use still use MonoDevelop or Visual Studio, but the project can aslo be built using Ruby [Rake](http://rake.rubyforge.org/) with a script that depends on [Albacore](https://github.com/derickbailey/Albacore).
```
-$ gem install albacore
-$ git clone https://github.com/gsscoder/commandline.git CommandLine
-$ cd CommandLine
-$ rake
+C:\Project> NuGet Install CommandLineParser
```
-To start:
----
- - [CSharp Template](https://github.com/gsscoder/commandline/blob/master/src/templates/CSharpTemplate/Program.cs)
- - [VB.NET Template](https://github.com/gsscoder/commandline/blob/master/src/templates/VBNetTemplate/Program.vb)
+# Nightly Build
-Public API:
----
-Latest changes are recorded from Version 1.9.4.91, please refer to [this document](https://github.com/gsscoder/commandline/blob/master/doc/PublicAPI.md).
+Nightly version of the CommandLineParser can be downloaded from github [Releases](https://github.com/commandlineparser/commandline/releases).
-Verb Commands:
----
-Since introduction of verb commands is a very new feature, templates and sample application are not updated to illustrate it. Please refer this [wiki section](https://github.com/gsscoder/commandline/wiki/Verb-Commands) and unit tests code to learn how to [define](https://github.com/gsscoder/commandline/blob/master/src/tests/Mocks/OptionsWithVerbsHelp.cs), how to [respond](https://github.com/gsscoder/commandline/blob/master/src/tests/Parser/VerbsFixture.cs) and how they [relate to help subsystem](https://github.com/gsscoder/commandline/blob/master/src/tests/Text/VerbsHelpTextFixture.cs). Give a look also at this [blog article](http://gsscoder.blogspot.it/2013/01/command-line-parser-library-verb.html).
+The Last new features and fixes, read [changelog](https://github.com/commandlineparser/commandline/blob/master/CHANGELOG.md)
-Notes:
----
-The project is and well suited to be included in your application. If you don't merge it to your project tree, you must reference ``CommandLine.dll`` and import ``CommandLine`` and ``CommandLine.Text`` namespaces (or install via NuGet). The help text builder and its support types lives in ``CommandLine.Text`` namespace that is loosely coupled with the parser. However is good to know that ``HelpText`` class will avoid a lot of repetitive coding.
-Define a class to receive parsed values:
+_NOTE: Mentioned F# Support is provided via ```CommandLineParser.FSharp``` package with FSharp dependencies._
-```csharp
-class Options {
- [Option('r', "read", Required = true,
- HelpText = "Input file to be processed.")]
- public string InputFile { get; set; }
-
- // omitting long name, default --verbose
- [Option(DefaultValue = true,
- HelpText = "Prints all messages to standard output.")]
+__This library provides _hassle free_ command line parsing with a constantly updated API since 2005.__
+
+# At a glance:
+
+- Compatible with __.NET Framework 4.0+__, __Mono 2.1+ Profile__, __.NET Standard__ and __.NET Core__
+- Doesn't depend on other packages (No dependencies beyond standard base libraries)
+- One line parsing using default singleton: `CommandLine.Parser.Default.ParseArguments(...)` and three overload methods.
+- Automatic or one line help screen generator: `HelpText.AutoBuild(...)`.
+- Supports `--help`, `--version`, `version` and `help [verb]` by default with customization.
+- Map to sequences (via `IEnumerable` and similar) and scalar types, including Enums and `Nullable`.
+- You can also map to every type with a constructor that accepts a string (like `System.Uri`) for reference and value types.
+- Verbs can be array of types collected from Plugins or IoC container.
+- Define [verb commands](https://github.com/commandlineparser/commandline/wiki/Verbs) similar to `git commit -a`.
+- Support default verb.
+- Support Mutable and Immutable types.
+- Support HelpText localization.
+- Support ordering of options in HelpText.
+- Support [Mutually Exclusive Options](https://github.com/commandlineparser/commandline/wiki/Mutually-Exclusive-Options) and [Option groups](https://github.com/commandlineparser/commandline/wiki/Option-Groups).
+- Support named and value options.
+- Support Asynchronous programming with async and await.
+- Unparsing support: `CommandLine.Parser.Default.FormatCommandLine(T options)`.
+- CommandLineParser.FSharp package is F#-friendly with support for `option<'a>`, see [demo](https://github.com/commandlineparser/commandline/blob/master/demo/fsharp-demo.fsx). _NOTE: This is a separate NuGet package._
+- Include wiki documentation with lot of examples ready to run online.
+- Support Source Link and symbolic nuget package snupkg.
+- Tested in Windows, Linux Ubuntu 18.04 and Mac OS.
+- Most of features applies with a [CoC](http://en.wikipedia.org/wiki/Convention_over_configuration) philosophy.
+- C# demo: source [here](https://github.com/commandlineparser/commandline/tree/master/demo/ReadText.Demo).
+
+# Getting Started with the Command Line Parser Library
+
+You can utilize the parser library in several ways:
+
+- Install via NuGet/Paket: [https://www.nuget.org/packages/CommandLineParser/](https://www.nuget.org/packages/CommandLineParser/)
+- Integrate directly into your project by copying the .cs files into your project.
+- ILMerge during your build process.
+
+## Quick Start Examples
+
+1. Create a class to define valid options, and to receive the parsed options.
+2. Call ParseArguments with the args string array.
+
+C# Quick Start:
+
+```cs
+using System;
+using CommandLine;
+
+namespace QuickStart
+{
+ class Program
+ {
+ public class Options
+ {
+ [Option('v', "verbose", Required = false, HelpText = "Set output to verbose messages.")]
+ public bool Verbose { get; set; }
+ }
+
+ static void Main(string[] args)
+ {
+ Parser.Default.ParseArguments(args)
+ .WithParsed(o =>
+ {
+ if (o.Verbose)
+ {
+ Console.WriteLine($"Verbose output enabled. Current Arguments: -v {o.Verbose}");
+ Console.WriteLine("Quick Start Example! App is in Verbose mode!");
+ }
+ else
+ {
+ Console.WriteLine($"Current Arguments: -v {o.Verbose}");
+ Console.WriteLine("Quick Start Example!");
+ }
+ });
+ }
+ }
+}
+```
+
+## C# Examples:
+
+
+ Click to expand!
+
+```cs
+
+class Options
+{
+ [Option('r', "read", Required = true, HelpText = "Input files to be processed.")]
+ public IEnumerable InputFiles { get; set; }
+
+ // Omitting long name, defaults to name of property, ie "--verbose"
+ [Option(
+ Default = false,
+ HelpText = "Prints all messages to standard output.")]
public bool Verbose { get; set; }
+
+ [Option("stdin",
+ Default = false,
+ HelpText = "Read from stdin")]
+ public bool stdin { get; set; }
- [ParserState]
- public IParserState LastParserState { get; set; }
+ [Value(0, MetaName = "offset", HelpText = "File offset.")]
+ public long? Offset { get; set; }
+}
- [HelpOption]
- public string GetUsage() {
- return HelpText.AutoBuild(this,
- (HelpText current) => HelpText.DefaultParsingErrorsHandler(this, current));
- }
+static void Main(string[] args)
+{
+ CommandLine.Parser.Default.ParseArguments(args)
+ .WithParsed(RunOptions)
+ .WithNotParsed(HandleParseError);
}
+static void RunOptions(Options opts)
+{
+ //handle options
+}
+static void HandleParseError(IEnumerable errs)
+{
+ //handle errors
+}
+
```
-Consume them:
+
+
+Demo to show IEnumerable options and other usage: [Online Demo](https://dotnetfiddle.net/wrcAxr)
+
+## F# Examples:
+
+
+ Click to expand!
+
+```fsharp
+
+type options = {
+ [
+
+## VB.NET Example:
+
+
+ Click to expand!
+
+```vb
+
+Class Options
+
+ Public Property InputFiles As IEnumerable(Of String)
+
+ ' Omitting long name, defaults to name of property, ie "--verbose"
+
+ Public Property Verbose As Boolean
+
+
+ Public Property Language As String
+
+
+ Public Property Offset As Long?
+End Class
+
+Sub Main(ByVal args As String())
+ CommandLine.Parser.Default.ParseArguments(Of Options)(args) _
+ .WithParsed(Function(opts As Options) RunOptionsAndReturnExitCode(opts)) _
+ .WithNotParsed(Function(errs As IEnumerable(Of [Error])) 1)
+End Sub
+```
+
+
+## For verbs:
+
+1. Create separate option classes for each verb. An options base class is supported.
+2. Call ParseArguments with all the verb attribute decorated options classes.
+3. Use MapResult to direct program flow to the verb that was parsed.
+
+### C# example:
+
+
+
+ Click to expand!
```csharp
-static void Main(string[] args) {
- var options = new Options();
- if (CommandLine.Parser.Default.ParseArguments(args, options)) {
- // Values are available here
- if (options.Verbose) Console.WriteLine("Filename: {0}", options.InputFile);
- }
+[Verb("add", HelpText = "Add file contents to the index.")]
+class AddOptions {
+ //normal options here
+}
+[Verb("commit", HelpText = "Record changes to the repository.")]
+class CommitOptions {
+ //commit options here
+}
+[Verb("clone", HelpText = "Clone a repository into a new directory.")]
+class CloneOptions {
+ //clone options here
+}
+
+int Main(string[] args) {
+ return CommandLine.Parser.Default.ParseArguments(args)
+ .MapResult(
+ (AddOptions opts) => RunAddAndReturnExitCode(opts),
+ (CommitOptions opts) => RunCommitAndReturnExitCode(opts),
+ (CloneOptions opts) => RunCloneAndReturnExitCode(opts),
+ errs => 1);
+}
+```
+
+
+### VB.NET example:
+
+
+
+ Click to expand!
+
+```vb
+
+Public Class AddOptions
+ 'Normal options here
+End Class
+
+Public Class CommitOptions
+ 'Normal options here
+End Class
+
+Public Class CloneOptions
+ 'Normal options here
+End Class
+
+Function Main(ByVal args As String()) As Integer
+ Return CommandLine.Parser.Default.ParseArguments(Of AddOptions, CommitOptions, CloneOptions)(args) _
+ .MapResult(
+ (Function(opts As AddOptions) RunAddAndReturnExitCode(opts)),
+ (Function(opts As CommitOptions) RunCommitAndReturnExitCode(opts)),
+ (Function(opts As CloneOptions) RunCloneAndReturnExitCode(opts)),
+ (Function(errs As IEnumerable(Of [Error])) 1)
+ )
+End Function
+```
+
+
+### F# Example:
+
+
+ Click to expand!
+
+```fs
+open CommandLine
+
+[]
+type AddOptions = {
+ // normal options here
+}
+[]
+type CommitOptions = {
+ // normal options here
+}
+[]
+type CloneOptions = {
+ // normal options here
}
+
+[]
+let main args =
+ let result = Parser.Default.ParseArguments args
+ match result with
+ | :? CommandLine.Parsed as command ->
+ match command.Value with
+ | :? AddOptions as opts -> RunAddAndReturnExitCode opts
+ | :? CommitOptions as opts -> RunCommitAndReturnExitCode opts
+ | :? CloneOptions as opts -> RunCloneAndReturnExitCode opts
+ | :? CommandLine.NotParsed -> 1
```
+
+
+# Release History
+
+See the [changelog](CHANGELOG.md)
+
+# Contributors
+First off, _Thank you!_ All contributions are welcome.
+
+Please consider sticking with the GNU getopt standard for command line parsing.
-Acknowledgements:
----
-Thanks to JetBrains for providing an open source license for [ReSharper](http://www.jetbrains.com/resharper/).
+Additionally, for easiest diff compares, please follow the project's tabs settings. Utilizing the EditorConfig extension for Visual Studio/your favorite IDE is recommended.
-Main Contributors (alphabetical order):
+__And most importantly, please target the ```develop``` branch in your pull requests!__
+
+## Main Contributors (alphabetical order):
- Alexander Fast (@mizipzor)
- Dan Nemec (@nemec)
+- Eric Newton (@ericnewton76)
- Kevin Moore (@gimmemoore)
+- Moh-Hassan (@moh-hassan)
- Steven Evans
+- Thomas Démoulins (@Thilas)
+
+## Resources for newcomers:
+
+- [Wiki](https://github.com/commandlineparser/commandline/wiki)
+- [GNU getopt](http://www.gnu.org/software/libc/manual/html_node/Getopt.html)
+
+# Contacts:
-Resources for newcomers:
----
- - [CodePlex](http://commandline.codeplex.com)
- - [Quickstart](https://github.com/gsscoder/commandline/wiki/Quickstart)
- - [Wiki](https://github.com/gsscoder/commandline/wiki)
- - [GNU getopt](http://www.gnu.org/software/libc/manual/html_node/Getopt.html)
-
-Latest Changes:
----
- - Promoted to stable.
- - Implicit name is now available on ``OptionAttribute`` and ``OptionListAttribute``.
- - Fixing version numeration error.
-
-Contacts:
----
-Giacomo Stelluti Scala
- - gsscoder AT gmail DOT com
+- Giacomo Stelluti Scala
+ - gsscoder AT gmail DOT com (_use this for everything that is not available via GitHub features_)
+ - GitHub: [gsscoder](https://github.com/gsscoder)
- [Blog](http://gsscoder.blogspot.it)
- [Twitter](http://twitter.com/gsscoder)
+- Dan Nemec
+- Eric Newton
+ - ericnewton76+commandlineparser AT gmail DOT com
+ - GitHub: [ericnewton76](https://github.com/ericnewton76)
+ - Blog:
+ - Twitter: [enorl76](http://twitter.com/enorl76)
+- Moh-Hassan
diff --git a/Rakefile.rb b/Rakefile.rb
deleted file mode 100644
index 041de690..00000000
--- a/Rakefile.rb
+++ /dev/null
@@ -1,130 +0,0 @@
-PRODUCT = "Command Line Parser Library"
-DESCRIPTION = "The Command Line Parser Library offers to CLR applications a clean and concise API for manipulating command line arguments and related tasks."
-VERSION = "1.9.71.2"
-INF_VERSION = "1.9.71-stable"
-AUTHOR = "Giacomo Stelluti Scala"
-COPYRIGHT = "Copyright (c) 2005 - 2013 " + AUTHOR
-LICENSE_URL = "https://raw.github.com/gsscoder/commandline/master/doc/LICENSE"
-PROJECT_URL = "https://github.com/gsscoder/commandline"
-
-require 'albacore'
-
-task :default => [:build, :test]
-
-if RUBY_VERSION =~ /^1\.8/
- class Dir
- class << self
- def exists? (path)
- File.directory?(path)
- end
- alias_method :exist?, :exists?
- end
- end
-end
-
-def is_nix
- !RUBY_PLATFORM.match("linux|darwin").nil?
-end
-
-def to_win_path(nix_path)
- nix_path.gsub("/", "\\")
-end
-
-def invoke_runtime(cmd)
- command = cmd
- if is_nix()
- command = "mono --runtime=v4.0 #{cmd}"
- end
- command
-end
-
-CONFIGURATION = "Release"
-BUILD_DIR = File.expand_path("build")
-OUTPUT_DIR = "#{BUILD_DIR}/out"
-SOURCE_DIR = File.expand_path("src")
-NUGET_DIR = File.expand_path("nuget")
-LIB_DIR = "#{SOURCE_DIR}/libcmdline"
-PJ_OUTPUT_DIR ="#{LIB_DIR}/bin/Release"
-LIB_ASM = "CommandLine.dll"
-LIB_XML = "CommandLine.xml"
-
-msbuild :build_msbuild do |b|
- b.properties :configuration => CONFIGURATION, "OutputPath" => OUTPUT_DIR
- b.targets :Build
- b.solution = "CommandLine.sln"
-end
-
-task :build_mdtool do
- mdtool = "mdtool build -c:#{CONFIGURATION} CommandLine.sln"
- sh "#{mdtool}"
- FileUtils.mkdir_p "#{OUTPUT_DIR}"
- FileUtils.cp_r Dir.glob("#{SOURCE_DIR}/tests/bin/#{CONFIGURATION}/*"), "#{OUTPUT_DIR}"
-end
-
-#task :build35_mdtool do
-# mdtool = "mdtool build -c:#{CONFIGURATION} src/libcmdline/CommandLine35.csproj"
-# sh "#{mdtool}"
-# FileUtils.mkdir_p "#{OUTPUT_DIR}/NET35"
-# FileUtils.cp_r Dir.glob("#{SOURCE_DIR}/tests/bin/#{CONFIGURATION}/NET35/*"), "#{OUTPUT_DIR}/NET35"
-#end
-
- msbuild :build35_msbuild do |b|
- b.properties :configuration => CONFIGURATION, "OutputPath" => "#{OUTPUT_DIR}/NET35"
- b.targets :Build
- b.solution = "src/libcmdline/CommandLine35.csproj"
-end
-
-task :build => :clean do |b|
- build_task = is_nix() ? "build_mdtool" : "build_msbuild"
- Rake::Task[build_task].invoke
-end
-
-task :test => :build do
- xunit = invoke_runtime("packages/xunit.runners.1.9.1/tools/xunit.console.clr4.exe")
- sh "#{xunit} #{OUTPUT_DIR}/CommandLine.Tests.dll"
-end
-
-assemblyinfo :assemblyinfo do |a|
- a.product_name = PRODUCT
- #a.description = DESCRIPTION
- a.version = a.file_version = VERSION
- a.copyright = COPYRIGHT
- a.custom_attributes :AssemblyInformationalVersion => INF_VERSION, :NeutralResourcesLanguage => "en-US"
- a.output_file = "src/SharedAssemblyInfo.cs"
- a.namespaces "System.Resources"
-end
-
-nuspec :nuget_nuspec do |nuspec|
- nuspec.id = "CommandLineParser"
- nuspec.version = INF_VERSION.end_with?("stable") ? VERSION[0..-3] : INF_VERSION
- nuspec.authors = AUTHOR
- nuspec.owners = AUTHOR
- nuspec.description = DESCRIPTION
- nuspec.title = PRODUCT
- nuspec.projectUrl = PROJECT_URL
- nuspec.licenseUrl = LICENSE_URL
- nuspec.requireLicenseAcceptance = "false"
- nuspec.copyright = COPYRIGHT
- nuspec.tags = "command line argument option parser parsing library syntax shell"
- nuspec.iconUrl = "https://github.com/gsscoder/commandline/raw/master/art/CommandLine.png"
-
- nuspec.file to_win_path("#{PJ_OUTPUT_DIR}/NET35/#{LIB_ASM}"), to_win_path("lib/net35/#{LIB_ASM}")
- nuspec.file to_win_path("#{PJ_OUTPUT_DIR}/NET35/#{LIB_XML}"), to_win_path("lib/net35/#{LIB_XML}")
- nuspec.file to_win_path("#{PJ_OUTPUT_DIR}/#{LIB_ASM}"), to_win_path("lib/net40/#{LIB_ASM}")
- nuspec.file to_win_path("#{PJ_OUTPUT_DIR}/#{LIB_XML}"), to_win_path("lib/net40/#{LIB_XML}")
- nuspec.file to_win_path("#{PJ_OUTPUT_DIR}/#{LIB_ASM}"), to_win_path("lib/net45/#{LIB_ASM}")
- nuspec.file to_win_path("#{PJ_OUTPUT_DIR}/#{LIB_XML}"), to_win_path("lib/net45/#{LIB_XML}")
- nuspec.file to_win_path("#{NUGET_DIR}/readme.txt"), "readme.txt"
-
- nuspec.output_file = "#{NUGET_DIR}/CommandLine.nuspec"
-end
-
-task :clean do
- FileUtils.rm_rf BUILD_DIR
- FileUtils.rm_rf "src/libcmdline/bin"
- FileUtils.rm_rf "src/libcmdline/obj"
- FileUtils.rm_rf "src/tests/bin"
- FileUtils.rm_rf "src/tests/obj"
- FileUtils.rm_rf "src/demo/bin"
- FileUtils.rm_rf "src/demo/obj"
-end
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 00000000..d11d6abf
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,52 @@
+#version should be only changed with RELEASE eminent, see RELEASE.md
+
+version: 2.9.1-ci-{build}
+
+image: Visual Studio 2019
+
+clone_depth: 1
+pull_requests:
+ do_not_increment_build_number: true
+
+init:
+ - ps: |
+ git config --global core.autocrlf input
+
+ if ($env:APPVEYOR_REPO_TAG -eq "true") {
+ $ver = $env:APPVEYOR_REPO_TAG_NAME
+ if($ver.StartsWith("v") -eq $true) { $ver = $ver.Substring(1) }
+ Update-AppveyorBuild -Version $ver
+ }
+
+environment:
+ matrix:
+ - BUILD_TARGET: base
+ - BUILD_TARGET: fsharp
+
+build_script:
+- cmd: dotnet build src/CommandLine/ -c Release --version-suffix %APPVEYOR_BUILD_VERSION% /p:BuildTarget=%BUILD_TARGET%
+
+test_script:
+- cmd: dotnet test tests/CommandLine.Tests/ /p:BuildTarget=%BUILD_TARGET%
+
+after_test:
+- cmd: dotnet pack src/CommandLine/ -c Release --version-suffix %APPVEYOR_BUILD_VERSION% /p:BuildTarget=%BUILD_TARGET%
+
+artifacts:
+- path: 'src/CommandLine/bin/Release/*.nupkg'
+ name: NuGetPackages
+- path: 'src/CommandLine/bin/Release/*.snupkg'
+ name: symbol
+
+on_failure:
+- cmd: |
+ tree /f /a >files.lst
+ appveyor PushArtifact .\files.lst -DeploymentName "Failed Build File Listing"
+
+deploy:
+- provider: NuGet
+ api_key:
+ secure: llMIgYMuLHh9thyKMEAmkWraTaA9Zvcm1F8/yRwm0HCiPIt/ehR/GI4kJKyMTPyf
+ artifact: /.*(\.|\.s)nupkg/
+ on:
+ APPVEYOR_REPO_TAG: true
diff --git a/art/CommandLine20.png b/art/CommandLine20.png
new file mode 100644
index 00000000..f8b15f22
Binary files /dev/null and b/art/CommandLine20.png differ
diff --git a/art/CommandLinePreRelNuGet.png b/art/CommandLinePreRelNuGet.png
new file mode 100644
index 00000000..d8f5e6d5
Binary files /dev/null and b/art/CommandLinePreRelNuGet.png differ
diff --git a/art/resharper-logo.png b/art/resharper-logo.png
new file mode 100644
index 00000000..d135fb97
Binary files /dev/null and b/art/resharper-logo.png differ
diff --git a/src/templates/CSharpTemplate/app.config b/demo/ReadText.Demo.VB/App.config
similarity index 69%
rename from src/templates/CSharpTemplate/app.config
rename to demo/ReadText.Demo.VB/App.config
index 767efb25..74ade9db 100644
--- a/src/templates/CSharpTemplate/app.config
+++ b/demo/ReadText.Demo.VB/App.config
@@ -1,6 +1,6 @@
-
+
-
+
diff --git a/src/templates/VBNetTemplate/My Project/Application.Designer.vb b/demo/ReadText.Demo.VB/My Project/Application.Designer.vb
similarity index 91%
rename from src/templates/VBNetTemplate/My Project/Application.Designer.vb
rename to demo/ReadText.Demo.VB/My Project/Application.Designer.vb
index 33ed7a9e..88dd01c7 100644
--- a/src/templates/VBNetTemplate/My Project/Application.Designer.vb
+++ b/demo/ReadText.Demo.VB/My Project/Application.Designer.vb
@@ -1,7 +1,7 @@
'------------------------------------------------------------------------------
'
' This code was generated by a tool.
-' Runtime Version:4.0.30319.18034
+' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
diff --git a/src/templates/VBNetTemplate/My Project/Application.myapp b/demo/ReadText.Demo.VB/My Project/Application.myapp
similarity index 100%
rename from src/templates/VBNetTemplate/My Project/Application.myapp
rename to demo/ReadText.Demo.VB/My Project/Application.myapp
diff --git a/src/templates/VBNetTemplate/My Project/AssemblyInfo.vb b/demo/ReadText.Demo.VB/My Project/AssemblyInfo.vb
similarity index 63%
rename from src/templates/VBNetTemplate/My Project/AssemblyInfo.vb
rename to demo/ReadText.Demo.VB/My Project/AssemblyInfo.vb
index 9b3de0c2..f2e725d4 100644
--- a/src/templates/VBNetTemplate/My Project/AssemblyInfo.vb
+++ b/demo/ReadText.Demo.VB/My Project/AssemblyInfo.vb
@@ -8,17 +8,17 @@ Imports System.Runtime.InteropServices
' Review the values of the assembly attributes
-
-
-
-
-
-
+
+
+
+
+
+
'The following GUID is for the ID of the typelib if this project is exposed to COM
-
+
' Version information for an assembly consists of the following four values:
'
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' by using the '*' as shown below:
'
-
-
+
+
diff --git a/src/templates/VBNetTemplate/My Project/Resources.Designer.vb b/demo/ReadText.Demo.VB/My Project/Resources.Designer.vb
similarity index 94%
rename from src/templates/VBNetTemplate/My Project/Resources.Designer.vb
rename to demo/ReadText.Demo.VB/My Project/Resources.Designer.vb
index f12c6f85..8e2454d9 100644
--- a/src/templates/VBNetTemplate/My Project/Resources.Designer.vb
+++ b/demo/ReadText.Demo.VB/My Project/Resources.Designer.vb
@@ -1,7 +1,7 @@
'------------------------------------------------------------------------------
'
' This code was generated by a tool.
-' Runtime Version:4.0.30319.18034
+' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
@@ -39,7 +39,7 @@ Namespace My.Resources
Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
Get
If Object.ReferenceEquals(resourceMan, Nothing) Then
- Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("VBNetTemplate.Resources", GetType(Resources).Assembly)
+ Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("ReadText.Demo.VB.Resources", GetType(Resources).Assembly)
resourceMan = temp
End If
Return resourceMan
diff --git a/src/templates/VBNetTemplate/My Project/Resources.resx b/demo/ReadText.Demo.VB/My Project/Resources.resx
similarity index 100%
rename from src/templates/VBNetTemplate/My Project/Resources.resx
rename to demo/ReadText.Demo.VB/My Project/Resources.resx
diff --git a/src/templates/VBNetTemplate/My Project/Settings.Designer.vb b/demo/ReadText.Demo.VB/My Project/Settings.Designer.vb
similarity index 92%
rename from src/templates/VBNetTemplate/My Project/Settings.Designer.vb
rename to demo/ReadText.Demo.VB/My Project/Settings.Designer.vb
index 50820d5c..f54db15b 100644
--- a/src/templates/VBNetTemplate/My Project/Settings.Designer.vb
+++ b/demo/ReadText.Demo.VB/My Project/Settings.Designer.vb
@@ -1,7 +1,7 @@
'------------------------------------------------------------------------------
'
' This code was generated by a tool.
-' Runtime Version:4.0.30319.18034
+' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
@@ -15,7 +15,7 @@ Option Explicit On
Namespace My
_
Partial Friend NotInheritable Class MySettings
Inherits Global.System.Configuration.ApplicationSettingsBase
@@ -64,9 +64,9 @@ Namespace My
Friend Module MySettingsProperty
_
- Friend ReadOnly Property Settings() As Global.VBNetTemplate.My.MySettings
+ Friend ReadOnly Property Settings() As Global.ReadText.Demo.VB.My.MySettings
Get
- Return Global.VBNetTemplate.My.MySettings.Default
+ Return Global.ReadText.Demo.VB.My.MySettings.Default
End Get
End Property
End Module
diff --git a/src/templates/VBNetTemplate/My Project/Settings.settings b/demo/ReadText.Demo.VB/My Project/Settings.settings
similarity index 100%
rename from src/templates/VBNetTemplate/My Project/Settings.settings
rename to demo/ReadText.Demo.VB/My Project/Settings.settings
diff --git a/demo/ReadText.Demo.VB/My Project/app.manifest b/demo/ReadText.Demo.VB/My Project/app.manifest
new file mode 100644
index 00000000..a6b46bb7
--- /dev/null
+++ b/demo/ReadText.Demo.VB/My Project/app.manifest
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/demo/ReadText.Demo.VB/Options.vb b/demo/ReadText.Demo.VB/Options.vb
new file mode 100644
index 00000000..3e492001
--- /dev/null
+++ b/demo/ReadText.Demo.VB/Options.vb
@@ -0,0 +1,54 @@
+Imports CommandLine
+Imports CommandLine.Text
+
+Public Interface IOptions
+
+ <[Option]("n"c, "lines", SetName:="bylines", [Default]:=5UI, HelpText:="Lines to be printed from the beginning or end of the file.")>
+ Property Lines As UInteger?
+
+ <[Option]("c"c, "bytes", SetName:="bybytes", HelpText:="Bytes to be printed from the beginning or end of the file.")>
+ Property Bytes As UInteger?
+
+ <[Option]("q"c, "quiet", HelpText:="Suppresses summary messages.")>
+ Property Quiet As Boolean
+
+ <[Value](0, MetaName:="input file", Required:=True, HelpText:="Input file to be processed.")>
+ Property FileName As String
+
+End Interface
+
+<[Verb]("head", HelpText:="Displays first lines of a file.")>
+Public Class HeadOptions
+ Implements IOptions
+ Public Property Lines As UInteger? Implements IOptions.Lines
+
+ Public Property Bytes As UInteger? Implements IOptions.Bytes
+
+ Public Property Quiet As Boolean Implements IOptions.Quiet
+
+ Public Property FileName As String Implements IOptions.FileName
+
+
+ Public Shared ReadOnly Iterator Property IEnumerable() As IEnumerable(Of Example)
+ Get
+ Yield New Example("normal scenario", New HeadOptions With {.FileName = "file.bin"})
+ Yield New Example("specify bytes", New HeadOptions With {.FileName = "file.bin", .Bytes = 100})
+ Yield New Example("suppress summary", UnParserSettings.WithGroupSwitchesOnly(), New HeadOptions With {.FileName = "file.bin", .Quiet = True})
+ Yield New Example("read more lines", New UnParserSettings() {UnParserSettings.WithGroupSwitchesOnly(), UnParserSettings.WithUseEqualTokenOnly()}, New HeadOptions With {.FileName = "file.bin", .Lines = 10})
+ End Get
+ End Property
+
+End Class
+
+<[Verb]("tail", HelpText:="Displays last lines of a file.")>
+Public Class TailOptions
+ Implements IOptions
+ Public Property Lines As UInteger? Implements IOptions.Lines
+
+ Public Property Bytes As UInteger? Implements IOptions.Bytes
+
+ Public Property Quiet As Boolean Implements IOptions.Quiet
+
+ Public Property FileName As String Implements IOptions.FileName
+
+End Class
diff --git a/demo/ReadText.Demo.VB/Program.vb b/demo/ReadText.Demo.VB/Program.vb
new file mode 100644
index 00000000..4ddec61e
--- /dev/null
+++ b/demo/ReadText.Demo.VB/Program.vb
@@ -0,0 +1,72 @@
+Imports System.IO
+Imports System.Text
+Imports CommandLine
+
+Module Program
+
+ Function Main(ByVal sArgs() As String) As Integer
+
+ Dim reader As Func(Of IOptions, String) = Function(opts)
+ Dim fromTop = opts.[GetType]() = GetType(HeadOptions)
+ Return If(opts.Lines.HasValue, ReadLines(opts.FileName, fromTop, CInt(opts.Lines)), ReadBytes(opts.FileName, fromTop, CInt(opts.Bytes)))
+ End Function
+
+ Dim header As Func(Of IOptions, String) = Function(opts)
+ If opts.Quiet Then Return String.Empty
+
+ Dim fromTop = opts.[GetType]() = GetType(HeadOptions)
+ Dim builder = New StringBuilder("Reading ")
+ builder = If(opts.Lines.HasValue, builder.Append(opts.Lines).Append(" lines"), builder.Append(opts.Bytes).Append(" bytes"))
+ builder = If(fromTop, builder.Append(" from top:"), builder.Append(" from bottom:"))
+ Return builder.ToString()
+
+ End Function
+
+ Dim printIfNotEmpty As Action(Of String) = Sub(text)
+ If text.Length = 0 Then Return
+ Console.WriteLine(text)
+ End Sub
+
+ Dim result = Parser.Default.ParseArguments(Of HeadOptions, TailOptions)(sArgs)
+
+ Dim texts = result.MapResult(
+ Function(opts As HeadOptions) Tuple.Create(header(opts), reader(opts)),
+ Function(opts As TailOptions) Tuple.Create(header(opts), reader(opts)),
+ Function() MakeError())
+
+ printIfNotEmpty(texts.Item1)
+ printIfNotEmpty(texts.Item2)
+
+ Return If(texts.Equals(MakeError()), 1, 0)
+
+ End Function
+
+ Private Function ReadLines(fileName As String, fromTop As Boolean, count As Integer) As String
+
+ Dim lines = File.ReadAllLines(fileName)
+ If (fromTop) Then
+ Return String.Join(Environment.NewLine, lines.Take(count))
+ End If
+
+ Return String.Join(Environment.NewLine, lines.Reverse().Take(count))
+
+ End Function
+
+ Private Function ReadBytes(fileName As String, fromTop As Boolean, count As Integer) As String
+
+ Dim bytes = File.ReadAllBytes(fileName)
+ If (fromTop) Then
+ Return Encoding.UTF8.GetString(bytes, 0, count)
+ End If
+
+ Return Encoding.UTF8.GetString(bytes, bytes.Length - count, count)
+
+ End Function
+
+ Private Function MakeError() As Tuple(Of String, String)
+
+ Return Tuple.Create(vbNullChar, vbNullChar)
+
+ End Function
+
+End Module
diff --git a/demo/ReadText.Demo.VB/ReadText.Demo.VB.sln b/demo/ReadText.Demo.VB/ReadText.Demo.VB.sln
new file mode 100644
index 00000000..8b156856
--- /dev/null
+++ b/demo/ReadText.Demo.VB/ReadText.Demo.VB.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 14
+VisualStudioVersion = 14.0.25420.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "ReadText.Demo.VB", "ReadText.Demo.VB.vbproj", "{298FBAFF-C828-4BF9-8E93-2BE925E9E223}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {298FBAFF-C828-4BF9-8E93-2BE925E9E223}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {298FBAFF-C828-4BF9-8E93-2BE925E9E223}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {298FBAFF-C828-4BF9-8E93-2BE925E9E223}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {298FBAFF-C828-4BF9-8E93-2BE925E9E223}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/src/templates/VBNetTemplate/VBNetTemplate.vbproj b/demo/ReadText.Demo.VB/ReadText.Demo.VB.vbproj
similarity index 72%
rename from src/templates/VBNetTemplate/VBNetTemplate.vbproj
rename to demo/ReadText.Demo.VB/ReadText.Demo.VB.vbproj
index d4596aba..29450891 100644
--- a/src/templates/VBNetTemplate/VBNetTemplate.vbproj
+++ b/demo/ReadText.Demo.VB/ReadText.Demo.VB.vbproj
@@ -1,23 +1,18 @@
-
+
+ Debug
- x86
-
-
-
-
- {52D2A833-C7BE-4B64-B85A-FEC2C1A21080}
+ AnyCPU
+ {298FBAFF-C828-4BF9-8E93-2BE925E9E223}Exe
- Sub Main
- VBNetTemplate
- VBNetTemplate
+ ReadText.Demo.VB.Program
+ ReadText.Demo.VB
+ ReadText.Demo.VB512Consolev4.0
-
-
- false
+ truepublish\trueDisk
@@ -30,27 +25,30 @@
true01.0.0.%2a
+ falsefalsetrue
+
-
- x86
+
+ AnyCPUtruefulltruetruebin\Debug\
- VBNetTemplate.xml
+ ReadText.Demo.VB.xml42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
+ false
-
- x86
+
+ AnyCPUpdbonlyfalsetruetruebin\Release\
- VBNetTemplate.xml
+ ReadText.Demo.VB.xml42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
@@ -69,16 +67,12 @@
My Project\app.manifest
-
- ..\..\libcmdline\bin\Release\CommandLine.dll
+
+ packages\CommandLineParser.2.1.1-beta\lib\net40\CommandLine.dll
+ True
-
-
-
-
-
@@ -89,6 +83,7 @@
+
@@ -108,7 +103,6 @@
Settings.settingsTrue
-
@@ -119,7 +113,6 @@
- MyApplicationCodeGenerator
@@ -130,31 +123,20 @@
MySettings.Designer.vb
+
+
-
+ False
- Microsoft .NET Framework 4 Client Profile %28x86 and x64%29
+ Microsoft .NET Framework 4.5.2 %28x86 and x64%29true
-
- False
- .NET Framework 3.5 SP1 Client Profile
- false
- False.NET Framework 3.5 SP1false
-
- False
- Windows Installer 3.1
- true
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Čtení
+
+
+ řádků
+
+
+ bytů
+
+
+ od začátku:
+
+
+ ok konce:
+
+
+ Počet řádek zobrazených od začátku nebo konce souboru.
+
+
+ Počet bytů zobrazených od začátku nebo konce souboru.
+
+
+ Potlačit sumář.
+
+
+ Jméno vstupního souboru.
+
+
+ Zobrazit první řádky souboru.
+
+
+ normální scénář
+
+
+ specifikace počtu byte
+
+
+ potlačit sumář
+
+
+ přečíst více řádek
+
+
+ Zobrazit poslední řádky souboru.
+
+
+ CHYBY:
+
+
+ Povinné.
+
+
+ POUŽITÍ:
+
+
+ Zobrazit tuto nápovědu.
+
+
+ Zobrazit podrobnou nápovědu pro příkaz.
+
+
+ Zobrazit informaci o verzi.
+
+
+ Token '{0}' nebyl rozpoznán.
+
+
+ Přepínač '{0}' nemá hodnotu.
+
+
+ Neznámý přepínač '{0}'
+
+
+ Přepínač '{0}' je definován ve špatném formátu.
+
+
+ Hodnota nevázaná na přepínač je definována ve špatném formátu.
+
+
+ Příkaz '{0}' nebyl rozpoznán.
+
+
+ Chybí povinný přepínač '{0}'.
+
+
+ Chybí požadovaný přepínač, který není vázán na název možnosti.
+
+
+ Přepínače: {0} nejsou kompatibilní s {1}.
+
+
+ Nebyl vybrán příkaz.
+
+
+ Přepínač '{0}' je definován vícenásobně.
+
+
+ Přepínač sekvence '{0}' je definován méně nebo vícekrát než je povoleno.
+
+
+ Hodnota přepínače je definována méněkrát než je povoleno.
+
+
+ Chyba při nastavení hodnoty přepínače '{0}': {1}
+
+
\ No newline at end of file
diff --git a/demo/ReadText.LocalizedDemo/Properties/Resources.resx b/demo/ReadText.LocalizedDemo/Properties/Resources.resx
new file mode 100644
index 00000000..b002fc43
--- /dev/null
+++ b/demo/ReadText.LocalizedDemo/Properties/Resources.resx
@@ -0,0 +1,225 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Reading
+
+
+ lines
+
+
+ bytes
+
+
+ from top:
+
+
+ from bottom:
+
+
+ Lines to be printed from the beginning or end of the file.
+
+
+ Bytes to be printed from the beginning or end of the file.
+
+
+ Suppresses summary messages.
+
+
+ Input file to be processed.
+
+
+ Displays first lines of a file.
+
+
+ normal scenario
+
+
+ specify bytes
+
+
+ suppress summary
+
+
+ read more lines
+
+
+ Displays last lines of a file.
+
+
+ Možnost '{0}' je definována ve špatném formátu.
+
+
+ A value not bound to option name is defined with a bad format.
+
+
+ Token '{0}' is not recognized.
+
+
+ Verb '{0}' is not recognized.
+
+
+ ERROR(S):
+
+
+ Display this help screen.
+
+
+ Display more information on a specific command.
+
+
+ Required option '{0}' is missing.
+
+
+ A required value not bound to option name is missing.
+
+
+ Option '{0}' has no value.
+
+
+ Options: {0} are not compatible with {1}.
+
+
+ No verb selected.
+
+
+ Option '{0}' is defined multiple times.
+
+
+ Required.
+
+
+ A sequence option '{0}' is defined with fewer or more items than required.
+
+
+ A sequence value not bound to option name is defined with fewer items than required.
+
+
+ Error setting value to option '{0}': {1}
+
+
+ Option '{0}' is unknown.
+
+
+ USAGE:
+
+
+ Display version information.
+
+
\ No newline at end of file
diff --git a/demo/ReadText.LocalizedDemo/Properties/launchSettings.json b/demo/ReadText.LocalizedDemo/Properties/launchSettings.json
new file mode 100644
index 00000000..a5627a1b
--- /dev/null
+++ b/demo/ReadText.LocalizedDemo/Properties/launchSettings.json
@@ -0,0 +1,8 @@
+{
+ "profiles": {
+ "ReadText.LocalizedDemo": {
+ "commandName": "Project",
+ "commandLineArgs": "head"
+ }
+ }
+}
\ No newline at end of file
diff --git a/demo/ReadText.LocalizedDemo/ReadText.LocalizedDemo.csproj b/demo/ReadText.LocalizedDemo/ReadText.LocalizedDemo.csproj
new file mode 100644
index 00000000..57251e03
--- /dev/null
+++ b/demo/ReadText.LocalizedDemo/ReadText.LocalizedDemo.csproj
@@ -0,0 +1,23 @@
+
+
+ Exe
+ net40;net45;net461;netcoreapp2.1;netcoreapp2.0
+false
+
+
+
+
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+ PublicResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
\ No newline at end of file
diff --git a/demo/ReadText.LocalizedDemo/ReadText.LocalizedDemo.sln b/demo/ReadText.LocalizedDemo/ReadText.LocalizedDemo.sln
new file mode 100644
index 00000000..e769b7da
--- /dev/null
+++ b/demo/ReadText.LocalizedDemo/ReadText.LocalizedDemo.sln
@@ -0,0 +1,31 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+VisualStudioVersion = 15.0.28307.106
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ReadText.LocalizedDemo", "ReadText.LocalizedDemo.csproj", "{F9D3B288-1A73-4C91-8ED7-11ED1704B817}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CommandLine", "..\..\src\CommandLine\CommandLine.csproj", "{A03AADAC-F7E5-44A6-8BCC-492B1697CCC9}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {F9D3B288-1A73-4C91-8ED7-11ED1704B817}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F9D3B288-1A73-4C91-8ED7-11ED1704B817}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F9D3B288-1A73-4C91-8ED7-11ED1704B817}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F9D3B288-1A73-4C91-8ED7-11ED1704B817}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A03AADAC-F7E5-44A6-8BCC-492B1697CCC9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A03AADAC-F7E5-44A6-8BCC-492B1697CCC9}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A03AADAC-F7E5-44A6-8BCC-492B1697CCC9}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A03AADAC-F7E5-44A6-8BCC-492B1697CCC9}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {FF14CDF0-EF51-448B-918C-47CD369568DF}
+ EndGlobalSection
+EndGlobal
diff --git a/demo/ReadText.LocalizedDemo/packages.config b/demo/ReadText.LocalizedDemo/packages.config
new file mode 100644
index 00000000..d34c1336
--- /dev/null
+++ b/demo/ReadText.LocalizedDemo/packages.config
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/demo/fsharp-demo.fsx b/demo/fsharp-demo.fsx
new file mode 100644
index 00000000..8aff84e3
--- /dev/null
+++ b/demo/fsharp-demo.fsx
@@ -0,0 +1,39 @@
+#r "./../src/CommandLine/bin/Debug/CommandLine.dll"
+
+open CommandLine
+open CommandLine.Text
+
+type options = {
+ [
] stringValue : string;
+ [
] intSequence : int seq;
+ [
] boolValue : bool;
+ [] longValue : int64 option; }
+ with
+ []
+ static member examples
+ with get() = seq {
+ yield Example("Supply some values", {stringValue = "hello"; boolValue = true; intSequence = seq {1..3}; longValue = Some 10L }) }
+
+let formatLong o =
+ match o with
+ | Some(v) -> string v
+ | _ -> "{None}"
+
+let formatInput (o : options) =
+ sprintf "--stringvalue: %s\n-i: %A\n-x: %b\nvalue: %s\n" o.stringValue o.intSequence o.boolValue (formatLong o.longValue)
+
+let inline (|Success|Help|Version|Fail|) (result : ParserResult<'a>) =
+ match result with
+ | :? Parsed<'a> as parsed -> Success(parsed.Value)
+ | :? NotParsed<'a> as notParsed when notParsed.Errors.IsHelp() -> Help
+ | :? NotParsed<'a> as notParsed when notParsed.Errors.IsVersion() -> Version
+ | :? NotParsed<'a> as notParsed -> Fail(notParsed.Errors)
+ | _ -> failwith "invalid parser result"
+
+let args = fsi.CommandLineArgs.[1..]
+let result = Parser.Default.ParseArguments(args)
+
+match result with
+ | Success(opts) -> printf "%s" (formatInput opts)
+ | Fail(errs) -> printf "Invalid: %A, Errors: %u\n" args (Seq.length errs)
+ | Help | Version -> ()
diff --git a/doc/NUNIT-LICENSE b/doc/NUNIT-LICENSE
deleted file mode 100644
index 66a5ebf2..00000000
--- a/doc/NUNIT-LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-Copyright 2002-2008 Charlie Poole
-Copyright 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov
-Copyright 2000-2002 Philip A. Craig
-
-This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
-
-Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
-
-1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment (see the following) in the product documentation is required.
-
-Portions Copyright 2002-2008 Charlie Poole or Copyright 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov or Copyright 2000-2002 Philip A. Craig
-
-2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
-
-3. This notice may not be removed or altered from any source distribution.
diff --git a/doc/SHOULD-LICENSE b/doc/SHOULD-LICENSE
deleted file mode 100644
index d45a7278..00000000
--- a/doc/SHOULD-LICENSE
+++ /dev/null
@@ -1,205 +0,0 @@
-
-
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
\ No newline at end of file
diff --git a/doc/ChangeLog b/docs/ChangeLog
similarity index 86%
rename from doc/ChangeLog
rename to docs/ChangeLog
index 0233506c..9461ff65 100644
--- a/doc/ChangeLog
+++ b/docs/ChangeLog
@@ -1,15 +1,342 @@
-2013-02-27 Giacomo Stelluti Scala
+2015-10-16 Giacomo Stelluti Scala
+
+ * PR #255 fixes Issue #254 by @scadorel Merged.
+
+2015-09-22 Giacomo Stelluti Scala
+
+ * Issue #241 (reported by @pvmraghunandan) Fixed.
+
+2015-09-13 Giacomo Stelluti Scala
+
+ * Added properties test project using FsCheck.
+
+2015-09-07 Giacomo Stelluti Scala
+
+ * Internal refactoring on OptionMapper.
+
+2015-09-03 Giacomo Stelluti Scala
+
+ * Updated RailwaySharp source reference.
+
+2015-09-02 Giacomo Stelluti Scala
+
+ * PR #231 (by @kshanafelt) Merged.
+
+2015-08-29 Giacomo Stelluti Scala
+
+ * Internal refactoring.
+
+2015-08-27 Giacomo Stelluti Scala
+
+ * PR #227 (by @cfeilen) Merged.
+
+2015-08-24 Giacomo Stelluti Scala
+
+ * PR #227 (by @Thilas) Merged.
+ * Reverted back to Tuple<...> instead of TokePartitions type.
+
+2015-08-20 Giacomo Stelluti Scala
+
+ * All ParserResult.Return renamed to MapResult.
+
+2015-08-19 Giacomo Stelluti Scala
+
+ * Issue #225 (reported by @rmunn) Fixed.
+ * Issue #225/b (reported by @rmunn) Fixed.
+
+2015-08-15 Giacomo Stelluti Scala
+
+ * Centralizing Tokenizer configuration.
+
+2015-08-14 Giacomo Stelluti Scala
+
+ * Internal refactoring.
+
+2015-08-13 Giacomo Stelluti Scala
+
+ * Replacing Either with Result.
+
+2015-08-10 Giacomo Stelluti Scala
+
+ * Internal refactoring.
+
+2015-08-07 Giacomo Stelluti Scala
+
+ * Renaming tests fakes.
+ * Issue #220 Implemented.
+
+2015-08-06 Giacomo Stelluti Scala
+
+ * PR #216 (by @Thilas) Merged.
+
+2015-08-05 Giacomo Stelluti Scala
+
+ * Issue #218 Fixed (IgnoreUnknownArguments).
+
+2015-08-03 Giacomo Stelluti Scala
+
+ * Issue #65 (re) Fixed for 2.0.x library.
+
+2015-08-02 Giacomo Stelluti Scala
+
+ * Changes in usage text handling.
+ * PR #215 (by @Thilas) Merged.
+
+2015-08-01 Giacomo Stelluti Scala
+
+ * Fixing XML comments.
+
+2015-07-31 Giacomo Stelluti Scala
+
+ * Issue #210 (reported by @mac2000) Implemented.
+ * Test refactorings.
+
+2015-07-30 Giacomo Stelluti Scala
+
+ * Issue #208 Implemented (extended usage text support).
+ * Minor HelpText refactorings.
+
+2015-07-28 Giacomo Stelluti Scala
+
+ * Internal refactorings.
+
+2015-07-27 Giacomo Stelluti Scala
+
+ * Added FormatCommandLine() overload with settings.
+
+2015-07-26 Giacomo Stelluti Scala
+
+ * ParserResult internally refactored, minor breaking changes to HelpText.
+ * Internal refactorings.
+
+2015-07-25 Giacomo Stelluti Scala
+
+ * Adding unparse support.
+ * PR #207 Merged.
+ * Using new Paket-friendly CSharpx and RailwaySharp.
+ * Added F# option support to FormatCommandLine().
+
+2015-07-23 Giacomo Stelluti Scala
+
+ * Test project refactoring.
+
+2015-07-21 Giacomo Stelluti Scala
+
+ * Internal refactorings (using CSharpx.EnumerableExtensions).
+ * PR #205 (by @forki) Merged.
+ * Internal refactorings.
+ * Refactoring with RailwaySharp.ErrorHandling.
+
+2015-07-20 Giacomo Stelluti Scala
+
+ * Issue #203 Implemented
+ * Internal refactorings.
+ * Issue #204 (reported by @Kimi-Arthur) Fixed.
+ * TypeConverter refactored with CSharpx.Either.
+
+2015-07-19 Giacomo Stelluti Scala
+
+ * Managing deps with Paket.
+
+2015-07-18 Giacomo Stelluti Scala
+
+ * Issue #202 (reported by @StevenLiekens) Fixed.
+ * Internal refactorings in rule enforcement.
+ * Added a test for #202, method rewritten and (re)fixed.
+ * More internal refactorings in rule enforcement.
+
+2015-07-15 Giacomo Stelluti Scala
+
+ * Reverting back suprflous check.
+
+2015-07-14 Giacomo Stelluti Scala
+
+ * PR #197 (by @Thilas) Implemented.
+
+2015-07-13 Giacomo Stelluti Scala
+
+ * Internal refactorings in CopyrighInfo, HeadingInfo.
+
+2015-07-12 Giacomo Stelluti Scala
+
+ * Internal refactorings in HelpText.
+
+2015-07-10 Giacomo Stelluti Scala
+
+ * Issue #191 (--version\version added to help screen) Fixed.
+ * Issue #162 (`ValueAttribute` handled in help screen) Implemented.
+
+2015-07-09 Giacomo Stelluti Scala
+
+ * Issue #189 Implemented.
+ * Issue #190 Fixed/Implemented (--help/--version/version for verbs).
+ * Internal refactorings in InstanceChooser.
+ * Issue #188 Fixed.
+
+2015-07-08 Giacomo Stelluti Scala
+
+ * Automatic --version handling.
+ * Added C# demo.
+ * Internal refactorings in HelpText.
+
+2015-07-07 Giacomo Stelluti Scala
+
+ * Added WithParsed() for verbs.
+ * Added Return() for verbs.
+
+2015-07-06 Giacomo Stelluti Scala
+
+ * Issue #183 Fixed by @Thilas.
+ * Issue #183 reported by @Thilas Fixed.
+ * Default '--help' command refactored.
+
+2015-07-05 Giacomo Stelluti Scala
+
+ * Added Return(...) to ParserResult.
+
+2015-07-04 Giacomo Stelluti Scala
+
+ * Issue #180 Implemented.
+ * Issue #181 Implemented.
+
+2015-07-03 Giacomo Stelluti Scala
+
+ * Issue #179 Implemented.
+
+2015-07-02 Giacomo Stelluti Scala
+
+ * PR #123 by @smbecker Merged.
+ * Fixes.
+
+2015-06-30 Giacomo Stelluti Scala
+
+ * Internal refactorings.
+ * Support for immutable types.
+ * Fixes.
+
+2015-06-29 Giacomo Stelluti Scala
+
+ * Issue #112 Fixed.
+
+2015-06-28 Giacomo Stelluti Scala
+
+ * Internal refactorings.
+
+2015-06-27 Giacomo Stelluti Scala
+
+ * Disallowed Min=Max=0 for sequences, raising exception.
+ * Issue #177 Fixed.
+
+2015-06-26 Giacomo Stelluti Scala
+
+ * Added support for FSharpOption.
+
+2015-06-25 Giacomo Stelluti Scala
+
+ * Issue #155 Fixed (thanks to @guyzeug).
+
+2015-06-24 Giacomo Stelluti Scala
+
+ * PR #171 merged.
+
+2015-06-23 Giacomo Stelluti Scala
+
+ * Issue #172 Fixed.
+
+2015-06-22 Giacomo Stelluti Scala
+
+ * Fixing FAKE build script.
+
+2015-06-20 Giacomo Stelluti Scala
+
+ * Internal refactorings.
+ * New tests added.
+
+2015-06-20 Giacomo Stelluti Scala
+
+ * Removed reduntant internal params null checks.
+
+2015-06-19 Giacomo Stelluti Scala
+
+ * Better GetHashCode() implementations.
+
+2015-06-19 Giacomo Stelluti Scala
+
+ * Adding more tests for token partitioners.
+ * Fix in Sequence.Partition().
+ * Sequence.Partition() rewritten.
+ * Refactoring for Increase Testability.
+ * Little change to allow .NET 4.5 build.
+
+2015-06-18 Giacomo Stelluti Scala
+
+ * Important fix on scalar string value adjacent to string sequence (without constraints).
+ * Refactoring for Increase Testability.
+
+2015-06-17 Giacomo Stelluti Scala
+
+ * Fixing Issue #164.
+
+2015-06-16 Giacomo Stelluti Scala
+
+ * Increased test coverage using theories.
+
+2015-06-15 Giacomo Stelluti Scala
+
+ * Fixing Issue #159.
+ * Fixing Issue #160.
+ * Fixing Issue #161.
+
+2015-06-13 Giacomo Stelluti Scala
+
+ * Chaning Separator from string to char.
+ * Fixing Issue #157.
+
+2015-06-12 Giacomo Stelluti Scala
+
+ * Issue #68, option list behaviour.
+
+2015-06-10 Giacomo Stelluti Scala
+
+ * Pull request #154 merged.
+
+2015-06-07 Giacomo Stelluti Scala
+
+ * Pull request #144 merged.
+
+2015-06-06 Giacomo Stelluti Scala
+
+ * Pull request #119 merged.
+
+2015-06-05 Giacomo Stelluti Scala
+
+ * Pull request #103 merged (solving conflicts).
+
+2015-06-04 Giacomo Stelluti Scala
+
+ * Pull request #97 merged.
+
+2015-06-03 Giacomo Stelluti Scala
+
+ * Pull request #87 merged.
+ * Pull request #95 merged.
+
+2013-04-26 Giacomo Stelluti Scala
+
+ * Released pre-release of Version 2.0.
+
+2013-02-27 Giacomo Stelluti Scala
* Implicit name is now available on OptionAttribute and OptionListAttribute
(added tests).
-2013-02-26 Giacomo Stelluti Scala
+2013-02-26 Giacomo Stelluti Scala
* Reduced mutability of ParserSettings, instance can be used once.
* Internal refactoring.
- some particular System.String extensions moved to ArgumentParser as made private.
-2013-02-25 Giacomo Stelluti Scala
+2013-02-25 Giacomo Stelluti Scala
* Reverted same StyleCop default (see doc/Contribution).
* tools/invariantstrtool.exe replaced by T4 template (project removed from GitHub).
@@ -19,17 +346,17 @@
Parser(Action) new CommandLine.Parser ctor.
* Second KISS, removed IParser.
-2013-02-23 Giacomo Stelluti Scala
+2013-02-23 Giacomo Stelluti Scala
* When omitting longName default is property name (lower case) as issue #57.
* ParserConfigurator made nested type of Parser.
* ParserConfigurator::HelpWriter(TextWriter) renamed to ParserConfigurator::UseHelpWriter(...).
-2013-02-22 Giacomo Stelluti Scala
+2013-02-22 Giacomo Stelluti Scala
* Reverting back genericity from IParser.
-2013-02-21 Giacomo Stelluti Scala
+2013-02-21 Giacomo Stelluti Scala
* HelpText, internal refactoring to safely suppress a CodeAnalysis warning.
* Namespace Core renamed Infrastructure.
@@ -140,14 +467,14 @@
in every part of the project).
* Removed conditional compylation symbol #UNIT_TESTS from OptionAttribute.cs.
* Removed conditional compylation symbol #UNIT_TESTS from ArgumentParser.cs.
- * Removed conditional compylation symbol #UNIT_TESTS from OptionInfo.cs.
+ * Removed conditional compylation symbol #UNIT_TESTS from OptionInfo.cs.
* Used same key to sign both assemblies (main, tests).
* Removed DebugTests compilation target (tied to #UNIT_TESTS symbol).
* Added xunit.runners to solution.
* Removed CommandLine.Dist.sln, xbuild replaced by mdtool.
* Rakefile now build and test as whole.
- * Version incremented to 1.9.4.205 beta.
-
+ * Version incremented to 1.9.4.205 beta.
+
2013-01-28 Giacomo Stelluti Scala
* All name of test fixture methods changed to a new convention (e.g.: A_descriptive_assertion)
@@ -357,7 +684,7 @@
- tests/AttributesFixture.cs
* API change 02 (extension/non breaking): verbs
- tests/Mocks/OptionsWithVerbs.cs added
- - tests/Mocks/OptionsWithVerbsHelp.cs added
+ - tests/Mocks/OptionsWithVerbsHelp.cs added
- tests/Parser/VerbsFixture.cs added
- tests/Text/VerbsHelpTextFixture.cs added
- CommandLine.cs
@@ -371,14 +698,14 @@
-> VerbOptionAttribute added (inherits from OptionAttribute)
-> HelpVerbOptionAttributed added (inherits from BaseOptionAttribute directly)
- #Parser#
- -> expanded CommandLineParser implementation
+ -> expanded CommandLineParser implementation
- CommandLineText.cs
- added a trivial optional parameter to HelpText::AutoBuild for supporting verbs
* Comments: added missing comments to MultiLineTextAttribute type.
* IArgumentEnumerator doesn't inherit anymore from IDisposable (it was only a legacy of old design).
* Internal types moved to namespace CommandLine.Internal.
* ParsingError made sealed.
- * License year range updated in code license region/comment.
+ * License year range updated in code license region/comment.
* Code formatting
- privates (except ctor) moved at the end of types.
- braces around allo blocks (also one line code blocks).
@@ -387,7 +714,7 @@
- except for object initializers
- some blank line removed for favor source inclusion.
* Version incremented to 1.9.4.91 Beta.
-
+
2012-12-22 Giacomo Stelluti Scala
* Extended use of Should.Fluent to whole test project.
@@ -458,7 +785,7 @@
* Changed projects target to Mono 4.0 Profile.
* Added tests ParseTwoUIntConsecutiveArray* to OptionArrayAttributeParsingFixture.
- * Fixed the LongOptionParser type problem of parsing two consecutive arrays (issue from m1gu3l github user).
+ * Fixed the LongOptionParser type problem of parsing two consecutive arrays (issue from m1gu3l github user).
2012-06-18 Giacomo Stelluti Scala
@@ -534,7 +861,7 @@
* Text/Tests/HelpTextFixture.cs (HelpTextFixture)
Modified. Added tests from HelpText.AddDashesToOption.
-
+
2012-05-05 Giacomo Stelluti Scala
------------------------------------------------------------------------------------
@@ -562,14 +889,14 @@
Added. Class that records a parsing error.
+ Core/BadOptionInfo.cs (BadOptionInfo)
- Added. This class is used as a light reference for bad options.
+ Added. This class is used as a light reference for bad options.
+ Utility/StringUtil.cs (StringUtil)
Added. Basic string utility class.
+ Text/EnglishSentenceBuilder.cs (EnglishSentenceBuilder)
Added. Used with StringBuilder for localize text.
-
+
+ Text/BaseSentenceBuilder.cs (BaseSentenceBuilder)
Added. The base class for localized sentence building.
@@ -584,13 +911,13 @@
* Parser/CommandLineParser.cs (CommandLineParser)
Modified. Modified for [a].
-
+
* Core/OptionMap.cs (OptionMap)
Modified. Modified for [a].
-
+
* Text/HelpText.cs (HelpText)
Modified. Modified for [a].
-
+
* Text/TESTS/HelpTextFixture.cs (HelpTextFixture)
Modified. Modified for [a].
@@ -664,7 +991,7 @@
* Text/TESTS/HelpTextFixture.cs (HelpTextFixture)
Modified. Added test
::InstancingWithParameterlessConstructor
-
+
2010-03-18 Giacomo Stelluti Scala
-----------------------------------------------------------------------------------
@@ -676,12 +1003,12 @@
Modified. Now you can customize options help text using the FormatOptionHelpText event as
requested in #REQ0005 ([1]
http://commandline.codeplex.com/WorkItem/View.aspx?WorkItemId=10426&ProjectName=commandline by fhaag).
-
+
+ FormatOptionHelpTextEventArgs.cs (FormatOptionHelpTextEventArgs)
Added. See [1].
-
+
* HelpTextFixture.cs (HelpTextFixture)
- Modified. See [1].
+ Modified. See [1].
2010-03-08 Giacomo Stelluti Scala
@@ -689,7 +1016,7 @@
+ file added; * file modified; - file deleted; ~ file renamed; > file moved
{ group start; } group end
-----------------------------------------------------------------------------------
-
+
{* Parser/TESTS/CommandLineParserFixture.cs (CommandLineParserFixture)
* Parser/TESTS/MutuallyExclusiveParsingFixture.cs (MutuallyExclusiveParsingFixture)
* Parser/TESTS/NullableTypesParsingFixture.cs (NullableTypesParsingFixture)
@@ -697,7 +1024,7 @@
All Modified. Refactoring toward code readability and maintainability.
Introduced use of CommandLineParserBaseFixture::AssertParserSuccess(bool).
Introduced use of CommandLineParserBaseFixture::AssertParserFailure(bool).
-
+
{* Text/HelpText.cs (HelpText)
*} Text/TESTS/HelpTextFixture.cs (HelpTextFixture)
Patch 'fix_helptext_infinite_loop.patch' officially applied
@@ -706,14 +1033,14 @@
* {all}.cs
Modified header. Updated the range of years in copyright notice.
-
+
* Core/IArgumentEnumerator.cs (IArgumentEnumerator)
Modified. Redefined for mono compatibility.
{* Core/StringArrayEnumerator.cs (StringArrayEnumerator)
*} Core/OneCharStringEnumerator.cs (OneCharStringEnumerator)
All Modified. See IArgumentEnumerator (Core/IArgumentEnumerator.cs).
-
+
2009-11-28 Giacomo Stelluti Scala
---------------------------------------------------------------------------------------
@@ -723,23 +1050,23 @@
~ file renamed
> file moved
---------------------------------------------------------------------------------------
-
+
+ Tests/Mocks/SimpleOptionsWithBadOptionArray.cs (SimpleOptionsWithBadOptionArray)
Added. Used in OptionArrayAttributeParsingFixture.
-
+
* Core/OptionInfo.cs (OptionInfo)
Modified. Modified ::SetValue(IList, object) method to handle exceptions correctly.
* Core/ArgumentParser.cs (ArgumentParser)
Modified. Added ::EnsureOptionArrayAttributeIsNotBoundToScalar(OptionInfo) method
to prevent misuse of syntax defined by attributes.
-
+
* Core/OptionGroupParser.cs (OptionGroupParser)
Modified. Introduced use of ArgumentParser::EnsureOptionArrayAttributeIsNotBoundToScalar(...).
-
+
* Core/LongOptionParser.cs (LongOptionParser)
Modified. Introduced use of ArgumentParser::EnsureOptionArrayAttributeIsNotBoundToScalar(...).
-
+
* Parser/Tests/OptionArrayAttributeParsingFixture.cs (OptionArrayAttributeParsingFixture)
Modified. Added following test methods.
::PassingBadValueToAnIntegerArrayOptionFails()
@@ -749,7 +1076,7 @@
::WillThrowExceptionIfOptionArrayAttributeBoundToStringWithLongName()
::WillThrowExceptionIfOptionArrayAttributeBoundToIntegerWithShortName()
::WillThrowExceptionIfOptionArrayAttributeBoundToIntegerWithLongName()
-
+
2009-11-24 Giacomo Stelluti Scala
---------------------------------------------------------------------------------------
@@ -759,7 +1086,7 @@
~ file renamed
> file moved
---------------------------------------------------------------------------------------
-
+
+ Core/TargetWrapper.cs (TargetWrapper)
Added. Decouples the instance that will contain parsed values by the code that consumes it.
@@ -770,24 +1097,24 @@
* Parser/CommandLineParser.cs (CommandLineParser)
Modified. Try to use TargetWrapper instead of working directly with options instance.
-
+
* Core/LongOptionParser.cs (LongOptionParser)
Modified. Introduced the use of ArgumentParser::BooleanToParserState(...)
and ArgumentParser::EnsureOptionAttributeIsArrayCompatible(...) for a cleaner code and
improved maintainability.
-
+
* Core/OptionGroupParser.cs (OptionGroupParser)
Modified. Same changes of LongOptionParser.
-
+
~ Tests/MockUtil.cs (MockUtil) -> Tests/DebugStringUtil.cs (DebugStringUtil)
Renamed. A correct name is the first step for refactoring a unit of code.
-
+
* Core/Tests/ArgumentParserFixture.cs (ArgumentParserFixture)
Modified. Test code simplified.
-
+
* Attributes/Tests/HelpOptionAttributeFixture.cs (HelpOptionAttributeFixture)
Modified. Minor refactoring.
-
+
* Attributes/Tests/ValueListAttributeFixture.cs (ValueListAttributeFixture)
Modified. Minor refactoring.
@@ -796,49 +1123,49 @@
* IArgumentEnumerator.cs (IArgumentEnumerator)
Modified. The interface now inherits from IEnumerator.
Added ::MovePrevious() method to be implemented (for now only) by StringArrayEnumerator.
-
+
* OneCharStringEnumerator.cs (OneCharStringEnumerator)
Modified. See IArgumentEnumerator[.cs].
-
+
* StringArrayEnumerator.cs (StringArrayEnumerator)
Modified. See IArgumentEnumerator[.cs].
-
+
* OptionMap.cs (OptionMap)
Modified.
-
+
* OptionListAttribute.cs (OptionListAttribute)
Modified. AttributeUsage removed, it's inherited from Option[Attribute].
-
+
* OptionArrayAttribute.cs (OptionArrayAttribute)
Added. This new attribute defines an option to store multiple values in an array.
-
+
* OptionInfo.cs (OptionInfo)
Modified. ::IsArray property added.
::IsAttributeArrayCompatible property added.
::SetValue(IList, object) method added to handle OptionArray[Attribute].
-
+
* SimpleOptionsWithArray.cs (SimpleOptionsWithArray)
* SimpleOptionsWithArrayAndValueList.cs (SimpleOptionsWithArrayAndValueList)
Added.
-
+
* OptionArrayAttributeParsingFixture.cs (OptionArrayAttributeParsingFixture)
Added. Unit tests for parsing with OptionArray[Attribute].
-
+
* ArgumentParser.cs (ArgumentParser)
Modified. Added protected method ::GetNextInputValues(IArgumentEnumerator) for handle OptionArray[Attribute].
* ArgumentParserFixture.cs (ArgumentParserFixture)
Added.
-
+
* ParserException.cs -> CommandLineParserException.cs (CommandLineParserException)
Renamed. CommandLineParserException is a name more consistent with other CommandLineParser* types
than ParserException.
-
+
* BaseFixture.cs (BaseFixture)
Added. This is another step towards unit tests refactoring.
* CommandLineParserBaseFixture.cs (CommandLineParserBaseFixture)
- Modified. Now inherits from BaseFixture.
+ Modified. Now inherits from BaseFixture.
2009-11-16 Giacomo Stelluti Scala
@@ -846,16 +1173,16 @@
Renamed. This interface is used to enumerate over a string vector (old StringEnumeratorEx)
or a string item of this vector (old CharEnumeratorEx). I think that IArgumentEnumerator is a more
meaningful name.
-
+
* OptionGroupParser.cs (OptionGroupParser)
Modified. Reference to IStringEnumerator changed to IArgumentEnumerator.
Reference to CharEnumeratorEx changed to OneCharStringEnumerator.
OptionMap referenced directly (IOptionMap interface currently removed).
-
+
* LongOptionParser.cs (LongOptionParser)
Modified. Reference to IStringEnumerator changed to IArgumentEnumerator.
OptionMap referenced directly (IOptionMap interface currently removed).
-
+
* StringEnumeratorEx.cs -> StringArrayEnumerator.cs (StringArrayEnumerator)
Renamed. This isn't an extended version of CLR StringEnumerator. It's really a custom string array
enumerator. So I decided to refactor it, starting from giving it a correct name.
@@ -868,18 +1195,18 @@
Modified. Reference to IStringEnumerator changed to IArgumentEnumerator.
Reference to StringEnumeratorEx changed to StringArrayEnumerator.
OptionMap referenced directly (IOptionMap interface currently removed).
-
+
* EnumeratorsFixture.cs (EnumeratorsFixture)
Modified. Reference to IStringEnumerator changed to IArgumentEnumerator.
Reference to CharEnumeratorEx changed to OneCharStringEnumerator.
Reference to StringEnumeratorEx changed to StringArrayEnumerator.
-
+
* IOptionMap.cs (IOptionMap)
Removed. Why keep an internal interface inherited only from one concrete type?
-
+
* OptionMap.cs (OptionMap)
Modified. Inheritance from IOptionMap removed.
-
+
* OptionInfo.cs (OptionInfo)
Modified. OptionMap referenced directly (IOptionMap interface currently removed).
::IsDefined defined with automatic property syntax.
@@ -887,35 +1214,35 @@
* ArgumentParser.cs (ArgumentParser)
Modified. Reference to IStringEnumerator changed to IArgumentEnumerator.
OptionMap referenced directly (IOptionMap interface currently removed).
-
+
* OptionMapFixture.cs (OptionMapFixture)
Modified. OptionMap referenced directly (IOptionMap interface currently removed).
-
+
* BaseOptionAttribute.cs (BaseOptionAttribute)
Modified. Where possible, automatic properties used.
-
+
* OptionListAttribute.cs (OptionListAttribute)
Modified. ::Separator defined with automatic property syntax.
-
+
* ValueListAttribute.cs (ValueListAttribute)
Modified. ::MaximumElements defined with automatic property syntax.
-
+
* CommandLineParserSettings.cs (ValueListAttribute)
Modified. Where possible, automatic properties used.
-
+
2009-11-12 Giacomo Stelluti Scala
* Program.cs (SampleApp.Program)
Modified. Minor internal refactoring.
-
+
* HelpText.cs
Modified. [Steven Evans ->] Added support for automatic text wrap.
Updated the type XML comment.
Added possibility to add an additional new line after description of an option (::AdditionalNewLineAfterOption).
-
- * HelpTextFixture.cs
+
+ * HelpTextFixture.cs
Modified. [Steven Evans ->] Added test code for new features of HelpText (see above).
-
+
2009-11-09 Giacomo Stelluti Scala
* Mocks folder
@@ -924,31 +1251,31 @@
* MockOptionsBase.cs (MockOptionsBase)
Moved. This source file was moved and renamed to OptionsBase.cs (OptionsBase).
-
+
* SimpleOptions.cs (SimpleOptions)
Created. Refactoring of CommandLineParserFixture.MockOptions.
-
+
* SimpleOptionsWithValueList.cs (SimpleOptions)
Created. Refactoring of CommandLineParserFixture.MockOptionsExtended.
-
+
* NumberSetOptions.cs (NumberSetOptions)
Created. Refactoring of CommandLineParserFixture.MockNumericOptions.
-
+
* BooleanSetOptions (BooleanSetOptions)
Created. Refactoring of CommandLineParserFixture.MockBoolPrevalentOptions.
-
+
* SimpleOptionsWithOptionList (SimpleOptionsWithOptionList)
Created. Refactoring of CommandLineParserFixture.MockOptionsWithOptionList.
-
+
* SimpleOptionsWithEnum (SimpleOptionsWithEnum)
Created. Refactoring of CommandLineParserFixture.MockOptionsWithEnum.
-
+
* MixedCaseOptions (MixedCaseOptions)
Created. Refactoring of CommandLineParserFixture.MockOptionsCaseSensitive.
-
+
* CommandLineParserFixture.Mocks.cs
Removed. The partial CommandLineParserFixture in this code file is now empty.
-
+
* CommandLineParserFixture.cs (CommandLineParserFixture)
Modified. The type CommandLineParserFixture is no longer partial.
@@ -957,13 +1284,13 @@
* SimpleOptionsWithHelpOption.cs (SimpleOptionsWithHelpOption)
Created. Refactoring of CommandLineParserSettingsFixture.MockOptions.
-
+
* OptionsWithDefaultSet.cs (OptionsWithDefaultSet)
Created. Refactoring of MutuallyExclusiveParsingFixture.MockOptionsWithDefaultSet.
-
+
* OptionsWithMultipleSet.cs (OptionsWithMultipleSet)
Created. Refactoring of MutuallyExclusiveParsingFixture.MockColorOptions.
-
+
* OptionsWithMultipleSetAndOneOption.cs (OptionsWithMultipleSetAndOneOption)
Created. Refactoring of MutuallyExclusiveParsingFixture.MockExtendedColorOptions.
@@ -974,15 +1301,15 @@
Modified. Nested type MockOptionsWithValueList removed and replaced with SimpleOptionsWithValueList.
Nested type MockOptionsWithValueListMaxElemDefined removed and replaced with OptionsWithValueListMaximumThree.
Nested type MockOptionsWithValueListMaxElemEqZero removed and replaced with OptionsWithValueListMaximumZero.
-
+
* SimpleOptionsWithValueList.cs (SimpleOptionsWithValueList)
OptionsWithValueListMaximumThree.cs (OptionsWithValueListMaximumThree)
OptionsWithValueListMaximumZero.cs (OptionsWithValueListMaximumZero)
Created. Compare above.
-
+
* NAnt Script (../nant/default.build)
Modified. Aligned to Visual Studio project.
-
+
* Validator.cs (Validator)
Renamed. In a near future I plan to use types with 'validator' semantic to enable validation of
parsed values. So I've renamed this type (that validates methods arguments) with a more
@@ -1004,18 +1331,18 @@
* AttributesFixture.cs
Created. New tests for #DGN0002 (see [1]).
-
+
* StringEnumeratorEx.cs (StringEnumeratorEx)
Modified. ::GetRemainingFromNext() now throws a more correct System.NotSupportedException
instead of System.NotImplementedException.
-
+
* NullableTypesParsingFixture.cs (NullableTypesParsingFixture)
Created. #REQ0003 ([2] http://commandline.codeplex.com/WorkItem/View.aspx?WorkItemId=7649
by jeffwilcox).
-
+
* NullableTypesOptions.cs (NullableTypesOptions)
Created. Mock object for NullableTypesParsingFixture.
-
+
* OptionInfo.cs (OptionInfo)
Modified. Added ::SetNullableValue(string, object) to handle nullable types; see [2].
::SetValueScalar(string, object) marked private (not necessary to be public).
@@ -1023,78 +1350,78 @@
* ReflectionUtil.cs (ReflectionUtil)
Modified. Added method ::IsNullableType(Type); see [2].
-
+
* CommandLineParserFixture.cs (CommandLineParserFixture.cs)
Modified. ::PassingNoValueToAIntegerTypeLongOptionFails corrected in ::PassingNoValueToAnIntegerTypeLongOptionFails.
-
+
* config folder
Created. This new subdirectory created inside {project-roo}/doc will host configuration related files.
-
+
* net-3.5_fx-node.nant-conf
Moved/Renamed. Moved to {project-roo}/doc/config and renamed as NAnt.exe.config.part.
-
+
* CommandLine.sln
Moved. The MS Visual C# 2008 EE solution file is now under {project-root} directory.
This satisfy #REQ0004 ([3] http://commandline.codeplex.com/WorkItem/View.aspx?WorkItemId=9080
by x97mdr).
-
+
* msvs2008 folder
Removed.
-
+
2009-11-01 Giacomo Stelluti Scala
* {all}.cs
Modified. Code formatting lightly adjusted for readability and maintainability.
-
+
* OptionInfo.cs (OptionInfo)
[if|else] construct of ::SetValue(string, object) turned into [guard-clause|return].
-
+
* HelpText.cs (HelpText)
[if|else] construct of ::GetLength(*) turned into [guard-clause|return].
-
+
* IncompatibleTypesException.cs (IncompatibleTypesException)
Removed. It's no longer necessary.
-
+
* ParserException.cs (ParserException)
Moved. {project-root}/Exceptions/ParserException.cs was moved to {project-root}/Parser.
-
+
* Exceptions folder
Removed.
-
+
* NAnt Script (../nant/default.build)
Modified. Aligned to Visual Studio project.
-
+
* Tests folder
Created. This folder will contain reusable test code.
-
+
* MockUtil.cs
MockOptionsBase.cs
Moved. Both files moved to {project-root}/Tests folder.
-
+
* CommandLineParserBaseFixture.cs (CommandLineParserBaseFixture)
Added. CommandLineParserBaseFixture will be the base class for testing CommandLineParser.
-
+
* ValueListAttributeParsingFixture.cs (ValueListAttributeParsingFixture)
Added. Groups tests for CommandLineParser type related to ValueList[Attribute]. These tests
were first contained in CommandLineParserFixture.
-
+
* CommandLineParserBaseFixture.cs (CommandLineParserBaseFixture)
Modified. See ValueListAttributeParsingFixture[.cs] changes.
-
+
* CommandLineParserFixture.Mocks.cs (types nested in CommandLineParserFixture)
Modified. Added MockOptionsExtended type.
-
+
* CommandLineLibrary.shfb
- Removed. This file was converted to a newer version of SandCastle (sc 2.4.10520, hpfb 1.8.0.2 beta).
-
+ Removed. This file was converted to a newer version of SandCastle (sc 2.4.10520, hpfb 1.8.0.2 beta).
+
* CommandLineLibrary.shfbproj
Added. This is the new version of CommandLineLibrary.shfb (source for build CHM help file).
-
+
2009-09-16 Giacomo Stelluti Scala
* Parser.cs (Parser)
Removed. This type has been marked obsolete many release ago.
-
+
* CommandLineParser.cs (CommandLineParser)
Modified. Private method ParseArgumentList renamed to DoParseArguments.
XML comments revised.
@@ -1102,58 +1429,58 @@
CommandLineParserSettings::HelpWriter. Setting this property to null (or passing null to
the overload of ParseArgurguments(...) that accepts helpWriter as argument) means that
in case of fail (or help request) you don't want to display any help screen.
-
+
* Parser folder
Added. Contains ICommandLineParser.cs, CommandLineParser.cs, CommandLineParserSettings.cs
-
+
* Tests folder
Moved. {project-root}/Tests was moved inside of {project-root}/Parser.
-
+
* ICommandLineParser.cs (ICommandLineParser)
Modified. XML comments revised.
-
+
* NAnt Script (../nant/default.build)
Modified. Changed to reflect MS Visual C# 2008 EE project layout.
The function 'path::combine(...)' is now used in a more extensive way.
-
+
* Properties/ThisAssembly.cs
Version defined '1.6 stable'.
-
+
* PairT.cs
Changed. This type has ben replaced (and adapted) with the version shipped with
Common Utility Library (see [1] http://commonapi.codeplex.com/).
-
+
* Util folder
Renamed. Extended to 'Utility'.
-
+
* CommandLineParserFixture.cs (CommandLineParserFixture)
Modified. Added more tests for #BUG0003 (fixed in a previous release).
Added more tests for #REQ0001 (implemented in a previous release).
-
+
* CommandLineParserFixture.Mocks
Modified. Added type MockNumericOptions.
-
+
* ArgumentParser.cs (ArgumentParser)
Modified. Now single dash '-' is allowed also as non-option value (you can capture it with ValueList[Attribute]).
-
+
* LongOptionParser.cs (LongOptionParser)
Modified. Removed commented code.
-
+
* OptionMap.cs (OptionMap)
Modified. Removed commented code.
-
+
* SampleApp/ThisAssembly.cs (ThisAssembly)
Added. Contains assembly's constants.
-
+
* SampleApp/Program.cs
Modified. It has been updated to be more readable.
-
+
* CommandLineParserSettings.cs
Modified. Removed default setting of HelpWriter property (internal get accessor).
-
+
* CommandLineParserSettingsFixture.cs
Added. Contains CommandLineParserSettings specific's tests.
-
+
* doc folder (../doc)
Modified. Added NUNIT-LICENCE, copied and renamed from {install-dir}/NUnit 2.4.8/license.txt.
(I forgot to do this form earliest version!)
@@ -1168,10 +1495,10 @@
Modified for #DGN0001 (see [3]).
The refactoring of ParserSettings type name (to CommandLineParserSettings)
has impacted some test(s).
-
+
* LongOptionParser.cs (LongOptionParser)
Modified. (#BUG0002)
-
+
* ArgumentParser.cs (ArgumentParser)
Modified. Added a guard clause like suggested by Rasqualtwilight in [1]; see IsInputValue(string) method.
The method IsInputValue(...) was also modified in order to accept '-' (single dash) as option
@@ -1185,7 +1512,7 @@
[3] http://commandline.codeplex.com/Thread/View.aspx?ThreadId=64678).
This is done to decouple ParserSettings type from this interface and couple it with the
main parser implementation (CommandLineParser).
-
+
* CommandLineParser.cs (CommandLineParser)
Modified. (#DGN0001)
@@ -1195,24 +1522,24 @@
* HelpTextFixture.cs (HelpTextFixture)
Modified. (#REQ0002)
-
+
* CommandLineParserFixture.Mocks.cs (MockOptionsCaseSensitive)
Modified. In order to fullfill design choice #DGN0001:
moving the ParserSettings type from method to class constructor removes the
obligation to have an HelpOption attribute (HelpOptionAttribute.cs) defined.
-
+
* ParserSettings.cs (ParserSettings)
Renamed to CommandLineParserSettings.cs: ParserSettings type renamed to
CommandLineParserSettings.
|
\|/
- * CommandLineParserSettings.cs (CommandLineParserSettings)
+ * CommandLineParserSettings.cs (CommandLineParserSettings)
Added standard copyright header.
Added MutuallyExclusive boolean property to switch on/off parsing rule for options with
- MutuallyExclusiveSet defined.
+ MutuallyExclusiveSet defined.
Added more constructors.
Modified for #REQ0003 (see [4]).
-
+
* OptionAttribute.cs (OptionAttribute)
Modified. The OptionAttribute is modified in order to add a "mutually exclusive" feature requested
by ErikEJ (#REQ0003; see [4] http://commandline.codeplex.com/WorkItem/View.aspx?WorkItemId=7134).
@@ -1225,12 +1552,12 @@
Modified. (#REQ0003)
Added string property MutuallyExclusiveSet to handle the same property on OptionAttribute (see
OptionAttribute.cs).
-
+
* OptionMap.cs (OptionMap)
Modified. Altered constructor.
Changes made to OptionMap::EnforceRules(...) to handle #REQ0003 (see [4]); this doesn't affect
public API, because OptionMap type is internal for library private use.
-
+
* OptionMapFixture.cs (OptionMapFixture)
Modified. Some changes made for #REQ0003 (see [4]).
@@ -1240,26 +1567,26 @@
Modified. Added test code to implement 'case sensitive on/off switch' following
user unruledboy request (#REQ0000) posted in project hosting web site
(http://commandline.codeplex.com/Thread/View.aspx?ThreadId=44806).
-
+
* ParserSettings.cs (ParserSettings)
Added. This object configures aspects of parser's behavior. (#REQ0000)
-
+
* ICommandLineParser.cs (ICommandLineParser)
Modified. Added a ParseArguments(...) overload that accepts an instance of
ParserSettings. (#REQ0000)
-
+
* CommandLineParser.cs (CommandLineParser)
Modified. Now implements the new method defined in ICommandLineParser. (#REQ0000)
-
+
* ArgumentParser.cs (ArgumentParser)
Modified. (#REQ0000)
-
+
* OptionMap.cs (OptionMap)
Modified. (#REQ0000)
-
+
* OptionMapFixture.cs (OptionMapFixture)
- Modified. Internal type OptionMap has a new public constructor (see OptionMap.cs).
-
+ Modified. Internal type OptionMap has a new public constructor (see OptionMap.cs).
+
2009-01-21 Giacomo Stelluti Scala
* CommandLineParserFixture.cs (CommandLineParserFixture)
@@ -1316,7 +1643,7 @@
Modfied
* SampleApp/Program.cs
Modified.
-
+
2008-12-20 Giacomo Stelluti Scala
* Applied my latestì coding standard' about tabs to all sources (*.cs):
@@ -1350,7 +1677,7 @@
Modified.
* CharEnumerator.cs
Modified.
-
+
2008-07-22 Giacomo Stelluti Scala
* OptionListAttribute.cs
@@ -1397,7 +1724,7 @@
Added. Decouples data previously handled by HelpText type.
* Text/HelpText.cs
Modified. Data previously handled by this type is now managed by HeadingInfo (HeadingInfo.cs).
-
+
2008-04-01 Giacomo Stelluti Scala
* Documentation Comments added to following Sources:
@@ -1414,9 +1741,9 @@
* ValueListAttribute.cs
Updated. Two public members 'Type ValueListAttribute.ConcreteType { get; }' and
'IList ValueListAttribute.GetReference(object)'are now marked internal.
-
+
2007-10-04 Giacomo Stelluti Scala
-
+
* HelpOptionAttributeFixture.cs
Updated. Tests added.
* ParserFixture.cs
@@ -1499,7 +1826,7 @@
Dropped.
* ArgumentParser.cs.
Added. Replaces IPartialParser and Parser.CreateParser(string).
-
+
2007-07-10 Giacomo Stelluti Scala
* Source files formatted following the Mono Coding Guidelines
@@ -1528,7 +1855,7 @@
Refactored using generics.
* IPartialParser.cs (old nested type Parser.IParser)
Updated. Changed method signature.
-
+
2007-06-30 Giacomo Stelluti Scala
* Project moved from www.gotdotnet.com to www.codeplex.com.
@@ -1547,7 +1874,7 @@
2005-05-31 Giacomo Stelluti Scala
* New design.
-
+
2005-05-05 Giacomo Stelluti Scala
* Initial Release.
diff --git a/doc/Contributors b/docs/Contributors
similarity index 66%
rename from doc/Contributors
rename to docs/Contributors
index 87a87ef9..2fb508bc 100644
--- a/doc/Contributors
+++ b/docs/Contributors
@@ -1,6 +1,6 @@
Contributions Guidelines for Command Line Parser Library
Giacomo Stelluti Scala (gsscoder@gmail.com)
-Last Mod.: 2013-02-25
+Last Mod.: 2013-04-26
Tools:
- MS FxCop (VSSTUDIO CodeAnalysis)
@@ -24,45 +24,17 @@ Code Formatting
longlongstuff4 < 0)) -> TOO INDENTATION!
Coding Style
-- Adhere to .NET Framework Coding Guidelines (http://msdn.microsoft.com/en-us/library/ms229042.aspx);
-Exception from standard are like AspNetWebStack Coding Conventions (http://aspnetwebstack.codeplex.com/wikipage?title=CodingConventions);
-- Use guard clause instead of nesting in too levels (with else clauses):
-// OK
-int Method(string arg1, string arg2, string arg3)
-{
- if (arg1 == null)
- {
- return 0;
- }
- if (arg2 == arg3)
- {
- return 1;
- }
- return arg1 + arg2 + arg3;
-}
-// TOO NESTING!
-int Method(string arg1, string arg2, string arg3)
-{
- if (arg1 != null)
- {
- if (arg2 != arg3)
- {
- return arg1 + arg2 + arg3;
- }
- else
- {
- return 1;
- }
- }
- else
- {
- return 0
- }
-}
+- Adhere to .NET Framework Coding Guidelines (http://msdn.microsoft.com/en-us/library/ms229042.aspx) for public types.
+- Kernel of 2.0+ has been rewritten following Functional Programming principles (http://en.wikipedia.org/wiki/Functional_programming).
+- A minor use of side-effects could be allowed if isolated to "out-side" world (e.g.: see Tokenizer type).
Unit Tests
Personally 99% of times I write the unit tests before the desidered modification (TDD). Anyway please submit changes along with at least one unit test (this is also useful to let me understand what the change impacts).
+PR etiquette
+A not discussed PULL REQUEST could lead only to extra work for project coordinator;
+PR are well accepted, anyway they should be result of new or open discussions.
+
Breaking Changes
Please discuss any important modification or something that breaks the Public API.
diff --git a/doc/INFO b/docs/INFO
similarity index 86%
rename from doc/INFO
rename to docs/INFO
index 95a94c01..59de017c 100644
--- a/doc/INFO
+++ b/docs/INFO
@@ -1,8 +1,10 @@
Command Line Parser Library
---------------------------------------------------------------------------------------------
+-------------------------------------------------------------------------------------------
Project Author/Coordinator: Giacomo Stelluti Scala
-Main Contributor(s): Steven Evans, Kevin Moore, Dan Nemec (nemec), Alexander Fast (mizipzor)
---------------------------------------------------------------------------------------------
+Main Contributors: Steven Evans, Kevin Moore, Dan Nemec (nemec), Alexander Fast (mizipzor)
+Others: Tom Glastonbury (tg73)
+-------------------------------------------------------------------------------------------
+
Git home:
https://github.com/gsscoder/commandline
@@ -17,19 +19,10 @@ http://catb.org/~esr/writings/taoup/html/ch10s05.html.
More info on:
[QUICKSTART] http://commandline.codeplex.com/wikipage?title=Quickstart&referringTitle=Documentation
[GUIDE] http://commandline.codeplex.com/documentation (*2)
-[BLOG] http://gsscoder.blogspot.com/
-
-Artifact regeneration:
-rake strings -> src/libcmdline/Internal/SR.string.cs
-rake assemblyinfo -> src/CommonAssemblyInfo.cs
+[BLOG] http://gsscoder.github.com/
Build (requires Ruby):
-gem install rake
-gem install albacore
-rake
-
-Unit Tests:
-rake test
+MonoDevelop or Visual Studio
Documentation:
From version 1.9.0.3 Beta CHM HelpFile was removed from {libroot}/doc.
diff --git a/doc/PublicAPI.md b/docs/PublicAPI.md
similarity index 100%
rename from doc/PublicAPI.md
rename to docs/PublicAPI.md
diff --git a/docs/content/index.fsx b/docs/content/index.fsx
new file mode 100644
index 00000000..c1446345
--- /dev/null
+++ b/docs/content/index.fsx
@@ -0,0 +1,75 @@
+(*** hide ***)
+// This block of code is omitted in the generated HTML documentation. Use
+// it to define helpers that you do not want to show in the documentation.
+#I "../../build"
+#r "CommandLine.dll"
+
+open System
+
+(**
+
+# Command Line Parser Library
+
+Terse syntax C# command line parser for .NET with F# support.
+
+
+
+## Introduction
+
+The library parses command line arguments to a record decorated with attributes:
+*)
+
+type options = {
+ [
] files : seq;
+ [
] verbose : bool;
+ [
] offset : int64 option;
+}
+
+(**
+
+Previous record defines the above parsing scheme:
+
+ [lang=bash]
+ --files file1.bin file2.txt file3.xml --verbose --offset 11
+
+and it will be used to build up this record instance:
+*)
+
+{ files = seq { yield "file1.bin"; yield "file2.txt"; yield "file3.xml"}; verbose = true; offset = Some 11L }
+
+(**
+
+## Who uses CommandLineParser?
+
+* [FSharp.Formatting](http://tpetricek.github.io/FSharp.Formatting/)
+
+* Various commercial products
+
+## Documentation
+
+ * [Tutorial](tutorial.html) A short walkthrough of CommandLineParser features.
+
+ * [GitHub Wiki](https://github.com/gsscoder/commandline/wiki/Latest-Version)
+
+## Contributing and copyright
+
+The project is hosted on [GitHub][gh] where you can [report issues][issues], fork
+the project and submit pull requests.
+
+The library is available under the MIT License.
+For more information see the [License file][license] in the GitHub repository.
+
+ [gh]: https://github.com/gsscoder/commandline
+ [issues]: https://github.com/gsscoder/commandline/issues
+ [license]: https://github.com/gsscoder/commandline/blob/master/License.md
+
+*)
\ No newline at end of file
diff --git a/docs/content/tutorial.fsx b/docs/content/tutorial.fsx
new file mode 100644
index 00000000..2e55bbef
--- /dev/null
+++ b/docs/content/tutorial.fsx
@@ -0,0 +1,123 @@
+(*** hide ***)
+// This block of code is omitted in the generated HTML documentation. Use
+// it to define helpers that you do not want to show in the documentation.
+#I "../../build"
+#r "CommandLine.dll"
+
+open System
+
+(**
+
+# Tutorial
+
+## Introduction
+
+The library parses command line arguments to a record decorated with attributes:
+
+*)
+
+type options = {
+ [] root : string;
+ [
] indexFiles : seq;
+ [
] verbose : bool;
+ [
] timeout : int option;
+ [
] root : string;
+ [
] indexFiles : seq;
+ [
] verbose : bool;
+ [
] timeout : int option;
+ [
(argv)
+
+match result with
+| :? Parsed<'a> as parsed -> runLogic(parsed.Value)
+| :? NotParsed<'a> as notParsed -> exitApp(notParsed.Errors)
+| _ -> failwith "invalid parser result"
+
+(**
+
+The parsed record instance is wrapped in a ParserResult<'a> type. Normally you don't need to match against NotParsed<'a>
+since errors automatically used by the library to generated the help screen.
+
+To disable this feature, just build and configure the Parser instance by your own.
+
+## Syntax
+
+Syntax is defined by attribute attached to record fields:
+
+*)
+
+type options = {
+ [
] fileName : string;
+ [
] section : string;
+}
+
+(**
+
+In this case,
+
+ * `fileName`: is mandatory since it's marked with `Required=true`.
+
+ * `ftpUrl`, `ftpPort`: can't be specified along with `httpUrl` and `httpPort`, since set are mutually exclusive.
+
+ * `section`: it's a value with positional index equal to `0`.
+
+Few things to note:
+
+ * `fptUrl` and `httpUrl` are defined using a non primitive datatype like `System.Uri`; the library automatically supports
+ any type that owns a constructor that accepts a string.
+
+ * Index of positional arguments defined with `Value` attribute is calculated excluding named options and their values.
+
+## Unparsing Machinery
+
+CommandLineParser allows you to create a command line string from a record instance, (obtained from parsing or hand-crafted):
+*)
+
+open System.Diagnostics
+
+let arguments : string =
+ Parser.FormatCommandLine { inputFile = "file.xml"; outputFile = "file.bin"; verbose = true }
+
+Process.Start("app.exe", arguments)
diff --git a/docs/files/img/logo-template.pdn b/docs/files/img/logo-template.pdn
new file mode 100644
index 00000000..52606f57
Binary files /dev/null and b/docs/files/img/logo-template.pdn differ
diff --git a/docs/files/img/logo.png b/docs/files/img/logo.png
new file mode 100644
index 00000000..8a2b81b9
Binary files /dev/null and b/docs/files/img/logo.png differ
diff --git a/docs/tools/FSharp.Formatting.svclog b/docs/tools/FSharp.Formatting.svclog
new file mode 100644
index 00000000..28b5c62c
--- /dev/null
+++ b/docs/tools/FSharp.Formatting.svclog
@@ -0,0 +1 @@
+0308VMWIN7FSharp.Formatting Logging setup!7237933159 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at System.Diagnostics.TraceEventCache.get_Callstack()
at System.Diagnostics.XmlWriterTraceListener.WriteFooter(TraceEventCache eventCache)
at System.Diagnostics.XmlWriterTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message)
at FSharp.Formatting.Common.Log.traceEventf@26-1.Invoke(String s) in c:\Tomas\Public\tpetricek\FSharp.Formatting\src\FSharp.Formatting.Common\Log.fs:line 26
at <StartupCode$FSI_0006>.$FSI_0006_FSharp.Formatting$fsx..cctor() in P:\CommandLine\packages\FSharp.Formatting\FSharp.Formatting.fsx:line 53
at <StartupCode$FSI_0006>.$FSI_0006_Generate$fsx.main@() in P:\CommandLine\docs\tools\generate.fsx:line 7
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.Reflection.Emit.TypeBuilder.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters)
at Microsoft.FSharp.Compiler.AbstractIL.ILRuntimeWriter.execEntryPtFun@1979-1.Invoke(Unit unitVar2)
at Microsoft.FSharp.Compiler.Interactive.Shell.clo@870-35.Invoke(FSharpFunc`2 exec)
at Microsoft.FSharp.Primitives.Basics.List.iter[T](FSharpFunc`2 f, FSharpList`1 x)
at Microsoft.FSharp.Collections.ListModule.Iterate[T](FSharpFunc`2 action, FSharpList`1 list)
at Microsoft.FSharp.Compiler.Interactive.Shell.FsiDynamicCompiler.ProcessInputs(FsiDynamicCompilerState istate, FSharpList`1 inputs, Boolean showTypes, Boolean isIncrementalFragment, Boolean isInteractiveItExpr, FSharpList`1 prefixPath)
at Microsoft.FSharp.Compiler.Interactive.Shell.FsiDynamicCompiler.EvalParsedSourceFiles(FsiDynamicCompilerState istate, FSharpList`1 inputs)
at Microsoft.FSharp.Compiler.Interactive.Shell.FsiDynamicCompiler.EvalSourceFiles(FsiDynamicCompilerState istate, range m, FSharpList`1 sourceFiles, LexResourceManager lexResourceManager)
at Microsoft.FSharp.Compiler.Interactive.Shell.clo@1570-43.Invoke(FsiDynamicCompilerState istate)
at Microsoft.FSharp.Compiler.Interactive.Shell.FsiInteractionProcessor.InteractiveCatch[a](FSharpFunc`2 f, a istate)
at Microsoft.FSharp.Compiler.Interactive.Shell.FsiInteractionProcessor.ExecInteraction(Boolean exitViaKillThread, TcConfig tcConfig, FsiDynamicCompilerState istate, ParsedFsiInteraction action)
at Microsoft.FSharp.Compiler.Interactive.Shell.FsiInteractionProcessor.ExecInteractions(Boolean exitViaKillThread, TcConfig tcConfig, FsiDynamicCompilerState istate, FSharpOption`1 action)
at Microsoft.FSharp.Compiler.Interactive.Shell.FsiInteractionProcessor.MainThreadProcessParsedInteraction(Boolean exitViaKillThread, FSharpOption`1 action, FsiDynamicCompilerState istate)
at Microsoft.FSharp.Compiler.Interactive.Shell.res@1762.Invoke(FsiDynamicCompilerState istate)
at Microsoft.FSharp.Compiler.Interactive.Shell.Microsoft-FSharp-Compiler-Interactive-IEventLoop-Invoke@1877.Invoke()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run()
at Microsoft.FSharp.Compiler.Interactive.Shell.WinFormsEventLoop.Microsoft-FSharp-Compiler-Interactive-IEventLoop-Run()
at Microsoft.FSharp.Compiler.Interactive.Shell.runLoop@2040(FsiConsoleOutput fsiConsoleOutput, Unit unitVar0)
at Microsoft.FSharp.Compiler.Interactive.Shell.FsiEvaluationSession.Run()
at Microsoft.FSharp.Compiler.Interactive.Shell.evaluateSession@2348(String[] argv, Unit unitVar0)
at Microsoft.FSharp.Compiler.Interactive.Shell.MainMain@2375-1.Invoke()
at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)0308VMWIN7Yaaf.FSharp.Scripting Logging setup!7238337542 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at System.Diagnostics.TraceEventCache.get_Callstack()
at System.Diagnostics.XmlWriterTraceListener.WriteFooter(TraceEventCache eventCache)
at System.Diagnostics.XmlWriterTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message)
at Yaaf.FSharp.Scripting.Log.traceEventf@23.Invoke(String s) in c:\Tomas\Public\tpetricek\FSharp.Formatting\paket-files\matthid\Yaaf.FSharp.Scripting\src\source\Yaaf.FSharp.Scripting\YaafFSharpScripting.fs:line 23
at <StartupCode$FSI_0006>.$FSI_0006_FSharp.Formatting$fsx..cctor() in P:\CommandLine\packages\FSharp.Formatting\FSharp.Formatting.fsx:line 53
at <StartupCode$FSI_0006>.$FSI_0006_Generate$fsx.main@() in P:\CommandLine\docs\tools\generate.fsx:line 7
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.Reflection.Emit.TypeBuilder.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters)
at Microsoft.FSharp.Compiler.AbstractIL.ILRuntimeWriter.execEntryPtFun@1979-1.Invoke(Unit unitVar2)
at Microsoft.FSharp.Compiler.Interactive.Shell.clo@870-35.Invoke(FSharpFunc`2 exec)
at Microsoft.FSharp.Primitives.Basics.List.iter[T](FSharpFunc`2 f, FSharpList`1 x)
at Microsoft.FSharp.Collections.ListModule.Iterate[T](FSharpFunc`2 action, FSharpList`1 list)
at Microsoft.FSharp.Compiler.Interactive.Shell.FsiDynamicCompiler.ProcessInputs(FsiDynamicCompilerState istate, FSharpList`1 inputs, Boolean showTypes, Boolean isIncrementalFragment, Boolean isInteractiveItExpr, FSharpList`1 prefixPath)
at Microsoft.FSharp.Compiler.Interactive.Shell.FsiDynamicCompiler.EvalParsedSourceFiles(FsiDynamicCompilerState istate, FSharpList`1 inputs)
at Microsoft.FSharp.Compiler.Interactive.Shell.FsiDynamicCompiler.EvalSourceFiles(FsiDynamicCompilerState istate, range m, FSharpList`1 sourceFiles, LexResourceManager lexResourceManager)
at Microsoft.FSharp.Compiler.Interactive.Shell.clo@1570-43.Invoke(FsiDynamicCompilerState istate)
at Microsoft.FSharp.Compiler.Interactive.Shell.FsiInteractionProcessor.InteractiveCatch[a](FSharpFunc`2 f, a istate)
at Microsoft.FSharp.Compiler.Interactive.Shell.FsiInteractionProcessor.ExecInteraction(Boolean exitViaKillThread, TcConfig tcConfig, FsiDynamicCompilerState istate, ParsedFsiInteraction action)
at Microsoft.FSharp.Compiler.Interactive.Shell.FsiInteractionProcessor.ExecInteractions(Boolean exitViaKillThread, TcConfig tcConfig, FsiDynamicCompilerState istate, FSharpOption`1 action)
at Microsoft.FSharp.Compiler.Interactive.Shell.FsiInteractionProcessor.MainThreadProcessParsedInteraction(Boolean exitViaKillThread, FSharpOption`1 action, FsiDynamicCompilerState istate)
at Microsoft.FSharp.Compiler.Interactive.Shell.res@1762.Invoke(FsiDynamicCompilerState istate)
at Microsoft.FSharp.Compiler.Interactive.Shell.Microsoft-FSharp-Compiler-Interactive-IEventLoop-Invoke@1877.Invoke()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run()
at Microsoft.FSharp.Compiler.Interactive.Shell.WinFormsEventLoop.Microsoft-FSharp-Compiler-Interactive-IEventLoop-Run()
at Microsoft.FSharp.Compiler.Interactive.Shell.runLoop@2040(FsiConsoleOutput fsiConsoleOutput, Unit unitVar0)
at Microsoft.FSharp.Compiler.Interactive.Shell.FsiEvaluationSession.Run()
at Microsoft.FSharp.Compiler.Interactive.Shell.evaluateSession@2348(String[] argv, Unit unitVar0)
at Microsoft.FSharp.Compiler.Interactive.Shell.MainMain@2375-1.Invoke()
at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)
\ No newline at end of file
diff --git a/docs/tools/generate.fsx b/docs/tools/generate.fsx
new file mode 100644
index 00000000..bed4c4c8
--- /dev/null
+++ b/docs/tools/generate.fsx
@@ -0,0 +1,96 @@
+// --------------------------------------------------------------------------------------
+// Builds the documentation from `.fsx` and `.md` files in the 'docs/content' directory
+// (the generated documentation is stored in the 'docs/output' directory)
+// --------------------------------------------------------------------------------------
+
+// Binaries that have XML documentation (in a corresponding generated XML file)
+let referenceBinaries = [ "net40/CommandLine.dll" ]
+// Web site location for the generated documentation
+let website = "/CommandLineParser"
+
+let githubLink = "http://github.com/gsscoder/commandline"
+
+// Specify more information about your project
+let info =
+ [ "project-name", "CommandLineParser"
+ "project-author", "Giacomo Stelluti Scala"
+ "project-summary", "Terse syntax C# command line parser for .NET with F# support"
+ "project-github", githubLink
+ "project-nuget", "http://www.nuget.org/packages/CommandLineParser" ]
+
+// --------------------------------------------------------------------------------------
+// For typical project, no changes are needed below
+// --------------------------------------------------------------------------------------
+
+#I "../../packages/FSharp.Compiler.Service/lib/net40"
+#I "../../packages/FSharpVSPowerTools.Core/lib/net45"
+#I "../../packages/FSharp.Formatting/lib/net40"
+#r "../../packages/FAKE/tools/FakeLib.dll"
+#load "../../packages/FSharp.Formatting/FSharp.Formatting.fsx"
+#r "FSharp.Markdown.dll"
+#r "FSharp.Literate.dll"
+#r "FSharp.CodeFormat.dll"
+#r "FSharp.MetadataFormat.dll"
+open Fake
+open System.IO
+open Fake.FileHelper
+open FSharp.Literate
+open FSharp.MetadataFormat
+
+// When called from 'build.fsx', use the public project URL as
+// otherwise, use the current 'output' directory.
+#if RELEASE
+let root = website
+#else
+let root = "file://" + (__SOURCE_DIRECTORY__ @@ "../output")
+#endif
+
+// Paths with template/source/output locations
+let bin = __SOURCE_DIRECTORY__ @@ "../../bin"
+let content = __SOURCE_DIRECTORY__ @@ "../content"
+let output = __SOURCE_DIRECTORY__ @@ "../output"
+let files = __SOURCE_DIRECTORY__ @@ "../files"
+let templates = __SOURCE_DIRECTORY__ @@ "templates"
+let formatting = __SOURCE_DIRECTORY__ @@ "../../packages/FSharp.Formatting/"
+let docTemplate = formatting @@ "templates/docpage.cshtml"
+
+// Where to look for *.csproj templates (in this order)
+let layoutRoots =
+ [ templates; formatting @@ "templates"
+ formatting @@ "templates/reference" ]
+
+// Copy static files and CSS + JS from F# Formatting
+let copyFiles () =
+ CopyRecursive files output true |> Log "Copying file: "
+ ensureDirectory (output @@ "content")
+ CopyRecursive (formatting @@ "styles") (output @@ "content") true
+ |> Log "Copying styles and scripts: "
+
+// Build API reference from XML comments
+let buildReference () =
+ CleanDir (output @@ "reference")
+ let binaries =
+ referenceBinaries
+ |> List.map (fun lib-> bin @@ lib)
+ MetadataFormat.Generate
+ ( binaries, output @@ "reference", layoutRoots,
+ parameters = ("root", root)::info,
+ sourceRepo = githubLink @@ "tree/master",
+ sourceFolder = __SOURCE_DIRECTORY__ @@ ".." @@ "..",
+ publicOnly = true )
+
+// Build documentation from `fsx` and `md` files in `docs/content`
+let buildDocumentation () =
+ let subdirs = Directory.EnumerateDirectories(content, "*", SearchOption.AllDirectories)
+ for dir in Seq.append [content] subdirs do
+ let sub = if dir.Length > content.Length then dir.Substring(content.Length + 1) else "."
+ Literate.ProcessDirectory
+ ( dir, docTemplate, output @@ sub, replacements = ("root", root)::info,
+ layoutRoots = layoutRoots, generateAnchors = true )
+
+// Generate
+CleanDir output
+CreateDir output
+copyFiles()
+buildDocumentation()
+buildReference()
\ No newline at end of file
diff --git a/docs/tools/packages.config b/docs/tools/packages.config
new file mode 100644
index 00000000..492a9605
--- /dev/null
+++ b/docs/tools/packages.config
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/tools/templates/template.cshtml b/docs/tools/templates/template.cshtml
new file mode 100644
index 00000000..d74b0eb3
--- /dev/null
+++ b/docs/tools/templates/template.cshtml
@@ -0,0 +1,54 @@
+
+
+
+
+ @Title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nuget/CommandLine.nuspec b/nuget/CommandLine.nuspec
deleted file mode 100644
index 5f19efff..00000000
--- a/nuget/CommandLine.nuspec
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
- CommandLineParser
- 1.9.71
- Command Line Parser Library
- Giacomo Stelluti Scala
- The Command Line Parser Library offers to CLR applications a clean and concise API for manipulating command line arguments and related tasks.
-
- Copyright (c) 2005 - 2013 Giacomo Stelluti Scala
- https://raw.github.com/gsscoder/commandline/master/doc/LICENSE
- https://github.com/gsscoder/commandline
- Giacomo Stelluti Scala
- https://github.com/gsscoder/commandline/raw/master/art/CommandLine.png
- false
- command line argument option parser parsing library syntax shell
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/nuget/readme.txt b/nuget/readme.txt
deleted file mode 100644
index e83814e7..00000000
--- a/nuget/readme.txt
+++ /dev/null
@@ -1,79 +0,0 @@
-Command Line Parser Library 1.9.71.2 stable
-------------------------------------------
-Giacomo Stelluti Scala
-(gsscoder@gmail.com)
-
-GitHub (Latest Sources, Updated Docs): https://github.com/gsscoder/commandline
-Codeplex (Binary Downloads): http://commandline.codeplex.com/
-
-Remarks:
- - IParser and IParserSettings interface were removed.
-
-Upgrading from < 1.9.6.1 rc1:
------------------------------
-Now CommandLine.Parser is defiend as:
-interface CommandLine.Parser {
- bool ParseArguments(string[] args, object options);
- bool ParseArguments(string[] args, object options, Action onVerbCommand);
- bool ParseArgumentsStrict(string[] args, object options, Action onFail = null);
- bool ParseArgumentsStrict(string[] args, object options, Action onVerbCommand, Action onFail = null);
-}
-Please refer to wiki (https://github.com/gsscoder/commandline/wiki).
-For help screen in verb command scenario use new HelpText::AutoBuild(object,string).
-
-Upgrading from < 1.9.4.91 versions:
------------------------------------
-- Use System.Char for short name:
- [Option('o', "my-option", DefaultValue=10, HelpText="This is an option!")]
- public int MyOption { get; set; }
-- Receive parsing errors without CommandLineOptionsBase (removed):
- public class Options {
- [ParserState]
- public IParserState LastParserState { get; set; }
- }
-- Types rename:
- MultiLineTextAttribute -> MultilineTextAttribute (first 'L' -> lowercase)
- CommandLineParser -> Parser (suggestion: qualify with namespace -> CommandLine.Parser).
- ICommandLineParser -> IParser
- CommandLineParserSettings -> ParserSettings
- CommandLineParserException -> ParserException
-
-Upgrading from 1.8.* versions:
-------------------------------
-The major API change is that all attributes that inherits from BaseOptionAttribute now
-apply only to properties. Fields are no longer supported.
-
-Old Code:
----------
-class Options {
- [Option("o", "my-option", HelpText="This is an option!")]
- public int MyOption = 10;
-}
-
-New Code:
----------
-class Options {
- [Option("o", "my-option", DefaultValue=10, HelpText="This is an option!")]
- public int MyOption { get; set; }
-}
-
-As you can see I've added the new DefaultValue property to help you initialize properties.
-
-Shortcut for Help Screen
-------------------------
-[HelpOption]
-public string GetUsage()
-{
- return HelpText.AutoBuild(this,
- (HelpText current) => HelpText.DefaultParsingErrorsHandler(this, current));
-}
-
-Note:
------
-If you don't use mutually exclusive options, now there's a singleton built for common uses:
-
-if (CommandLineParser.Default.ParseArguments(args, options)) {
- // consume values here
-}
-
-Have fun!
diff --git a/packages/FluentAssertions.2.0.0.1/FluentAssertions.2.0.0.1.nupkg b/packages/FluentAssertions.2.0.0.1/FluentAssertions.2.0.0.1.nupkg
deleted file mode 100644
index fe39604d..00000000
Binary files a/packages/FluentAssertions.2.0.0.1/FluentAssertions.2.0.0.1.nupkg and /dev/null differ
diff --git a/packages/FluentAssertions.2.0.0.1/FluentAssertions.2.0.0.1.nuspec b/packages/FluentAssertions.2.0.0.1/FluentAssertions.2.0.0.1.nuspec
deleted file mode 100644
index d88393aa..00000000
--- a/packages/FluentAssertions.2.0.0.1/FluentAssertions.2.0.0.1.nuspec
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
- FluentAssertions
- 2.0.0.1
- Fluent Assertions
- Dennis Doomen, Martin Opdam
- Dennis Doomen, Martin Opdam
- http://fluentassertions.codeplex.com/license
- http://fluentassertions.codeplex.com/
- false
- A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or
- BDD-style unit test. Runs on .NET 3.5, 4.0 and 4.5 (Desktop and Windows Store), Silverlight 4 and 5 and Windows Phone 7.5. Supports the unit test frameworks NUnit, XUnit, MBUnit, Gallio and MSpec.
- Fluent methods for asserting the result of TDD/BDD specs for .NET 3.5/4.0/4.5 (Desktop and Windows Store), SL 4/5, WP7 (Mango). Supports the unit test frameworks NUnit, XUnit, MBUnit, Gallio and MSpec.
- What are the major features
- * Added support for .NET 4.5, Windows Phone 7.5 and .NET for Windows Store Apps
- * Added support for MBUnit and the Gallio framework
- * Added a completely new extensible API for comparing two objects graph for equivalence that will replace the object.ShouldHave() API in the future (issue 11841).
-
- What's new for collections
- * Added (Not)BeInAscendingOrder() and (Not)BeInDescendingOrder() (issue 12103)
- * Added IntersectWith(otherCollection) and NotIntersectWith(otherCollection) (issue 12248)
- * ContainInOrder() now has an overload that only takes a params object[] argument to support a more fluent syntax in case you don't specify the reason (issue 12313).
- * Added ContainSingle(Expression<Func<T, bool=""> predicate>) that asserts there is only a single element in the collection that matches the specified predicate (issue 12313).
- * Added support for a lambda that is used for checking the equality of two collections (issue 11925).
- * Fixed a bug that occurs when two collections are compared for equality but the collection contains null (issue 12296)
-
- What's new for strings
- * When strings differ in length, it will report the expected and actual lengths as part of the failure messages (issue 12422)
- * An ArgumentOutOfRangeException was thrown when asserting a string started with a specific string, but the first string was shorter than the expected string (issue 12293)
-
- What's new for numbers
- * Added support for using Should().Be() on nullable numeric types (issue 11837)
- * Added BeOneOf() to verify that the value matching one of the provided values (issue 12016).
- * Added support for (nullable) decimals
- * BePositive() and BeNegative() now also work for floats and doubles (issue 11946)
-
- What's new for dates and times
- * Added NotBe()
- * Added BeOneOf() to verify that the value matching one of the provided values (issue 12016).
- * Added BeCloseTo() to assert that a datetime is within a specified number of milliseconds from another datetime value. Usefull for example when your database truncates datetime values (issue 12070).
- * If a DateTime value has milliseconds then they will be displayed in an assertion failure message (issue 12072).
-
- What's new for comparing object graphs
- * You can now apply the property equality comparisons to entire collections of objects. It doesn't matter what kind of collections types you use, as long as they contain the same number of objects which properties are the same (issue 11743).
- * Included the index of the mismatching object when comparing a collection for structural equality
- * An exception was thrown when comparing the properties of an object, and there were cyclic references. You can now configure if you want this to be ignored.
- * Added support for comparing references to an interface rather than concrete types (issue 11840).
- * Write-only properties are ignored (issue 11808)
- * Fixed a stack overflow exception when formatting an object graph containing static cyclic references.
- * Fixed an exception that was thrown when formatting an object graph where one of the properties threw an exception.
- * Added support for comparing two anonymous types using SharedProperties() (issue 11886).
- * The name of a DateTime property was not included in the error message when AllProperties() failed on that property
-
- What's new for types
- * Added the AllTypes class with a static method From(Assembly assembly) as a wrapper around the Types extension method on Assembly (issue 12186). This allows for a more fluent syntax like AllTypes.From(assembly).ThatImplement<SomeInterface>().Should().BeDecoratedWith<SomeAttribute>();
- * Added support for asserting the properties of an attribute have a specific value (issue 12186).
-
- What other improvements are new
- * Fixed an exception when asserting equality of dictionaries that contain nulls (issue 12004).
- * The NuGet package will automatically add references to System.Xml and System.Xml.Linq
- * Implemented ShouldThrow<TException>() for Func<Task>, to support working with async methods (issue 12148)
- * Improved several error messages in XDocument- and XElementAssertions
- * All overloads that take a reason have been removed and replaced with optional parameter
- * Allowed ShouldRaisePropertyChangeFor(null) to verify that the INotifyPropertyChanged was raised for all properties.
- * The list of ValueFormatters on the Verification class can be changed to insert a custom formatter.
- * Introduced a mechanism to override the way FA formats objects in failure message by annotating a static method with the [ValueFormatter] attribute (issue 12364).
- * Introduced a mechanism so that the failure message of custom extensions can specify the {context} tag.
- * NuGet package is now based on NuGet 2.0.
-
- Breaking changes
- * The FluentAssertions.Assertions namespace no longer exists so that all extension methods are always available through the FluentAssertions namespace. Just use a global search-replace to remove all those usage statements.
- * Many of the assertion classes have moved into dedicated namespaces. You might have to fix any code that inherits from those classes.
- * Remove the obsolete Verify() methods from the Verification class
- Copyright Dennis Doomen 2010-2012
- en-US
- MSTest xUnit NUnit MSpec Gallio MbUnit TDD BDD Fluent Silverlight
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/packages/FluentAssertions.2.0.0.1/lib/net35/FluentAssertions.dll b/packages/FluentAssertions.2.0.0.1/lib/net35/FluentAssertions.dll
deleted file mode 100644
index 2b7cdcd4..00000000
Binary files a/packages/FluentAssertions.2.0.0.1/lib/net35/FluentAssertions.dll and /dev/null differ
diff --git a/packages/FluentAssertions.2.0.0.1/lib/net35/FluentAssertions.pdb b/packages/FluentAssertions.2.0.0.1/lib/net35/FluentAssertions.pdb
deleted file mode 100644
index c8fc9881..00000000
Binary files a/packages/FluentAssertions.2.0.0.1/lib/net35/FluentAssertions.pdb and /dev/null differ
diff --git a/packages/FluentAssertions.2.0.0.1/lib/net35/FluentAssertions.xml b/packages/FluentAssertions.2.0.0.1/lib/net35/FluentAssertions.xml
deleted file mode 100644
index b304d42b..00000000
--- a/packages/FluentAssertions.2.0.0.1/lib/net35/FluentAssertions.xml
+++ /dev/null
@@ -1,5761 +0,0 @@
-
-
-
- FluentAssertions
-
-
-
-
- Finds the first index at which the does not match the
- string anymore, including the exact casing.
-
-
-
-
- Finds the first index at which the does not match the
- string anymore, accounting for the specified .
-
-
-
-
- Gets the quoted three characters at the specified index of a string, including the index itself.
-
-
-
-
- Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts.
-
-
-
-
- Joins a string with one or more other strings using a specified separator.
-
-
- Any string that is empty (including the original string) is ignored.
-
-
-
-
- Determines whether two objects refer to the same property.
-
-
-
-
- Finds the property by a case-sensitive name.
-
-
- Returns null if no such property exists.
-
-
-
-
- Determines whether the specified method has been annotated with a specific attribute.
-
-
- true if the specified method has attribute; otherwise, false.
-
-
-
-
- Specialized value formatter that looks for static methods in the caller's assembly marked with the
- .
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Marks a static method as a kind of for a particular type.
-
-
-
-
- Contains a number of methods to assert that an yields the expected result.
-
-
-
-
- Asserts that the current throws an exception of type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not throw an exception of type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not throw any exception.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the that is being asserted.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Selection rule that adds all public properties of the subject as far as they are defined on the declared
- type.
-
-
-
-
- Represents a rule that defines which properties of the subject-under-test to include while comparing
- two objects for structural equality.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- Type info about the subject.
-
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Selection rule that adds all public properties of the subject based on its run-time type rather than its
- declared type.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- General purpose implementation of that uses a predicate to determine whether
- this rule applies to a particular property and executes an action to assert equality.
-
- The type of the subject.
-
-
-
- Defines how a subject's property is compared for equality with the same property of the expectation.
-
-
- Provides details about the subject's property.
-
-
- The value of the subject's property.
-
-
- The value of a property on expectation object that was identified
-
-
- Returns true if the rule was applied correctly and the assertion didn't cause any exceptions.
- Returns false if this rule doesn't support the subject's type.
- Throws if the rule did support the data type but assertion fails.
-
-
-
-
- Defines how a subject's property is compared for equality with the same property of the expectation.
-
-
- Provides details about the subject's property.
-
-
- The value of the subject's property.
-
-
- The value of a property on expectation object that was identified
-
-
- Returns true if the rule was applied correctly and the assertion didn't cause any exceptions.
- Returns false if this rule doesn't support the subject's type.
- Throws if the rule did support the data type but assertion fails.
-
-
-
-
- Provides the required information for executing an equality assertion between a subject and an expectation.
-
- The type of the subject.
-
-
-
- Gets the of the property that returned the current object, or null if the current
- object represents the root object.
-
-
-
-
- Gets the value of the
-
-
-
-
- Gets the value of the expectation object that was matched with the subject using a .
-
-
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Selection rule that removes a particular property from the structural comparison based on a predicate.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Provides details about the subject's root or nested property.
-
-
-
-
- Gets the of the property that returned the current object, or null if the current
- object represents the root object.
-
-
-
-
- Gets the full path from the root object until the current object separated by dots.
-
-
-
-
- Gets a display-friendly representation of the .
-
-
-
-
- Gets the compile-time type of the current object. If the current object is not the root object, then it returns the
- same as the property does.
-
-
-
-
- Gets the run-time type of the current object.
-
-
-
-
- Provides the run-time details of the class.
-
-
-
-
- Gets an ordered collection of selection rules that define what properties are included.
-
-
-
-
- Gets an ordered collection of matching rules that determine which subject properties are matched with which
- expectation properties.
-
-
-
-
- Gets an ordered collection of assertion rules that determine how subject properties are compared for equality with
- expectation properties.
-
-
-
-
- Gets or sets a value indicating whether or not the assertion must perform a deep comparison.
-
-
-
-
- Represents a selection context of a nested property
-
-
-
-
- Gets the of the property that returned the current object, or
- null if the current object represents the root object.
-
-
-
-
- Gets the full path from the root object until the current property, separated by dots.
-
-
-
-
- Gets a textual description of the current property based on the .
-
-
-
-
- Gets the compile-time type of the current object. If the current object is not the root object, then it returns the
- same as the property does.
-
-
-
-
- Gets the run-time type of the current object.
-
-
-
-
- Is responsible for the exact run-time behavior of a structural equality comparison.
-
- The type of the subject.
-
-
-
- Gets a configuration that compares all declared properties of the subject with equally named properties of the expectation,
- and includes the entire object graph. The names of the properties between the subject and expectation must match.
-
-
-
-
- Gets a configuration that by default doesn't include any of the subject's properties and doesn't consider any nested objects
- or collections.
-
-
-
-
- Adds all public properties of the subject as far as they are defined on the declared type.
-
-
-
-
- Adds all public properties of the subject based on its run-time type rather than its declared type.
-
-
-
-
- Tries to match the properties of the subject with equally named properties on the expectation. Ignores those
- properties that don't exist on the expectation.
-
-
-
-
- Requires the expectation to have properties which are equally named to properties on the subject.
-
-
-
-
-
- Excludes the specified (nested) property from the structural equality check.
-
-
-
-
- Excludes a (nested) property based on a predicate from the structural equality check.
-
-
-
-
- Includes the specified property in the equality check.
-
-
- This overrides the default behavior of including all declared properties.
-
-
-
-
- The assertion to execute when the predicate is met.
-
-
-
-
- Causes the structural equality check to include nested collections and complex types.
-
-
-
-
- Causes the structural equality check to ignore any cyclic references.
-
-
- By default, cyclic references within the object graph will cause an exception to be thrown.
-
-
-
-
- Clears all selection rules, including those that were added by default.
-
-
-
-
- Clears all matching rules, including those that were added by default.
-
-
-
-
- Adds a selection rule to the ones allready added by default and which is evaluated after all existing rules.
-
-
-
-
- Adds a matching rule to the ones allready added by default and which is evaluated before all existing rules.
-
-
-
-
- Adds a matching rule to the ones allready added by default and which is evaluated before all existing rules
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Gets an ordered collection of selection rules that define what properties are included.
-
-
-
-
- Gets an ordered collection of matching rules that determine which subject properties are matched with which
- expectation properties.
-
-
-
-
- Gets an ordered collection of assertion rules that determine how subject properties are compared for equality with
- expectation properties.
-
-
-
-
- Gets value indicating whether the equality check will include nested collections and complex types.
-
-
-
-
- Gets value indicating how cyclic references should be handled. By default, it will throw an exception.
-
-
-
-
- Defines additional overrides when used with
-
-
-
-
- Allows overriding the way structural equality is applied to (nested) objects of tyoe
-
-
-
-
- Allows overriding the way structural equality is applied to particular properties.
-
-
- A predicate based on the of the subject that is used to identify the property for which the
- override applies.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the subject is considered equal to another object according to the implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is not equal to another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is less than another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is less than or equal to another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is greater than another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is greater than or equal to another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a value is within a range.
-
-
- Where the range is continuous or incremental depends on the actual type of the value.
-
-
- The minimum valid value of the range.
-
-
- The maximum valid value of the range.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Defines the way compares the expected exception
- message with the actual one.
-
-
-
-
- The message must match exactly, including the casing of the characters.
-
-
-
-
- The message must match except for the casing of the characters.
-
-
-
-
- The message must start with the exact text, including the casing of the characters..
-
-
-
-
- The message must start with the text except for the casing of the characters.
-
-
-
-
- The message must contain the exact text.
-
-
-
-
- The message must contain the text except for the casing of the characters.
-
-
-
-
- The message must match a wildcard pattern consisting of ordinary characters as well as * and ?.
-
-
-
-
- Indication of how cyclic references should be handled when validating equality of nested properties.
-
-
-
-
- Cyclic references will be ignored.
-
-
-
-
- Cyclic references will result in an exception.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the current dictionary has not been initialized yet with an actual dictionary.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary has been initialized with an actual dictionary.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the dictionary matches the supplied amount.
-
- The expected number of items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the dictionary matches a condition stated by a predicate.
-
- The predicate which must be statisfied by the amount of items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary does not contain any items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains at least 1 item.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary contains all the same key-value pairs as the
- specified dictionary. Keys and values are compared using
- their implementation.
-
- The expected dictionary
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts the current dictionary not to contain all the same key-value pairs as the
- specified dictionary. Keys and values are compared using
- their implementation.
-
- The unexpected dictionary
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains the specified key. Keys are compared using
- their implementation.
-
- The expected key
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains all of the specified keys. Keys are compared using
- their implementation.
-
- The expected keys
-
-
-
- Asserts that the dictionary contains all of the specified keys. Keys are compared using
- their implementation.
-
- The expected keys
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified key.
- Keys are compared using their implementation.
-
- The unexpected key
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains the specified value. Values are compared using
- their implementation.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains all of the specified values. Values are compared using
- their implementation.
-
- The expected values
-
-
-
- Asserts that the dictionary contains all of the specified values. Values are compared using
- their implementation.
-
- The expected values
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified value.
- Values are compared using their implementation.
-
- The unexpected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary contains the specified .
- Keys and values are compared using their implementation.
-
- The expected
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation.
-
- The key for which to validate the value
- The value to validate
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified .
- Keys and values are compared using their implementation.
-
- The unexpected
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified for the
- supplied . Values are compared using their implementation.
-
- The key for which to validate the value
- The value to validate
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that a is in the correct state.
-
-
-
-
- Asserts that the is .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is not .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is equal to the GUID.
-
- The expected value to compare the actual value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is equal to the GUID.
-
- The expected value to compare the actual value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is not equal to the GUID.
-
- The unexpected value to compare the actual value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Selection rule that removes a particular property from the structural comparison.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Represents a rule that defines how to map the properties from the subject-under-test with the properties
- on the expectation object.
-
-
-
-
- Attempts to find a property on the expectation that should be compared with the
- during a structural equality.
-
-
- Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue,
- simply return null.
-
-
- The of the subject's property for which a match must be found. Can never
- be null.
-
-
- The expectation object for which a matching property must be returned. Can never be null.
-
-
- The dotted path from the root object to the current property. Will never be null.
-
-
- Returns the of the property with which to compare the subject with, or null
- if no match was found.
-
-
-
-
- Selection rule that includes a particular property in the structural comparison.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Provides information on a particular property during an assertion for structural equality of two object graphs.
-
-
-
-
- Gets the property of the that was matched against the ,
- or null if is true.
-
-
-
-
- Gets the value of the .
-
-
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a verification object associated with the current and .
-
-
-
-
- Gets a value indicating whether the current context represents the root of the object graph.
-
-
-
-
- Gets the value of the
-
-
-
-
- Requires the expectation object to have a property with the exact same name.
-
-
-
-
- Attempts to find a property on the expectation that should be compared with the
- during a structural equality.
-
-
- Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue,
- simply return null.
-
-
- The of the subject's property for which a match must be found. Can never
- be null.
-
-
- The expectation object for which a matching property must be returned. Can never be null.
-
-
- The dotted path from the root object to the current property. Will never be null.
-
-
- Returns the of the property with which to compare the subject with, or null
- if no match was found.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Finds a property of the expectation with the exact same name, but doesn't require it.
-
-
-
-
- Attempts to find a property on the expectation that should be compared with the
- during a structural equality.
-
-
- Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue,
- simply return null.
-
-
- The of the subject's property for which a match must be found. Can never
- be null.
-
-
- The expectation object for which a matching property must be returned. Can never be null.
-
-
- The dotted path from the root object to the current property. Will never be null.
-
-
- Returns the of the property with which to compare the subject with, or null
- if no match was found.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Static class that allows for a 'fluent' selection of the types from an .
-
-
- AllTypes.From(myAssembly)
- .ThatImplement<ISomeInterface>
- .Should()
- .BeDecoratedWith<SomeAttribute>()
-
-
-
-
- Returns a for selecting the types that are visible outside the
- specified .
-
- The assembly from which to select the types.
-
-
-
- Contains assertions for the objects returned by the parent .
-
-
-
-
- Initializes a new instance of the class.
-
- The method to assert.
-
-
-
- Initializes a new instance of the class.
-
- The methods to assert.
-
-
-
- Asserts that the selected methods are virtual.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the selected methods are decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Allows for fluent selection of methods of a type through reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The type from which to select methods.
-
-
-
- Initializes a new instance of the class.
-
- The types from which to select methods.
-
-
-
- Only select the methods that return the specified type
-
-
-
-
- Only select the methods that are decorated with an attribute of the specified type.
-
-
-
-
- The resulting objects.
-
-
-
-
- Determines whether the specified method has a special name (like properties and events).
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
- 1
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
- 2
-
-
-
- Only select the methods that are public or internal.
-
-
-
-
- Only select the methods without a return value
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
-
-
- Asserts that a nullable value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the integral number value is exactly the same as the value.
-
- The expected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the integral number value is exactly the same as the value.
-
- The expected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the integral number value is not the same as the value.
-
- The unexpected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the integral number value is not the same as the value.
-
- The unexpected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is greater than or equal to zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is less than zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is less than the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is less than or equal to the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is greater than the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is greater than or equal to the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a value is within a range.
-
-
- Where the range is continuous or incremental depends on the actual type of the value.
-
-
- The minimum valid value of the range.
-
-
- The maximum valid value of the range.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a value is one of the specified .
-
-
- The values that are valid.
-
-
-
-
- Asserts that a value is one of the specified .
-
-
- The values that are valid.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Is responsible for validating the equality of one or more properties of a subject with another object.
-
-
-
-
- Provides methods for asserting that the execution time of an satifies certain conditions.
-
-
-
-
- Initializes a new instance of the class.
-
- The action of which the execution time must be asserted.
-
-
-
- Asserts that the execution time of the operation does not exceed a specified amount of time.
-
-
- The maximum allowed duration.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Provides methods for asserting that the execution time of an object member satifies certain conditions.
-
-
-
-
-
- Initializes a new instance of the class.
-
- The object that exposes the method or property.
- A reference to the method or property to measure the execution time of.
-
-
-
- Gets the of the property that returned the current object, or
- null if the current object represents the root object.
-
-
-
-
- Gets the full path from the root object until the current property, separated by dots.
-
-
-
-
- Gets a textual description of the current property based on the .
-
-
-
-
- Gets the value of the
-
-
-
-
- Gets the property of the that was matched against the ,
- or null if is true.
-
-
-
-
- Gets the value of the .
-
-
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a value indicating whether the current context represents the root of the object graph.
-
-
-
-
- Gets the compile-time type of the current object. If the current object is not the root object, then it returns the
- same as the property does.
-
-
-
-
- Gets the run-time type of the current object.
-
-
-
-
- Gets a verification object associated with the current and .
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Contains a number of extension methods for floating point .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains assertions for the objects returned by the parent .
-
-
-
-
- Initializes a new instance of the class, for a single .
-
- The property to assert.
-
-
-
- Initializes a new instance of the class, for a number of objects.
-
- The properties to assert.
-
-
-
- Asserts that the selected properties are virtual.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the selected methods are decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Allows for fluent selection of properties of a type through reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The type from which to select properties.
-
-
-
- Initializes a new instance of the class.
-
- The types from which to select properties.
-
-
-
- Only select the properties that are decorated with an attribute of the specified type.
-
-
-
-
- Only select the properties that return the specified type
-
-
-
-
- The resulting objects.
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
- 1
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
- 2
-
-
-
- Only select the properties that have a public or internal getter.
-
-
-
-
- Dedicated class for comparing two strings and generating consistent error messages.
-
-
-
-
- Gets or sets a value indicating whether the subject should not match the pattern.
-
-
-
-
- Gets or sets a value indicating whether the matching process should ignore any casing difference.
-
-
-
-
- Extension methods for getting method and property selectors for a type.
-
-
-
-
- Returns the types that are visible outside the specified .
-
-
-
-
- Returns a method selector for the current .
-
-
-
-
- Returns a method selector for the current .
-
-
-
-
- Returns a property selector for the current .
-
-
-
-
- Returns a property selector for the current .
-
-
-
-
- Allows for fluent filtering a list of types.
-
-
-
-
- The resulting objects.
-
-
-
-
- Determines whether a type is a subclass of another type, but NOT the same type.
-
-
-
-
- Determines whether a type implements an interface (but is not the interface itself).
-
-
-
-
- Determines whether a type is decorated with a particular attribute.
-
-
-
-
- Determines whether the namespace of type is exactly .
-
-
-
-
- Determines whether the namespace of type is starts with .
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
- 1
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
- 2
-
-
-
- Contains a number of methods to assert that all s in a
- meet certain expectations.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current is decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is decorated with an attribute of type
- that matches the specified .
-
-
- The predicate that the attribute must match.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current equals the attribute.
-
- The expected attribute
-
-
-
- Asserts that the current equals the attribute.
-
- The expected attribute
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not equal the attribute,
- using its implementation.
-
- The unexpected attribute
-
-
-
- Asserts that the current does not equal the attribute,
- using its implementation.
-
- The unexpected attribute
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is null.
-
-
-
-
- Asserts that the is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the is not null.
-
-
-
-
- Asserts that the is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the current has the specified value.
-
- The expected value
-
-
-
- Asserts that the current has the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current equals the document,
- using its implementation.
-
- The expected document
-
-
-
- Asserts that the current equals the document,
- using its implementation.
-
- The expected document
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not equal the document,
- using its implementation.
-
- The unexpected document
-
-
-
- Asserts that the current does not equal the document,
- using its implementation.
-
- The unexpected document
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is null.
-
-
-
-
- Asserts that the is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the is not null.
-
-
-
-
- Asserts that the is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the current has a root element with the specified
- name.
-
- The name of the expected root element of the current document.
-
-
-
- Asserts that the current has a root element with the specified
- name.
-
- The name of the expected root element of the current document.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the element of the current has a direct
- child element with the specified name.
-
-
- The name of the expected child element of the current document's Root element.
-
-
-
-
- Asserts that the element of the current has a direct
- child element with the specified name.
-
-
- The name of the expected child element of the current document's Root element.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current equals the element.
-
- The expected element
-
-
-
- Asserts that the current equals the element.
-
- The expected element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not equal the element,
- using its implementation.
-
- The unexpected element
-
-
-
- Asserts that the current does not equal the element,
- using its implementation.
-
- The unexpected element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is null.
-
-
-
-
- Asserts that the is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the is not null.
-
-
-
-
- Asserts that the is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the current has an attribute with the specified
- and .
-
- The name of the expected attribute
- The value of the expected attribute
-
-
-
- Asserts that the current has an attribute with the specified
- and .
-
- The name of the expected attribute
- The value of the expected attribute
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has a direct child element with the specified
- name.
-
- The name of the expected child element
-
-
-
- Asserts that the current has a direct child element with the specified
- name.
-
- The name of the expected child element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Extension methods on to allow for a more fluent way of specifying a .
-
-
- Instead of
-
- new DateTime(2011, 3, 10)
-
- you can write 3.March(2011)
-
- Or even
-
- 3.March(2011).At(09, 30)
-
-
-
-
-
- Returns a new value for the specified and
- in the month January.
-
-
-
-
- Returns a new value for the specified and
- in the month February.
-
-
-
-
- Returns a new value for the specified and
- in the month March.
-
-
-
-
- Returns a new value for the specified and
- in the month April.
-
-
-
-
- Returns a new value for the specified and
- in the month May.
-
-
-
-
- Returns a new value for the specified and
- in the month June.
-
-
-
-
- Returns a new value for the specified and
- in the month July.
-
-
-
-
- Returns a new value for the specified and
- in the month August.
-
-
-
-
- Returns a new value for the specified and
- in the month September.
-
-
-
-
- Returns a new value for the specified and
- in the month October.
-
-
-
-
- Returns a new value for the specified and
- in the month November.
-
-
-
-
- Returns a new value for the specified and
- in the month December.
-
-
-
-
- Returns a new value for the specified and .
-
-
-
-
- Returns a new value for the specified and time with the specified
- , and optionally .
-
-
-
-
- Returns a new value that is the current before the
- specified .
-
-
-
-
- Returns a new value that is the current after the
- specified .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
- You can use the for a more fluent way of specifying a .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
-
-
- Asserts that the time difference of the current is greater than zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is less than zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is equal to the
- specified time.
-
- The expected time difference
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is not equal to the
- specified time.
-
- The unexpected time difference
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is less than the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is less than or equal to the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is greater than the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is greater than or equal to the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Asserts that a nullable value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Extension methods on to allow for a more fluent way of specifying a .
-
-
- Instead of
-
- TimeSpan.FromHours(12)
-
- you can write
-
- 12.Hours()
-
- Or even
-
- 12.Hours().And(30.Minutes()).
-
-
-
-
-
- Returns a based on a number of milliseconds.
-
-
-
-
- Returns a based on a number of seconds.
-
-
-
-
- Returns a based on a number of seconds, and add the specified
- .
-
-
-
-
- Returns a based on a number of minutes.
-
-
-
-
- Returns a based on a number of minutes, and add the specified
- .
-
-
-
-
- Returns a based on a number of hours.
-
-
-
-
- Returns a based on a number of hours, and add the specified
- .
-
-
-
-
- Returns a based on a number of days.
-
-
-
-
- Returns a based on a number of days, and add the specified
- .
-
-
-
-
- Convenience method for chaining multiple calls to the methods provided by this class.
-
-
- 23.Hours().And(59.Minutes())
-
-
-
-
- Contains a number of methods to assert that a reference type object is in the expected state.
-
-
-
-
- Asserts that the object is of the specified type .
-
- The expected type of the object.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the object is assignable to a variable of type .
-
- The type to which the object should be assignable.
- The reason why the object should be assignable to the type.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the is satisfied.
-
- The predicate which must be statisfied by the .
- The reason why the predicate should be satisfied.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the is satisfied.
-
- The predicate which must be statisfied by the .
- The reason why the predicate should be satisfied.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that a is in the expected state.
-
-
-
-
- Asserts that the value is false.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is true.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the number of items in the collection matches the supplied amount.
-
- The expected number of items in the collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the collection matches a condition stated by the .
-
- A predicate that yields the number of items that is expected to be in the collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection contains at least 1 item.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any duplicate items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any null items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
- A params array with the expected elements.
-
-
-
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection not to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
- An with the elements that are not expected.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
- A params array with the expected elements.
-
-
-
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection not to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
- An with the unexpected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection only contains items that are assignable to the type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain the specified elements in any order. Elements are compared
- using their implementation.
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain the specified elements in the exact same order. Elements are compared
- using their implementation.
-
- An with the expected elements.
-
-
-
- Expects the current collection to contain the specified elements in the exact same order. Elements are compared
- using their implementation.
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to have all elements in ascending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to have all elements in descending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to have all elements in the specified .
- Elements are compared using their implementation.
-
-
-
-
- Asserts the current collection does not have all elements in ascending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts the current collection does not have all elements in descending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts the current collection does not have all elements in ascending order. Elements are compared
- using their implementation.
-
-
-
-
- Asserts that the collection is a subset of the .
-
- An with the expected superset.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection is not a subset of the .
-
- An with the unexpected superset.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Assert that the current collection has the same number of elements as .
-
- The other collection with the same expected number of elements
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has not been initialized yet with an actual collection.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has been initialized with an actual collection.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has the supplied at the
- supplied .
-
- The index where the element is expected
- The expected element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection does not contain the supplied item.
-
- The element that is not expected to be in the collection
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection shares one or more items with the specified .
-
- The with the expected shared items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not share any items with the specified .
-
- The to compare to.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a dotted path of property names representing the property expression. E.g. Parent.Child.Sibling.Name.
-
-
-
-
- Provides extension methods for monitoring and querying events.
-
-
-
-
- Starts monitoring an object for its events.
-
- Thrown if eventSource is Null.
-
-
-
- Asserts that an object has raised a particular event at least once.
-
- The object exposing the event.
- The name of the event that should have been raised.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has raised a particular event at least once.
-
- The object exposing the event.
-
- The name of the event that should have been raised.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has not raised a particular event.
-
- The object exposing the event.
-
- The name of the event that should not be raised.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has not raised a particular event.
-
- The object exposing the event.
-
- The name of the event that should not be raised.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has raised the event for a particular property.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has raised the event for a particular property.
-
- The object exposing the event.
-
- A lambda expression referring to the property for which the property changed event should have been raised, or
- null to refer to all properties.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has not raised the event for a particular property.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has not raised the event for a particular property.
-
- The object exposing the event.
-
- A lambda expression referring to the property for which the property changed event should have been raised.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that all occurences of the event originated from the .
-
-
-
-
- Asserts that at least one occurrence of the event had an object matching a predicate.
-
-
-
-
- Records activity for a single event.
-
-
-
-
- Records raised events for one event on one object
-
-
-
-
- Store information about a raised event
-
- Parameters the event was raised with
-
-
-
- The object events are recorded from
-
-
-
-
- The name of the event that's recorded
-
-
-
-
-
- The object events are recorded from
- The name of the event that's recorded
-
-
-
- Enumerate raised events
-
-
-
-
- Enumerate raised events
-
-
-
-
-
- Called by the auto-generated IL, to record information about a raised event.
-
-
-
-
- The object events are recorded from
-
-
-
-
- The name of the event that's recorded
-
-
-
-
- Static methods that aid in generic event subscription
-
-
-
-
- Generates an eventhandler for an event of type eventSignature that calls RegisterEvent on recorder
- when invoked.
-
-
-
-
- Finds the Return Type of a Delegate.
-
-
-
-
- Returns an Array of Types that make up a delegate's parameter signature.
-
-
-
-
- Returns an array of types appended with an EventRecorder reference at the beginning.
-
-
-
-
- Returns T/F Dependent on a Type Being a Delegate.
-
-
-
-
- Returns the MethodInfo for the Delegate's "Invoke" Method.
-
-
-
-
- This class is used to store data about an intercepted event
-
-
-
-
- Default constructor stores the parameters the event was raised with
-
-
-
-
- Parameters for the event
-
-
-
-
- Simple dictionary that uses a to the event source as the key.
- This should ensure the Garbage Collector can still clean-up the event source object.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Determines whether this instance can handle the specified value.
-
- The value.
-
- true if this instance can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Provides services for formatting an object being used in an assertion in a human readable format.
-
-
-
-
- A list of objects responsible for formatting the objects represented by placeholders.
-
-
-
-
- Returns a human-readable representation of a particular object.
-
- The value for which to create a .
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- Indicates whether the formatter should use line breaks when the specific supports it.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Contains a number of methods to assert that an is in the expectation state.
-
-
-
-
- Asserts that two collections contain the same items in the same order, where equality is determined using a
- predicate.
-
-
- The collection to compare the subject with.
-
-
- A predicate the is used to determine whether two objects should be treated as equal.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection contains the specified item.
-
- The expectation item.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection contains some extra items in addition to the original items.
-
- An of expectation items.
- Additional items that are expectation to be contained by the collection.
-
-
-
- Asserts that the collection contains at least one item that matches the predicate.
-
- A predicate to match the items in the collection against.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection only contains items that match a predicate.
-
- A predicate to match the items in the collection against.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection does not contain any items that match the predicate.
-
- A predicate to match the items in the collection against.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Expects the current collection to contain only a single item matching the specified .
-
- The predictes that will be used to find the matching items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the current collection contains the specified object. Elements are compared
- using their implementation.
-
- An object, or of objects that are expected to be in the collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains extension methods for custom assertions in unit tests.
-
-
-
-
- Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow
- overloads.
-
-
-
-
- Provides methods for asserting the execution time of a method or property.
-
- The object that exposes the method or property.
- A reference to the method or property to measure the execution time of.
-
- Returns an object for asserting that the execution time matches certain conditions.
-
-
-
-
- Provides methods for asserting the execution time of a method or property.
-
- A reference to the method or property to measure the execution time of.
-
- Returns an object for asserting that the execution time matches certain conditions.
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Asserts that the throws an exception.
-
- A reference to the method or property.
-
- The type of the exception it should throw.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- Returns an object that allows asserting additional members of the thrown exception.
-
-
-
-
- Asserts that the does not throw a particular exception.
-
- The current method or property.
-
- The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the does not throw any exception at all.
-
- The current method or property.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Forces enumerating a collection. Should be used to assert that a method that uses the
- yield keyword throws a particular exception.
-
-
-
-
- Forces enumerating a collection. Should be used to assert that a method that uses the
- yield keyword throws a particular exception.
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns a object that can be used to assert the
- current .
-
-
-
-
- Returns a object that can be used to assert the
- current .
-
-
-
-
- Returns a object that can be used to assert the current .
-
-
-
-
-
- Returns a object that can be used to assert the methods returned by the
- current .
-
-
-
-
-
- Returns a object that can be used to assert the
- current .
-
-
-
-
-
- Returns a object that can be used to assert the properties returned by the
- current .
-
-
-
-
-
- Asserts that the properties of an object matches those of another object.
-
-
-
-
- Asserts that an object is equivalent to another object.
-
-
- Objects are equivalent when both object graphs have equally named properties with the same value,
- irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal.
- The type of a collection property is ignored as long as the collection implements and all
- items in the collection are structurally equal.
- Notice that actual behavior is determined by the instance of the
- class.
-
-
- An optional formatted phrase as is supported by explaining why the
- assertion is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that an object is equivalent to another object.
-
-
- Objects are equivalent when both object graphs have equally named properties with the same value,
- irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal.
- The type of a collection property is ignored as long as the collection implements and all
- items in the collection are structurally equal.
-
-
- A reference to the configuration object that can be used
- to influence the way the object graphs are compared. You can also provide an alternative instance of the
- class.
-
-
- An optional formatted phrase as is supported by explaining why the
- assertion is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Safely casts the specified object to the type specified through .
-
-
- Has been introduced to allow casting objects without breaking the fluent API.
-
-
-
-
-
- Contains a number of methods to assert that a is in the expected state.
-
-
- You can use the for a more fluent way of specifying a .
-
-
-
-
- Asserts that the current is exactly equal to the value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is not equal to the value.
-
- The unexpected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is within the specified number of milliseconds (default = 20 ms)
- from the specified value.
-
-
- Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime,
- use .
-
-
- The expected time to compare the actual value with.
-
-
- The maximum amount of milliseconds which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is before the specified value.
-
- The that the current value is expected to be before.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is either on, or before the specified value.
-
- The that the current value is expected to be on or before.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is after the specified value.
-
- The that the current value is expected to be after.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is either on, or after the specified value.
-
- The that the current value is expected to be on or after.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the year.
-
- The expected year of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the month.
-
- The expected month of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the day.
-
- The expected day of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the hour.
-
- The expected hour of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the minute.
-
- The expected minutes of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the second.
-
- The expected seconds of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Returns a object that can be used to assert that the current
- exceeds the specified compared to another .
-
-
- The amount of time that the current should exceed compared to another .
-
-
-
-
- Returns a object that can be used to assert that the current
- is equal to or exceeds the specified compared to another .
-
-
- The amount of time that the current should be equal or exceed compared to
- another .
-
-
-
-
- Returns a object that can be used to assert that the current
- differs exactly the specified compared to another .
-
-
- The amount of time that the current should differ exactly compared to another .
-
-
-
-
- Returns a object that can be used to assert that the current
- is within the specified compared to another .
-
-
- The amount of time that the current should be within another .
-
-
-
-
- Returns a object that can be used to assert that the current
- differs at maximum the specified compared to another .
-
-
- The maximum amount of time that the current should differ compared to another .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the correct state.
-
-
-
-
- Asserts that the thrown exception has a message that matches
- depending on the specified matching mode.
-
-
- The expected message of the exception.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the thrown exception has a message that matches
- depending on the specified matching mode.
-
-
- The expected message of the exception.
-
-
- Determines how the expected message is compared with the actual message.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the thrown exception contains an inner exception of type .
-
- The expected type of the inner exception.
-
-
-
- Asserts that the thrown exception contains an inner exception of type .
-
- The expected type of the inner exception.
- The reason why the inner exception should be of the supplied type.
- The parameters used when formatting the .
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
- Determines how the expected message is compared with the actual message.
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
-
- The reason why the message of the inner exception should match .
-
- The parameters used when formatting the .
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
- Determines how the expected message is compared with the actual message.
-
- The reason why the message of the inner exception should match .
-
- The parameters used when formatting the .
-
-
-
- Asserts that the exception matches a particular condition.
-
-
- The condition that the exception must match.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Gets the exception object of the exception thrown.
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
-
-
- Asserts that a nullable boolean value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable boolean value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
- You can use the for a more fluent way of specifying a .
-
-
-
-
- Asserts that a nullable value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that an object equals another object using its implementation.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that an object does not equal another object using it's method.
-
- The unexpected value
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object reference refers to the exact same object as another object reference.
-
- The expected object
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object reference refers to a different object than another object reference refers to.
-
- The unexpected object
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the object is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the object is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object can be serialized and deserialized using the binary serializer and that it stills retains
- the values of all properties.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that an object can be serialized and deserialized using the XML serializer and that it stills retains
- the values of all properties.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Provides methods for selecting one or more properties of an object and comparing them with another object.
-
-
-
-
- Includes all properties of when comparing the subject with another object using .
-
-
-
-
- Includes all properties of including those of the run-time type when comparing the subject
- with another object using .
-
-
-
-
- Includes all properties of when comparing the subject with another object using ,
- except those that the other object does not have.
-
-
-
-
- Perform recursive property comparison of the child properties for objects that are of incompatible type.
-
-
- Indication of how cyclic references in the nested properties should be handled. By default this will result in an
- exception, but if is specified, cyclic references will just be ignored.
-
-
-
-
- Includes all properties of when comparing the subject with another object using ,
- except those specified using a property expression.
-
- A single property expression to exclude.
- Optional list of additional property expressions to exclude.
-
-
-
- Excludes the properties specified by the from the comparison.
-
- A single property expression to exclude.
- Optional list of additional property expressions to exclude.
-
-
-
- Includes only those properties of when comparing the subject with another object using
- that were specified using a property expression.
-
- A single property expression to include.
- Optional list of additional property expressions to include.
-
-
-
- Asserts that the previously selected properties of have the same value as the equally named
- properties of .
-
- The object to compare the current object with
-
- Property values are considered equal if, after converting them to the requested type, calling
- returns true.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace.
-
- The expected string.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is one of the specified .
-
-
- The values that are valid.
-
-
-
-
- Asserts that the is one of the specified .
-
-
- The values that are valid.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
- the exception of the casing.
-
-
- The string that the subject is expected to be equivalent to.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is not exactly the same as the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is not expected to be equivalent to.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string starts exactly with the specified value,
- including the casing and any leading or trailing whitespace.
-
- The string that the subject is expected to start with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string starts with the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is expected to start with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string ends exactly with the specified ,
- including the casing and any leading or trailing whitespace.
-
- The string that the subject is expected to end with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string ends with the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is expected to end with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string contains another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should contain.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string contains the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is expected to contain.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not contain another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should not contain.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not contain the specified string,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is not expected to contain.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is not .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string has the specified length.
-
- The expected length of the string
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is neither null nor .
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a string is either null or .
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a string is neither null nor nor white space
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a string is either null or or white space
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that two objects differ in the expected way.
-
-
- You can use the and for a more fluent
- way of specifying a or a .
-
-
-
-
- Asserts that a occurs a specified amount of time before another .
-
-
- The to compare the subject with.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a occurs a specified amount of time after another .
-
-
- The to compare the subject with.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Provides the logic and the display text for a .
-
-
-
-
- Contains a number of methods to assert that a meets certain expectations.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current type is equal to the specified type.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current type is equal to the specified type.
-
- The expected type
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Creates an error message in case the specifed type differs from the
- type.
-
-
- An empty if the two specified types are the same, or an error message that describes that
- the two specified types are not the same.
-
-
-
-
- Asserts that the current type is not equal to the specified type.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current type is not equal to the specified type.
-
- The unexpected type
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is decorated with an attribute of type
- that matches the specified .
-
-
- The predicate that the attribute must match.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure.
-
-
-
-
- Gets an object that wraps and executes a conditional or unconditional verification.
-
-
-
-
- Throws a generic exception in case no other test harness is detected.
-
-
-
-
- Represents an abstraction of a particular test framework such as MSTest, nUnit, etc.
-
-
-
-
- Throws a framework-specific exception to indicate a failing unit test.
-
-
-
-
- Gets a value indicating whether the corresponding test framework is currently available.
-
-
-
-
- Throws a framework-specific exception to indicate a failing unit test.
-
-
-
-
- Gets a value indicating whether the corresponding test framework is currently available.
-
-
-
-
- Throws a framework-specific exception to indicate a failing unit test.
-
-
-
-
- Gets a value indicating whether the corresponding test framework is currently available.
-
-
-
-
- Provides a fluent API for verifying an arbitrary condition.
-
-
-
-
- Represents the phrase that can be used in as a placeholder for the reason of an assertion.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the name or identifier of the current subject, or a default value if the subject is not known.
-
-
-
-
- Specify the condition that must be satisfied.
-
- If true the verification will be succesful.
-
-
-
- Specify a predicate that with the condition that must be satisfied.
-
-
-
-
- Specify the reason why you expect the condition to be true.
-
-
- A formatted phrase explaining why the condition should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Define the failure message for the verification.
-
-
- If the contains the text "{reason}", this will be replaced by the reason as
- defined through . Only 10 are supported in combination with
- a {reason}.
-
- The format string that represents the failure message.
- Optional arguments for the
-
-
-
- Indicates that every argument passed into is displayed on a separate line.
-
-
-
-
- Gets or sets the name of the subject for the next verification.
-
-
-
-
diff --git a/packages/FluentAssertions.2.0.0.1/lib/net40/FluentAssertions.dll b/packages/FluentAssertions.2.0.0.1/lib/net40/FluentAssertions.dll
deleted file mode 100644
index 0b3d86d2..00000000
Binary files a/packages/FluentAssertions.2.0.0.1/lib/net40/FluentAssertions.dll and /dev/null differ
diff --git a/packages/FluentAssertions.2.0.0.1/lib/net40/FluentAssertions.pdb b/packages/FluentAssertions.2.0.0.1/lib/net40/FluentAssertions.pdb
deleted file mode 100644
index 1dbc9abe..00000000
Binary files a/packages/FluentAssertions.2.0.0.1/lib/net40/FluentAssertions.pdb and /dev/null differ
diff --git a/packages/FluentAssertions.2.0.0.1/lib/net40/FluentAssertions.xml b/packages/FluentAssertions.2.0.0.1/lib/net40/FluentAssertions.xml
deleted file mode 100644
index 0463cd8f..00000000
--- a/packages/FluentAssertions.2.0.0.1/lib/net40/FluentAssertions.xml
+++ /dev/null
@@ -1,5761 +0,0 @@
-
-
-
- FluentAssertions
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Contains extension methods for custom assertions in unit tests.
-
-
-
-
- Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow
- overloads.
-
-
-
-
- Provides methods for asserting the execution time of a method or property.
-
- The object that exposes the method or property.
- A reference to the method or property to measure the execution time of.
-
- Returns an object for asserting that the execution time matches certain conditions.
-
-
-
-
- Provides methods for asserting the execution time of a method or property.
-
- A reference to the method or property to measure the execution time of.
-
- Returns an object for asserting that the execution time matches certain conditions.
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Asserts that the throws an exception.
-
- A reference to the method or property.
-
- The type of the exception it should throw.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- Returns an object that allows asserting additional members of the thrown exception.
-
-
-
-
- Asserts that the does not throw a particular exception.
-
- The current method or property.
-
- The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the does not throw any exception at all.
-
- The current method or property.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Forces enumerating a collection. Should be used to assert that a method that uses the
- yield keyword throws a particular exception.
-
-
-
-
- Forces enumerating a collection. Should be used to assert that a method that uses the
- yield keyword throws a particular exception.
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns a object that can be used to assert the
- current .
-
-
-
-
- Returns a object that can be used to assert the
- current .
-
-
-
-
- Returns a object that can be used to assert the current .
-
-
-
-
-
- Returns a object that can be used to assert the methods returned by the
- current .
-
-
-
-
-
- Returns a object that can be used to assert the
- current .
-
-
-
-
-
- Returns a object that can be used to assert the properties returned by the
- current .
-
-
-
-
-
- Asserts that the properties of an object matches those of another object.
-
-
-
-
- Asserts that an object is equivalent to another object.
-
-
- Objects are equivalent when both object graphs have equally named properties with the same value,
- irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal.
- The type of a collection property is ignored as long as the collection implements and all
- items in the collection are structurally equal.
- Notice that actual behavior is determined by the instance of the
- class.
-
-
- An optional formatted phrase as is supported by explaining why the
- assertion is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that an object is equivalent to another object.
-
-
- Objects are equivalent when both object graphs have equally named properties with the same value,
- irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal.
- The type of a collection property is ignored as long as the collection implements and all
- items in the collection are structurally equal.
-
-
- A reference to the configuration object that can be used
- to influence the way the object graphs are compared. You can also provide an alternative instance of the
- class.
-
-
- An optional formatted phrase as is supported by explaining why the
- assertion is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Safely casts the specified object to the type specified through .
-
-
- Has been introduced to allow casting objects without breaking the fluent API.
-
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Contains a number of methods to assert that a reference type object is in the expected state.
-
-
-
-
- Asserts that the object is of the specified type .
-
- The expected type of the object.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the object is assignable to a variable of type .
-
- The type to which the object should be assignable.
- The reason why the object should be assignable to the type.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the is satisfied.
-
- The predicate which must be statisfied by the .
- The reason why the predicate should be satisfied.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the is satisfied.
-
- The predicate which must be statisfied by the .
- The reason why the predicate should be satisfied.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Asserts that the number of items in the collection matches the supplied amount.
-
- The expected number of items in the collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the collection matches a condition stated by the .
-
- A predicate that yields the number of items that is expected to be in the collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection contains at least 1 item.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any duplicate items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any null items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
- A params array with the expected elements.
-
-
-
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection not to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
- An with the elements that are not expected.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
- A params array with the expected elements.
-
-
-
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection not to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
- An with the unexpected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection only contains items that are assignable to the type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain the specified elements in any order. Elements are compared
- using their implementation.
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain the specified elements in the exact same order. Elements are compared
- using their implementation.
-
- An with the expected elements.
-
-
-
- Expects the current collection to contain the specified elements in the exact same order. Elements are compared
- using their implementation.
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to have all elements in ascending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to have all elements in descending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to have all elements in the specified .
- Elements are compared using their implementation.
-
-
-
-
- Asserts the current collection does not have all elements in ascending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts the current collection does not have all elements in descending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts the current collection does not have all elements in ascending order. Elements are compared
- using their implementation.
-
-
-
-
- Asserts that the collection is a subset of the .
-
- An with the expected superset.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection is not a subset of the .
-
- An with the unexpected superset.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Assert that the current collection has the same number of elements as .
-
- The other collection with the same expected number of elements
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has not been initialized yet with an actual collection.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has been initialized with an actual collection.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has the supplied at the
- supplied .
-
- The index where the element is expected
- The expected element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection does not contain the supplied item.
-
- The element that is not expected to be in the collection
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection shares one or more items with the specified .
-
- The with the expected shared items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not share any items with the specified .
-
- The to compare to.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expectation state.
-
-
-
-
- Asserts that two collections contain the same items in the same order, where equality is determined using a
- predicate.
-
-
- The collection to compare the subject with.
-
-
- A predicate the is used to determine whether two objects should be treated as equal.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection contains the specified item.
-
- The expectation item.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection contains some extra items in addition to the original items.
-
- An of expectation items.
- Additional items that are expectation to be contained by the collection.
-
-
-
- Asserts that the collection contains at least one item that matches the predicate.
-
- A predicate to match the items in the collection against.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection only contains items that match a predicate.
-
- A predicate to match the items in the collection against.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection does not contain any items that match the predicate.
-
- A predicate to match the items in the collection against.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Expects the current collection to contain only a single item matching the specified .
-
- The predictes that will be used to find the matching items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the current dictionary has not been initialized yet with an actual dictionary.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary has been initialized with an actual dictionary.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the dictionary matches the supplied amount.
-
- The expected number of items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the dictionary matches a condition stated by a predicate.
-
- The predicate which must be statisfied by the amount of items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary does not contain any items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains at least 1 item.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary contains all the same key-value pairs as the
- specified dictionary. Keys and values are compared using
- their implementation.
-
- The expected dictionary
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts the current dictionary not to contain all the same key-value pairs as the
- specified dictionary. Keys and values are compared using
- their implementation.
-
- The unexpected dictionary
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains the specified key. Keys are compared using
- their implementation.
-
- The expected key
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains all of the specified keys. Keys are compared using
- their implementation.
-
- The expected keys
-
-
-
- Asserts that the dictionary contains all of the specified keys. Keys are compared using
- their implementation.
-
- The expected keys
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified key.
- Keys are compared using their implementation.
-
- The unexpected key
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains the specified value. Values are compared using
- their implementation.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains all of the specified values. Values are compared using
- their implementation.
-
- The expected values
-
-
-
- Asserts that the dictionary contains all of the specified values. Values are compared using
- their implementation.
-
- The expected values
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified value.
- Values are compared using their implementation.
-
- The unexpected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary contains the specified .
- Keys and values are compared using their implementation.
-
- The expected
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation.
-
- The key for which to validate the value
- The value to validate
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified .
- Keys and values are compared using their implementation.
-
- The unexpected
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified for the
- supplied . Values are compared using their implementation.
-
- The key for which to validate the value
- The value to validate
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the current collection contains the specified object. Elements are compared
- using their implementation.
-
- An object, or of objects that are expected to be in the collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a dotted path of property names representing the property expression. E.g. Parent.Child.Sibling.Name.
-
-
-
-
- Finds the first index at which the does not match the
- string anymore, including the exact casing.
-
-
-
-
- Finds the first index at which the does not match the
- string anymore, accounting for the specified .
-
-
-
-
- Gets the quoted three characters at the specified index of a string, including the index itself.
-
-
-
-
- Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts.
-
-
-
-
- Joins a string with one or more other strings using a specified separator.
-
-
- Any string that is empty (including the original string) is ignored.
-
-
-
-
- Determines whether two objects refer to the same property.
-
-
-
-
- Finds the property by a case-sensitive name.
-
-
- Returns null if no such property exists.
-
-
-
-
- Determines whether the specified method has been annotated with a specific attribute.
-
-
- true if the specified method has attribute; otherwise, false.
-
-
-
-
- Provides extension methods for monitoring and querying events.
-
-
-
-
- Starts monitoring an object for its events.
-
- Thrown if eventSource is Null.
-
-
-
- Asserts that an object has raised a particular event at least once.
-
- The object exposing the event.
- The name of the event that should have been raised.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has raised a particular event at least once.
-
- The object exposing the event.
-
- The name of the event that should have been raised.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has not raised a particular event.
-
- The object exposing the event.
-
- The name of the event that should not be raised.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has not raised a particular event.
-
- The object exposing the event.
-
- The name of the event that should not be raised.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has raised the event for a particular property.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has raised the event for a particular property.
-
- The object exposing the event.
-
- A lambda expression referring to the property for which the property changed event should have been raised, or
- null to refer to all properties.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has not raised the event for a particular property.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has not raised the event for a particular property.
-
- The object exposing the event.
-
- A lambda expression referring to the property for which the property changed event should have been raised.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that all occurences of the event originated from the .
-
-
-
-
- Asserts that at least one occurrence of the event had an object matching a predicate.
-
-
-
-
- Static methods that aid in generic event subscription
-
-
-
-
- Generates an eventhandler for an event of type eventSignature that calls RegisterEvent on recorder
- when invoked.
-
-
-
-
- Finds the Return Type of a Delegate.
-
-
-
-
- Returns an Array of Types that make up a delegate's parameter signature.
-
-
-
-
- Returns an array of types appended with an EventRecorder reference at the beginning.
-
-
-
-
- Returns T/F Dependent on a Type Being a Delegate.
-
-
-
-
- Returns the MethodInfo for the Delegate's "Invoke" Method.
-
-
-
-
- Records activity for a single event.
-
-
-
-
- Records raised events for one event on one object
-
-
-
-
- Store information about a raised event
-
- Parameters the event was raised with
-
-
-
- The object events are recorded from
-
-
-
-
- The name of the event that's recorded
-
-
-
-
-
- The object events are recorded from
- The name of the event that's recorded
-
-
-
- Enumerate raised events
-
-
-
-
- Enumerate raised events
-
-
-
-
-
- Called by the auto-generated IL, to record information about a raised event.
-
-
-
-
- The object events are recorded from
-
-
-
-
- The name of the event that's recorded
-
-
-
-
- Simple dictionary that uses a to the event source as the key.
- This should ensure the Garbage Collector can still clean-up the event source object.
-
-
-
-
- This class is used to store data about an intercepted event
-
-
-
-
- Default constructor stores the parameters the event was raised with
-
-
-
-
- Parameters for the event
-
-
-
-
- Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure.
-
-
-
-
- Gets an object that wraps and executes a conditional or unconditional verification.
-
-
-
-
- Throws a generic exception in case no other test harness is detected.
-
-
-
-
- Represents an abstraction of a particular test framework such as MSTest, nUnit, etc.
-
-
-
-
- Throws a framework-specific exception to indicate a failing unit test.
-
-
-
-
- Gets a value indicating whether the corresponding test framework is currently available.
-
-
-
-
- Throws a framework-specific exception to indicate a failing unit test.
-
-
-
-
- Gets a value indicating whether the corresponding test framework is currently available.
-
-
-
-
- Throws a framework-specific exception to indicate a failing unit test.
-
-
-
-
- Gets a value indicating whether the corresponding test framework is currently available.
-
-
-
-
- Provides a fluent API for verifying an arbitrary condition.
-
-
-
-
- Represents the phrase that can be used in as a placeholder for the reason of an assertion.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the name or identifier of the current subject, or a default value if the subject is not known.
-
-
-
-
- Specify the condition that must be satisfied.
-
- If true the verification will be succesful.
-
-
-
- Specify a predicate that with the condition that must be satisfied.
-
-
-
-
- Specify the reason why you expect the condition to be true.
-
-
- A formatted phrase explaining why the condition should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Define the failure message for the verification.
-
-
- If the contains the text "{reason}", this will be replaced by the reason as
- defined through . Only 10 are supported in combination with
- a {reason}.
-
- The format string that represents the failure message.
- Optional arguments for the
-
-
-
- Indicates that every argument passed into is displayed on a separate line.
-
-
-
-
- Gets or sets the name of the subject for the next verification.
-
-
-
-
- Extension methods on to allow for a more fluent way of specifying a .
-
-
- Instead of
-
- new DateTime(2011, 3, 10)
-
- you can write 3.March(2011)
-
- Or even
-
- 3.March(2011).At(09, 30)
-
-
-
-
-
- Returns a new value for the specified and
- in the month January.
-
-
-
-
- Returns a new value for the specified and
- in the month February.
-
-
-
-
- Returns a new value for the specified and
- in the month March.
-
-
-
-
- Returns a new value for the specified and
- in the month April.
-
-
-
-
- Returns a new value for the specified and
- in the month May.
-
-
-
-
- Returns a new value for the specified and
- in the month June.
-
-
-
-
- Returns a new value for the specified and
- in the month July.
-
-
-
-
- Returns a new value for the specified and
- in the month August.
-
-
-
-
- Returns a new value for the specified and
- in the month September.
-
-
-
-
- Returns a new value for the specified and
- in the month October.
-
-
-
-
- Returns a new value for the specified and
- in the month November.
-
-
-
-
- Returns a new value for the specified and
- in the month December.
-
-
-
-
- Returns a new value for the specified and .
-
-
-
-
- Returns a new value for the specified and time with the specified
- , and optionally .
-
-
-
-
- Returns a new value that is the current before the
- specified .
-
-
-
-
- Returns a new value that is the current after the
- specified .
-
-
-
-
- Specialized value formatter that looks for static methods in the caller's assembly marked with the
- .
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Determines whether this instance can handle the specified value.
-
- The value.
-
- true if this instance can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Provides services for formatting an object being used in an assertion in a human readable format.
-
-
-
-
- A list of objects responsible for formatting the objects represented by placeholders.
-
-
-
-
- Returns a human-readable representation of a particular object.
-
- The value for which to create a .
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- Indicates whether the formatter should use line breaks when the specific supports it.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Marks a static method as a kind of for a particular type.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Contains a number of extension methods for floating point .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the subject is considered equal to another object according to the implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is not equal to another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is less than another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is less than or equal to another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is greater than another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is greater than or equal to another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a value is within a range.
-
-
- Where the range is continuous or incremental depends on the actual type of the value.
-
-
- The minimum valid value of the range.
-
-
- The maximum valid value of the range.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the integral number value is exactly the same as the value.
-
- The expected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the integral number value is exactly the same as the value.
-
- The expected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the integral number value is not the same as the value.
-
- The unexpected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the integral number value is not the same as the value.
-
- The unexpected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is greater than or equal to zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is less than zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is less than the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is less than or equal to the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is greater than the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is greater than or equal to the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a value is within a range.
-
-
- Where the range is continuous or incremental depends on the actual type of the value.
-
-
- The minimum valid value of the range.
-
-
- The maximum valid value of the range.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a value is one of the specified .
-
-
- The values that are valid.
-
-
-
-
- Asserts that a value is one of the specified .
-
-
- The values that are valid.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a is in the expected state.
-
-
-
-
- Asserts that the value is false.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is true.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Defines the way compares the expected exception
- message with the actual one.
-
-
-
-
- The message must match exactly, including the casing of the characters.
-
-
-
-
- The message must match except for the casing of the characters.
-
-
-
-
- The message must start with the exact text, including the casing of the characters..
-
-
-
-
- The message must start with the text except for the casing of the characters.
-
-
-
-
- The message must contain the exact text.
-
-
-
-
- The message must contain the text except for the casing of the characters.
-
-
-
-
- The message must match a wildcard pattern consisting of ordinary characters as well as * and ?.
-
-
-
-
- Contains a number of methods to assert that a is in the expected state.
-
-
- You can use the for a more fluent way of specifying a .
-
-
-
-
- Asserts that the current is exactly equal to the value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is not equal to the value.
-
- The unexpected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is within the specified number of milliseconds (default = 20 ms)
- from the specified value.
-
-
- Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime,
- use .
-
-
- The expected time to compare the actual value with.
-
-
- The maximum amount of milliseconds which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is before the specified value.
-
- The that the current value is expected to be before.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is either on, or before the specified value.
-
- The that the current value is expected to be on or before.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is after the specified value.
-
- The that the current value is expected to be after.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is either on, or after the specified value.
-
- The that the current value is expected to be on or after.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the year.
-
- The expected year of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the month.
-
- The expected month of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the day.
-
- The expected day of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the hour.
-
- The expected hour of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the minute.
-
- The expected minutes of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the second.
-
- The expected seconds of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Returns a object that can be used to assert that the current
- exceeds the specified compared to another .
-
-
- The amount of time that the current should exceed compared to another .
-
-
-
-
- Returns a object that can be used to assert that the current
- is equal to or exceeds the specified compared to another .
-
-
- The amount of time that the current should be equal or exceed compared to
- another .
-
-
-
-
- Returns a object that can be used to assert that the current
- differs exactly the specified compared to another .
-
-
- The amount of time that the current should differ exactly compared to another .
-
-
-
-
- Returns a object that can be used to assert that the current
- is within the specified compared to another .
-
-
- The amount of time that the current should be within another .
-
-
-
-
- Returns a object that can be used to assert that the current
- differs at maximum the specified compared to another .
-
-
- The maximum amount of time that the current should differ compared to another .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that a is in the correct state.
-
-
-
-
- Asserts that the is .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is not .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is equal to the GUID.
-
- The expected value to compare the actual value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is equal to the GUID.
-
- The expected value to compare the actual value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is not equal to the GUID.
-
- The unexpected value to compare the actual value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
-
-
- Asserts that a nullable boolean value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable boolean value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
- You can use the for a more fluent way of specifying a .
-
-
-
-
- Asserts that a nullable value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
-
-
- Asserts that a nullable value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
- You can use the for a more fluent way of specifying a .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
-
-
- Asserts that the time difference of the current is greater than zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is less than zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is equal to the
- specified time.
-
- The expected time difference
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is not equal to the
- specified time.
-
- The unexpected time difference
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is less than the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is less than or equal to the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is greater than the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is greater than or equal to the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Asserts that a nullable value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that an object equals another object using its implementation.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that an object does not equal another object using it's method.
-
- The unexpected value
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object reference refers to the exact same object as another object reference.
-
- The expected object
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object reference refers to a different object than another object reference refers to.
-
- The unexpected object
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the object is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the object is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object can be serialized and deserialized using the binary serializer and that it stills retains
- the values of all properties.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that an object can be serialized and deserialized using the XML serializer and that it stills retains
- the values of all properties.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace.
-
- The expected string.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is one of the specified .
-
-
- The values that are valid.
-
-
-
-
- Asserts that the is one of the specified .
-
-
- The values that are valid.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
- the exception of the casing.
-
-
- The string that the subject is expected to be equivalent to.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is not exactly the same as the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is not expected to be equivalent to.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string starts exactly with the specified value,
- including the casing and any leading or trailing whitespace.
-
- The string that the subject is expected to start with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string starts with the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is expected to start with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string ends exactly with the specified ,
- including the casing and any leading or trailing whitespace.
-
- The string that the subject is expected to end with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string ends with the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is expected to end with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string contains another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should contain.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string contains the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is expected to contain.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not contain another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should not contain.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not contain the specified string,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is not expected to contain.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is not .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string has the specified length.
-
- The expected length of the string
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is neither null nor .
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a string is either null or .
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a string is neither null nor nor white space
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a string is either null or or white space
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Dedicated class for comparing two strings and generating consistent error messages.
-
-
-
-
- Gets or sets a value indicating whether the subject should not match the pattern.
-
-
-
-
- Gets or sets a value indicating whether the matching process should ignore any casing difference.
-
-
-
-
- Contains a number of methods to assert that two objects differ in the expected way.
-
-
- You can use the and for a more fluent
- way of specifying a or a .
-
-
-
-
- Asserts that a occurs a specified amount of time before another .
-
-
- The to compare the subject with.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a occurs a specified amount of time after another .
-
-
- The to compare the subject with.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Provides the logic and the display text for a .
-
-
-
-
- Contains a number of methods to assert that an yields the expected result.
-
-
-
-
- Asserts that the current throws an exception of type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not throw an exception of type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not throw any exception.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the that is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the correct state.
-
-
-
-
- Asserts that the thrown exception has a message that matches
- depending on the specified matching mode.
-
-
- The expected message of the exception.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the thrown exception has a message that matches
- depending on the specified matching mode.
-
-
- The expected message of the exception.
-
-
- Determines how the expected message is compared with the actual message.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the thrown exception contains an inner exception of type .
-
- The expected type of the inner exception.
-
-
-
- Asserts that the thrown exception contains an inner exception of type .
-
- The expected type of the inner exception.
- The reason why the inner exception should be of the supplied type.
- The parameters used when formatting the .
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
- Determines how the expected message is compared with the actual message.
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
-
- The reason why the message of the inner exception should match .
-
- The parameters used when formatting the .
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
- Determines how the expected message is compared with the actual message.
-
- The reason why the message of the inner exception should match .
-
- The parameters used when formatting the .
-
-
-
- Asserts that the exception matches a particular condition.
-
-
- The condition that the exception must match.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Gets the exception object of the exception thrown.
-
-
-
-
- Provides methods for asserting that the execution time of an satifies certain conditions.
-
-
-
-
- Initializes a new instance of the class.
-
- The action of which the execution time must be asserted.
-
-
-
- Asserts that the execution time of the operation does not exceed a specified amount of time.
-
-
- The maximum allowed duration.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Provides methods for asserting that the execution time of an object member satifies certain conditions.
-
-
-
-
-
- Initializes a new instance of the class.
-
- The object that exposes the method or property.
- A reference to the method or property to measure the execution time of.
-
-
-
- Selection rule that adds all public properties of the subject as far as they are defined on the declared
- type.
-
-
-
-
- Represents a rule that defines which properties of the subject-under-test to include while comparing
- two objects for structural equality.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- Type info about the subject.
-
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Selection rule that adds all public properties of the subject based on its run-time type rather than its
- declared type.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- General purpose implementation of that uses a predicate to determine whether
- this rule applies to a particular property and executes an action to assert equality.
-
- The type of the subject.
-
-
-
- Defines how a subject's property is compared for equality with the same property of the expectation.
-
-
- Provides details about the subject's property.
-
-
- The value of the subject's property.
-
-
- The value of a property on expectation object that was identified
-
-
- Returns true if the rule was applied correctly and the assertion didn't cause any exceptions.
- Returns false if this rule doesn't support the subject's type.
- Throws if the rule did support the data type but assertion fails.
-
-
-
-
- Defines how a subject's property is compared for equality with the same property of the expectation.
-
-
- Provides details about the subject's property.
-
-
- The value of the subject's property.
-
-
- The value of a property on expectation object that was identified
-
-
- Returns true if the rule was applied correctly and the assertion didn't cause any exceptions.
- Returns false if this rule doesn't support the subject's type.
- Throws if the rule did support the data type but assertion fails.
-
-
-
-
- Provides the required information for executing an equality assertion between a subject and an expectation.
-
- The type of the subject.
-
-
-
- Gets the of the property that returned the current object, or null if the current
- object represents the root object.
-
-
-
-
- Gets the value of the
-
-
-
-
- Gets the value of the expectation object that was matched with the subject using a .
-
-
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Selection rule that removes a particular property from the structural comparison based on a predicate.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Provides details about the subject's root or nested property.
-
-
-
-
- Gets the of the property that returned the current object, or null if the current
- object represents the root object.
-
-
-
-
- Gets the full path from the root object until the current object separated by dots.
-
-
-
-
- Gets a display-friendly representation of the .
-
-
-
-
- Gets the compile-time type of the current object. If the current object is not the root object, then it returns the
- same as the property does.
-
-
-
-
- Gets the run-time type of the current object.
-
-
-
-
- Represents a selection context of a nested property
-
-
-
-
- Gets the of the property that returned the current object, or
- null if the current object represents the root object.
-
-
-
-
- Gets the full path from the root object until the current property, separated by dots.
-
-
-
-
- Gets a textual description of the current property based on the .
-
-
-
-
- Gets the compile-time type of the current object. If the current object is not the root object, then it returns the
- same as the property does.
-
-
-
-
- Gets the run-time type of the current object.
-
-
-
-
- Is responsible for the exact run-time behavior of a structural equality comparison.
-
- The type of the subject.
-
-
-
- Provides the run-time details of the class.
-
-
-
-
- Gets an ordered collection of selection rules that define what properties are included.
-
-
-
-
- Gets an ordered collection of matching rules that determine which subject properties are matched with which
- expectation properties.
-
-
-
-
- Gets an ordered collection of assertion rules that determine how subject properties are compared for equality with
- expectation properties.
-
-
-
-
- Gets or sets a value indicating whether or not the assertion must perform a deep comparison.
-
-
-
-
- Gets a configuration that compares all declared properties of the subject with equally named properties of the expectation,
- and includes the entire object graph. The names of the properties between the subject and expectation must match.
-
-
-
-
- Gets a configuration that by default doesn't include any of the subject's properties and doesn't consider any nested objects
- or collections.
-
-
-
-
- Adds all public properties of the subject as far as they are defined on the declared type.
-
-
-
-
- Adds all public properties of the subject based on its run-time type rather than its declared type.
-
-
-
-
- Tries to match the properties of the subject with equally named properties on the expectation. Ignores those
- properties that don't exist on the expectation.
-
-
-
-
- Requires the expectation to have properties which are equally named to properties on the subject.
-
-
-
-
-
- Excludes the specified (nested) property from the structural equality check.
-
-
-
-
- Excludes a (nested) property based on a predicate from the structural equality check.
-
-
-
-
- Includes the specified property in the equality check.
-
-
- This overrides the default behavior of including all declared properties.
-
-
-
-
- The assertion to execute when the predicate is met.
-
-
-
-
- Causes the structural equality check to include nested collections and complex types.
-
-
-
-
- Causes the structural equality check to ignore any cyclic references.
-
-
- By default, cyclic references within the object graph will cause an exception to be thrown.
-
-
-
-
- Clears all selection rules, including those that were added by default.
-
-
-
-
- Clears all matching rules, including those that were added by default.
-
-
-
-
- Adds a selection rule to the ones allready added by default and which is evaluated after all existing rules.
-
-
-
-
- Adds a matching rule to the ones allready added by default and which is evaluated before all existing rules.
-
-
-
-
- Adds a matching rule to the ones allready added by default and which is evaluated before all existing rules
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Gets an ordered collection of selection rules that define what properties are included.
-
-
-
-
- Gets an ordered collection of matching rules that determine which subject properties are matched with which
- expectation properties.
-
-
-
-
- Gets an ordered collection of assertion rules that determine how subject properties are compared for equality with
- expectation properties.
-
-
-
-
- Gets value indicating whether the equality check will include nested collections and complex types.
-
-
-
-
- Gets value indicating how cyclic references should be handled. By default, it will throw an exception.
-
-
-
-
- Defines additional overrides when used with
-
-
-
-
- Allows overriding the way structural equality is applied to (nested) objects of tyoe
-
-
-
-
- Allows overriding the way structural equality is applied to particular properties.
-
-
- A predicate based on the of the subject that is used to identify the property for which the
- override applies.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Indication of how cyclic references should be handled when validating equality of nested properties.
-
-
-
-
- Cyclic references will be ignored.
-
-
-
-
- Cyclic references will result in an exception.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Selection rule that removes a particular property from the structural comparison.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Represents a rule that defines how to map the properties from the subject-under-test with the properties
- on the expectation object.
-
-
-
-
- Attempts to find a property on the expectation that should be compared with the
- during a structural equality.
-
-
- Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue,
- simply return null.
-
-
- The of the subject's property for which a match must be found. Can never
- be null.
-
-
- The expectation object for which a matching property must be returned. Can never be null.
-
-
- The dotted path from the root object to the current property. Will never be null.
-
-
- Returns the of the property with which to compare the subject with, or null
- if no match was found.
-
-
-
-
- Selection rule that includes a particular property in the structural comparison.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Provides information on a particular property during an assertion for structural equality of two object graphs.
-
-
-
-
- Gets the property of the that was matched against the ,
- or null if is true.
-
-
-
-
- Gets the value of the .
-
-
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a verification object associated with the current and .
-
-
-
-
- Gets a value indicating whether the current context represents the root of the object graph.
-
-
-
-
- Gets the value of the
-
-
-
-
- Requires the expectation object to have a property with the exact same name.
-
-
-
-
- Attempts to find a property on the expectation that should be compared with the
- during a structural equality.
-
-
- Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue,
- simply return null.
-
-
- The of the subject's property for which a match must be found. Can never
- be null.
-
-
- The expectation object for which a matching property must be returned. Can never be null.
-
-
- The dotted path from the root object to the current property. Will never be null.
-
-
- Returns the of the property with which to compare the subject with, or null
- if no match was found.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Provides methods for selecting one or more properties of an object and comparing them with another object.
-
-
-
-
- Includes all properties of when comparing the subject with another object using .
-
-
-
-
- Includes all properties of including those of the run-time type when comparing the subject
- with another object using .
-
-
-
-
- Includes all properties of when comparing the subject with another object using ,
- except those that the other object does not have.
-
-
-
-
- Perform recursive property comparison of the child properties for objects that are of incompatible type.
-
-
- Indication of how cyclic references in the nested properties should be handled. By default this will result in an
- exception, but if is specified, cyclic references will just be ignored.
-
-
-
-
- Includes all properties of when comparing the subject with another object using ,
- except those specified using a property expression.
-
- A single property expression to exclude.
- Optional list of additional property expressions to exclude.
-
-
-
- Excludes the properties specified by the from the comparison.
-
- A single property expression to exclude.
- Optional list of additional property expressions to exclude.
-
-
-
- Includes only those properties of when comparing the subject with another object using
- that were specified using a property expression.
-
- A single property expression to include.
- Optional list of additional property expressions to include.
-
-
-
- Asserts that the previously selected properties of have the same value as the equally named
- properties of .
-
- The object to compare the current object with
-
- Property values are considered equal if, after converting them to the requested type, calling
- returns true.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Gets the of the property that returned the current object, or
- null if the current object represents the root object.
-
-
-
-
- Gets the full path from the root object until the current property, separated by dots.
-
-
-
-
- Gets a textual description of the current property based on the .
-
-
-
-
- Gets the value of the
-
-
-
-
- Gets the property of the that was matched against the ,
- or null if is true.
-
-
-
-
- Gets the value of the .
-
-
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a value indicating whether the current context represents the root of the object graph.
-
-
-
-
- Gets the compile-time type of the current object. If the current object is not the root object, then it returns the
- same as the property does.
-
-
-
-
- Gets the run-time type of the current object.
-
-
-
-
- Gets a verification object associated with the current and .
-
-
-
-
- Is responsible for validating the equality of one or more properties of a subject with another object.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Finds a property of the expectation with the exact same name, but doesn't require it.
-
-
-
-
- Attempts to find a property on the expectation that should be compared with the
- during a structural equality.
-
-
- Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue,
- simply return null.
-
-
- The of the subject's property for which a match must be found. Can never
- be null.
-
-
- The expectation object for which a matching property must be returned. Can never be null.
-
-
- The dotted path from the root object to the current property. Will never be null.
-
-
- Returns the of the property with which to compare the subject with, or null
- if no match was found.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Extension methods on to allow for a more fluent way of specifying a .
-
-
- Instead of
-
- TimeSpan.FromHours(12)
-
- you can write
-
- 12.Hours()
-
- Or even
-
- 12.Hours().And(30.Minutes()).
-
-
-
-
-
- Returns a based on a number of milliseconds.
-
-
-
-
- Returns a based on a number of seconds.
-
-
-
-
- Returns a based on a number of seconds, and add the specified
- .
-
-
-
-
- Returns a based on a number of minutes.
-
-
-
-
- Returns a based on a number of minutes, and add the specified
- .
-
-
-
-
- Returns a based on a number of hours.
-
-
-
-
- Returns a based on a number of hours, and add the specified
- .
-
-
-
-
- Returns a based on a number of days.
-
-
-
-
- Returns a based on a number of days, and add the specified
- .
-
-
-
-
- Convenience method for chaining multiple calls to the methods provided by this class.
-
-
- 23.Hours().And(59.Minutes())
-
-
-
-
- Extension methods for getting method and property selectors for a type.
-
-
-
-
- Returns the types that are visible outside the specified .
-
-
-
-
- Returns a method selector for the current .
-
-
-
-
- Returns a method selector for the current .
-
-
-
-
- Returns a property selector for the current .
-
-
-
-
- Returns a property selector for the current .
-
-
-
-
- Static class that allows for a 'fluent' selection of the types from an .
-
-
- AllTypes.From(myAssembly)
- .ThatImplement<ISomeInterface>
- .Should()
- .BeDecoratedWith<SomeAttribute>()
-
-
-
-
- Returns a for selecting the types that are visible outside the
- specified .
-
- The assembly from which to select the types.
-
-
-
- Contains assertions for the objects returned by the parent .
-
-
-
-
- Initializes a new instance of the class.
-
- The method to assert.
-
-
-
- Initializes a new instance of the class.
-
- The methods to assert.
-
-
-
- Asserts that the selected methods are virtual.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the selected methods are decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Allows for fluent selection of methods of a type through reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The type from which to select methods.
-
-
-
- Initializes a new instance of the class.
-
- The types from which to select methods.
-
-
-
- Only select the methods that return the specified type
-
-
-
-
- Only select the methods that are decorated with an attribute of the specified type.
-
-
-
-
- The resulting objects.
-
-
-
-
- Determines whether the specified method has a special name (like properties and events).
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
- 1
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
- 2
-
-
-
- Only select the methods that are public or internal.
-
-
-
-
- Only select the methods without a return value
-
-
-
-
- Contains assertions for the objects returned by the parent .
-
-
-
-
- Initializes a new instance of the class, for a single .
-
- The property to assert.
-
-
-
- Initializes a new instance of the class, for a number of objects.
-
- The properties to assert.
-
-
-
- Asserts that the selected properties are virtual.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the selected methods are decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Allows for fluent selection of properties of a type through reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The type from which to select properties.
-
-
-
- Initializes a new instance of the class.
-
- The types from which to select properties.
-
-
-
- Only select the properties that are decorated with an attribute of the specified type.
-
-
-
-
- Only select the properties that return the specified type
-
-
-
-
- The resulting objects.
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
- 1
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
- 2
-
-
-
- Only select the properties that have a public or internal getter.
-
-
-
-
- Contains a number of methods to assert that a meets certain expectations.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current type is equal to the specified type.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current type is equal to the specified type.
-
- The expected type
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Creates an error message in case the specifed type differs from the
- type.
-
-
- An empty if the two specified types are the same, or an error message that describes that
- the two specified types are not the same.
-
-
-
-
- Asserts that the current type is not equal to the specified type.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current type is not equal to the specified type.
-
- The unexpected type
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is decorated with an attribute of type
- that matches the specified .
-
-
- The predicate that the attribute must match.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Allows for fluent filtering a list of types.
-
-
-
-
- The resulting objects.
-
-
-
-
- Determines whether a type is a subclass of another type, but NOT the same type.
-
-
-
-
- Determines whether a type implements an interface (but is not the interface itself).
-
-
-
-
- Determines whether a type is decorated with a particular attribute.
-
-
-
-
- Determines whether the namespace of type is exactly .
-
-
-
-
- Determines whether the namespace of type is starts with .
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
- 1
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
- 2
-
-
-
- Contains a number of methods to assert that all s in a
- meet certain expectations.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current is decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is decorated with an attribute of type
- that matches the specified .
-
-
- The predicate that the attribute must match.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current equals the attribute.
-
- The expected attribute
-
-
-
- Asserts that the current equals the attribute.
-
- The expected attribute
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not equal the attribute,
- using its implementation.
-
- The unexpected attribute
-
-
-
- Asserts that the current does not equal the attribute,
- using its implementation.
-
- The unexpected attribute
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is null.
-
-
-
-
- Asserts that the is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the is not null.
-
-
-
-
- Asserts that the is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the current has the specified value.
-
- The expected value
-
-
-
- Asserts that the current has the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current equals the document,
- using its implementation.
-
- The expected document
-
-
-
- Asserts that the current equals the document,
- using its implementation.
-
- The expected document
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not equal the document,
- using its implementation.
-
- The unexpected document
-
-
-
- Asserts that the current does not equal the document,
- using its implementation.
-
- The unexpected document
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is null.
-
-
-
-
- Asserts that the is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the is not null.
-
-
-
-
- Asserts that the is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the current has a root element with the specified
- name.
-
- The name of the expected root element of the current document.
-
-
-
- Asserts that the current has a root element with the specified
- name.
-
- The name of the expected root element of the current document.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the element of the current has a direct
- child element with the specified name.
-
-
- The name of the expected child element of the current document's Root element.
-
-
-
-
- Asserts that the element of the current has a direct
- child element with the specified name.
-
-
- The name of the expected child element of the current document's Root element.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current equals the element.
-
- The expected element
-
-
-
- Asserts that the current equals the element.
-
- The expected element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not equal the element,
- using its implementation.
-
- The unexpected element
-
-
-
- Asserts that the current does not equal the element,
- using its implementation.
-
- The unexpected element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is null.
-
-
-
-
- Asserts that the is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the is not null.
-
-
-
-
- Asserts that the is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the current has an attribute with the specified
- and .
-
- The name of the expected attribute
- The value of the expected attribute
-
-
-
- Asserts that the current has an attribute with the specified
- and .
-
- The name of the expected attribute
- The value of the expected attribute
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has a direct child element with the specified
- name.
-
- The name of the expected child element
-
-
-
- Asserts that the current has a direct child element with the specified
- name.
-
- The name of the expected child element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
diff --git a/packages/FluentAssertions.2.0.0.1/lib/net45/FluentAssertions.dll b/packages/FluentAssertions.2.0.0.1/lib/net45/FluentAssertions.dll
deleted file mode 100644
index b7b13470..00000000
Binary files a/packages/FluentAssertions.2.0.0.1/lib/net45/FluentAssertions.dll and /dev/null differ
diff --git a/packages/FluentAssertions.2.0.0.1/lib/net45/FluentAssertions.pdb b/packages/FluentAssertions.2.0.0.1/lib/net45/FluentAssertions.pdb
deleted file mode 100644
index 94c6c0a3..00000000
Binary files a/packages/FluentAssertions.2.0.0.1/lib/net45/FluentAssertions.pdb and /dev/null differ
diff --git a/packages/FluentAssertions.2.0.0.1/lib/net45/FluentAssertions.xml b/packages/FluentAssertions.2.0.0.1/lib/net45/FluentAssertions.xml
deleted file mode 100644
index 1d7a6f62..00000000
--- a/packages/FluentAssertions.2.0.0.1/lib/net45/FluentAssertions.xml
+++ /dev/null
@@ -1,5802 +0,0 @@
-
-
-
- FluentAssertions
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Contains extension methods for custom assertions in unit tests.
-
-
-
-
- Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow
- overloads.
-
-
-
-
- Provides methods for asserting the execution time of a method or property.
-
- The object that exposes the method or property.
- A reference to the method or property to measure the execution time of.
-
- Returns an object for asserting that the execution time matches certain conditions.
-
-
-
-
- Provides methods for asserting the execution time of a method or property.
-
- A reference to the method or property to measure the execution time of.
-
- Returns an object for asserting that the execution time matches certain conditions.
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Asserts that the throws an exception.
-
- A reference to the method or property.
-
- The type of the exception it should throw.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- Returns an object that allows asserting additional members of the thrown exception.
-
-
-
-
- Asserts that the throws an exception.
-
- A reference to the method or property.
-
- The type of the exception it should throw.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- Returns an object that allows asserting additional members of the thrown exception.
-
-
-
-
- Asserts that the does not throw a particular exception.
-
- The current method or property.
-
- The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the does not throw any exception at all.
-
- The current method or property.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Forces enumerating a collection. Should be used to assert that a method that uses the
- yield keyword throws a particular exception.
-
-
-
-
- Forces enumerating a collection. Should be used to assert that a method that uses the
- yield keyword throws a particular exception.
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns a object that can be used to assert the
- current .
-
-
-
-
- Returns a object that can be used to assert the
- current .
-
-
-
-
- Returns a object that can be used to assert the current .
-
-
-
-
-
- Returns a object that can be used to assert the methods returned by the
- current .
-
-
-
-
-
- Returns a object that can be used to assert the
- current .
-
-
-
-
-
- Returns a object that can be used to assert the properties returned by the
- current .
-
-
-
-
-
- Asserts that the properties of an object matches those of another object.
-
-
-
-
- Asserts that an object is equivalent to another object.
-
-
- Objects are equivalent when both object graphs have equally named properties with the same value,
- irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal.
- The type of a collection property is ignored as long as the collection implements and all
- items in the collection are structurally equal.
- Notice that actual behavior is determined by the instance of the
- class.
-
-
- An optional formatted phrase as is supported by explaining why the
- assertion is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that an object is equivalent to another object.
-
-
- Objects are equivalent when both object graphs have equally named properties with the same value,
- irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal.
- The type of a collection property is ignored as long as the collection implements and all
- items in the collection are structurally equal.
-
-
- A reference to the configuration object that can be used
- to influence the way the object graphs are compared. You can also provide an alternative instance of the
- class.
-
-
- An optional formatted phrase as is supported by explaining why the
- assertion is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Safely casts the specified object to the type specified through .
-
-
- Has been introduced to allow casting objects without breaking the fluent API.
-
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Contains a number of methods to assert that a reference type object is in the expected state.
-
-
-
-
- Asserts that the object is of the specified type .
-
- The expected type of the object.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the object is assignable to a variable of type .
-
- The type to which the object should be assignable.
- The reason why the object should be assignable to the type.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the is satisfied.
-
- The predicate which must be statisfied by the .
- The reason why the predicate should be satisfied.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the is satisfied.
-
- The predicate which must be statisfied by the .
- The reason why the predicate should be satisfied.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Asserts that the number of items in the collection matches the supplied amount.
-
- The expected number of items in the collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the collection matches a condition stated by the .
-
- A predicate that yields the number of items that is expected to be in the collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection contains at least 1 item.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any duplicate items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any null items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
- A params array with the expected elements.
-
-
-
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection not to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
- An with the elements that are not expected.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
- A params array with the expected elements.
-
-
-
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection not to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
- An with the unexpected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection only contains items that are assignable to the type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain the specified elements in any order. Elements are compared
- using their implementation.
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain the specified elements in the exact same order. Elements are compared
- using their implementation.
-
- An with the expected elements.
-
-
-
- Expects the current collection to contain the specified elements in the exact same order. Elements are compared
- using their implementation.
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to have all elements in ascending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to have all elements in descending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to have all elements in the specified .
- Elements are compared using their implementation.
-
-
-
-
- Asserts the current collection does not have all elements in ascending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts the current collection does not have all elements in descending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts the current collection does not have all elements in ascending order. Elements are compared
- using their implementation.
-
-
-
-
- Asserts that the collection is a subset of the .
-
- An with the expected superset.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection is not a subset of the .
-
- An with the unexpected superset.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Assert that the current collection has the same number of elements as .
-
- The other collection with the same expected number of elements
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has not been initialized yet with an actual collection.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has been initialized with an actual collection.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has the supplied at the
- supplied .
-
- The index where the element is expected
- The expected element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection does not contain the supplied item.
-
- The element that is not expected to be in the collection
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection shares one or more items with the specified .
-
- The with the expected shared items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not share any items with the specified .
-
- The to compare to.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expectation state.
-
-
-
-
- Asserts that two collections contain the same items in the same order, where equality is determined using a
- predicate.
-
-
- The collection to compare the subject with.
-
-
- A predicate the is used to determine whether two objects should be treated as equal.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection contains the specified item.
-
- The expectation item.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection contains some extra items in addition to the original items.
-
- An of expectation items.
- Additional items that are expectation to be contained by the collection.
-
-
-
- Asserts that the collection contains at least one item that matches the predicate.
-
- A predicate to match the items in the collection against.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection only contains items that match a predicate.
-
- A predicate to match the items in the collection against.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection does not contain any items that match the predicate.
-
- A predicate to match the items in the collection against.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Expects the current collection to contain only a single item matching the specified .
-
- The predictes that will be used to find the matching items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the current dictionary has not been initialized yet with an actual dictionary.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary has been initialized with an actual dictionary.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the dictionary matches the supplied amount.
-
- The expected number of items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the dictionary matches a condition stated by a predicate.
-
- The predicate which must be statisfied by the amount of items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary does not contain any items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains at least 1 item.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary contains all the same key-value pairs as the
- specified dictionary. Keys and values are compared using
- their implementation.
-
- The expected dictionary
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts the current dictionary not to contain all the same key-value pairs as the
- specified dictionary. Keys and values are compared using
- their implementation.
-
- The unexpected dictionary
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains the specified key. Keys are compared using
- their implementation.
-
- The expected key
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains all of the specified keys. Keys are compared using
- their implementation.
-
- The expected keys
-
-
-
- Asserts that the dictionary contains all of the specified keys. Keys are compared using
- their implementation.
-
- The expected keys
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified key.
- Keys are compared using their implementation.
-
- The unexpected key
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains the specified value. Values are compared using
- their implementation.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains all of the specified values. Values are compared using
- their implementation.
-
- The expected values
-
-
-
- Asserts that the dictionary contains all of the specified values. Values are compared using
- their implementation.
-
- The expected values
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified value.
- Values are compared using their implementation.
-
- The unexpected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary contains the specified .
- Keys and values are compared using their implementation.
-
- The expected
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation.
-
- The key for which to validate the value
- The value to validate
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified .
- Keys and values are compared using their implementation.
-
- The unexpected
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified for the
- supplied . Values are compared using their implementation.
-
- The key for which to validate the value
- The value to validate
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the current collection contains the specified object. Elements are compared
- using their implementation.
-
- An object, or of objects that are expected to be in the collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a dotted path of property names representing the property expression. E.g. Parent.Child.Sibling.Name.
-
-
-
-
- Finds the first index at which the does not match the
- string anymore, including the exact casing.
-
-
-
-
- Finds the first index at which the does not match the
- string anymore, accounting for the specified .
-
-
-
-
- Gets the quoted three characters at the specified index of a string, including the index itself.
-
-
-
-
- Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts.
-
-
-
-
- Joins a string with one or more other strings using a specified separator.
-
-
- Any string that is empty (including the original string) is ignored.
-
-
-
-
- Determines whether two objects refer to the same property.
-
-
-
-
- Finds the property by a case-sensitive name.
-
-
- Returns null if no such property exists.
-
-
-
-
- Determines whether the specified method has been annotated with a specific attribute.
-
-
- true if the specified method has attribute; otherwise, false.
-
-
-
-
- Provides extension methods for monitoring and querying events.
-
-
-
-
- Starts monitoring an object for its events.
-
- Thrown if eventSource is Null.
-
-
-
- Asserts that an object has raised a particular event at least once.
-
- The object exposing the event.
- The name of the event that should have been raised.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has raised a particular event at least once.
-
- The object exposing the event.
-
- The name of the event that should have been raised.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has not raised a particular event.
-
- The object exposing the event.
-
- The name of the event that should not be raised.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has not raised a particular event.
-
- The object exposing the event.
-
- The name of the event that should not be raised.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has raised the event for a particular property.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has raised the event for a particular property.
-
- The object exposing the event.
-
- A lambda expression referring to the property for which the property changed event should have been raised, or
- null to refer to all properties.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has not raised the event for a particular property.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has not raised the event for a particular property.
-
- The object exposing the event.
-
- A lambda expression referring to the property for which the property changed event should have been raised.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that all occurences of the event originated from the .
-
-
-
-
- Asserts that at least one occurrence of the event had an object matching a predicate.
-
-
-
-
- Static methods that aid in generic event subscription
-
-
-
-
- Generates an eventhandler for an event of type eventSignature that calls RegisterEvent on recorder
- when invoked.
-
-
-
-
- Finds the Return Type of a Delegate.
-
-
-
-
- Returns an Array of Types that make up a delegate's parameter signature.
-
-
-
-
- Returns an array of types appended with an EventRecorder reference at the beginning.
-
-
-
-
- Returns T/F Dependent on a Type Being a Delegate.
-
-
-
-
- Returns the MethodInfo for the Delegate's "Invoke" Method.
-
-
-
-
- Records activity for a single event.
-
-
-
-
- Records raised events for one event on one object
-
-
-
-
- Store information about a raised event
-
- Parameters the event was raised with
-
-
-
- The object events are recorded from
-
-
-
-
- The name of the event that's recorded
-
-
-
-
-
- The object events are recorded from
- The name of the event that's recorded
-
-
-
- Enumerate raised events
-
-
-
-
- Enumerate raised events
-
-
-
-
-
- Called by the auto-generated IL, to record information about a raised event.
-
-
-
-
- The object events are recorded from
-
-
-
-
- The name of the event that's recorded
-
-
-
-
- Simple dictionary that uses a to the event source as the key.
- This should ensure the Garbage Collector can still clean-up the event source object.
-
-
-
-
- This class is used to store data about an intercepted event
-
-
-
-
- Default constructor stores the parameters the event was raised with
-
-
-
-
- Parameters for the event
-
-
-
-
- Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure.
-
-
-
-
- Gets an object that wraps and executes a conditional or unconditional verification.
-
-
-
-
- Throws a generic exception in case no other test harness is detected.
-
-
-
-
- Represents an abstraction of a particular test framework such as MSTest, nUnit, etc.
-
-
-
-
- Throws a framework-specific exception to indicate a failing unit test.
-
-
-
-
- Gets a value indicating whether the corresponding test framework is currently available.
-
-
-
-
- Throws a framework-specific exception to indicate a failing unit test.
-
-
-
-
- Gets a value indicating whether the corresponding test framework is currently available.
-
-
-
-
- Throws a framework-specific exception to indicate a failing unit test.
-
-
-
-
- Gets a value indicating whether the corresponding test framework is currently available.
-
-
-
-
- Provides a fluent API for verifying an arbitrary condition.
-
-
-
-
- Represents the phrase that can be used in as a placeholder for the reason of an assertion.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the name or identifier of the current subject, or a default value if the subject is not known.
-
-
-
-
- Specify the condition that must be satisfied.
-
- If true the verification will be succesful.
-
-
-
- Specify a predicate that with the condition that must be satisfied.
-
-
-
-
- Specify the reason why you expect the condition to be true.
-
-
- A formatted phrase explaining why the condition should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Define the failure message for the verification.
-
-
- If the contains the text "{reason}", this will be replaced by the reason as
- defined through . Only 10 are supported in combination with
- a {reason}.
-
- The format string that represents the failure message.
- Optional arguments for the
-
-
-
- Indicates that every argument passed into is displayed on a separate line.
-
-
-
-
- Gets or sets the name of the subject for the next verification.
-
-
-
-
- Extension methods on to allow for a more fluent way of specifying a .
-
-
- Instead of
-
- new DateTime(2011, 3, 10)
-
- you can write 3.March(2011)
-
- Or even
-
- 3.March(2011).At(09, 30)
-
-
-
-
-
- Returns a new value for the specified and
- in the month January.
-
-
-
-
- Returns a new value for the specified and
- in the month February.
-
-
-
-
- Returns a new value for the specified and
- in the month March.
-
-
-
-
- Returns a new value for the specified and
- in the month April.
-
-
-
-
- Returns a new value for the specified and
- in the month May.
-
-
-
-
- Returns a new value for the specified and
- in the month June.
-
-
-
-
- Returns a new value for the specified and
- in the month July.
-
-
-
-
- Returns a new value for the specified and
- in the month August.
-
-
-
-
- Returns a new value for the specified and
- in the month September.
-
-
-
-
- Returns a new value for the specified and
- in the month October.
-
-
-
-
- Returns a new value for the specified and
- in the month November.
-
-
-
-
- Returns a new value for the specified and
- in the month December.
-
-
-
-
- Returns a new value for the specified and .
-
-
-
-
- Returns a new value for the specified and time with the specified
- , and optionally .
-
-
-
-
- Returns a new value that is the current before the
- specified .
-
-
-
-
- Returns a new value that is the current after the
- specified .
-
-
-
-
- Specialized value formatter that looks for static methods in the caller's assembly marked with the
- .
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Determines whether this instance can handle the specified value.
-
- The value.
-
- true if this instance can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Provides services for formatting an object being used in an assertion in a human readable format.
-
-
-
-
- A list of objects responsible for formatting the objects represented by placeholders.
-
-
-
-
- Returns a human-readable representation of a particular object.
-
- The value for which to create a .
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- Indicates whether the formatter should use line breaks when the specific supports it.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Marks a static method as a kind of for a particular type.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Contains a number of extension methods for floating point .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the subject is considered equal to another object according to the implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is not equal to another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is less than another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is less than or equal to another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is greater than another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is greater than or equal to another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a value is within a range.
-
-
- Where the range is continuous or incremental depends on the actual type of the value.
-
-
- The minimum valid value of the range.
-
-
- The maximum valid value of the range.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the integral number value is exactly the same as the value.
-
- The expected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the integral number value is exactly the same as the value.
-
- The expected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the integral number value is not the same as the value.
-
- The unexpected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the integral number value is not the same as the value.
-
- The unexpected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is greater than or equal to zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is less than zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is less than the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is less than or equal to the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is greater than the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is greater than or equal to the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a value is within a range.
-
-
- Where the range is continuous or incremental depends on the actual type of the value.
-
-
- The minimum valid value of the range.
-
-
- The maximum valid value of the range.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a value is one of the specified .
-
-
- The values that are valid.
-
-
-
-
- Asserts that a value is one of the specified .
-
-
- The values that are valid.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a is in the expected state.
-
-
-
-
- Asserts that the value is false.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is true.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Defines the way compares the expected exception
- message with the actual one.
-
-
-
-
- The message must match exactly, including the casing of the characters.
-
-
-
-
- The message must match except for the casing of the characters.
-
-
-
-
- The message must start with the exact text, including the casing of the characters..
-
-
-
-
- The message must start with the text except for the casing of the characters.
-
-
-
-
- The message must contain the exact text.
-
-
-
-
- The message must contain the text except for the casing of the characters.
-
-
-
-
- The message must match a wildcard pattern consisting of ordinary characters as well as * and ?.
-
-
-
-
- Contains a number of methods to assert that a is in the expected state.
-
-
- You can use the for a more fluent way of specifying a .
-
-
-
-
- Asserts that the current is exactly equal to the value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is not equal to the value.
-
- The unexpected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is within the specified number of milliseconds (default = 20 ms)
- from the specified value.
-
-
- Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime,
- use .
-
-
- The expected time to compare the actual value with.
-
-
- The maximum amount of milliseconds which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is before the specified value.
-
- The that the current value is expected to be before.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is either on, or before the specified value.
-
- The that the current value is expected to be on or before.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is after the specified value.
-
- The that the current value is expected to be after.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is either on, or after the specified value.
-
- The that the current value is expected to be on or after.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the year.
-
- The expected year of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the month.
-
- The expected month of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the day.
-
- The expected day of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the hour.
-
- The expected hour of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the minute.
-
- The expected minutes of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the second.
-
- The expected seconds of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Returns a object that can be used to assert that the current
- exceeds the specified compared to another .
-
-
- The amount of time that the current should exceed compared to another .
-
-
-
-
- Returns a object that can be used to assert that the current
- is equal to or exceeds the specified compared to another .
-
-
- The amount of time that the current should be equal or exceed compared to
- another .
-
-
-
-
- Returns a object that can be used to assert that the current
- differs exactly the specified compared to another .
-
-
- The amount of time that the current should differ exactly compared to another .
-
-
-
-
- Returns a object that can be used to assert that the current
- is within the specified compared to another .
-
-
- The amount of time that the current should be within another .
-
-
-
-
- Returns a object that can be used to assert that the current
- differs at maximum the specified compared to another .
-
-
- The maximum amount of time that the current should differ compared to another .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that a is in the correct state.
-
-
-
-
- Asserts that the is .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is not .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is equal to the GUID.
-
- The expected value to compare the actual value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is equal to the GUID.
-
- The expected value to compare the actual value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is not equal to the GUID.
-
- The unexpected value to compare the actual value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
-
-
- Asserts that a nullable boolean value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable boolean value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
- You can use the for a more fluent way of specifying a .
-
-
-
-
- Asserts that a nullable value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
-
-
- Asserts that a nullable value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
- You can use the for a more fluent way of specifying a .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
-
-
- Asserts that the time difference of the current is greater than zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is less than zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is equal to the
- specified time.
-
- The expected time difference
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is not equal to the
- specified time.
-
- The unexpected time difference
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is less than the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is less than or equal to the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is greater than the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is greater than or equal to the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Asserts that a nullable value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that an object equals another object using its implementation.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that an object does not equal another object using it's method.
-
- The unexpected value
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object reference refers to the exact same object as another object reference.
-
- The expected object
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object reference refers to a different object than another object reference refers to.
-
- The unexpected object
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the object is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the object is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object can be serialized and deserialized using the binary serializer and that it stills retains
- the values of all properties.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that an object can be serialized and deserialized using the XML serializer and that it stills retains
- the values of all properties.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace.
-
- The expected string.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is one of the specified .
-
-
- The values that are valid.
-
-
-
-
- Asserts that the is one of the specified .
-
-
- The values that are valid.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
- the exception of the casing.
-
-
- The string that the subject is expected to be equivalent to.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is not exactly the same as the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is not expected to be equivalent to.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string starts exactly with the specified value,
- including the casing and any leading or trailing whitespace.
-
- The string that the subject is expected to start with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string starts with the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is expected to start with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string ends exactly with the specified ,
- including the casing and any leading or trailing whitespace.
-
- The string that the subject is expected to end with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string ends with the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is expected to end with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string contains another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should contain.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string contains the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is expected to contain.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not contain another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should not contain.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not contain the specified string,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is not expected to contain.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is not .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string has the specified length.
-
- The expected length of the string
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is neither null nor .
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a string is either null or .
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a string is neither null nor nor white space
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a string is either null or or white space
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Dedicated class for comparing two strings and generating consistent error messages.
-
-
-
-
- Gets or sets a value indicating whether the subject should not match the pattern.
-
-
-
-
- Gets or sets a value indicating whether the matching process should ignore any casing difference.
-
-
-
-
- Contains a number of methods to assert that two objects differ in the expected way.
-
-
- You can use the and for a more fluent
- way of specifying a or a .
-
-
-
-
- Asserts that a occurs a specified amount of time before another .
-
-
- The to compare the subject with.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a occurs a specified amount of time after another .
-
-
- The to compare the subject with.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Provides the logic and the display text for a .
-
-
-
-
- Contains a number of methods to assert that an yields the expected result.
-
-
-
-
- Asserts that the current throws an exception of type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not throw an exception of type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not throw any exception.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the that is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the correct state.
-
-
-
-
- Asserts that the thrown exception has a message that matches
- depending on the specified matching mode.
-
-
- The expected message of the exception.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the thrown exception has a message that matches
- depending on the specified matching mode.
-
-
- The expected message of the exception.
-
-
- Determines how the expected message is compared with the actual message.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the thrown exception contains an inner exception of type .
-
- The expected type of the inner exception.
-
-
-
- Asserts that the thrown exception contains an inner exception of type .
-
- The expected type of the inner exception.
- The reason why the inner exception should be of the supplied type.
- The parameters used when formatting the .
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
- Determines how the expected message is compared with the actual message.
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
-
- The reason why the message of the inner exception should match .
-
- The parameters used when formatting the .
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
- Determines how the expected message is compared with the actual message.
-
- The reason why the message of the inner exception should match .
-
- The parameters used when formatting the .
-
-
-
- Asserts that the exception matches a particular condition.
-
-
- The condition that the exception must match.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Gets the exception object of the exception thrown.
-
-
-
-
- Provides methods for asserting that the execution time of an satifies certain conditions.
-
-
-
-
- Initializes a new instance of the class.
-
- The action of which the execution time must be asserted.
-
-
-
- Asserts that the execution time of the operation does not exceed a specified amount of time.
-
-
- The maximum allowed duration.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Provides methods for asserting that the execution time of an object member satifies certain conditions.
-
-
-
-
-
- Initializes a new instance of the class.
-
- The object that exposes the method or property.
- A reference to the method or property to measure the execution time of.
-
-
-
- Selection rule that adds all public properties of the subject as far as they are defined on the declared
- type.
-
-
-
-
- Represents a rule that defines which properties of the subject-under-test to include while comparing
- two objects for structural equality.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- Type info about the subject.
-
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Selection rule that adds all public properties of the subject based on its run-time type rather than its
- declared type.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- General purpose implementation of that uses a predicate to determine whether
- this rule applies to a particular property and executes an action to assert equality.
-
- The type of the subject.
-
-
-
- Defines how a subject's property is compared for equality with the same property of the expectation.
-
-
- Provides details about the subject's property.
-
-
- The value of the subject's property.
-
-
- The value of a property on expectation object that was identified
-
-
- Returns true if the rule was applied correctly and the assertion didn't cause any exceptions.
- Returns false if this rule doesn't support the subject's type.
- Throws if the rule did support the data type but assertion fails.
-
-
-
-
- Defines how a subject's property is compared for equality with the same property of the expectation.
-
-
- Provides details about the subject's property.
-
-
- The value of the subject's property.
-
-
- The value of a property on expectation object that was identified
-
-
- Returns true if the rule was applied correctly and the assertion didn't cause any exceptions.
- Returns false if this rule doesn't support the subject's type.
- Throws if the rule did support the data type but assertion fails.
-
-
-
-
- Provides the required information for executing an equality assertion between a subject and an expectation.
-
- The type of the subject.
-
-
-
- Gets the of the property that returned the current object, or null if the current
- object represents the root object.
-
-
-
-
- Gets the value of the
-
-
-
-
- Gets the value of the expectation object that was matched with the subject using a .
-
-
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Selection rule that removes a particular property from the structural comparison based on a predicate.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Provides details about the subject's root or nested property.
-
-
-
-
- Gets the of the property that returned the current object, or null if the current
- object represents the root object.
-
-
-
-
- Gets the full path from the root object until the current object separated by dots.
-
-
-
-
- Gets a display-friendly representation of the .
-
-
-
-
- Gets the compile-time type of the current object. If the current object is not the root object, then it returns the
- same as the property does.
-
-
-
-
- Gets the run-time type of the current object.
-
-
-
-
- Represents a selection context of a nested property
-
-
-
-
- Gets the of the property that returned the current object, or
- null if the current object represents the root object.
-
-
-
-
- Gets the full path from the root object until the current property, separated by dots.
-
-
-
-
- Gets a textual description of the current property based on the .
-
-
-
-
- Gets the compile-time type of the current object. If the current object is not the root object, then it returns the
- same as the property does.
-
-
-
-
- Gets the run-time type of the current object.
-
-
-
-
- Is responsible for the exact run-time behavior of a structural equality comparison.
-
- The type of the subject.
-
-
-
- Provides the run-time details of the class.
-
-
-
-
- Gets an ordered collection of selection rules that define what properties are included.
-
-
-
-
- Gets an ordered collection of matching rules that determine which subject properties are matched with which
- expectation properties.
-
-
-
-
- Gets an ordered collection of assertion rules that determine how subject properties are compared for equality with
- expectation properties.
-
-
-
-
- Gets or sets a value indicating whether or not the assertion must perform a deep comparison.
-
-
-
-
- Gets a configuration that compares all declared properties of the subject with equally named properties of the expectation,
- and includes the entire object graph. The names of the properties between the subject and expectation must match.
-
-
-
-
- Gets a configuration that by default doesn't include any of the subject's properties and doesn't consider any nested objects
- or collections.
-
-
-
-
- Adds all public properties of the subject as far as they are defined on the declared type.
-
-
-
-
- Adds all public properties of the subject based on its run-time type rather than its declared type.
-
-
-
-
- Tries to match the properties of the subject with equally named properties on the expectation. Ignores those
- properties that don't exist on the expectation.
-
-
-
-
- Requires the expectation to have properties which are equally named to properties on the subject.
-
-
-
-
-
- Excludes the specified (nested) property from the structural equality check.
-
-
-
-
- Excludes a (nested) property based on a predicate from the structural equality check.
-
-
-
-
- Includes the specified property in the equality check.
-
-
- This overrides the default behavior of including all declared properties.
-
-
-
-
- The assertion to execute when the predicate is met.
-
-
-
-
- Causes the structural equality check to include nested collections and complex types.
-
-
-
-
- Causes the structural equality check to ignore any cyclic references.
-
-
- By default, cyclic references within the object graph will cause an exception to be thrown.
-
-
-
-
- Clears all selection rules, including those that were added by default.
-
-
-
-
- Clears all matching rules, including those that were added by default.
-
-
-
-
- Adds a selection rule to the ones allready added by default and which is evaluated after all existing rules.
-
-
-
-
- Adds a matching rule to the ones allready added by default and which is evaluated before all existing rules.
-
-
-
-
- Adds a matching rule to the ones allready added by default and which is evaluated before all existing rules
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Gets an ordered collection of selection rules that define what properties are included.
-
-
-
-
- Gets an ordered collection of matching rules that determine which subject properties are matched with which
- expectation properties.
-
-
-
-
- Gets an ordered collection of assertion rules that determine how subject properties are compared for equality with
- expectation properties.
-
-
-
-
- Gets value indicating whether the equality check will include nested collections and complex types.
-
-
-
-
- Gets value indicating how cyclic references should be handled. By default, it will throw an exception.
-
-
-
-
- Defines additional overrides when used with
-
-
-
-
- Allows overriding the way structural equality is applied to (nested) objects of tyoe
-
-
-
-
- Allows overriding the way structural equality is applied to particular properties.
-
-
- A predicate based on the of the subject that is used to identify the property for which the
- override applies.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Indication of how cyclic references should be handled when validating equality of nested properties.
-
-
-
-
- Cyclic references will be ignored.
-
-
-
-
- Cyclic references will result in an exception.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Selection rule that removes a particular property from the structural comparison.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Represents a rule that defines how to map the properties from the subject-under-test with the properties
- on the expectation object.
-
-
-
-
- Attempts to find a property on the expectation that should be compared with the
- during a structural equality.
-
-
- Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue,
- simply return null.
-
-
- The of the subject's property for which a match must be found. Can never
- be null.
-
-
- The expectation object for which a matching property must be returned. Can never be null.
-
-
- The dotted path from the root object to the current property. Will never be null.
-
-
- Returns the of the property with which to compare the subject with, or null
- if no match was found.
-
-
-
-
- Selection rule that includes a particular property in the structural comparison.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Provides information on a particular property during an assertion for structural equality of two object graphs.
-
-
-
-
- Gets the property of the that was matched against the ,
- or null if is true.
-
-
-
-
- Gets the value of the .
-
-
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a verification object associated with the current and .
-
-
-
-
- Gets a value indicating whether the current context represents the root of the object graph.
-
-
-
-
- Gets the value of the
-
-
-
-
- Requires the expectation object to have a property with the exact same name.
-
-
-
-
- Attempts to find a property on the expectation that should be compared with the
- during a structural equality.
-
-
- Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue,
- simply return null.
-
-
- The of the subject's property for which a match must be found. Can never
- be null.
-
-
- The expectation object for which a matching property must be returned. Can never be null.
-
-
- The dotted path from the root object to the current property. Will never be null.
-
-
- Returns the of the property with which to compare the subject with, or null
- if no match was found.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Provides methods for selecting one or more properties of an object and comparing them with another object.
-
-
-
-
- Includes all properties of when comparing the subject with another object using .
-
-
-
-
- Includes all properties of including those of the run-time type when comparing the subject
- with another object using .
-
-
-
-
- Includes all properties of when comparing the subject with another object using ,
- except those that the other object does not have.
-
-
-
-
- Perform recursive property comparison of the child properties for objects that are of incompatible type.
-
-
- Indication of how cyclic references in the nested properties should be handled. By default this will result in an
- exception, but if is specified, cyclic references will just be ignored.
-
-
-
-
- Includes all properties of when comparing the subject with another object using ,
- except those specified using a property expression.
-
- A single property expression to exclude.
- Optional list of additional property expressions to exclude.
-
-
-
- Excludes the properties specified by the from the comparison.
-
- A single property expression to exclude.
- Optional list of additional property expressions to exclude.
-
-
-
- Includes only those properties of when comparing the subject with another object using
- that were specified using a property expression.
-
- A single property expression to include.
- Optional list of additional property expressions to include.
-
-
-
- Asserts that the previously selected properties of have the same value as the equally named
- properties of .
-
- The object to compare the current object with
-
- Property values are considered equal if, after converting them to the requested type, calling
- returns true.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Gets the of the property that returned the current object, or
- null if the current object represents the root object.
-
-
-
-
- Gets the full path from the root object until the current property, separated by dots.
-
-
-
-
- Gets a textual description of the current property based on the .
-
-
-
-
- Gets the value of the
-
-
-
-
- Gets the property of the that was matched against the ,
- or null if is true.
-
-
-
-
- Gets the value of the .
-
-
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a value indicating whether the current context represents the root of the object graph.
-
-
-
-
- Gets the compile-time type of the current object. If the current object is not the root object, then it returns the
- same as the property does.
-
-
-
-
- Gets the run-time type of the current object.
-
-
-
-
- Gets a verification object associated with the current and .
-
-
-
-
- Is responsible for validating the equality of one or more properties of a subject with another object.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Finds a property of the expectation with the exact same name, but doesn't require it.
-
-
-
-
- Attempts to find a property on the expectation that should be compared with the
- during a structural equality.
-
-
- Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue,
- simply return null.
-
-
- The of the subject's property for which a match must be found. Can never
- be null.
-
-
- The expectation object for which a matching property must be returned. Can never be null.
-
-
- The dotted path from the root object to the current property. Will never be null.
-
-
- Returns the of the property with which to compare the subject with, or null
- if no match was found.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Extension methods on to allow for a more fluent way of specifying a .
-
-
- Instead of
-
- TimeSpan.FromHours(12)
-
- you can write
-
- 12.Hours()
-
- Or even
-
- 12.Hours().And(30.Minutes()).
-
-
-
-
-
- Returns a based on a number of milliseconds.
-
-
-
-
- Returns a based on a number of seconds.
-
-
-
-
- Returns a based on a number of seconds, and add the specified
- .
-
-
-
-
- Returns a based on a number of minutes.
-
-
-
-
- Returns a based on a number of minutes, and add the specified
- .
-
-
-
-
- Returns a based on a number of hours.
-
-
-
-
- Returns a based on a number of hours, and add the specified
- .
-
-
-
-
- Returns a based on a number of days.
-
-
-
-
- Returns a based on a number of days, and add the specified
- .
-
-
-
-
- Convenience method for chaining multiple calls to the methods provided by this class.
-
-
- 23.Hours().And(59.Minutes())
-
-
-
-
- Extension methods for getting method and property selectors for a type.
-
-
-
-
- Returns the types that are visible outside the specified .
-
-
-
-
- Returns a method selector for the current .
-
-
-
-
- Returns a method selector for the current .
-
-
-
-
- Returns a property selector for the current .
-
-
-
-
- Returns a property selector for the current .
-
-
-
-
- Static class that allows for a 'fluent' selection of the types from an .
-
-
- AllTypes.From(myAssembly)
- .ThatImplement<ISomeInterface>
- .Should()
- .BeDecoratedWith<SomeAttribute>()
-
-
-
-
- Returns a for selecting the types that are visible outside the
- specified .
-
- The assembly from which to select the types.
-
-
-
- Contains assertions for the objects returned by the parent .
-
-
-
-
- Initializes a new instance of the class.
-
- The method to assert.
-
-
-
- Initializes a new instance of the class.
-
- The methods to assert.
-
-
-
- Asserts that the selected methods are virtual.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the selected methods are decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Allows for fluent selection of methods of a type through reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The type from which to select methods.
-
-
-
- Initializes a new instance of the class.
-
- The types from which to select methods.
-
-
-
- Only select the methods that return the specified type
-
-
-
-
- Only select the methods that are decorated with an attribute of the specified type.
-
-
-
-
- The resulting objects.
-
-
-
-
- Determines whether the specified method has a special name (like properties and events).
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
- 1
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
- 2
-
-
-
- Only select the methods that are public or internal.
-
-
-
-
- Only select the methods without a return value
-
-
-
-
- Contains assertions for the objects returned by the parent .
-
-
-
-
- Initializes a new instance of the class, for a single .
-
- The property to assert.
-
-
-
- Initializes a new instance of the class, for a number of objects.
-
- The properties to assert.
-
-
-
- Asserts that the selected properties are virtual.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the selected methods are decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Allows for fluent selection of properties of a type through reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The type from which to select properties.
-
-
-
- Initializes a new instance of the class.
-
- The types from which to select properties.
-
-
-
- Only select the properties that are decorated with an attribute of the specified type.
-
-
-
-
- Only select the properties that return the specified type
-
-
-
-
- The resulting objects.
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
- 1
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
- 2
-
-
-
- Only select the properties that have a public or internal getter.
-
-
-
-
- Contains a number of methods to assert that a meets certain expectations.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current type is equal to the specified type.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current type is equal to the specified type.
-
- The expected type
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Creates an error message in case the specifed type differs from the
- type.
-
-
- An empty if the two specified types are the same, or an error message that describes that
- the two specified types are not the same.
-
-
-
-
- Asserts that the current type is not equal to the specified type.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current type is not equal to the specified type.
-
- The unexpected type
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is decorated with an attribute of type
- that matches the specified .
-
-
- The predicate that the attribute must match.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Allows for fluent filtering a list of types.
-
-
-
-
- The resulting objects.
-
-
-
-
- Determines whether a type is a subclass of another type, but NOT the same type.
-
-
-
-
- Determines whether a type implements an interface (but is not the interface itself).
-
-
-
-
- Determines whether a type is decorated with a particular attribute.
-
-
-
-
- Determines whether the namespace of type is exactly .
-
-
-
-
- Determines whether the namespace of type is starts with .
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
- 1
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
- 2
-
-
-
- Contains a number of methods to assert that all s in a
- meet certain expectations.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current is decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is decorated with an attribute of type
- that matches the specified .
-
-
- The predicate that the attribute must match.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current equals the attribute.
-
- The expected attribute
-
-
-
- Asserts that the current equals the attribute.
-
- The expected attribute
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not equal the attribute,
- using its implementation.
-
- The unexpected attribute
-
-
-
- Asserts that the current does not equal the attribute,
- using its implementation.
-
- The unexpected attribute
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is null.
-
-
-
-
- Asserts that the is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the is not null.
-
-
-
-
- Asserts that the is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the current has the specified value.
-
- The expected value
-
-
-
- Asserts that the current has the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current equals the document,
- using its implementation.
-
- The expected document
-
-
-
- Asserts that the current equals the document,
- using its implementation.
-
- The expected document
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not equal the document,
- using its implementation.
-
- The unexpected document
-
-
-
- Asserts that the current does not equal the document,
- using its implementation.
-
- The unexpected document
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is null.
-
-
-
-
- Asserts that the is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the is not null.
-
-
-
-
- Asserts that the is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the current has a root element with the specified
- name.
-
- The name of the expected root element of the current document.
-
-
-
- Asserts that the current has a root element with the specified
- name.
-
- The name of the expected root element of the current document.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the element of the current has a direct
- child element with the specified name.
-
-
- The name of the expected child element of the current document's Root element.
-
-
-
-
- Asserts that the element of the current has a direct
- child element with the specified name.
-
-
- The name of the expected child element of the current document's Root element.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current equals the element.
-
- The expected element
-
-
-
- Asserts that the current equals the element.
-
- The expected element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not equal the element,
- using its implementation.
-
- The unexpected element
-
-
-
- Asserts that the current does not equal the element,
- using its implementation.
-
- The unexpected element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is null.
-
-
-
-
- Asserts that the is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the is not null.
-
-
-
-
- Asserts that the is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the current has an attribute with the specified
- and .
-
- The name of the expected attribute
- The value of the expected attribute
-
-
-
- Asserts that the current has an attribute with the specified
- and .
-
- The name of the expected attribute
- The value of the expected attribute
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has a direct child element with the specified
- name.
-
- The name of the expected child element
-
-
-
- Asserts that the current has a direct child element with the specified
- name.
-
- The name of the expected child element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an asynchronous method yields the expected result.
-
-
-
-
- Asserts that the current throws an exception of type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the that is being asserted.
-
-
-
-
diff --git a/packages/FluentAssertions.2.0.0.1/lib/sl4-windowsphone71/FluentAssertions.WindowsPhone.dll b/packages/FluentAssertions.2.0.0.1/lib/sl4-windowsphone71/FluentAssertions.WindowsPhone.dll
deleted file mode 100644
index 3e8b303a..00000000
Binary files a/packages/FluentAssertions.2.0.0.1/lib/sl4-windowsphone71/FluentAssertions.WindowsPhone.dll and /dev/null differ
diff --git a/packages/FluentAssertions.2.0.0.1/lib/sl4-windowsphone71/FluentAssertions.WindowsPhone.pdb b/packages/FluentAssertions.2.0.0.1/lib/sl4-windowsphone71/FluentAssertions.WindowsPhone.pdb
deleted file mode 100644
index a58b749f..00000000
Binary files a/packages/FluentAssertions.2.0.0.1/lib/sl4-windowsphone71/FluentAssertions.WindowsPhone.pdb and /dev/null differ
diff --git a/packages/FluentAssertions.2.0.0.1/lib/sl4-windowsphone71/FluentAssertions.WindowsPhone.xml b/packages/FluentAssertions.2.0.0.1/lib/sl4-windowsphone71/FluentAssertions.WindowsPhone.xml
deleted file mode 100644
index 27e49889..00000000
--- a/packages/FluentAssertions.2.0.0.1/lib/sl4-windowsphone71/FluentAssertions.WindowsPhone.xml
+++ /dev/null
@@ -1,5430 +0,0 @@
-
-
-
- FluentAssertions.WindowsPhone
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Contains extension methods for custom assertions in unit tests.
-
-
-
-
- Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow
- overloads.
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Asserts that the throws an exception.
-
- A reference to the method or property.
-
- The type of the exception it should throw.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- Returns an object that allows asserting additional members of the thrown exception.
-
-
-
-
- Asserts that the does not throw a particular exception.
-
- The current method or property.
-
- The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the does not throw any exception at all.
-
- The current method or property.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Forces enumerating a collection. Should be used to assert that a method that uses the
- yield keyword throws a particular exception.
-
-
-
-
- Forces enumerating a collection. Should be used to assert that a method that uses the
- yield keyword throws a particular exception.
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns a object that can be used to assert the
- current .
-
-
-
-
- Returns a object that can be used to assert the methods returned by the
- current .
-
-
-
-
-
- Returns a object that can be used to assert the properties returned by the
- current .
-
-
-
-
-
- Asserts that an object is equivalent to another object.
-
-
- Objects are equivalent when both object graphs have equally named properties with the same value,
- irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal.
- The type of a collection property is ignored as long as the collection implements and all
- items in the collection are structurally equal.
- Notice that actual behavior is determined by the instance of the
- class.
-
-
- An optional formatted phrase as is supported by explaining why the
- assertion is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that an object is equivalent to another object.
-
-
- Objects are equivalent when both object graphs have equally named properties with the same value,
- irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal.
- The type of a collection property is ignored as long as the collection implements and all
- items in the collection are structurally equal.
-
-
- A reference to the configuration object that can be used
- to influence the way the object graphs are compared. You can also provide an alternative instance of the
- class.
-
-
- An optional formatted phrase as is supported by explaining why the
- assertion is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Safely casts the specified object to the type specified through .
-
-
- Has been introduced to allow casting objects without breaking the fluent API.
-
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Contains a number of methods to assert that a reference type object is in the expected state.
-
-
-
-
- Asserts that the object is of the specified type .
-
- The expected type of the object.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the object is assignable to a variable of type .
-
- The type to which the object should be assignable.
- The reason why the object should be assignable to the type.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the is satisfied.
-
- The predicate which must be statisfied by the .
- The reason why the predicate should be satisfied.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the is satisfied.
-
- The predicate which must be statisfied by the .
- The reason why the predicate should be satisfied.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Asserts that the number of items in the collection matches the supplied amount.
-
- The expected number of items in the collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the collection matches a condition stated by the .
-
- A predicate that yields the number of items that is expected to be in the collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection contains at least 1 item.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any duplicate items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any null items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
- A params array with the expected elements.
-
-
-
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection not to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
- An with the elements that are not expected.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
- A params array with the expected elements.
-
-
-
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection not to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
- An with the unexpected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection only contains items that are assignable to the type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain the specified elements in any order. Elements are compared
- using their implementation.
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain the specified elements in the exact same order. Elements are compared
- using their implementation.
-
- An with the expected elements.
-
-
-
- Expects the current collection to contain the specified elements in the exact same order. Elements are compared
- using their implementation.
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to have all elements in ascending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to have all elements in descending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to have all elements in the specified .
- Elements are compared using their implementation.
-
-
-
-
- Asserts the current collection does not have all elements in ascending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts the current collection does not have all elements in descending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts the current collection does not have all elements in ascending order. Elements are compared
- using their implementation.
-
-
-
-
- Asserts that the collection is a subset of the .
-
- An with the expected superset.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection is not a subset of the .
-
- An with the unexpected superset.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Assert that the current collection has the same number of elements as .
-
- The other collection with the same expected number of elements
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has not been initialized yet with an actual collection.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has been initialized with an actual collection.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has the supplied at the
- supplied .
-
- The index where the element is expected
- The expected element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection does not contain the supplied item.
-
- The element that is not expected to be in the collection
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection shares one or more items with the specified .
-
- The with the expected shared items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not share any items with the specified .
-
- The to compare to.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expectation state.
-
-
-
-
- Asserts that two collections contain the same items in the same order, where equality is determined using a
- predicate.
-
-
- The collection to compare the subject with.
-
-
- A predicate the is used to determine whether two objects should be treated as equal.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection contains the specified item.
-
- The expectation item.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection contains some extra items in addition to the original items.
-
- An of expectation items.
- Additional items that are expectation to be contained by the collection.
-
-
-
- Asserts that the collection contains at least one item that matches the predicate.
-
- A predicate to match the items in the collection against.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection only contains items that match a predicate.
-
- A predicate to match the items in the collection against.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection does not contain any items that match the predicate.
-
- A predicate to match the items in the collection against.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Expects the current collection to contain only a single item matching the specified .
-
- The predictes that will be used to find the matching items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the current dictionary has not been initialized yet with an actual dictionary.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary has been initialized with an actual dictionary.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the dictionary matches the supplied amount.
-
- The expected number of items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the dictionary matches a condition stated by a predicate.
-
- The predicate which must be statisfied by the amount of items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary does not contain any items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains at least 1 item.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary contains all the same key-value pairs as the
- specified dictionary. Keys and values are compared using
- their implementation.
-
- The expected dictionary
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts the current dictionary not to contain all the same key-value pairs as the
- specified dictionary. Keys and values are compared using
- their implementation.
-
- The unexpected dictionary
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains the specified key. Keys are compared using
- their implementation.
-
- The expected key
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains all of the specified keys. Keys are compared using
- their implementation.
-
- The expected keys
-
-
-
- Asserts that the dictionary contains all of the specified keys. Keys are compared using
- their implementation.
-
- The expected keys
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified key.
- Keys are compared using their implementation.
-
- The unexpected key
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains the specified value. Values are compared using
- their implementation.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains all of the specified values. Values are compared using
- their implementation.
-
- The expected values
-
-
-
- Asserts that the dictionary contains all of the specified values. Values are compared using
- their implementation.
-
- The expected values
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified value.
- Values are compared using their implementation.
-
- The unexpected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary contains the specified .
- Keys and values are compared using their implementation.
-
- The expected
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation.
-
- The key for which to validate the value
- The value to validate
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified .
- Keys and values are compared using their implementation.
-
- The unexpected
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified for the
- supplied . Values are compared using their implementation.
-
- The key for which to validate the value
- The value to validate
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the current collection contains the specified object. Elements are compared
- using their implementation.
-
- An object, or of objects that are expected to be in the collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a dotted path of property names representing the property expression. E.g. Parent.Child.Sibling.Name.
-
-
-
-
- Finds the first index at which the does not match the
- string anymore, including the exact casing.
-
-
-
-
- Finds the first index at which the does not match the
- string anymore, accounting for the specified .
-
-
-
-
- Gets the quoted three characters at the specified index of a string, including the index itself.
-
-
-
-
- Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts.
-
-
-
-
- Joins a string with one or more other strings using a specified separator.
-
-
- Any string that is empty (including the original string) is ignored.
-
-
-
-
- Determines whether two objects refer to the same property.
-
-
-
-
- Finds the property by a case-sensitive name.
-
-
- Returns null if no such property exists.
-
-
-
-
- Determines whether the specified method has been annotated with a specific attribute.
-
-
- true if the specified method has attribute; otherwise, false.
-
-
-
-
- Provides extension methods for monitoring and querying events.
-
-
-
-
- Starts monitoring an object for its events.
-
- Thrown if eventSource is Null.
-
-
-
- Asserts that an object has raised the event for a particular property.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has raised the event for a particular property.
-
- The object exposing the event.
-
- A lambda expression referring to the property for which the property changed event should have been raised, or
- null to refer to all properties.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has not raised the event for a particular property.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has not raised the event for a particular property.
-
- The object exposing the event.
-
- A lambda expression referring to the property for which the property changed event should have been raised.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that all occurences of the event originated from the .
-
-
-
-
- Asserts that at least one occurrence of the event had an object matching a predicate.
-
-
-
-
- Static methods that aid in generic event subscription
-
-
-
-
- Generates an eventhandler for an event of type eventSignature that calls RegisterEvent on recorder
- when invoked.
-
-
-
-
- Finds the Return Type of a Delegate.
-
-
-
-
- Returns an Array of Types that make up a delegate's parameter signature.
-
-
-
-
- Returns an array of types appended with an EventRecorder reference at the beginning.
-
-
-
-
- Returns T/F Dependent on a Type Being a Delegate.
-
-
-
-
- Returns the MethodInfo for the Delegate's "Invoke" Method.
-
-
-
-
- Records activity for a single event.
-
-
-
-
- Records raised events for one event on one object
-
-
-
-
- Store information about a raised event
-
- Parameters the event was raised with
-
-
-
- The object events are recorded from
-
-
-
-
- The name of the event that's recorded
-
-
-
-
-
- The object events are recorded from
- The name of the event that's recorded
-
-
-
- Enumerate raised events
-
-
-
-
- Enumerate raised events
-
-
-
-
-
- Called by the auto-generated IL, to record information about a raised event.
-
-
-
-
- The object events are recorded from
-
-
-
-
- The name of the event that's recorded
-
-
-
-
- Simple dictionary that uses a to the event source as the key.
- This should ensure the Garbage Collector can still clean-up the event source object.
-
-
-
-
- This class is used to store data about an intercepted event
-
-
-
-
- Default constructor stores the parameters the event was raised with
-
-
-
-
- Parameters for the event
-
-
-
-
- Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure.
-
-
-
-
- Gets an object that wraps and executes a conditional or unconditional verification.
-
-
-
-
- Represents an abstraction of a particular test framework such as MSTest, nUnit, etc.
-
-
-
-
- Throws a framework-specific exception to indicate a failing unit test.
-
-
-
-
- Gets a value indicating whether the corresponding test framework is currently available.
-
-
-
-
- Provides a fluent API for verifying an arbitrary condition.
-
-
-
-
- Represents the phrase that can be used in as a placeholder for the reason of an assertion.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the name or identifier of the current subject, or a default value if the subject is not known.
-
-
-
-
- Specify the condition that must be satisfied.
-
- If true the verification will be succesful.
-
-
-
- Specify a predicate that with the condition that must be satisfied.
-
-
-
-
- Specify the reason why you expect the condition to be true.
-
-
- A formatted phrase explaining why the condition should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Define the failure message for the verification.
-
-
- If the contains the text "{reason}", this will be replaced by the reason as
- defined through . Only 10 are supported in combination with
- a {reason}.
-
- The format string that represents the failure message.
- Optional arguments for the
-
-
-
- Indicates that every argument passed into is displayed on a separate line.
-
-
-
-
- Gets or sets the name of the subject for the next verification.
-
-
-
-
- Extension methods on to allow for a more fluent way of specifying a .
-
-
- Instead of
-
- new DateTime(2011, 3, 10)
-
- you can write 3.March(2011)
-
- Or even
-
- 3.March(2011).At(09, 30)
-
-
-
-
-
- Returns a new value for the specified and
- in the month January.
-
-
-
-
- Returns a new value for the specified and
- in the month February.
-
-
-
-
- Returns a new value for the specified and
- in the month March.
-
-
-
-
- Returns a new value for the specified and
- in the month April.
-
-
-
-
- Returns a new value for the specified and
- in the month May.
-
-
-
-
- Returns a new value for the specified and
- in the month June.
-
-
-
-
- Returns a new value for the specified and
- in the month July.
-
-
-
-
- Returns a new value for the specified and
- in the month August.
-
-
-
-
- Returns a new value for the specified and
- in the month September.
-
-
-
-
- Returns a new value for the specified and
- in the month October.
-
-
-
-
- Returns a new value for the specified and
- in the month November.
-
-
-
-
- Returns a new value for the specified and
- in the month December.
-
-
-
-
- Returns a new value for the specified and .
-
-
-
-
- Returns a new value for the specified and time with the specified
- , and optionally .
-
-
-
-
- Returns a new value that is the current before the
- specified .
-
-
-
-
- Returns a new value that is the current after the
- specified .
-
-
-
-
- Specialized value formatter that looks for static methods in the caller's assembly marked with the
- .
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Determines whether this instance can handle the specified value.
-
- The value.
-
- true if this instance can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Provides services for formatting an object being used in an assertion in a human readable format.
-
-
-
-
- A list of objects responsible for formatting the objects represented by placeholders.
-
-
-
-
- Returns a human-readable representation of a particular object.
-
- The value for which to create a .
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- Indicates whether the formatter should use line breaks when the specific supports it.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Marks a static method as a kind of for a particular type.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Contains a number of extension methods for floating point .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the subject is considered equal to another object according to the implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is not equal to another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is less than another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is less than or equal to another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is greater than another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is greater than or equal to another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a value is within a range.
-
-
- Where the range is continuous or incremental depends on the actual type of the value.
-
-
- The minimum valid value of the range.
-
-
- The maximum valid value of the range.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the integral number value is exactly the same as the value.
-
- The expected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the integral number value is exactly the same as the value.
-
- The expected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the integral number value is not the same as the value.
-
- The unexpected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the integral number value is not the same as the value.
-
- The unexpected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is greater than or equal to zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is less than zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is less than the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is less than or equal to the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is greater than the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is greater than or equal to the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a value is within a range.
-
-
- Where the range is continuous or incremental depends on the actual type of the value.
-
-
- The minimum valid value of the range.
-
-
- The maximum valid value of the range.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a value is one of the specified .
-
-
- The values that are valid.
-
-
-
-
- Asserts that a value is one of the specified .
-
-
- The values that are valid.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a is in the expected state.
-
-
-
-
- Asserts that the value is false.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is true.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Defines the way compares the expected exception
- message with the actual one.
-
-
-
-
- The message must match exactly, including the casing of the characters.
-
-
-
-
- The message must match except for the casing of the characters.
-
-
-
-
- The message must start with the exact text, including the casing of the characters..
-
-
-
-
- The message must start with the text except for the casing of the characters.
-
-
-
-
- The message must contain the exact text.
-
-
-
-
- The message must contain the text except for the casing of the characters.
-
-
-
-
- The message must match a wildcard pattern consisting of ordinary characters as well as * and ?.
-
-
-
-
- Contains a number of methods to assert that a is in the expected state.
-
-
- You can use the for a more fluent way of specifying a .
-
-
-
-
- Asserts that the current is exactly equal to the value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is not equal to the value.
-
- The unexpected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is within the specified number of milliseconds (default = 20 ms)
- from the specified value.
-
-
- Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime,
- use .
-
-
- The expected time to compare the actual value with.
-
-
- The maximum amount of milliseconds which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is before the specified value.
-
- The that the current value is expected to be before.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is either on, or before the specified value.
-
- The that the current value is expected to be on or before.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is after the specified value.
-
- The that the current value is expected to be after.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is either on, or after the specified value.
-
- The that the current value is expected to be on or after.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the year.
-
- The expected year of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the month.
-
- The expected month of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the day.
-
- The expected day of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the hour.
-
- The expected hour of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the minute.
-
- The expected minutes of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the second.
-
- The expected seconds of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Returns a object that can be used to assert that the current
- exceeds the specified compared to another .
-
-
- The amount of time that the current should exceed compared to another .
-
-
-
-
- Returns a object that can be used to assert that the current
- is equal to or exceeds the specified compared to another .
-
-
- The amount of time that the current should be equal or exceed compared to
- another .
-
-
-
-
- Returns a object that can be used to assert that the current
- differs exactly the specified compared to another .
-
-
- The amount of time that the current should differ exactly compared to another .
-
-
-
-
- Returns a object that can be used to assert that the current
- is within the specified compared to another .
-
-
- The amount of time that the current should be within another .
-
-
-
-
- Returns a object that can be used to assert that the current
- differs at maximum the specified compared to another .
-
-
- The maximum amount of time that the current should differ compared to another .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that a is in the correct state.
-
-
-
-
- Asserts that the is .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is not .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is equal to the GUID.
-
- The expected value to compare the actual value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is equal to the GUID.
-
- The expected value to compare the actual value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is not equal to the GUID.
-
- The unexpected value to compare the actual value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
-
-
- Asserts that a nullable boolean value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable boolean value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
- You can use the for a more fluent way of specifying a .
-
-
-
-
- Asserts that a nullable value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
-
-
- Asserts that a nullable value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
- You can use the for a more fluent way of specifying a .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
-
-
- Asserts that the time difference of the current is greater than zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is less than zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is equal to the
- specified time.
-
- The expected time difference
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is not equal to the
- specified time.
-
- The unexpected time difference
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is less than the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is less than or equal to the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is greater than the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is greater than or equal to the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Asserts that a nullable value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that an object equals another object using its implementation.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that an object does not equal another object using it's method.
-
- The unexpected value
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object reference refers to the exact same object as another object reference.
-
- The expected object
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object reference refers to a different object than another object reference refers to.
-
- The unexpected object
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the object is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the object is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Contains a number of methods to assert that a is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace.
-
- The expected string.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is one of the specified .
-
-
- The values that are valid.
-
-
-
-
- Asserts that the is one of the specified .
-
-
- The values that are valid.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
- the exception of the casing.
-
-
- The string that the subject is expected to be equivalent to.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is not exactly the same as the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is not expected to be equivalent to.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string starts exactly with the specified value,
- including the casing and any leading or trailing whitespace.
-
- The string that the subject is expected to start with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string starts with the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is expected to start with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string ends exactly with the specified ,
- including the casing and any leading or trailing whitespace.
-
- The string that the subject is expected to end with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string ends with the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is expected to end with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string contains another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should contain.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string contains the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is expected to contain.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not contain another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should not contain.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not contain the specified string,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is not expected to contain.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is not .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string has the specified length.
-
- The expected length of the string
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is neither null nor .
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a string is either null or .
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a string is neither null nor nor white space
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a string is either null or or white space
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Dedicated class for comparing two strings and generating consistent error messages.
-
-
-
-
- Gets or sets a value indicating whether the subject should not match the pattern.
-
-
-
-
- Gets or sets a value indicating whether the matching process should ignore any casing difference.
-
-
-
-
- Contains a number of methods to assert that two objects differ in the expected way.
-
-
- You can use the and for a more fluent
- way of specifying a or a .
-
-
-
-
- Asserts that a occurs a specified amount of time before another .
-
-
- The to compare the subject with.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a occurs a specified amount of time after another .
-
-
- The to compare the subject with.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Provides the logic and the display text for a .
-
-
-
-
- Contains a number of methods to assert that an yields the expected result.
-
-
-
-
- Asserts that the current throws an exception of type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not throw an exception of type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not throw any exception.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the that is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the correct state.
-
-
-
-
- Asserts that the thrown exception has a message that matches
- depending on the specified matching mode.
-
-
- The expected message of the exception.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the thrown exception has a message that matches
- depending on the specified matching mode.
-
-
- The expected message of the exception.
-
-
- Determines how the expected message is compared with the actual message.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the thrown exception contains an inner exception of type .
-
- The expected type of the inner exception.
-
-
-
- Asserts that the thrown exception contains an inner exception of type .
-
- The expected type of the inner exception.
- The reason why the inner exception should be of the supplied type.
- The parameters used when formatting the .
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
- Determines how the expected message is compared with the actual message.
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
-
- The reason why the message of the inner exception should match .
-
- The parameters used when formatting the .
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
- Determines how the expected message is compared with the actual message.
-
- The reason why the message of the inner exception should match .
-
- The parameters used when formatting the .
-
-
-
- Asserts that the exception matches a particular condition.
-
-
- The condition that the exception must match.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Gets the exception object of the exception thrown.
-
-
-
-
- Selection rule that adds all public properties of the subject as far as they are defined on the declared
- type.
-
-
-
-
- Represents a rule that defines which properties of the subject-under-test to include while comparing
- two objects for structural equality.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- Type info about the subject.
-
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Selection rule that adds all public properties of the subject based on its run-time type rather than its
- declared type.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- General purpose implementation of that uses a predicate to determine whether
- this rule applies to a particular property and executes an action to assert equality.
-
- The type of the subject.
-
-
-
- Defines how a subject's property is compared for equality with the same property of the expectation.
-
-
- Provides details about the subject's property.
-
-
- The value of the subject's property.
-
-
- The value of a property on expectation object that was identified
-
-
- Returns true if the rule was applied correctly and the assertion didn't cause any exceptions.
- Returns false if this rule doesn't support the subject's type.
- Throws if the rule did support the data type but assertion fails.
-
-
-
-
- Defines how a subject's property is compared for equality with the same property of the expectation.
-
-
- Provides details about the subject's property.
-
-
- The value of the subject's property.
-
-
- The value of a property on expectation object that was identified
-
-
- Returns true if the rule was applied correctly and the assertion didn't cause any exceptions.
- Returns false if this rule doesn't support the subject's type.
- Throws if the rule did support the data type but assertion fails.
-
-
-
-
- Provides the required information for executing an equality assertion between a subject and an expectation.
-
- The type of the subject.
-
-
-
- Gets the of the property that returned the current object, or null if the current
- object represents the root object.
-
-
-
-
- Gets the value of the
-
-
-
-
- Gets the value of the expectation object that was matched with the subject using a .
-
-
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Selection rule that removes a particular property from the structural comparison based on a predicate.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Provides details about the subject's root or nested property.
-
-
-
-
- Gets the of the property that returned the current object, or null if the current
- object represents the root object.
-
-
-
-
- Gets the full path from the root object until the current object separated by dots.
-
-
-
-
- Gets a display-friendly representation of the .
-
-
-
-
- Gets the compile-time type of the current object. If the current object is not the root object, then it returns the
- same as the property does.
-
-
-
-
- Gets the run-time type of the current object.
-
-
-
-
- Represents a selection context of a nested property
-
-
-
-
- Gets the of the property that returned the current object, or
- null if the current object represents the root object.
-
-
-
-
- Gets the full path from the root object until the current property, separated by dots.
-
-
-
-
- Gets a textual description of the current property based on the .
-
-
-
-
- Gets the compile-time type of the current object. If the current object is not the root object, then it returns the
- same as the property does.
-
-
-
-
- Gets the run-time type of the current object.
-
-
-
-
- Is responsible for the exact run-time behavior of a structural equality comparison.
-
- The type of the subject.
-
-
-
- Provides the run-time details of the class.
-
-
-
-
- Gets an ordered collection of selection rules that define what properties are included.
-
-
-
-
- Gets an ordered collection of matching rules that determine which subject properties are matched with which
- expectation properties.
-
-
-
-
- Gets an ordered collection of assertion rules that determine how subject properties are compared for equality with
- expectation properties.
-
-
-
-
- Gets or sets a value indicating whether or not the assertion must perform a deep comparison.
-
-
-
-
- Gets a configuration that compares all declared properties of the subject with equally named properties of the expectation,
- and includes the entire object graph. The names of the properties between the subject and expectation must match.
-
-
-
-
- Gets a configuration that by default doesn't include any of the subject's properties and doesn't consider any nested objects
- or collections.
-
-
-
-
- Adds all public properties of the subject as far as they are defined on the declared type.
-
-
-
-
- Adds all public properties of the subject based on its run-time type rather than its declared type.
-
-
-
-
- Tries to match the properties of the subject with equally named properties on the expectation. Ignores those
- properties that don't exist on the expectation.
-
-
-
-
- Requires the expectation to have properties which are equally named to properties on the subject.
-
-
-
-
-
- Excludes the specified (nested) property from the structural equality check.
-
-
-
-
- Excludes a (nested) property based on a predicate from the structural equality check.
-
-
-
-
- Includes the specified property in the equality check.
-
-
- This overrides the default behavior of including all declared properties.
-
-
-
-
- The assertion to execute when the predicate is met.
-
-
-
-
- Causes the structural equality check to include nested collections and complex types.
-
-
-
-
- Causes the structural equality check to ignore any cyclic references.
-
-
- By default, cyclic references within the object graph will cause an exception to be thrown.
-
-
-
-
- Clears all selection rules, including those that were added by default.
-
-
-
-
- Clears all matching rules, including those that were added by default.
-
-
-
-
- Adds a selection rule to the ones allready added by default and which is evaluated after all existing rules.
-
-
-
-
- Adds a matching rule to the ones allready added by default and which is evaluated before all existing rules.
-
-
-
-
- Adds a matching rule to the ones allready added by default and which is evaluated before all existing rules
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Gets an ordered collection of selection rules that define what properties are included.
-
-
-
-
- Gets an ordered collection of matching rules that determine which subject properties are matched with which
- expectation properties.
-
-
-
-
- Gets an ordered collection of assertion rules that determine how subject properties are compared for equality with
- expectation properties.
-
-
-
-
- Gets value indicating whether the equality check will include nested collections and complex types.
-
-
-
-
- Gets value indicating how cyclic references should be handled. By default, it will throw an exception.
-
-
-
-
- Defines additional overrides when used with
-
-
-
-
- Allows overriding the way structural equality is applied to (nested) objects of tyoe
-
-
-
-
- Allows overriding the way structural equality is applied to particular properties.
-
-
- A predicate based on the of the subject that is used to identify the property for which the
- override applies.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Indication of how cyclic references should be handled when validating equality of nested properties.
-
-
-
-
- Cyclic references will be ignored.
-
-
-
-
- Cyclic references will result in an exception.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Selection rule that removes a particular property from the structural comparison.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Represents a rule that defines how to map the properties from the subject-under-test with the properties
- on the expectation object.
-
-
-
-
- Attempts to find a property on the expectation that should be compared with the
- during a structural equality.
-
-
- Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue,
- simply return null.
-
-
- The of the subject's property for which a match must be found. Can never
- be null.
-
-
- The expectation object for which a matching property must be returned. Can never be null.
-
-
- The dotted path from the root object to the current property. Will never be null.
-
-
- Returns the of the property with which to compare the subject with, or null
- if no match was found.
-
-
-
-
- Selection rule that includes a particular property in the structural comparison.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Provides information on a particular property during an assertion for structural equality of two object graphs.
-
-
-
-
- Gets the property of the that was matched against the ,
- or null if is true.
-
-
-
-
- Gets the value of the .
-
-
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a verification object associated with the current and .
-
-
-
-
- Gets a value indicating whether the current context represents the root of the object graph.
-
-
-
-
- Gets the value of the
-
-
-
-
- Requires the expectation object to have a property with the exact same name.
-
-
-
-
- Attempts to find a property on the expectation that should be compared with the
- during a structural equality.
-
-
- Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue,
- simply return null.
-
-
- The of the subject's property for which a match must be found. Can never
- be null.
-
-
- The expectation object for which a matching property must be returned. Can never be null.
-
-
- The dotted path from the root object to the current property. Will never be null.
-
-
- Returns the of the property with which to compare the subject with, or null
- if no match was found.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Gets the of the property that returned the current object, or
- null if the current object represents the root object.
-
-
-
-
- Gets the full path from the root object until the current property, separated by dots.
-
-
-
-
- Gets a textual description of the current property based on the .
-
-
-
-
- Gets the value of the
-
-
-
-
- Gets the property of the that was matched against the ,
- or null if is true.
-
-
-
-
- Gets the value of the .
-
-
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a value indicating whether the current context represents the root of the object graph.
-
-
-
-
- Gets the compile-time type of the current object. If the current object is not the root object, then it returns the
- same as the property does.
-
-
-
-
- Gets the run-time type of the current object.
-
-
-
-
- Gets a verification object associated with the current and .
-
-
-
-
- Is responsible for validating the equality of one or more properties of a subject with another object.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Finds a property of the expectation with the exact same name, but doesn't require it.
-
-
-
-
- Attempts to find a property on the expectation that should be compared with the
- during a structural equality.
-
-
- Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue,
- simply return null.
-
-
- The of the subject's property for which a match must be found. Can never
- be null.
-
-
- The expectation object for which a matching property must be returned. Can never be null.
-
-
- The dotted path from the root object to the current property. Will never be null.
-
-
- Returns the of the property with which to compare the subject with, or null
- if no match was found.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Extension methods on to allow for a more fluent way of specifying a .
-
-
- Instead of
-
- TimeSpan.FromHours(12)
-
- you can write
-
- 12.Hours()
-
- Or even
-
- 12.Hours().And(30.Minutes()).
-
-
-
-
-
- Returns a based on a number of milliseconds.
-
-
-
-
- Returns a based on a number of seconds.
-
-
-
-
- Returns a based on a number of seconds, and add the specified
- .
-
-
-
-
- Returns a based on a number of minutes.
-
-
-
-
- Returns a based on a number of minutes, and add the specified
- .
-
-
-
-
- Returns a based on a number of hours.
-
-
-
-
- Returns a based on a number of hours, and add the specified
- .
-
-
-
-
- Returns a based on a number of days.
-
-
-
-
- Returns a based on a number of days, and add the specified
- .
-
-
-
-
- Convenience method for chaining multiple calls to the methods provided by this class.
-
-
- 23.Hours().And(59.Minutes())
-
-
-
-
- Extension methods for getting method and property selectors for a type.
-
-
-
-
- Returns the types that are visible outside the specified .
-
-
-
-
- Returns a method selector for the current .
-
-
-
-
- Returns a method selector for the current .
-
-
-
-
- Returns a property selector for the current .
-
-
-
-
- Returns a property selector for the current .
-
-
-
-
- Static class that allows for a 'fluent' selection of the types from an .
-
-
- AllTypes.From(myAssembly)
- .ThatImplement<ISomeInterface>
- .Should()
- .BeDecoratedWith<SomeAttribute>()
-
-
-
-
- Returns a for selecting the types that are visible outside the
- specified .
-
- The assembly from which to select the types.
-
-
-
- Contains assertions for the objects returned by the parent .
-
-
-
-
- Initializes a new instance of the class.
-
- The methods to assert.
-
-
-
- Asserts that the selected methods are virtual.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the selected methods are decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Allows for fluent selection of methods of a type through reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The type from which to select methods.
-
-
-
- Initializes a new instance of the class.
-
- The types from which to select methods.
-
-
-
- Only select the methods that return the specified type
-
-
-
-
- Only select the methods that are decorated with an attribute of the specified type.
-
-
-
-
- The resulting objects.
-
-
-
-
- Determines whether the specified method has a special name (like properties and events).
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
- 1
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
- 2
-
-
-
- Only select the methods that are public or internal.
-
-
-
-
- Only select the methods without a return value
-
-
-
-
- Contains assertions for the objects returned by the parent .
-
-
-
-
- Initializes a new instance of the class, for a number of objects.
-
- The properties to assert.
-
-
-
- Asserts that the selected properties are virtual.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the selected methods are decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Allows for fluent selection of properties of a type through reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The type from which to select properties.
-
-
-
- Initializes a new instance of the class.
-
- The types from which to select properties.
-
-
-
- Only select the properties that are decorated with an attribute of the specified type.
-
-
-
-
- Only select the properties that return the specified type
-
-
-
-
- The resulting objects.
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
- 1
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
- 2
-
-
-
- Only select the properties that have a public or internal getter.
-
-
-
-
- Contains a number of methods to assert that a meets certain expectations.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current type is equal to the specified type.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current type is equal to the specified type.
-
- The expected type
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Creates an error message in case the specifed type differs from the
- type.
-
-
- An empty if the two specified types are the same, or an error message that describes that
- the two specified types are not the same.
-
-
-
-
- Asserts that the current type is not equal to the specified type.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current type is not equal to the specified type.
-
- The unexpected type
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is decorated with an attribute of type
- that matches the specified .
-
-
- The predicate that the attribute must match.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Allows for fluent filtering a list of types.
-
-
-
-
- Determines whether a type is a subclass of another type, but NOT the same type.
-
-
-
-
- Determines whether a type implements an interface (but is not the interface itself).
-
-
-
-
- Determines whether a type is decorated with a particular attribute.
-
-
-
-
- Determines whether the namespace of type is exactly .
-
-
-
-
- Determines whether the namespace of type is starts with .
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
- 1
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
- 2
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current equals the attribute.
-
- The expected attribute
-
-
-
- Asserts that the current equals the attribute.
-
- The expected attribute
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not equal the attribute,
- using its implementation.
-
- The unexpected attribute
-
-
-
- Asserts that the current does not equal the attribute,
- using its implementation.
-
- The unexpected attribute
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is null.
-
-
-
-
- Asserts that the is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the is not null.
-
-
-
-
- Asserts that the is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the current has the specified value.
-
- The expected value
-
-
-
- Asserts that the current has the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current equals the document,
- using its implementation.
-
- The expected document
-
-
-
- Asserts that the current equals the document,
- using its implementation.
-
- The expected document
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not equal the document,
- using its implementation.
-
- The unexpected document
-
-
-
- Asserts that the current does not equal the document,
- using its implementation.
-
- The unexpected document
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is null.
-
-
-
-
- Asserts that the is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the is not null.
-
-
-
-
- Asserts that the is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the current has a root element with the specified
- name.
-
- The name of the expected root element of the current document.
-
-
-
- Asserts that the current has a root element with the specified
- name.
-
- The name of the expected root element of the current document.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the element of the current has a direct
- child element with the specified name.
-
-
- The name of the expected child element of the current document's Root element.
-
-
-
-
- Asserts that the element of the current has a direct
- child element with the specified name.
-
-
- The name of the expected child element of the current document's Root element.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current equals the element.
-
- The expected element
-
-
-
- Asserts that the current equals the element.
-
- The expected element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not equal the element,
- using its implementation.
-
- The unexpected element
-
-
-
- Asserts that the current does not equal the element,
- using its implementation.
-
- The unexpected element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is null.
-
-
-
-
- Asserts that the is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the is not null.
-
-
-
-
- Asserts that the is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the current has an attribute with the specified
- and .
-
- The name of the expected attribute
- The value of the expected attribute
-
-
-
- Asserts that the current has an attribute with the specified
- and .
-
- The name of the expected attribute
- The value of the expected attribute
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has a direct child element with the specified
- name.
-
- The name of the expected child element
-
-
-
- Asserts that the current has a direct child element with the specified
- name.
-
- The name of the expected child element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
diff --git a/packages/FluentAssertions.2.0.0.1/lib/sl4/FluentAssertions.Silverlight.dll b/packages/FluentAssertions.2.0.0.1/lib/sl4/FluentAssertions.Silverlight.dll
deleted file mode 100644
index 5a400242..00000000
Binary files a/packages/FluentAssertions.2.0.0.1/lib/sl4/FluentAssertions.Silverlight.dll and /dev/null differ
diff --git a/packages/FluentAssertions.2.0.0.1/lib/sl4/FluentAssertions.Silverlight.pdb b/packages/FluentAssertions.2.0.0.1/lib/sl4/FluentAssertions.Silverlight.pdb
deleted file mode 100644
index 177c40f0..00000000
Binary files a/packages/FluentAssertions.2.0.0.1/lib/sl4/FluentAssertions.Silverlight.pdb and /dev/null differ
diff --git a/packages/FluentAssertions.2.0.0.1/lib/sl4/FluentAssertions.Silverlight.xml b/packages/FluentAssertions.2.0.0.1/lib/sl4/FluentAssertions.Silverlight.xml
deleted file mode 100644
index a7eef877..00000000
--- a/packages/FluentAssertions.2.0.0.1/lib/sl4/FluentAssertions.Silverlight.xml
+++ /dev/null
@@ -1,5572 +0,0 @@
-
-
-
- FluentAssertions.Silverlight
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Contains extension methods for custom assertions in unit tests.
-
-
-
-
- Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow
- overloads.
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Asserts that the throws an exception.
-
- A reference to the method or property.
-
- The type of the exception it should throw.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- Returns an object that allows asserting additional members of the thrown exception.
-
-
-
-
- Asserts that the does not throw a particular exception.
-
- The current method or property.
-
- The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the does not throw any exception at all.
-
- The current method or property.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Forces enumerating a collection. Should be used to assert that a method that uses the
- yield keyword throws a particular exception.
-
-
-
-
- Forces enumerating a collection. Should be used to assert that a method that uses the
- yield keyword throws a particular exception.
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns a object that can be used to assert the
- current .
-
-
-
-
- Returns a object that can be used to assert the
- current .
-
-
-
-
- Returns a object that can be used to assert the current .
-
-
-
-
-
- Returns a object that can be used to assert the methods returned by the
- current .
-
-
-
-
-
- Returns a object that can be used to assert the
- current .
-
-
-
-
-
- Returns a object that can be used to assert the properties returned by the
- current .
-
-
-
-
-
- Asserts that the properties of an object matches those of another object.
-
-
-
-
- Asserts that an object is equivalent to another object.
-
-
- Objects are equivalent when both object graphs have equally named properties with the same value,
- irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal.
- The type of a collection property is ignored as long as the collection implements and all
- items in the collection are structurally equal.
- Notice that actual behavior is determined by the instance of the
- class.
-
-
- An optional formatted phrase as is supported by explaining why the
- assertion is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that an object is equivalent to another object.
-
-
- Objects are equivalent when both object graphs have equally named properties with the same value,
- irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal.
- The type of a collection property is ignored as long as the collection implements and all
- items in the collection are structurally equal.
-
-
- A reference to the configuration object that can be used
- to influence the way the object graphs are compared. You can also provide an alternative instance of the
- class.
-
-
- An optional formatted phrase as is supported by explaining why the
- assertion is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Safely casts the specified object to the type specified through .
-
-
- Has been introduced to allow casting objects without breaking the fluent API.
-
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Contains a number of methods to assert that a reference type object is in the expected state.
-
-
-
-
- Asserts that the object is of the specified type .
-
- The expected type of the object.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the object is assignable to a variable of type .
-
- The type to which the object should be assignable.
- The reason why the object should be assignable to the type.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the is satisfied.
-
- The predicate which must be statisfied by the .
- The reason why the predicate should be satisfied.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the is satisfied.
-
- The predicate which must be statisfied by the .
- The reason why the predicate should be satisfied.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Asserts that the number of items in the collection matches the supplied amount.
-
- The expected number of items in the collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the collection matches a condition stated by the .
-
- A predicate that yields the number of items that is expected to be in the collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection contains at least 1 item.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any duplicate items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any null items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
- A params array with the expected elements.
-
-
-
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection not to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
- An with the elements that are not expected.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
- A params array with the expected elements.
-
-
-
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection not to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
- An with the unexpected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection only contains items that are assignable to the type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain the specified elements in any order. Elements are compared
- using their implementation.
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain the specified elements in the exact same order. Elements are compared
- using their implementation.
-
- An with the expected elements.
-
-
-
- Expects the current collection to contain the specified elements in the exact same order. Elements are compared
- using their implementation.
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to have all elements in ascending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to have all elements in descending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to have all elements in the specified .
- Elements are compared using their implementation.
-
-
-
-
- Asserts the current collection does not have all elements in ascending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts the current collection does not have all elements in descending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts the current collection does not have all elements in ascending order. Elements are compared
- using their implementation.
-
-
-
-
- Asserts that the collection is a subset of the .
-
- An with the expected superset.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection is not a subset of the .
-
- An with the unexpected superset.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Assert that the current collection has the same number of elements as .
-
- The other collection with the same expected number of elements
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has not been initialized yet with an actual collection.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has been initialized with an actual collection.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has the supplied at the
- supplied .
-
- The index where the element is expected
- The expected element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection does not contain the supplied item.
-
- The element that is not expected to be in the collection
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection shares one or more items with the specified .
-
- The with the expected shared items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not share any items with the specified .
-
- The to compare to.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expectation state.
-
-
-
-
- Asserts that two collections contain the same items in the same order, where equality is determined using a
- predicate.
-
-
- The collection to compare the subject with.
-
-
- A predicate the is used to determine whether two objects should be treated as equal.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection contains the specified item.
-
- The expectation item.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection contains some extra items in addition to the original items.
-
- An of expectation items.
- Additional items that are expectation to be contained by the collection.
-
-
-
- Asserts that the collection contains at least one item that matches the predicate.
-
- A predicate to match the items in the collection against.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection only contains items that match a predicate.
-
- A predicate to match the items in the collection against.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection does not contain any items that match the predicate.
-
- A predicate to match the items in the collection against.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Expects the current collection to contain only a single item matching the specified .
-
- The predictes that will be used to find the matching items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the current dictionary has not been initialized yet with an actual dictionary.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary has been initialized with an actual dictionary.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the dictionary matches the supplied amount.
-
- The expected number of items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the dictionary matches a condition stated by a predicate.
-
- The predicate which must be statisfied by the amount of items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary does not contain any items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains at least 1 item.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary contains all the same key-value pairs as the
- specified dictionary. Keys and values are compared using
- their implementation.
-
- The expected dictionary
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts the current dictionary not to contain all the same key-value pairs as the
- specified dictionary. Keys and values are compared using
- their implementation.
-
- The unexpected dictionary
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains the specified key. Keys are compared using
- their implementation.
-
- The expected key
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains all of the specified keys. Keys are compared using
- their implementation.
-
- The expected keys
-
-
-
- Asserts that the dictionary contains all of the specified keys. Keys are compared using
- their implementation.
-
- The expected keys
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified key.
- Keys are compared using their implementation.
-
- The unexpected key
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains the specified value. Values are compared using
- their implementation.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains all of the specified values. Values are compared using
- their implementation.
-
- The expected values
-
-
-
- Asserts that the dictionary contains all of the specified values. Values are compared using
- their implementation.
-
- The expected values
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified value.
- Values are compared using their implementation.
-
- The unexpected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary contains the specified .
- Keys and values are compared using their implementation.
-
- The expected
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation.
-
- The key for which to validate the value
- The value to validate
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified .
- Keys and values are compared using their implementation.
-
- The unexpected
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified for the
- supplied . Values are compared using their implementation.
-
- The key for which to validate the value
- The value to validate
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the current collection contains the specified object. Elements are compared
- using their implementation.
-
- An object, or of objects that are expected to be in the collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a dotted path of property names representing the property expression. E.g. Parent.Child.Sibling.Name.
-
-
-
-
- Finds the first index at which the does not match the
- string anymore, including the exact casing.
-
-
-
-
- Finds the first index at which the does not match the
- string anymore, accounting for the specified .
-
-
-
-
- Gets the quoted three characters at the specified index of a string, including the index itself.
-
-
-
-
- Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts.
-
-
-
-
- Joins a string with one or more other strings using a specified separator.
-
-
- Any string that is empty (including the original string) is ignored.
-
-
-
-
- Determines whether two objects refer to the same property.
-
-
-
-
- Finds the property by a case-sensitive name.
-
-
- Returns null if no such property exists.
-
-
-
-
- Determines whether the specified method has been annotated with a specific attribute.
-
-
- true if the specified method has attribute; otherwise, false.
-
-
-
-
- Provides extension methods for monitoring and querying events.
-
-
-
-
- Starts monitoring an object for its events.
-
- Thrown if eventSource is Null.
-
-
-
- Asserts that an object has raised the event for a particular property.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has raised the event for a particular property.
-
- The object exposing the event.
-
- A lambda expression referring to the property for which the property changed event should have been raised, or
- null to refer to all properties.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has not raised the event for a particular property.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has not raised the event for a particular property.
-
- The object exposing the event.
-
- A lambda expression referring to the property for which the property changed event should have been raised.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that all occurences of the event originated from the .
-
-
-
-
- Asserts that at least one occurrence of the event had an object matching a predicate.
-
-
-
-
- Static methods that aid in generic event subscription
-
-
-
-
- Generates an eventhandler for an event of type eventSignature that calls RegisterEvent on recorder
- when invoked.
-
-
-
-
- Finds the Return Type of a Delegate.
-
-
-
-
- Returns an Array of Types that make up a delegate's parameter signature.
-
-
-
-
- Returns an array of types appended with an EventRecorder reference at the beginning.
-
-
-
-
- Returns T/F Dependent on a Type Being a Delegate.
-
-
-
-
- Returns the MethodInfo for the Delegate's "Invoke" Method.
-
-
-
-
- Records activity for a single event.
-
-
-
-
- Records raised events for one event on one object
-
-
-
-
- Store information about a raised event
-
- Parameters the event was raised with
-
-
-
- The object events are recorded from
-
-
-
-
- The name of the event that's recorded
-
-
-
-
-
- The object events are recorded from
- The name of the event that's recorded
-
-
-
- Enumerate raised events
-
-
-
-
- Enumerate raised events
-
-
-
-
-
- Called by the auto-generated IL, to record information about a raised event.
-
-
-
-
- The object events are recorded from
-
-
-
-
- The name of the event that's recorded
-
-
-
-
- Simple dictionary that uses a to the event source as the key.
- This should ensure the Garbage Collector can still clean-up the event source object.
-
-
-
-
- This class is used to store data about an intercepted event
-
-
-
-
- Default constructor stores the parameters the event was raised with
-
-
-
-
- Parameters for the event
-
-
-
-
- Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure.
-
-
-
-
- Gets an object that wraps and executes a conditional or unconditional verification.
-
-
-
-
- Provides a fluent API for verifying an arbitrary condition.
-
-
-
-
- Represents the phrase that can be used in as a placeholder for the reason of an assertion.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the name or identifier of the current subject, or a default value if the subject is not known.
-
-
-
-
- Specify the condition that must be satisfied.
-
- If true the verification will be succesful.
-
-
-
- Specify a predicate that with the condition that must be satisfied.
-
-
-
-
- Specify the reason why you expect the condition to be true.
-
-
- A formatted phrase explaining why the condition should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Define the failure message for the verification.
-
-
- If the contains the text "{reason}", this will be replaced by the reason as
- defined through . Only 10 are supported in combination with
- a {reason}.
-
- The format string that represents the failure message.
- Optional arguments for the
-
-
-
- Indicates that every argument passed into is displayed on a separate line.
-
-
-
-
- Gets or sets the name of the subject for the next verification.
-
-
-
-
- Extension methods on to allow for a more fluent way of specifying a .
-
-
- Instead of
-
- new DateTime(2011, 3, 10)
-
- you can write 3.March(2011)
-
- Or even
-
- 3.March(2011).At(09, 30)
-
-
-
-
-
- Returns a new value for the specified and
- in the month January.
-
-
-
-
- Returns a new value for the specified and
- in the month February.
-
-
-
-
- Returns a new value for the specified and
- in the month March.
-
-
-
-
- Returns a new value for the specified and
- in the month April.
-
-
-
-
- Returns a new value for the specified and
- in the month May.
-
-
-
-
- Returns a new value for the specified and
- in the month June.
-
-
-
-
- Returns a new value for the specified and
- in the month July.
-
-
-
-
- Returns a new value for the specified and
- in the month August.
-
-
-
-
- Returns a new value for the specified and
- in the month September.
-
-
-
-
- Returns a new value for the specified and
- in the month October.
-
-
-
-
- Returns a new value for the specified and
- in the month November.
-
-
-
-
- Returns a new value for the specified and
- in the month December.
-
-
-
-
- Returns a new value for the specified and .
-
-
-
-
- Returns a new value for the specified and time with the specified
- , and optionally .
-
-
-
-
- Returns a new value that is the current before the
- specified .
-
-
-
-
- Returns a new value that is the current after the
- specified .
-
-
-
-
- Specialized value formatter that looks for static methods in the caller's assembly marked with the
- .
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Determines whether this instance can handle the specified value.
-
- The value.
-
- true if this instance can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Provides services for formatting an object being used in an assertion in a human readable format.
-
-
-
-
- A list of objects responsible for formatting the objects represented by placeholders.
-
-
-
-
- Returns a human-readable representation of a particular object.
-
- The value for which to create a .
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- Indicates whether the formatter should use line breaks when the specific supports it.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Marks a static method as a kind of for a particular type.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Contains a number of extension methods for floating point .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the subject is considered equal to another object according to the implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is not equal to another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is less than another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is less than or equal to another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is greater than another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is greater than or equal to another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a value is within a range.
-
-
- Where the range is continuous or incremental depends on the actual type of the value.
-
-
- The minimum valid value of the range.
-
-
- The maximum valid value of the range.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the integral number value is exactly the same as the value.
-
- The expected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the integral number value is exactly the same as the value.
-
- The expected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the integral number value is not the same as the value.
-
- The unexpected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the integral number value is not the same as the value.
-
- The unexpected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is greater than or equal to zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is less than zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is less than the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is less than or equal to the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is greater than the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is greater than or equal to the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a value is within a range.
-
-
- Where the range is continuous or incremental depends on the actual type of the value.
-
-
- The minimum valid value of the range.
-
-
- The maximum valid value of the range.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a value is one of the specified .
-
-
- The values that are valid.
-
-
-
-
- Asserts that a value is one of the specified .
-
-
- The values that are valid.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a is in the expected state.
-
-
-
-
- Asserts that the value is false.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is true.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Defines the way compares the expected exception
- message with the actual one.
-
-
-
-
- The message must match exactly, including the casing of the characters.
-
-
-
-
- The message must match except for the casing of the characters.
-
-
-
-
- The message must start with the exact text, including the casing of the characters..
-
-
-
-
- The message must start with the text except for the casing of the characters.
-
-
-
-
- The message must contain the exact text.
-
-
-
-
- The message must contain the text except for the casing of the characters.
-
-
-
-
- The message must match a wildcard pattern consisting of ordinary characters as well as * and ?.
-
-
-
-
- Contains a number of methods to assert that a is in the expected state.
-
-
- You can use the for a more fluent way of specifying a .
-
-
-
-
- Asserts that the current is exactly equal to the value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is not equal to the value.
-
- The unexpected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is within the specified number of milliseconds (default = 20 ms)
- from the specified value.
-
-
- Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime,
- use .
-
-
- The expected time to compare the actual value with.
-
-
- The maximum amount of milliseconds which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is before the specified value.
-
- The that the current value is expected to be before.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is either on, or before the specified value.
-
- The that the current value is expected to be on or before.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is after the specified value.
-
- The that the current value is expected to be after.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is either on, or after the specified value.
-
- The that the current value is expected to be on or after.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the year.
-
- The expected year of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the month.
-
- The expected month of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the day.
-
- The expected day of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the hour.
-
- The expected hour of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the minute.
-
- The expected minutes of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the second.
-
- The expected seconds of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Returns a object that can be used to assert that the current
- exceeds the specified compared to another .
-
-
- The amount of time that the current should exceed compared to another .
-
-
-
-
- Returns a object that can be used to assert that the current
- is equal to or exceeds the specified compared to another .
-
-
- The amount of time that the current should be equal or exceed compared to
- another .
-
-
-
-
- Returns a object that can be used to assert that the current
- differs exactly the specified compared to another .
-
-
- The amount of time that the current should differ exactly compared to another .
-
-
-
-
- Returns a object that can be used to assert that the current
- is within the specified compared to another .
-
-
- The amount of time that the current should be within another .
-
-
-
-
- Returns a object that can be used to assert that the current
- differs at maximum the specified compared to another .
-
-
- The maximum amount of time that the current should differ compared to another .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that a is in the correct state.
-
-
-
-
- Asserts that the is .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is not .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is equal to the GUID.
-
- The expected value to compare the actual value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is equal to the GUID.
-
- The expected value to compare the actual value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is not equal to the GUID.
-
- The unexpected value to compare the actual value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
-
-
- Asserts that a nullable boolean value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable boolean value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
- You can use the for a more fluent way of specifying a .
-
-
-
-
- Asserts that a nullable value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
-
-
- Asserts that a nullable value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
- You can use the for a more fluent way of specifying a .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
-
-
- Asserts that the time difference of the current is greater than zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is less than zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is equal to the
- specified time.
-
- The expected time difference
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is not equal to the
- specified time.
-
- The unexpected time difference
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is less than the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is less than or equal to the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is greater than the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is greater than or equal to the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Asserts that a nullable value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that an object equals another object using its implementation.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that an object does not equal another object using it's method.
-
- The unexpected value
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object reference refers to the exact same object as another object reference.
-
- The expected object
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object reference refers to a different object than another object reference refers to.
-
- The unexpected object
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the object is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the object is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Contains a number of methods to assert that a is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace.
-
- The expected string.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is one of the specified .
-
-
- The values that are valid.
-
-
-
-
- Asserts that the is one of the specified .
-
-
- The values that are valid.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
- the exception of the casing.
-
-
- The string that the subject is expected to be equivalent to.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is not exactly the same as the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is not expected to be equivalent to.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string starts exactly with the specified value,
- including the casing and any leading or trailing whitespace.
-
- The string that the subject is expected to start with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string starts with the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is expected to start with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string ends exactly with the specified ,
- including the casing and any leading or trailing whitespace.
-
- The string that the subject is expected to end with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string ends with the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is expected to end with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string contains another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should contain.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string contains the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is expected to contain.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not contain another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should not contain.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not contain the specified string,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is not expected to contain.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is not .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string has the specified length.
-
- The expected length of the string
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is neither null nor .
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a string is either null or .
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a string is neither null nor nor white space
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a string is either null or or white space
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Dedicated class for comparing two strings and generating consistent error messages.
-
-
-
-
- Gets or sets a value indicating whether the subject should not match the pattern.
-
-
-
-
- Gets or sets a value indicating whether the matching process should ignore any casing difference.
-
-
-
-
- Contains a number of methods to assert that two objects differ in the expected way.
-
-
- You can use the and for a more fluent
- way of specifying a or a .
-
-
-
-
- Asserts that a occurs a specified amount of time before another .
-
-
- The to compare the subject with.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a occurs a specified amount of time after another .
-
-
- The to compare the subject with.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Provides the logic and the display text for a .
-
-
-
-
- Contains a number of methods to assert that an yields the expected result.
-
-
-
-
- Asserts that the current throws an exception of type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not throw an exception of type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not throw any exception.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the that is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the correct state.
-
-
-
-
- Asserts that the thrown exception has a message that matches
- depending on the specified matching mode.
-
-
- The expected message of the exception.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the thrown exception has a message that matches
- depending on the specified matching mode.
-
-
- The expected message of the exception.
-
-
- Determines how the expected message is compared with the actual message.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the thrown exception contains an inner exception of type .
-
- The expected type of the inner exception.
-
-
-
- Asserts that the thrown exception contains an inner exception of type .
-
- The expected type of the inner exception.
- The reason why the inner exception should be of the supplied type.
- The parameters used when formatting the .
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
- Determines how the expected message is compared with the actual message.
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
-
- The reason why the message of the inner exception should match .
-
- The parameters used when formatting the .
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
- Determines how the expected message is compared with the actual message.
-
- The reason why the message of the inner exception should match .
-
- The parameters used when formatting the .
-
-
-
- Asserts that the exception matches a particular condition.
-
-
- The condition that the exception must match.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Gets the exception object of the exception thrown.
-
-
-
-
- Selection rule that adds all public properties of the subject as far as they are defined on the declared
- type.
-
-
-
-
- Represents a rule that defines which properties of the subject-under-test to include while comparing
- two objects for structural equality.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- Type info about the subject.
-
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Selection rule that adds all public properties of the subject based on its run-time type rather than its
- declared type.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- General purpose implementation of that uses a predicate to determine whether
- this rule applies to a particular property and executes an action to assert equality.
-
- The type of the subject.
-
-
-
- Defines how a subject's property is compared for equality with the same property of the expectation.
-
-
- Provides details about the subject's property.
-
-
- The value of the subject's property.
-
-
- The value of a property on expectation object that was identified
-
-
- Returns true if the rule was applied correctly and the assertion didn't cause any exceptions.
- Returns false if this rule doesn't support the subject's type.
- Throws if the rule did support the data type but assertion fails.
-
-
-
-
- Defines how a subject's property is compared for equality with the same property of the expectation.
-
-
- Provides details about the subject's property.
-
-
- The value of the subject's property.
-
-
- The value of a property on expectation object that was identified
-
-
- Returns true if the rule was applied correctly and the assertion didn't cause any exceptions.
- Returns false if this rule doesn't support the subject's type.
- Throws if the rule did support the data type but assertion fails.
-
-
-
-
- Provides the required information for executing an equality assertion between a subject and an expectation.
-
- The type of the subject.
-
-
-
- Gets the of the property that returned the current object, or null if the current
- object represents the root object.
-
-
-
-
- Gets the value of the
-
-
-
-
- Gets the value of the expectation object that was matched with the subject using a .
-
-
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Selection rule that removes a particular property from the structural comparison based on a predicate.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Provides details about the subject's root or nested property.
-
-
-
-
- Gets the of the property that returned the current object, or null if the current
- object represents the root object.
-
-
-
-
- Gets the full path from the root object until the current object separated by dots.
-
-
-
-
- Gets a display-friendly representation of the .
-
-
-
-
- Gets the compile-time type of the current object. If the current object is not the root object, then it returns the
- same as the property does.
-
-
-
-
- Gets the run-time type of the current object.
-
-
-
-
- Represents a selection context of a nested property
-
-
-
-
- Gets the of the property that returned the current object, or
- null if the current object represents the root object.
-
-
-
-
- Gets the full path from the root object until the current property, separated by dots.
-
-
-
-
- Gets a textual description of the current property based on the .
-
-
-
-
- Gets the compile-time type of the current object. If the current object is not the root object, then it returns the
- same as the property does.
-
-
-
-
- Gets the run-time type of the current object.
-
-
-
-
- Is responsible for the exact run-time behavior of a structural equality comparison.
-
- The type of the subject.
-
-
-
- Provides the run-time details of the class.
-
-
-
-
- Gets an ordered collection of selection rules that define what properties are included.
-
-
-
-
- Gets an ordered collection of matching rules that determine which subject properties are matched with which
- expectation properties.
-
-
-
-
- Gets an ordered collection of assertion rules that determine how subject properties are compared for equality with
- expectation properties.
-
-
-
-
- Gets or sets a value indicating whether or not the assertion must perform a deep comparison.
-
-
-
-
- Gets a configuration that compares all declared properties of the subject with equally named properties of the expectation,
- and includes the entire object graph. The names of the properties between the subject and expectation must match.
-
-
-
-
- Gets a configuration that by default doesn't include any of the subject's properties and doesn't consider any nested objects
- or collections.
-
-
-
-
- Adds all public properties of the subject as far as they are defined on the declared type.
-
-
-
-
- Adds all public properties of the subject based on its run-time type rather than its declared type.
-
-
-
-
- Tries to match the properties of the subject with equally named properties on the expectation. Ignores those
- properties that don't exist on the expectation.
-
-
-
-
- Requires the expectation to have properties which are equally named to properties on the subject.
-
-
-
-
-
- Excludes the specified (nested) property from the structural equality check.
-
-
-
-
- Excludes a (nested) property based on a predicate from the structural equality check.
-
-
-
-
- Includes the specified property in the equality check.
-
-
- This overrides the default behavior of including all declared properties.
-
-
-
-
- The assertion to execute when the predicate is met.
-
-
-
-
- Causes the structural equality check to include nested collections and complex types.
-
-
-
-
- Causes the structural equality check to ignore any cyclic references.
-
-
- By default, cyclic references within the object graph will cause an exception to be thrown.
-
-
-
-
- Clears all selection rules, including those that were added by default.
-
-
-
-
- Clears all matching rules, including those that were added by default.
-
-
-
-
- Adds a selection rule to the ones allready added by default and which is evaluated after all existing rules.
-
-
-
-
- Adds a matching rule to the ones allready added by default and which is evaluated before all existing rules.
-
-
-
-
- Adds a matching rule to the ones allready added by default and which is evaluated before all existing rules
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Gets an ordered collection of selection rules that define what properties are included.
-
-
-
-
- Gets an ordered collection of matching rules that determine which subject properties are matched with which
- expectation properties.
-
-
-
-
- Gets an ordered collection of assertion rules that determine how subject properties are compared for equality with
- expectation properties.
-
-
-
-
- Gets value indicating whether the equality check will include nested collections and complex types.
-
-
-
-
- Gets value indicating how cyclic references should be handled. By default, it will throw an exception.
-
-
-
-
- Defines additional overrides when used with
-
-
-
-
- Allows overriding the way structural equality is applied to (nested) objects of tyoe
-
-
-
-
- Allows overriding the way structural equality is applied to particular properties.
-
-
- A predicate based on the of the subject that is used to identify the property for which the
- override applies.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Indication of how cyclic references should be handled when validating equality of nested properties.
-
-
-
-
- Cyclic references will be ignored.
-
-
-
-
- Cyclic references will result in an exception.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Selection rule that removes a particular property from the structural comparison.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Represents a rule that defines how to map the properties from the subject-under-test with the properties
- on the expectation object.
-
-
-
-
- Attempts to find a property on the expectation that should be compared with the
- during a structural equality.
-
-
- Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue,
- simply return null.
-
-
- The of the subject's property for which a match must be found. Can never
- be null.
-
-
- The expectation object for which a matching property must be returned. Can never be null.
-
-
- The dotted path from the root object to the current property. Will never be null.
-
-
- Returns the of the property with which to compare the subject with, or null
- if no match was found.
-
-
-
-
- Selection rule that includes a particular property in the structural comparison.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Provides information on a particular property during an assertion for structural equality of two object graphs.
-
-
-
-
- Gets the property of the that was matched against the ,
- or null if is true.
-
-
-
-
- Gets the value of the .
-
-
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a verification object associated with the current and .
-
-
-
-
- Gets a value indicating whether the current context represents the root of the object graph.
-
-
-
-
- Gets the value of the
-
-
-
-
- Requires the expectation object to have a property with the exact same name.
-
-
-
-
- Attempts to find a property on the expectation that should be compared with the
- during a structural equality.
-
-
- Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue,
- simply return null.
-
-
- The of the subject's property for which a match must be found. Can never
- be null.
-
-
- The expectation object for which a matching property must be returned. Can never be null.
-
-
- The dotted path from the root object to the current property. Will never be null.
-
-
- Returns the of the property with which to compare the subject with, or null
- if no match was found.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Provides methods for selecting one or more properties of an object and comparing them with another object.
-
-
-
-
- Includes all properties of when comparing the subject with another object using .
-
-
-
-
- Includes all properties of including those of the run-time type when comparing the subject
- with another object using .
-
-
-
-
- Includes all properties of when comparing the subject with another object using ,
- except those that the other object does not have.
-
-
-
-
- Perform recursive property comparison of the child properties for objects that are of incompatible type.
-
-
- Indication of how cyclic references in the nested properties should be handled. By default this will result in an
- exception, but if is specified, cyclic references will just be ignored.
-
-
-
-
- Includes all properties of when comparing the subject with another object using ,
- except those specified using a property expression.
-
- A single property expression to exclude.
- Optional list of additional property expressions to exclude.
-
-
-
- Excludes the properties specified by the from the comparison.
-
- A single property expression to exclude.
- Optional list of additional property expressions to exclude.
-
-
-
- Includes only those properties of when comparing the subject with another object using
- that were specified using a property expression.
-
- A single property expression to include.
- Optional list of additional property expressions to include.
-
-
-
- Asserts that the previously selected properties of have the same value as the equally named
- properties of .
-
- The object to compare the current object with
-
- Property values are considered equal if, after converting them to the requested type, calling
- returns true.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Gets the of the property that returned the current object, or
- null if the current object represents the root object.
-
-
-
-
- Gets the full path from the root object until the current property, separated by dots.
-
-
-
-
- Gets a textual description of the current property based on the .
-
-
-
-
- Gets the value of the
-
-
-
-
- Gets the property of the that was matched against the ,
- or null if is true.
-
-
-
-
- Gets the value of the .
-
-
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a value indicating whether the current context represents the root of the object graph.
-
-
-
-
- Gets the compile-time type of the current object. If the current object is not the root object, then it returns the
- same as the property does.
-
-
-
-
- Gets the run-time type of the current object.
-
-
-
-
- Gets a verification object associated with the current and .
-
-
-
-
- Is responsible for validating the equality of one or more properties of a subject with another object.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Finds a property of the expectation with the exact same name, but doesn't require it.
-
-
-
-
- Attempts to find a property on the expectation that should be compared with the
- during a structural equality.
-
-
- Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue,
- simply return null.
-
-
- The of the subject's property for which a match must be found. Can never
- be null.
-
-
- The expectation object for which a matching property must be returned. Can never be null.
-
-
- The dotted path from the root object to the current property. Will never be null.
-
-
- Returns the of the property with which to compare the subject with, or null
- if no match was found.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Extension methods on to allow for a more fluent way of specifying a .
-
-
- Instead of
-
- TimeSpan.FromHours(12)
-
- you can write
-
- 12.Hours()
-
- Or even
-
- 12.Hours().And(30.Minutes()).
-
-
-
-
-
- Returns a based on a number of milliseconds.
-
-
-
-
- Returns a based on a number of seconds.
-
-
-
-
- Returns a based on a number of seconds, and add the specified
- .
-
-
-
-
- Returns a based on a number of minutes.
-
-
-
-
- Returns a based on a number of minutes, and add the specified
- .
-
-
-
-
- Returns a based on a number of hours.
-
-
-
-
- Returns a based on a number of hours, and add the specified
- .
-
-
-
-
- Returns a based on a number of days.
-
-
-
-
- Returns a based on a number of days, and add the specified
- .
-
-
-
-
- Convenience method for chaining multiple calls to the methods provided by this class.
-
-
- 23.Hours().And(59.Minutes())
-
-
-
-
- Extension methods for getting method and property selectors for a type.
-
-
-
-
- Returns the types that are visible outside the specified .
-
-
-
-
- Returns a method selector for the current .
-
-
-
-
- Returns a method selector for the current .
-
-
-
-
- Returns a property selector for the current .
-
-
-
-
- Returns a property selector for the current .
-
-
-
-
- Static class that allows for a 'fluent' selection of the types from an .
-
-
- AllTypes.From(myAssembly)
- .ThatImplement<ISomeInterface>
- .Should()
- .BeDecoratedWith<SomeAttribute>()
-
-
-
-
- Returns a for selecting the types that are visible outside the
- specified .
-
- The assembly from which to select the types.
-
-
-
- Contains assertions for the objects returned by the parent .
-
-
-
-
- Initializes a new instance of the class.
-
- The method to assert.
-
-
-
- Initializes a new instance of the class.
-
- The methods to assert.
-
-
-
- Asserts that the selected methods are virtual.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the selected methods are decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Allows for fluent selection of methods of a type through reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The type from which to select methods.
-
-
-
- Initializes a new instance of the class.
-
- The types from which to select methods.
-
-
-
- Only select the methods that return the specified type
-
-
-
-
- Only select the methods that are decorated with an attribute of the specified type.
-
-
-
-
- The resulting objects.
-
-
-
-
- Determines whether the specified method has a special name (like properties and events).
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
- 1
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
- 2
-
-
-
- Only select the methods that are public or internal.
-
-
-
-
- Only select the methods without a return value
-
-
-
-
- Contains assertions for the objects returned by the parent .
-
-
-
-
- Initializes a new instance of the class, for a single .
-
- The property to assert.
-
-
-
- Initializes a new instance of the class, for a number of objects.
-
- The properties to assert.
-
-
-
- Asserts that the selected properties are virtual.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the selected methods are decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Allows for fluent selection of properties of a type through reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The type from which to select properties.
-
-
-
- Initializes a new instance of the class.
-
- The types from which to select properties.
-
-
-
- Only select the properties that are decorated with an attribute of the specified type.
-
-
-
-
- Only select the properties that return the specified type
-
-
-
-
- The resulting objects.
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
- 1
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
- 2
-
-
-
- Only select the properties that have a public or internal getter.
-
-
-
-
- Contains a number of methods to assert that a meets certain expectations.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current type is equal to the specified type.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current type is equal to the specified type.
-
- The expected type
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Creates an error message in case the specifed type differs from the
- type.
-
-
- An empty if the two specified types are the same, or an error message that describes that
- the two specified types are not the same.
-
-
-
-
- Asserts that the current type is not equal to the specified type.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current type is not equal to the specified type.
-
- The unexpected type
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is decorated with an attribute of type
- that matches the specified .
-
-
- The predicate that the attribute must match.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Allows for fluent filtering a list of types.
-
-
-
-
- The resulting objects.
-
-
-
-
- Determines whether a type is a subclass of another type, but NOT the same type.
-
-
-
-
- Determines whether a type implements an interface (but is not the interface itself).
-
-
-
-
- Determines whether a type is decorated with a particular attribute.
-
-
-
-
- Determines whether the namespace of type is exactly .
-
-
-
-
- Determines whether the namespace of type is starts with .
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
- 1
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
- 2
-
-
-
- Contains a number of methods to assert that all s in a
- meet certain expectations.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current is decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is decorated with an attribute of type
- that matches the specified .
-
-
- The predicate that the attribute must match.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current equals the attribute.
-
- The expected attribute
-
-
-
- Asserts that the current equals the attribute.
-
- The expected attribute
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not equal the attribute,
- using its implementation.
-
- The unexpected attribute
-
-
-
- Asserts that the current does not equal the attribute,
- using its implementation.
-
- The unexpected attribute
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is null.
-
-
-
-
- Asserts that the is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the is not null.
-
-
-
-
- Asserts that the is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the current has the specified value.
-
- The expected value
-
-
-
- Asserts that the current has the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current equals the document,
- using its implementation.
-
- The expected document
-
-
-
- Asserts that the current equals the document,
- using its implementation.
-
- The expected document
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not equal the document,
- using its implementation.
-
- The unexpected document
-
-
-
- Asserts that the current does not equal the document,
- using its implementation.
-
- The unexpected document
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is null.
-
-
-
-
- Asserts that the is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the is not null.
-
-
-
-
- Asserts that the is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the current has a root element with the specified
- name.
-
- The name of the expected root element of the current document.
-
-
-
- Asserts that the current has a root element with the specified
- name.
-
- The name of the expected root element of the current document.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the element of the current has a direct
- child element with the specified name.
-
-
- The name of the expected child element of the current document's Root element.
-
-
-
-
- Asserts that the element of the current has a direct
- child element with the specified name.
-
-
- The name of the expected child element of the current document's Root element.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current equals the element.
-
- The expected element
-
-
-
- Asserts that the current equals the element.
-
- The expected element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not equal the element,
- using its implementation.
-
- The unexpected element
-
-
-
- Asserts that the current does not equal the element,
- using its implementation.
-
- The unexpected element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is null.
-
-
-
-
- Asserts that the is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the is not null.
-
-
-
-
- Asserts that the is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the current has an attribute with the specified
- and .
-
- The name of the expected attribute
- The value of the expected attribute
-
-
-
- Asserts that the current has an attribute with the specified
- and .
-
- The name of the expected attribute
- The value of the expected attribute
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has a direct child element with the specified
- name.
-
- The name of the expected child element
-
-
-
- Asserts that the current has a direct child element with the specified
- name.
-
- The name of the expected child element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
diff --git a/packages/FluentAssertions.2.0.0.1/lib/sl4/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll b/packages/FluentAssertions.2.0.0.1/lib/sl4/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll
deleted file mode 100644
index 9313918b..00000000
Binary files a/packages/FluentAssertions.2.0.0.1/lib/sl4/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll and /dev/null differ
diff --git a/packages/FluentAssertions.2.0.0.1/lib/sl4/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.pdb b/packages/FluentAssertions.2.0.0.1/lib/sl4/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.pdb
deleted file mode 100644
index 6096960b..00000000
Binary files a/packages/FluentAssertions.2.0.0.1/lib/sl4/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.pdb and /dev/null differ
diff --git a/packages/FluentAssertions.2.0.0.1/lib/sl4/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.xml b/packages/FluentAssertions.2.0.0.1/lib/sl4/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.xml
deleted file mode 100644
index 0b84c0ae..00000000
--- a/packages/FluentAssertions.2.0.0.1/lib/sl4/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.xml
+++ /dev/null
@@ -1,3429 +0,0 @@
-
-
-
- Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight
-
-
-
-
- UrlToTest specifies the url that should be requested to give context to the test.
-
-
-
-
- An unused attribute.
-
-
-
-
-
- Gets the URL to test.
-
-
-
-
- AspNetDevelopmentServer specifies the settings to be used for the
- ASP.NET Development Server for the test.
-
-
-
-
- Initializes the AspNetDevelopmentServerAttribute.
-
- The name.
- The path to web app.
-
-
-
- Initializes the AspNetDevelopmentServerAttribute.
-
- The name.
- The path to web app.
- The web app root.
-
-
-
- Gets the name.
-
-
-
-
- Gets the PathToWebApp.
-
-
-
-
- Gets the web app root.
-
-
-
-
- AspNetDevelopmentServerHost specifies the settings to be used when
- ASP.NET Development Server is the host server for the test.
-
-
-
-
- Initializes the AspNetDevelopmentServerHostAttribute.
-
- The path to the web app.
-
-
-
- Initializes the AspNetDevelopmentServerHostAttribute.
-
- The path to the web app.
- The web app root.
-
-
-
- Gets the path to the web application.
-
-
-
-
- Gets the WebAppRoot.
-
-
-
-
- For ASP.NET sites that require basic authentication, specify the
- user name and password using the Credential attribute.
- WARNING: The password is stored in plain text in source code
- and in the compiled assembly. Restrict access to the source code
- and assembly to protect this sensitive information.
-
-
-
-
- Specify the user name and password needed to access the web site under test.
-
- The user name.
-
- The password. WARNING: The password is stored in plain text in source code
- and in the compiled assembly. Restrict access to the source code and assembly
- to protect this sensitive information.
-
-
-
-
- Specify the user name, password, and domain needed to access the web site under test.
-
- The user name.
-
- The password. WARNING: The password is stored in plain text in source code
- and in the compiled assembly. Restrict access to the source code and assembly
- to protect this sensitive information.
-
- The domain.
-
-
-
- Gets the user name.
-
-
-
-
- Gets the password.
-
-
-
-
- Gets the domain.
-
-
-
-
- Base class for Framework Exceptions, provides localization trick so that messages are in HA locale.
-
-
-
-
- Initializes a new UnitTestAssertException.
-
-
-
-
- Initializes UnitTestAssertException.
-
- The message.
-
-
-
- Gets the Message string.
-
-
-
-
- AssertFailedException class. Used to indicate failure for a test case
-
-
-
-
- Initializes a new AssertFailedException.
-
- The message.
-
-
-
- AssertFailedException
-
- The message.
- The inner exception.
-
-
-
- The AssertInconclusiveException class.
-
-
-
-
- Initializes a new AssertInconclusiveException.
-
- The message.
-
-
-
- Initializes a new AssertInconclusiveException.
-
- The message.
- The inner exception.
-
-
-
- Initializes a new AssertInconclusiveException.
-
-
-
-
- InternalTestFailureException class. Used to indicate internal failure
- for a test case.
-
-
-
-
- Initializes a new InternalTestFailureException.
-
- The message.
-
-
-
- Initializes a new InternalTestFailureException.
-
- The message.
- The inner exception.
-
-
-
- Initializes a new InternalTestFailureException.
-
-
-
-
- A collection of helper classes to test various conditions within
- unit tests. If the condition being tested is not met, an exception
- is thrown.
-
-
-
-
-
-
-
-
-
- Tests whether the specified condition is true and throws an exception
- if the condition is false.
-
- The condition the test expects to be true.
-
- Thrown if is false.
-
-
-
-
- Tests whether the specified condition is true and throws an exception
- if the condition is false.
-
- The condition the test expects to be true.
-
- The message to include in the exception when
- is false. The message is shown in test results.
-
-
- Thrown if is false.
-
-
-
-
- Tests whether the specified condition is true and throws an exception
- if the condition is false.
-
- The condition the test expects to be true.
-
- The message to include in the exception when
- is false. The message is shown in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is false.
-
-
-
-
- Tests whether the specified condition is false and throws an exception
- if the condition is true.
-
- The condition the test expects to be false.
-
- Thrown if is true.
-
-
-
-
- Tests whether the specified condition is false and throws an exception
- if the condition is true.
-
- The condition the test expects to be false.
-
- The message to include in the exception when
- is true. The message is shown in test results.
-
-
- Thrown if is true.
-
-
-
-
- Tests whether the specified condition is false and throws an exception
- if the condition is true.
-
- The condition the test expects to be false.
-
- The message to include in the exception when
- is true. The message is shown in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is true.
-
-
-
-
- Tests whether the specified object is null and throws an exception
- if it is not.
-
- The object the test expects to be null.
-
- Thrown if is not null.
-
-
-
-
- Tests whether the specified object is null and throws an exception
- if it is not.
-
- The object the test expects to be null.
-
- The message to include in the exception when
- is not null. The message is shown in test results.
-
-
- Thrown if is not null.
-
-
-
-
- Tests whether the specified object is null and throws an exception
- if it is not.
-
- The object the test expects to be null.
-
- The message to include in the exception when
- is not null. The message is shown in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is not null.
-
-
-
-
- Tests whether the specified object is non-null and throws an exception
- if it is null.
-
- The object the test expects not to be null.
-
- Thrown if is null.
-
-
-
-
- Tests whether the specified object is non-null and throws an exception
- if it is null.
-
- The object the test expects not to be null.
-
- The message to include in the exception when
- is null. The message is shown in test results.
-
-
- Thrown if is null.
-
-
-
-
- Tests whether the specified object is non-null and throws an exception
- if it is null.
-
- The object the test expects not to be null.
-
- The message to include in the exception when
- is null. The message is shown in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is null.
-
-
-
-
- Tests whether the specified objects both refer to the same object and
- throws an exception if the two inputs do not refer to the same object.
-
-
- The first object to compare. This is the value the test expects.
-
-
- The second object to compare. This is the value produced by the code under test.
-
-
- Thrown if does not refer to the same object
- as .
-
-
-
-
- Tests whether the specified objects both refer to the same object and
- throws an exception if the two inputs do not refer to the same object.
-
-
- The first object to compare. This is the value the test expects.
-
-
- The second object to compare. This is the value produced by the code under test.
-
-
- The message to include in the exception when
- is not the same as . The message is shown
- in test results.
-
-
- Thrown if does not refer to the same object
- as .
-
-
-
-
- Tests whether the specified objects both refer to the same object and
- throws an exception if the two inputs do not refer to the same object.
-
-
- The first object to compare. This is the value the test expects.
-
-
- The second object to compare. This is the value produced by the code under test.
-
-
- The message to include in the exception when
- is not the same as . The message is shown
- in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if does not refer to the same object
- as .
-
-
-
-
- Tests whether the specified objects refer to different objects and
- throws an exception if the two inputs refer to the same object.
-
-
- The first object to compare. This is the value the test expects not
- to match .
-
-
- The second object to compare. This is the value produced by the code under test.
-
-
- Thrown if refers to the same object
- as .
-
-
-
-
- Tests whether the specified objects refer to different objects and
- throws an exception if the two inputs refer to the same object.
-
-
- The first object to compare. This is the value the test expects not
- to match .
-
-
- The second object to compare. This is the value produced by the code under test.
-
-
- The message to include in the exception when
- is the same as . The message is shown in
- test results.
-
-
- Thrown if refers to the same object
- as .
-
-
-
-
- Tests whether the specified objects refer to different objects and
- throws an exception if the two inputs refer to the same object.
-
-
- The first object to compare. This is the value the test expects not
- to match .
-
-
- The second object to compare. This is the value produced by the code under test.
-
-
- The message to include in the exception when
- is the same as . The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if refers to the same object
- as .
-
-
-
-
- Tests whether the specified values are equal and throws an exception
- if the two values are not equal. Different numeric types are treated
- as unequal even if the logical values are equal. 42L is not equal to 42.
-
- The type of values to compare.
-
- The first value to compare. This is the value the tests expects.
-
-
- The second value to compare. This is the value produced by the code under test.
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified values are equal and throws an exception
- if the two values are not equal. Different numeric types are treated
- as unequal even if the logical values are equal. 42L is not equal to 42.
-
- The type of values to compare.
-
- The first value to compare. This is the value the tests expects.
-
-
- The second value to compare. This is the value produced by the code under test.
-
-
- The message to include in the exception when
- is not equal to . The message is shown in
- test results.
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified values are equal and throws an exception
- if the two values are not equal. Different numeric types are treated
- as unequal even if the logical values are equal. 42L is not equal to 42.
-
- The type of values to compare.
-
- The first value to compare. This is the value the tests expects.
-
-
- The second value to compare. This is the value produced by the code under test.
-
-
- The message to include in the exception when
- is not equal to . The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified values are unequal and throws an exception
- if the two values are equal. Different numeric types are treated
- as unequal even if the logical values are equal. 42L is not equal to 42.
-
- The type of values to compare.
-
- The first value to compare. This is the value the test expects not
- to match .
-
-
- The second value to compare. This is the value produced by the code under test.
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified values are unequal and throws an exception
- if the two values are equal. Different numeric types are treated
- as unequal even if the logical values are equal. 42L is not equal to 42.
-
- The type of values to compare.
-
- The first value to compare. This is the value the test expects not
- to match .
-
-
- The second value to compare. This is the value produced by the code under test.
-
-
- The message to include in the exception when
- is equal to . The message is shown in
- test results.
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified values are unequal and throws an exception
- if the two values are equal. Different numeric types are treated
- as unequal even if the logical values are equal. 42L is not equal to 42.
-
- The type of values to compare.
-
- The first value to compare. This is the value the test expects not
- to match .
-
-
- The second value to compare. This is the value produced by the code under test.
-
-
- The message to include in the exception when
- is equal to . The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified objects are equal and throws an exception
- if the two objects are not equal. Different numeric types are treated
- as unequal even if the logical values are equal. 42L is not equal to 42.
-
-
- The first object to compare. This is the object the tests expects.
-
-
- The second object to compare. This is the object produced by the code under test.
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified objects are equal and throws an exception
- if the two objects are not equal. Different numeric types are treated
- as unequal even if the logical values are equal. 42L is not equal to 42.
-
-
- The first object to compare. This is the object the tests expects.
-
-
- The second object to compare. This is the object produced by the code under test.
-
-
- The message to include in the exception when
- is not equal to . The message is shown in
- test results.
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified objects are equal and throws an exception
- if the two objects are not equal. Different numeric types are treated
- as unequal even if the logical values are equal. 42L is not equal to 42.
-
-
- The first object to compare. This is the object the tests expects.
-
-
- The second object to compare. This is the object produced by the code under test.
-
-
- The message to include in the exception when
- is not equal to . The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified objects are unequal and throws an exception
- if the two objects are equal. Different numeric types are treated
- as unequal even if the logical values are equal. 42L is not equal to 42.
-
-
- The first object to compare. This is the value the test expects not
- to match .
-
-
- The second object to compare. This is the object produced by the code under test.
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified objects are unequal and throws an exception
- if the two objects are equal. Different numeric types are treated
- as unequal even if the logical values are equal. 42L is not equal to 42.
-
-
- The first object to compare. This is the value the test expects not
- to match .
-
-
- The second object to compare. This is the object produced by the code under test.
-
-
- The message to include in the exception when
- is equal to . The message is shown in
- test results.
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified objects are unequal and throws an exception
- if the two objects are equal. Different numeric types are treated
- as unequal even if the logical values are equal. 42L is not equal to 42.
-
-
- The first object to compare. This is the value the test expects not
- to match .
-
-
- The second object to compare. This is the object produced by the code under test.
-
-
- The message to include in the exception when
- is equal to . The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified floats are equal and throws an exception
- if they are not equal.
-
-
- The first float to compare. This is the float the tests expects.
-
-
- The second float to compare. This is the float produced by the code under test.
-
-
- The required accuracy. An exception will be thrown only if
- is different than
- by more than .
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified floats are equal and throws an exception
- if they are not equal.
-
-
- The first float to compare. This is the float the tests expects.
-
-
- The second float to compare. This is the float produced by the code under test.
-
-
- The required accuracy. An exception will be thrown only if
- is different than
- by more than .
-
-
- The message to include in the exception when
- is different than by more than
- . The message is shown in test results.
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified floats are equal and throws an exception
- if they are not equal.
-
-
- The first float to compare. This is the float the tests expects.
-
-
- The second float to compare. This is the float produced by the code under test.
-
-
- The required accuracy. An exception will be thrown only if
- is different than
- by more than .
-
-
- The message to include in the exception when
- is different than by more than
- . The message is shown in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified floats are unequal and throws an exception
- if they are equal.
-
-
- The first float to compare. This is the float the test expects not to
- match .
-
-
- The second float to compare. This is the float produced by the code under test.
-
-
- The required accuracy. An exception will be thrown only if
- is different than
- by at most .
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified floats are unequal and throws an exception
- if they are equal.
-
-
- The first float to compare. This is the float the test expects not to
- match .
-
-
- The second float to compare. This is the float produced by the code under test.
-
-
- The required accuracy. An exception will be thrown only if
- is different than
- by at most .
-
-
- The message to include in the exception when
- is equal to or different by less than
- . The message is shown in test results.
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified floats are unequal and throws an exception
- if they are equal.
-
-
- The first float to compare. This is the float the test expects not to
- match .
-
-
- The second float to compare. This is the float produced by the code under test.
-
-
- The required accuracy. An exception will be thrown only if
- is different than
- by at most .
-
-
- The message to include in the exception when
- is equal to or different by less than
- . The message is shown in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified doubles are equal and throws an exception
- if they are not equal.
-
-
- The first double to compare. This is the double the tests expects.
-
-
- The second double to compare. This is the double produced by the code under test.
-
-
- The required accuracy. An exception will be thrown only if
- is different than
- by more than .
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified doubles are equal and throws an exception
- if they are not equal.
-
-
- The first double to compare. This is the double the tests expects.
-
-
- The second double to compare. This is the double produced by the code under test.
-
-
- The required accuracy. An exception will be thrown only if
- is different than
- by more than .
-
-
- The message to include in the exception when
- is different than by more than
- . The message is shown in test results.
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified doubles are equal and throws an exception
- if they are not equal.
-
-
- The first double to compare. This is the double the tests expects.
-
-
- The second double to compare. This is the double produced by the code under test.
-
-
- The required accuracy. An exception will be thrown only if
- is different than
- by more than .
-
-
- The message to include in the exception when
- is different than by more than
- . The message is shown in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified doubles are unequal and throws an exception
- if they are equal.
-
-
- The first double to compare. This is the double the test expects not to
- match .
-
-
- The second double to compare. This is the double produced by the code under test.
-
-
- The required accuracy. An exception will be thrown only if
- is different than
- by at most .
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified doubles are unequal and throws an exception
- if they are equal.
-
-
- The first double to compare. This is the double the test expects not to
- match .
-
-
- The second double to compare. This is the double produced by the code under test.
-
-
- The required accuracy. An exception will be thrown only if
- is different than
- by at most .
-
-
- The message to include in the exception when
- is equal to or different by less than
- . The message is shown in test results.
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified doubles are unequal and throws an exception
- if they are equal.
-
-
- The first double to compare. This is the double the test expects not to
- match .
-
-
- The second double to compare. This is the double produced by the code under test.
-
-
- The required accuracy. An exception will be thrown only if
- is different than
- by at most .
-
-
- The message to include in the exception when
- is equal to or different by less than
- . The message is shown in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified strings are equal and throws an exception
- if they are not equal. The invariant culture is used for the comparison.
-
-
- The first string to compare. This is the string the tests expects.
-
-
- The second string to compare. This is the string produced by the code under test.
-
-
- A Boolean indicating a case-sensitive or insensitive comparison. (true
- indicates a case-insensitive comparison.)
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified strings are equal and throws an exception
- if they are not equal. The invariant culture is used for the comparison.
-
-
- The first string to compare. This is the string the tests expects.
-
-
- The second string to compare. This is the string produced by the code under test.
-
-
- A Boolean indicating a case-sensitive or insensitive comparison. (true
- indicates a case-insensitive comparison.)
-
-
- The message to include in the exception when
- is not equal to . The message is shown in
- test results.
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified strings are equal and throws an exception
- if they are not equal. The invariant culture is used for the comparison.
-
-
- The first string to compare. This is the string the tests expects.
-
-
- The second string to compare. This is the string produced by the code under test.
-
-
- A Boolean indicating a case-sensitive or insensitive comparison. (true
- indicates a case-insensitive comparison.)
-
-
- The message to include in the exception when
- is not equal to . The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified strings are equal and throws an exception
- if they are not equal.
-
-
- The first string to compare. This is the string the tests expects.
-
-
- The second string to compare. This is the string produced by the code under test.
-
-
- A Boolean indicating a case-sensitive or insensitive comparison. (true
- indicates a case-insensitive comparison.)
-
-
- A CultureInfo object that supplies culture-specific comparison information.
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified strings are equal and throws an exception
- if they are not equal.
-
-
- The first string to compare. This is the string the tests expects.
-
-
- The second string to compare. This is the string produced by the code under test.
-
-
- A Boolean indicating a case-sensitive or insensitive comparison. (true
- indicates a case-insensitive comparison.)
-
-
- A CultureInfo object that supplies culture-specific comparison information.
-
-
- The message to include in the exception when
- is not equal to . The message is shown in
- test results.
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified strings are equal and throws an exception
- if they are not equal.
-
-
- The first string to compare. This is the string the tests expects.
-
-
- The second string to compare. This is the string produced by the code under test.
-
-
- A Boolean indicating a case-sensitive or insensitive comparison. (true
- indicates a case-insensitive comparison.)
-
-
- A CultureInfo object that supplies culture-specific comparison information.
-
-
- The message to include in the exception when
- is not equal to . The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified strings are unequal and throws an exception
- if they are equal. The invariant culture is used for the comparison.
-
-
- The first string to compare. This is the string the test expects not to
- match .
-
-
- The second string to compare. This is the string produced by the code under test.
-
-
- A Boolean indicating a case-sensitive or insensitive comparison. (true
- indicates a case-insensitive comparison.)
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified strings are unequal and throws an exception
- if they are equal. The invariant culture is used for the comparison.
-
-
- The first string to compare. This is the string the test expects not to
- match .
-
-
- The second string to compare. This is the string produced by the code under test.
-
-
- A Boolean indicating a case-sensitive or insensitive comparison. (true
- indicates a case-insensitive comparison.)
-
-
- The message to include in the exception when
- is equal to . The message is shown in
- test results.
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified strings are unequal and throws an exception
- if they are equal. The invariant culture is used for the comparison.
-
-
- The first string to compare. This is the string the test expects not to
- match .
-
-
- The second string to compare. This is the string produced by the code under test.
-
-
- A Boolean indicating a case-sensitive or insensitive comparison. (true
- indicates a case-insensitive comparison.)
-
-
- The message to include in the exception when
- is equal to . The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified strings are unequal and throws an exception
- if they are equal.
-
-
- The first string to compare. This is the string the test expects not to
- match .
-
-
- The second string to compare. This is the string produced by the code under test.
-
-
- A Boolean indicating a case-sensitive or insensitive comparison. (true
- indicates a case-insensitive comparison.)
-
-
- A CultureInfo object that supplies culture-specific comparison information.
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified strings are unequal and throws an exception
- if they are equal.
-
-
- The first string to compare. This is the string the test expects not to
- match .
-
-
- The second string to compare. This is the string produced by the code under test.
-
-
- A Boolean indicating a case-sensitive or insensitive comparison. (true
- indicates a case-insensitive comparison.)
-
-
- A CultureInfo object that supplies culture-specific comparison information.
-
-
- The message to include in the exception when
- is equal to . The message is shown in
- test results.
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified strings are unequal and throws an exception
- if they are equal.
-
-
- The first string to compare. This is the string the test expects not to
- match .
-
-
- The second string to compare. This is the string produced by the code under test.
-
-
- A Boolean indicating a case-sensitive or insensitive comparison. (true
- indicates a case-insensitive comparison.)
-
-
- A CultureInfo object that supplies culture-specific comparison information.
-
-
- The message to include in the exception when
- is equal to . The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified object is an instance of the expected
- type and throws an exception if the expected type is not in the
- inheritance hierarchy of the object.
-
-
- The object the test expects to be of the specified type.
-
-
- The expected type of .
-
-
- Thrown if is null or
- is not in the inheritance hierarchy
- of .
-
-
-
-
- Tests whether the specified object is an instance of the expected
- type and throws an exception if the expected type is not in the
- inheritance hierarchy of the object.
-
-
- The object the test expects to be of the specified type.
-
-
- The expected type of .
-
-
- The message to include in the exception when
- is not an instance of . The message is
- shown in test results.
-
-
- Thrown if is null or
- is not in the inheritance hierarchy
- of .
-
-
-
-
- Tests whether the specified object is an instance of the expected
- type and throws an exception if the expected type is not in the
- inheritance hierarchy of the object.
-
-
- The object the test expects to be of the specified type.
-
-
- The expected type of .
-
-
- The message to include in the exception when
- is not an instance of . The message is
- shown in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is null or
- is not in the inheritance hierarchy
- of .
-
-
-
-
- Tests whether the specified object is not an instance of the wrong
- type and throws an exception if the specified type is in the
- inheritance hierarchy of the object.
-
-
- The object the test expects not to be of the specified type.
-
-
- The type that should not be.
-
-
- Thrown if is not null and
- is in the inheritance hierarchy
- of .
-
-
-
-
- Tests whether the specified object is not an instance of the wrong
- type and throws an exception if the specified type is in the
- inheritance hierarchy of the object.
-
-
- The object the test expects not to be of the specified type.
-
-
- The type that should not be.
-
-
- The message to include in the exception when
- is an instance of . The message is shown
- in test results.
-
-
- Thrown if is not null and
- is in the inheritance hierarchy
- of .
-
-
-
-
- Tests whether the specified object is not an instance of the wrong
- type and throws an exception if the specified type is in the
- inheritance hierarchy of the object.
-
-
- The object the test expects not to be of the specified type.
-
-
- The type that should not be.
-
-
- The message to include in the exception when
- is an instance of . The message is shown
- in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is not null and
- is in the inheritance hierarchy
- of .
-
-
-
-
- Throws an AssertFailedException.
-
-
- Always thrown.
-
-
-
-
- Throws an AssertFailedException.
-
-
- The message to include in the exception. The message is shown in
- test results.
-
-
- Always thrown.
-
-
-
-
- Throws an AssertFailedException.
-
-
- The message to include in the exception. The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Always thrown.
-
-
-
-
- Throws an AssertInconclusiveException.
-
-
- Always thrown.
-
-
-
-
- Throws an AssertInconclusiveException.
-
-
- The message to include in the exception. The message is shown in
- test results.
-
-
- Always thrown.
-
-
-
-
- Throws an AssertInconclusiveException.
-
-
- The message to include in the exception. The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Always thrown.
-
-
-
-
- Helper function that creates and throws an AssertionFailedException.
-
- name of the assertion throwing an exception.
- message describing conditions for assertion failure.
- The parameters.
-
-
-
- Checks the parameter for valid conditions
-
- The parameter.
- The assertion name.
- The parameter name.
- The message.
- The parameters.
-
-
-
- Safely converts an object to a string, handling null values and null characters.
- Null values are converted to "(null)". Null characters are converted to "\\0".
-
- The object to convert to a string.
- The converted string.
-
-
-
- Replaces null characters ('\0') with "\\0".
-
- The string to search.
- The converted string with null characters replaced by "\\0".
-
-
-
- An exception from reflection will always be a TargetInvocationException - however
- the goal of Private Accessors is to be seamless to the original code.
- The only problem with throwing the inner exception is that the stack trace will
- be overwritten. From here we register the stack trace of the inner exception
- and then throw it. The Unit Test Adapter will then later rebuild the stack
- from the cached shadow information plus the remaining stack from this throw.
-
-
-
-
-
- A collection of helper classes to test various conditions associated
- with collections within unit tests. If the condition being tested is not
- met, an exception is thrown.
-
-
-
-
- Tests whether the specified collection contains the specified element
- and throws an exception if the element is not in the collection.
-
-
- The collection in which to search for the element.
-
-
- The element that is expected to be in the collection.
-
-
- Thrown if is not found in
- .
-
-
-
-
- Tests whether the specified collection contains the specified element
- and throws an exception if the element is not in the collection.
-
-
- The collection in which to search for the element.
-
-
- The element that is expected to be in the collection.
-
-
- The message to include in the exception when
- is not in . The message is shown in
- test results.
-
-
- Thrown if is not found in
- .
-
-
-
-
- Tests whether the specified collection contains the specified element
- and throws an exception if the element is not in the collection.
-
-
- The collection in which to search for the element.
-
-
- The element that is expected to be in the collection.
-
-
- The message to include in the exception when
- is not in . The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is not found in
- .
-
-
-
-
- Tests whether the specified collection does not contain the specified
- element and throws an exception if the element is in the collection.
-
-
- The collection in which to search for the element.
-
-
- The element that is expected not to be in the collection.
-
-
- Thrown if is found in
- .
-
-
-
-
- Tests whether the specified collection does not contain the specified
- element and throws an exception if the element is in the collection.
-
-
- The collection in which to search for the element.
-
-
- The element that is expected not to be in the collection.
-
-
- The message to include in the exception when
- is in . The message is shown in test
- results.
-
-
- Thrown if is found in
- .
-
-
-
-
- Tests whether the specified collection does not contain the specified
- element and throws an exception if the element is in the collection.
-
-
- The collection in which to search for the element.
-
-
- The element that is expected not to be in the collection.
-
-
- The message to include in the exception when
- is in . The message is shown in test
- results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is found in
- .
-
-
-
-
- Tests whether all items in the specified collection are non-null and throws
- an exception if any element is null.
-
-
- The collection in which to search for null elements.
-
-
- Thrown if a null element is found in .
-
-
-
-
- Tests whether all items in the specified collection are non-null and throws
- an exception if any element is null.
-
-
- The collection in which to search for null elements.
-
-
- The message to include in the exception when
- contains a null element. The message is shown in test results.
-
-
- Thrown if a null element is found in .
-
-
-
-
- Tests whether all items in the specified collection are non-null and throws
- an exception if any element is null.
-
-
- The collection in which to search for null elements.
-
-
- The message to include in the exception when
- contains a null element. The message is shown in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if a null element is found in .
-
-
-
-
- Tests whether all items in the specified collection are unique or not and
- throws if any two elements in the collection are equal.
-
-
- The collection in which to search for duplicate elements.
-
-
- Thrown if a two or more equal elements are found in
- .
-
-
-
-
- Tests whether all items in the specified collection are unique or not and
- throws if any two elements in the collection are equal.
-
-
- The collection in which to search for duplicate elements.
-
-
- The message to include in the exception when
- contains at least one duplicate element. The message is shown in
- test results.
-
-
- Thrown if a two or more equal elements are found in
- .
-
-
-
-
- Tests whether all items in the specified collection are unique or not and
- throws if any two elements in the collection are equal.
-
-
- The collection in which to search for duplicate elements.
-
-
- The message to include in the exception when
- contains at least one duplicate element. The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if a two or more equal elements are found in
- .
-
-
-
-
- Tests whether one collection is a subset of another collection and
- throws an exception if any element in the subset is not also in the
- superset.
-
-
- The collection expected to be a subset of .
-
-
- The collection expected to be a superset of
-
-
- Thrown if an element in is not found in
- .
-
-
-
-
- Tests whether one collection is a subset of another collection and
- throws an exception if any element in the subset is not also in the
- superset.
-
-
- The collection expected to be a subset of .
-
-
- The collection expected to be a superset of
-
-
- The message to include in the exception when an element in
- is not found in .
- The message is shown in test results.
-
-
- Thrown if an element in is not found in
- .
-
-
-
-
- Tests whether one collection is a subset of another collection and
- throws an exception if any element in the subset is not also in the
- superset.
-
-
- The collection expected to be a subset of .
-
-
- The collection expected to be a superset of
-
-
- The message to include in the exception when an element in
- is not found in .
- The message is shown in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if an element in is not found in
- .
-
-
-
-
- Tests whether one collection is not a subset of another collection and
- throws an exception if all elements in the subset are also in the
- superset.
-
-
- The collection expected not to be a subset of .
-
-
- The collection expected not to be a superset of
-
-
- Thrown if every element in is also found in
- .
-
-
-
-
- Tests whether one collection is not a subset of another collection and
- throws an exception if all elements in the subset are also in the
- superset.
-
-
- The collection expected not to be a subset of .
-
-
- The collection expected not to be a superset of
-
-
- The message to include in the exception when every element in
- is also found in .
- The message is shown in test results.
-
-
- Thrown if every element in is also found in
- .
-
-
-
-
- Tests whether one collection is not a subset of another collection and
- throws an exception if all elements in the subset are also in the
- superset.
-
-
- The collection expected not to be a subset of .
-
-
- The collection expected not to be a superset of
-
-
- The message to include in the exception when every element in
- is also found in .
- The message is shown in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if every element in is also found in
- .
-
-
-
-
- Tests whether two collections contain the same elements and throws an
- exception if either collection contains an element not in the other
- collection.
-
-
- The first collection to compare. This contains the elements the test
- expects.
-
-
- The second collection to compare. This is the collection produced by
- the code under test.
-
-
- Thrown if an element was found in one of the collections but not
- the other.
-
-
-
-
- Tests whether two collections contain the same elements and throws an
- exception if either collection contains an element not in the other
- collection.
-
-
- The first collection to compare. This contains the elements the test
- expects.
-
-
- The second collection to compare. This is the collection produced by
- the code under test.
-
-
- The message to include in the exception when an element was found
- in one of the collections but not the other. The message is shown
- in test results.
-
-
- Thrown if an element was found in one of the collections but not
- the other.
-
-
-
-
- Tests whether two collections contain the same elements and throws an
- exception if either collection contains an element not in the other
- collection.
-
-
- The first collection to compare. This contains the elements the test
- expects.
-
-
- The second collection to compare. This is the collection produced by
- the code under test.
-
-
- The message to include in the exception when an element was found
- in one of the collections but not the other. The message is shown
- in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if an element was found in one of the collections but not
- the other.
-
-
-
-
- Tests whether two collections contain the different elements and throws an
- exception if the two collections contain identical elements without regard
- to order.
-
-
- The first collection to compare. This contains the elements the test
- expects to be different than the actual collection.
-
-
- The second collection to compare. This is the collection produced by
- the code under test.
-
-
- Thrown if the two collections contained the same elements, including
- the same number of duplicate occurrences of each element.
-
-
-
-
- Tests whether two collections contain the different elements and throws an
- exception if the two collections contain identical elements without regard
- to order.
-
-
- The first collection to compare. This contains the elements the test
- expects to be different than the actual collection.
-
-
- The second collection to compare. This is the collection produced by
- the code under test.
-
-
- The message to include in the exception when
- contains the same elements as . The message
- is shown in test results.
-
-
- Thrown if the two collections contained the same elements, including
- the same number of duplicate occurrences of each element.
-
-
-
-
- Tests whether two collections contain the different elements and throws an
- exception if the two collections contain identical elements without regard
- to order.
-
-
- The first collection to compare. This contains the elements the test
- expects to be different than the actual collection.
-
-
- The second collection to compare. This is the collection produced by
- the code under test.
-
-
- The message to include in the exception when
- contains the same elements as . The message
- is shown in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if the two collections contained the same elements, including
- the same number of duplicate occurrences of each element.
-
-
-
-
- Tests whether all elements in the specified collection are instances
- of the expected type and throws an exception if the expected type is
- not in the inheritance hierarchy of one or more of the elements.
-
-
- The collection containing elements the test expects to be of the
- specified type.
-
-
- The expected type of each element of .
-
-
- Thrown if an element in is null or
- is not in the inheritance hierarchy
- of an element in .
-
-
-
-
- Tests whether all elements in the specified collection are instances
- of the expected type and throws an exception if the expected type is
- not in the inheritance hierarchy of one or more of the elements.
-
-
- The collection containing elements the test expects to be of the
- specified type.
-
-
- The expected type of each element of .
-
-
- The message to include in the exception when an element in
- is not an instance of
- . The message is shown in test results.
-
-
- Thrown if an element in is null or
- is not in the inheritance hierarchy
- of an element in .
-
-
-
-
- Tests whether all elements in the specified collection are instances
- of the expected type and throws an exception if the expected type is
- not in the inheritance hierarchy of one or more of the elements.
-
-
- The collection containing elements the test expects to be of the
- specified type.
-
-
- The expected type of each element of .
-
-
- The message to include in the exception when an element in
- is not an instance of
- . The message is shown in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if an element in is null or
- is not in the inheritance hierarchy
- of an element in .
-
-
-
-
- Tests whether the specified collections are equal and throws an exception
- if the two collections are not equal. Equality is defined as having the same
- elements in the same order and quantity. Different references to the same
- value are considered equal.
-
-
- The first collection to compare. This is the collection the tests expects.
-
-
- The second collection to compare. This is the collection produced by the
- code under test.
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified collections are equal and throws an exception
- if the two collections are not equal. Equality is defined as having the same
- elements in the same order and quantity. Different references to the same
- value are considered equal.
-
-
- The first collection to compare. This is the collection the tests expects.
-
-
- The second collection to compare. This is the collection produced by the
- code under test.
-
-
- The message to include in the exception when
- is not equal to . The message is shown in
- test results.
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified collections are equal and throws an exception
- if the two collections are not equal. Equality is defined as having the same
- elements in the same order and quantity. Different references to the same
- value are considered equal.
-
-
- The first collection to compare. This is the collection the tests expects.
-
-
- The second collection to compare. This is the collection produced by the
- code under test.
-
-
- The message to include in the exception when
- is not equal to . The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified collections are unequal and throws an exception
- if the two collections are equal. Equality is defined as having the same
- elements in the same order and quantity. Different references to the same
- value are considered equal.
-
-
- The first collection to compare. This is the collection the tests expects
- not to match .
-
-
- The second collection to compare. This is the collection produced by the
- code under test.
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified collections are unequal and throws an exception
- if the two collections are equal. Equality is defined as having the same
- elements in the same order and quantity. Different references to the same
- value are considered equal.
-
-
- The first collection to compare. This is the collection the tests expects
- not to match .
-
-
- The second collection to compare. This is the collection produced by the
- code under test.
-
-
- The message to include in the exception when
- is equal to . The message is shown in
- test results.
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified collections are unequal and throws an exception
- if the two collections are equal. Equality is defined as having the same
- elements in the same order and quantity. Different references to the same
- value are considered equal.
-
-
- The first collection to compare. This is the collection the tests expects
- not to match .
-
-
- The second collection to compare. This is the collection produced by the
- code under test.
-
-
- The message to include in the exception when
- is equal to . The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified collections are equal and throws an exception
- if the two collections are not equal. Equality is defined as having the same
- elements in the same order and quantity. Different references to the same
- value are considered equal.
-
-
- The first collection to compare. This is the collection the tests expects.
-
-
- The second collection to compare. This is the collection produced by the
- code under test.
-
-
- The compare implementation to use when comparing elements of the collection.
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified collections are equal and throws an exception
- if the two collections are not equal. Equality is defined as having the same
- elements in the same order and quantity. Different references to the same
- value are considered equal.
-
-
- The first collection to compare. This is the collection the tests expects.
-
-
- The second collection to compare. This is the collection produced by the
- code under test.
-
-
- The compare implementation to use when comparing elements of the collection.
-
-
- The message to include in the exception when
- is not equal to . The message is shown in
- test results.
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified collections are equal and throws an exception
- if the two collections are not equal. Equality is defined as having the same
- elements in the same order and quantity. Different references to the same
- value are considered equal.
-
-
- The first collection to compare. This is the collection the tests expects.
-
-
- The second collection to compare. This is the collection produced by the
- code under test.
-
-
- The compare implementation to use when comparing elements of the collection.
-
-
- The message to include in the exception when
- is not equal to . The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is not equal to
- .
-
-
-
-
- Tests whether the specified collections are unequal and throws an exception
- if the two collections are equal. Equality is defined as having the same
- elements in the same order and quantity. Different references to the same
- value are considered equal.
-
-
- The first collection to compare. This is the collection the tests expects
- not to match .
-
-
- The second collection to compare. This is the collection produced by the
- code under test.
-
-
- The compare implementation to use when comparing elements of the collection.
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified collections are unequal and throws an exception
- if the two collections are equal. Equality is defined as having the same
- elements in the same order and quantity. Different references to the same
- value are considered equal.
-
-
- The first collection to compare. This is the collection the tests expects
- not to match .
-
-
- The second collection to compare. This is the collection produced by the
- code under test.
-
-
- The compare implementation to use when comparing elements of the collection.
-
-
- The message to include in the exception when
- is equal to . The message is shown in
- test results.
-
-
- Thrown if is equal to .
-
-
-
-
- Tests whether the specified collections are unequal and throws an exception
- if the two collections are equal. Equality is defined as having the same
- elements in the same order and quantity. Different references to the same
- value are considered equal.
-
-
- The first collection to compare. This is the collection the tests expects
- not to match .
-
-
- The second collection to compare. This is the collection produced by the
- code under test.
-
-
- The compare implementation to use when comparing elements of the collection.
-
-
- The message to include in the exception when
- is equal to . The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is equal to .
-
-
-
-
- Constructs a dictionary containing the number of occurrences of each
- element in the specified collection.
-
-
- The collection to process.
-
-
- The number of null elements in the collection.
-
-
- A dictionary containing the number of occurrences of each element
- in the specified collection.
-
-
-
-
- Determines whether the first collection is a subset of the second
- collection. If either set contains duplicate elements, the number
- of occurrences of the element in the subset must be less than or
- equal to the number of occurrences in the superset.
-
-
- The collection the test expects to be contained in .
-
-
- The collection the test expects to contain .
-
-
- True if is a subset of
- , false otherwise.
-
-
-
-
- Finds a mismatched element between the two collections. A mismatched
- element is one that appears a different number of times in the
- expected collection than it does in the actual collection. The
- collections are assumed to be different non-null references with the
- same number of elements. The caller is responsible for this level of
- verification. If there is no mismatched element, the function returns
- false and the out parameters should not be used.
-
- The first collection to compare.
- The second collection to compare.
-
- The expected number of occurrences of
- or 0 if there is no mismatched
- element.
-
-
- The actual number of occurrences of
- or 0 if there is no mismatched
- element.
-
-
- The mismatched element (may be null) or null if there is no
- mismatched element.
-
-
- true if a mismatched element was found; false otherwise.
-
-
-
-
- compares the objects using object.Equals
-
-
-
-
- This class is designed to help user doing unit testing.
- GenericParameterHelper satisfies some comment generic type constraints
- such as:
- 1. public default constructor
- 2. implements common interface: IComparable, IEnumerable, ICloneable
-
-
-
-
-
- public default constructor, satisfies the constraint in C# generics.
- This constructor initializes the Data property to a random value.
-
-
-
-
- This constructor initializes the Data property to a user-supplied value
-
-
-
-
-
- Do the value comparison for two GenericParameterHelper object
-
- object to do comparison with
- true if obj has the same value as 'this' GenericParameterHelper object.
- false otherwise.
-
-
-
- Returns a hash code for this object.
-
-
-
-
-
- Compares to the object.
-
-
-
-
-
-
- Returns an IEnumerator object whose length is derived from
- the Data property.
-
-
-
-
-
- Returns a GenericParameterHelper object that is equal to
- 'this' one.
-
-
-
-
-
- Gets or sets the Data property.
-
-
-
-
- Provides method signature discovery for generic methods.
-
-
-
-
- Given a set of methods that match the base criteria, select a method based
- upon an array of types. This method should return null if no method matches
- the criteria.
-
-
-
-
- Set of string assertions.
-
-
-
-
- Tests whether the specified string contains the specified substring
- and throws an exception if the substring does not occur within the
- test string.
-
-
- The string that is expected to contain .
-
-
- The string expected to occur within .
-
-
- Thrown if is not found in
- .
-
-
-
-
- Tests whether the specified string contains the specified substring
- and throws an exception if the substring does not occur within the
- test string.
-
-
- The string that is expected to contain .
-
-
- The string expected to occur within .
-
-
- The message to include in the exception when
- is not in . The message is shown in
- test results.
-
-
- Thrown if is not found in
- .
-
-
-
-
- Tests whether the specified string contains the specified substring
- and throws an exception if the substring does not occur within the
- test string.
-
-
- The string that is expected to contain .
-
-
- The string expected to occur within .
-
-
- The message to include in the exception when
- is not in . The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if is not found in
- .
-
-
-
-
- Tests whether the specified string begins with the specified substring
- and throws an exception if the test string does not start with the
- substring.
-
-
- The string that is expected to begin with .
-
-
- The string expected to be a prefix of .
-
-
- Thrown if does not begin with
- .
-
-
-
-
- Tests whether the specified string begins with the specified substring
- and throws an exception if the test string does not start with the
- substring.
-
-
- The string that is expected to begin with .
-
-
- The string expected to be a prefix of .
-
-
- The message to include in the exception when
- does not begin with . The message is
- shown in test results.
-
-
- Thrown if does not begin with
- .
-
-
-
-
- Tests whether the specified string begins with the specified substring
- and throws an exception if the test string does not start with the
- substring.
-
-
- The string that is expected to begin with .
-
-
- The string expected to be a prefix of .
-
-
- The message to include in the exception when
- does not begin with . The message is
- shown in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if does not begin with
- .
-
-
-
-
- Tests whether the specified string ends with the specified substring
- and throws an exception if the test string does not end with the
- substring.
-
-
- The string that is expected to end with .
-
-
- The string expected to be a suffix of .
-
-
- Thrown if does not end with
- .
-
-
-
-
- Tests whether the specified string ends with the specified substring
- and throws an exception if the test string does not end with the
- substring.
-
-
- The string that is expected to end with .
-
-
- The string expected to be a suffix of .
-
-
- The message to include in the exception when
- does not end with . The message is
- shown in test results.
-
-
- Thrown if does not end with
- .
-
-
-
-
- Tests whether the specified string ends with the specified substring
- and throws an exception if the test string does not end with the
- substring.
-
-
- The string that is expected to end with .
-
-
- The string expected to be a suffix of .
-
-
- The message to include in the exception when
- does not end with . The message is
- shown in test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if does not end with
- .
-
-
-
-
- Tests whether the specified string matches a regular expression and
- throws an exception if the string does not match the expression.
-
-
- The string that is expected to match .
-
-
- The regular expression that is
- expected to match.
-
-
- Thrown if does not match
- .
-
-
-
-
- Tests whether the specified string matches a regular expression and
- throws an exception if the string does not match the expression.
-
-
- The string that is expected to match .
-
-
- The regular expression that is
- expected to match.
-
-
- The message to include in the exception when
- does not match . The message is shown in
- test results.
-
-
- Thrown if does not match
- .
-
-
-
-
- Tests whether the specified string matches a regular expression and
- throws an exception if the string does not match the expression.
-
-
- The string that is expected to match .
-
-
- The regular expression that is
- expected to match.
-
-
- The message to include in the exception when
- does not match . The message is shown in
- test results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if does not match
- .
-
-
-
-
- Tests whether the specified string does not match a regular expression
- and throws an exception if the string matches the expression.
-
-
- The string that is expected not to match .
-
-
- The regular expression that is
- expected to not match.
-
-
- Thrown if matches .
-
-
-
-
- Tests whether the specified string does not match a regular expression
- and throws an exception if the string matches the expression.
-
-
- The string that is expected not to match .
-
-
- The regular expression that is
- expected to not match.
-
-
- The message to include in the exception when
- matches . The message is shown in test
- results.
-
-
- Thrown if matches .
-
-
-
-
- Tests whether the specified string does not match a regular expression
- and throws an exception if the string matches the expression.
-
-
- The string that is expected not to match .
-
-
- The regular expression that is
- expected to not match.
-
-
- The message to include in the exception when
- matches . The message is shown in test
- results.
-
-
- An array of parameters to use when formatting .
-
-
- Thrown if matches .
-
-
-
-
- TestContext class. This class should be fully abstract and not contain any
- members. The adapter will implement the members. Users in the framework should
- only access this via a well-defined interface.
-
-
-
-
- Used to write trace messages while the test is running
-
- format string
- the arguments
-
-
-
- Adds a file name to the list in TestResult.ResultFileNames
-
-
-
-
- Begins a timer with the specified name
-
-
-
-
- Ends a timer with the specified name
-
-
-
-
- Per test properties
-
-
-
-
-
- Current data row when test is used for data driven testing.
-
-
-
-
- Current data connection row when test is used for data driven testing.
-
-
-
-
- Gets the test logs directory.
-
-
-
-
- Gets the test directory.
-
-
-
-
- Gets the test deployment directory.
-
-
-
-
- Gets the test name.
-
-
-
-
- Gets the CurrentTestOutcome.
-
-
-
-
- Outcome of a test or a run.
- If a new successful state needs to be added you will need to modify
- RunResultAndStatistics in TestRun and TestOutcomeHelper below.
-
- NOTE: the order is important and is used for computing outcome for aggregations.
- More important outcomes come first. See TestOutcomeHelper.GetAggregationOutcome.
-
-
-
-
- Test was executed, but there were issues.
- Issues may involve exceptions or failed assertions.
-
-
-
-
- Test has completed, but we can't say if it passed or failed.
- May be used for aborted tests...
-
-
-
-
- Test was executed w/o any issues.
-
-
-
-
- Test is currently executing.
-
-
-
-
- There was a system error while we were trying to execute a test.
-
-
-
-
- The test timed out.
-
-
-
-
- Test was aborted by the user.
-
-
-
-
- Test is in an unknown state
-
-
-
-
- The data row.
-
-
-
-
- The database connection.
-
-
-
-
- Marks a test class.
-
-
-
-
- Initializes a new test class attribute.
-
-
-
-
- Marks a test method.
-
-
-
-
- Initializes a new TestMethodAttribute.
-
-
-
-
- A method marker called before a test method runs.
-
-
-
-
- Initializes a new TestInitializeAttribute.
-
-
-
-
- A method marker called after a test method runs.
-
-
-
-
- Initializes a new TestCleanupAttribute.
-
-
-
-
- Ignores a unit test.
-
-
-
-
- Initializes a new IgnoreAttribute.
-
-
-
-
- The ExpectedExceptionAttribute.
-
-
-
-
- Initializes the ExpectedExceptionAttribute.
-
- The exception type.
-
-
-
- Initializes the ExpectedExceptionAttribute.
-
- The exception type.
- The message.
-
-
-
- Gets the exception type.
-
-
-
-
- Gets the message.
-
-
-
-
- The test property attribute.
-
-
-
-
- Initializes the TestPropertyAttribute.
-
-
-
-
-
-
- Gets the name.
-
-
-
-
- Gets the value.
-
-
-
-
- The ClassInitializeAttribute.
-
-
-
-
- Initializes the ClassInitializeAttribute.
-
-
-
-
- The ClassCleanupAttribute.
-
-
-
-
- Initializes the ClassCleanupAttribute.
-
-
-
-
- The AssemblyInitializeAttribute.
-
-
-
-
- Initializes the AssemblyInitializeAttribute.
-
-
-
-
- The AssemblyCleanupAttribute.
-
-
-
-
- Initializes the AssemblyCleanupAttribute.
-
-
-
-
- Description of the test.
-
-
-
-
- Initializes the DescriptionAttribute.
-
- The description.
-
-
-
- Gets the description.
-
-
-
-
- The OwnerAttribute.
-
-
-
-
- Initializes the OwnerAttribute.
-
- The owner.
-
-
-
- Gets the owner.
-
-
-
-
- CSS Project Structure URI.
-
-
-
-
- Initializes the CSS Project Structure URI.
-
- The structure.
-
-
-
- Gets the property structure.
-
-
-
-
- CSS Iteration URI
-
-
-
-
- Initializes the CssIterationAttribute.
-
- The parameter.
-
-
-
- Gets the CssIteration.
-
-
-
-
- Priority attribute; used to specify the priority of a unit test.
-
-
-
-
- Initializes the PriorityAttribute.
-
- The priority.
-
-
-
- Gets the Priority.
-
-
-
-
- Timeout attribute; used to specify the timeout of a unit test.
-
-
-
-
- Initializes the TimeoutAttribute.
-
-
-
-
-
- Gets the Timeout.
-
-
-
-
- WorkItem attribute; used to specify a work item associated with this test.
-
-
-
-
- Initializes the WorkItemAttribute.
-
-
-
-
-
- Gets the ID.
-
-
-
-
- HostType specifies the type of host that this unit test will
- run in.
-
-
-
-
- Initializes the host type attribute.
-
-
-
-
-
- Constructor of HostTypeAttribute.
-
- The type of the host.
- Custom data for the host adapter.
-
-
- The reason this is string (and not object) is that currently CMI cannot parse arbitrary instances of object and we deprioritized changing CMI.
-
-
-
- Gets the host type.
-
-
-
-
- Gets the host data.
-
-
-
-
- Used to specify deployment item (file or directory) for per-test deployment.
- Can be specified on test class or test method.
- Can have multiple instances of the attribute to specify more than one item.
- The item path can be absolute or relative, if relative, it is relative to RunConfig.RelativePathRoot.
-
-
- [DeploymentItem("file1.xml")]
- [DeploymentItem("file2.xml", "DataFiles")]
- [DeploymentItem("bin\Debug")]
-
-
-
-
- Initializes DeploymentItemAttribute.
-
- The path.
-
-
-
- Initializes DeploymentItemAttribute.
-
- The path.
- The output directory.
-
-
-
- Verifiable interface.
-
-
-
-
- The IsValid method.
-
- Returns a value.
-
-
-
diff --git a/packages/FluentAssertions.2.0.0.1/lib/winrt45/FluentAssertions.dll b/packages/FluentAssertions.2.0.0.1/lib/winrt45/FluentAssertions.dll
deleted file mode 100644
index e05a9664..00000000
Binary files a/packages/FluentAssertions.2.0.0.1/lib/winrt45/FluentAssertions.dll and /dev/null differ
diff --git a/packages/FluentAssertions.2.0.0.1/lib/winrt45/FluentAssertions.pdb b/packages/FluentAssertions.2.0.0.1/lib/winrt45/FluentAssertions.pdb
deleted file mode 100644
index 22e059ba..00000000
Binary files a/packages/FluentAssertions.2.0.0.1/lib/winrt45/FluentAssertions.pdb and /dev/null differ
diff --git a/packages/FluentAssertions.2.0.0.1/lib/winrt45/FluentAssertions.xml b/packages/FluentAssertions.2.0.0.1/lib/winrt45/FluentAssertions.xml
deleted file mode 100644
index 7e6449d2..00000000
--- a/packages/FluentAssertions.2.0.0.1/lib/winrt45/FluentAssertions.xml
+++ /dev/null
@@ -1,5513 +0,0 @@
-
-
-
- FluentAssertions
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Contains extension methods for custom assertions in unit tests.
-
-
-
-
- Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow
- overloads.
-
-
-
-
- Provides methods for asserting the execution time of a method or property.
-
- The object that exposes the method or property.
- A reference to the method or property to measure the execution time of.
-
- Returns an object for asserting that the execution time matches certain conditions.
-
-
-
-
- Provides methods for asserting the execution time of a method or property.
-
- A reference to the method or property to measure the execution time of.
-
- Returns an object for asserting that the execution time matches certain conditions.
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Asserts that the throws an exception.
-
- A reference to the method or property.
-
- The type of the exception it should throw.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- Returns an object that allows asserting additional members of the thrown exception.
-
-
-
-
- Asserts that the throws an exception.
-
- A reference to the method or property.
-
- The type of the exception it should throw.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- Returns an object that allows asserting additional members of the thrown exception.
-
-
-
-
- Asserts that the does not throw a particular exception.
-
- The current method or property.
-
- The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the does not throw any exception at all.
-
- The current method or property.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Forces enumerating a collection. Should be used to assert that a method that uses the
- yield keyword throws a particular exception.
-
-
-
-
- Forces enumerating a collection. Should be used to assert that a method that uses the
- yield keyword throws a particular exception.
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current .
-
-
-
-
- Returns an object that can be used to assert the
- current nullable .
-
-
-
-
- Returns a object that can be used to assert the
- current .
-
-
-
-
- Returns a object that can be used to assert the methods returned by the
- current .
-
-
-
-
-
- Returns a object that can be used to assert the properties returned by the
- current .
-
-
-
-
-
- Asserts that an object is equivalent to another object.
-
-
- Objects are equivalent when both object graphs have equally named properties with the same value,
- irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal.
- The type of a collection property is ignored as long as the collection implements and all
- items in the collection are structurally equal.
- Notice that actual behavior is determined by the instance of the
- class.
-
-
- An optional formatted phrase as is supported by explaining why the
- assertion is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that an object is equivalent to another object.
-
-
- Objects are equivalent when both object graphs have equally named properties with the same value,
- irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal.
- The type of a collection property is ignored as long as the collection implements and all
- items in the collection are structurally equal.
-
-
- A reference to the configuration object that can be used
- to influence the way the object graphs are compared. You can also provide an alternative instance of the
- class.
-
-
- An optional formatted phrase as is supported by explaining why the
- assertion is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Safely casts the specified object to the type specified through .
-
-
- Has been introduced to allow casting objects without breaking the fluent API.
-
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Contains a number of methods to assert that a reference type object is in the expected state.
-
-
-
-
- Asserts that the object is of the specified type .
-
- The expected type of the object.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the object is assignable to a variable of type .
-
- The type to which the object should be assignable.
- The reason why the object should be assignable to the type.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the is satisfied.
-
- The predicate which must be statisfied by the .
- The reason why the predicate should be satisfied.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the is satisfied.
-
- The predicate which must be statisfied by the .
- The reason why the predicate should be satisfied.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Asserts that the number of items in the collection matches the supplied amount.
-
- The expected number of items in the collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the collection matches a condition stated by the .
-
- A predicate that yields the number of items that is expected to be in the collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection contains at least 1 item.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any duplicate items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any null items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
- A params array with the expected elements.
-
-
-
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection not to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
- An with the elements that are not expected.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
- A params array with the expected elements.
-
-
-
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection not to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
- An with the unexpected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection only contains items that are assignable to the type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain the specified elements in any order. Elements are compared
- using their implementation.
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain the specified elements in the exact same order. Elements are compared
- using their implementation.
-
- An with the expected elements.
-
-
-
- Expects the current collection to contain the specified elements in the exact same order. Elements are compared
- using their implementation.
-
- An with the expected elements.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to have all elements in ascending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to have all elements in descending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to have all elements in the specified .
- Elements are compared using their implementation.
-
-
-
-
- Asserts the current collection does not have all elements in ascending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts the current collection does not have all elements in descending order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts the current collection does not have all elements in ascending order. Elements are compared
- using their implementation.
-
-
-
-
- Asserts that the collection is a subset of the .
-
- An with the expected superset.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection is not a subset of the .
-
- An with the unexpected superset.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Assert that the current collection has the same number of elements as .
-
- The other collection with the same expected number of elements
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has not been initialized yet with an actual collection.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has been initialized with an actual collection.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has the supplied at the
- supplied .
-
- The index where the element is expected
- The expected element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection does not contain the supplied item.
-
- The element that is not expected to be in the collection
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection shares one or more items with the specified .
-
- The with the expected shared items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not share any items with the specified .
-
- The to compare to.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expectation state.
-
-
-
-
- Asserts that two collections contain the same items in the same order, where equality is determined using a
- predicate.
-
-
- The collection to compare the subject with.
-
-
- A predicate the is used to determine whether two objects should be treated as equal.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection contains the specified item.
-
- The expectation item.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection contains some extra items in addition to the original items.
-
- An of expectation items.
- Additional items that are expectation to be contained by the collection.
-
-
-
- Asserts that the collection contains at least one item that matches the predicate.
-
- A predicate to match the items in the collection against.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection only contains items that match a predicate.
-
- A predicate to match the items in the collection against.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection does not contain any items that match the predicate.
-
- A predicate to match the items in the collection against.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Expects the current collection to contain only a single item matching the specified .
-
- The predictes that will be used to find the matching items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the current dictionary has not been initialized yet with an actual dictionary.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary has been initialized with an actual dictionary.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the dictionary matches the supplied amount.
-
- The expected number of items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the dictionary matches a condition stated by a predicate.
-
- The predicate which must be statisfied by the amount of items.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary does not contain any items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains at least 1 item.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary contains all the same key-value pairs as the
- specified dictionary. Keys and values are compared using
- their implementation.
-
- The expected dictionary
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts the current dictionary not to contain all the same key-value pairs as the
- specified dictionary. Keys and values are compared using
- their implementation.
-
- The unexpected dictionary
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains the specified key. Keys are compared using
- their implementation.
-
- The expected key
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains all of the specified keys. Keys are compared using
- their implementation.
-
- The expected keys
-
-
-
- Asserts that the dictionary contains all of the specified keys. Keys are compared using
- their implementation.
-
- The expected keys
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified key.
- Keys are compared using their implementation.
-
- The unexpected key
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains the specified value. Values are compared using
- their implementation.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the dictionary contains all of the specified values. Values are compared using
- their implementation.
-
- The expected values
-
-
-
- Asserts that the dictionary contains all of the specified values. Values are compared using
- their implementation.
-
- The expected values
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified value.
- Values are compared using their implementation.
-
- The unexpected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary contains the specified .
- Keys and values are compared using their implementation.
-
- The expected
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation.
-
- The key for which to validate the value
- The value to validate
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified .
- Keys and values are compared using their implementation.
-
- The unexpected
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current dictionary does not contain the specified for the
- supplied . Values are compared using their implementation.
-
- The key for which to validate the value
- The value to validate
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the current collection contains the specified object. Elements are compared
- using their implementation.
-
- An object, or of objects that are expected to be in the collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a dotted path of property names representing the property expression. E.g. Parent.Child.Sibling.Name.
-
-
-
-
- Finds the first index at which the does not match the
- string anymore, including the exact casing.
-
-
-
-
- Finds the first index at which the does not match the
- string anymore, accounting for the specified .
-
-
-
-
- Gets the quoted three characters at the specified index of a string, including the index itself.
-
-
-
-
- Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts.
-
-
-
-
- Joins a string with one or more other strings using a specified separator.
-
-
- Any string that is empty (including the original string) is ignored.
-
-
-
-
- Determines whether two objects refer to the same property.
-
-
-
-
- Finds the property by a case-sensitive name.
-
-
- Returns null if no such property exists.
-
-
-
-
- Determines whether the specified method has been annotated with a specific attribute.
-
-
- true if the specified method has attribute; otherwise, false.
-
-
-
-
- Provides extension methods for monitoring and querying events.
-
-
-
-
- Starts monitoring an object for its events.
-
- Thrown if eventSource is Null.
-
-
-
- Asserts that an object has raised the event for a particular property.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has raised the event for a particular property.
-
- The object exposing the event.
-
- A lambda expression referring to the property for which the property changed event should have been raised, or
- null to refer to all properties.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has not raised the event for a particular property.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that an object has not raised the event for a particular property.
-
- The object exposing the event.
-
- A lambda expression referring to the property for which the property changed event should have been raised.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- You must call on the same object prior to this call so that Fluent Assertions can
- subscribe for the events of the object.
-
-
-
-
- Asserts that all occurences of the event originated from the .
-
-
-
-
- Asserts that at least one occurrence of the event had an object matching a predicate.
-
-
-
-
- Records activity for a single event.
-
-
-
-
- Records raised events for one event on one object
-
-
-
-
- Store information about a raised event
-
- Parameters the event was raised with
-
-
-
- The object events are recorded from
-
-
-
-
- The name of the event that's recorded
-
-
-
-
-
- The object events are recorded from
- The name of the event that's recorded
-
-
-
- Enumerate raised events
-
-
-
-
- Enumerate raised events
-
-
-
-
-
- Called by the auto-generated IL, to record information about a raised event.
-
-
-
-
- The object events are recorded from
-
-
-
-
- The name of the event that's recorded
-
-
-
-
- Simple dictionary that uses a to the event source as the key.
- This should ensure the Garbage Collector can still clean-up the event source object.
-
-
-
-
- This class is used to store data about an intercepted event
-
-
-
-
- Default constructor stores the parameters the event was raised with
-
-
-
-
- Parameters for the event
-
-
-
-
- Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure.
-
-
-
-
- Gets an object that wraps and executes a conditional or unconditional verification.
-
-
-
-
- Provides a fluent API for verifying an arbitrary condition.
-
-
-
-
- Represents the phrase that can be used in as a placeholder for the reason of an assertion.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the name or identifier of the current subject, or a default value if the subject is not known.
-
-
-
-
- Specify the condition that must be satisfied.
-
- If true the verification will be succesful.
-
-
-
- Specify a predicate that with the condition that must be satisfied.
-
-
-
-
- Specify the reason why you expect the condition to be true.
-
-
- A formatted phrase explaining why the condition should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Define the failure message for the verification.
-
-
- If the contains the text "{reason}", this will be replaced by the reason as
- defined through . Only 10 are supported in combination with
- a {reason}.
-
- The format string that represents the failure message.
- Optional arguments for the
-
-
-
- Indicates that every argument passed into is displayed on a separate line.
-
-
-
-
- Gets or sets the name of the subject for the next verification.
-
-
-
-
- Extension methods on to allow for a more fluent way of specifying a .
-
-
- Instead of
-
- new DateTime(2011, 3, 10)
-
- you can write 3.March(2011)
-
- Or even
-
- 3.March(2011).At(09, 30)
-
-
-
-
-
- Returns a new value for the specified and
- in the month January.
-
-
-
-
- Returns a new value for the specified and
- in the month February.
-
-
-
-
- Returns a new value for the specified and
- in the month March.
-
-
-
-
- Returns a new value for the specified and
- in the month April.
-
-
-
-
- Returns a new value for the specified and
- in the month May.
-
-
-
-
- Returns a new value for the specified and
- in the month June.
-
-
-
-
- Returns a new value for the specified and
- in the month July.
-
-
-
-
- Returns a new value for the specified and
- in the month August.
-
-
-
-
- Returns a new value for the specified and
- in the month September.
-
-
-
-
- Returns a new value for the specified and
- in the month October.
-
-
-
-
- Returns a new value for the specified and
- in the month November.
-
-
-
-
- Returns a new value for the specified and
- in the month December.
-
-
-
-
- Returns a new value for the specified and .
-
-
-
-
- Returns a new value for the specified and time with the specified
- , and optionally .
-
-
-
-
- Returns a new value that is the current before the
- specified .
-
-
-
-
- Returns a new value that is the current after the
- specified .
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Determines whether this instance can handle the specified value.
-
- The value.
-
- true if this instance can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Provides services for formatting an object being used in an assertion in a human readable format.
-
-
-
-
- A list of objects responsible for formatting the objects represented by placeholders.
-
-
-
-
- Returns a human-readable representation of a particular object.
-
- The value for which to create a .
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- Indicates whether the formatter should use line breaks when the specific supports it.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Indicates whether the current can handle the specified .
-
- The value for which to create a .
-
- true if the current can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value for which to create a .
-
-
- A collection of objects that
-
-
- The level of nesting for the supplied value. This is used for indenting the format string for objects that have
- no override.
-
-
- A that represents this instance.
-
-
-
-
- Contains a number of extension methods for floating point .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
- The object that is being extended.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the subject is considered equal to another object according to the implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is not equal to another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is less than another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is less than or equal to another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is greater than another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the subject is greater than or equal to another object according to its implementation of .
-
-
- The object to pass to the subject's method.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a value is within a range.
-
-
- Where the range is continuous or incremental depends on the actual type of the value.
-
-
- The minimum valid value of the range.
-
-
- The maximum valid value of the range.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that the integral number value is exactly the same as the value.
-
- The expected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the integral number value is exactly the same as the value.
-
- The expected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the integral number value is not the same as the value.
-
- The unexpected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the integral number value is not the same as the value.
-
- The unexpected value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is greater than or equal to zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is less than zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is less than the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is less than or equal to the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is greater than the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the numeric value is greater than or equal to the specified value.
-
- The value to compare the current numeric value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a value is within a range.
-
-
- Where the range is continuous or incremental depends on the actual type of the value.
-
-
- The minimum valid value of the range.
-
-
- The maximum valid value of the range.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a value is one of the specified .
-
-
- The values that are valid.
-
-
-
-
- Asserts that a value is one of the specified .
-
-
- The values that are valid.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a is in the expected state.
-
-
-
-
- Asserts that the value is false.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is true.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Defines the way compares the expected exception
- message with the actual one.
-
-
-
-
- The message must match exactly, including the casing of the characters.
-
-
-
-
- The message must match except for the casing of the characters.
-
-
-
-
- The message must start with the exact text, including the casing of the characters..
-
-
-
-
- The message must start with the text except for the casing of the characters.
-
-
-
-
- The message must contain the exact text.
-
-
-
-
- The message must contain the text except for the casing of the characters.
-
-
-
-
- The message must match a wildcard pattern consisting of ordinary characters as well as * and ?.
-
-
-
-
- Contains a number of methods to assert that a is in the expected state.
-
-
- You can use the for a more fluent way of specifying a .
-
-
-
-
- Asserts that the current is exactly equal to the value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is not equal to the value.
-
- The unexpected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is within the specified number of milliseconds (default = 20 ms)
- from the specified value.
-
-
- Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime,
- use .
-
-
- The expected time to compare the actual value with.
-
-
- The maximum amount of milliseconds which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is before the specified value.
-
- The that the current value is expected to be before.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is either on, or before the specified value.
-
- The that the current value is expected to be on or before.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is after the specified value.
-
- The that the current value is expected to be after.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is either on, or after the specified value.
-
- The that the current value is expected to be on or after.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the year.
-
- The expected year of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the month.
-
- The expected month of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the day.
-
- The expected day of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the hour.
-
- The expected hour of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the minute.
-
- The expected minutes of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the second.
-
- The expected seconds of the current value.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Returns a object that can be used to assert that the current
- exceeds the specified compared to another .
-
-
- The amount of time that the current should exceed compared to another .
-
-
-
-
- Returns a object that can be used to assert that the current
- is equal to or exceeds the specified compared to another .
-
-
- The amount of time that the current should be equal or exceed compared to
- another .
-
-
-
-
- Returns a object that can be used to assert that the current
- differs exactly the specified compared to another .
-
-
- The amount of time that the current should differ exactly compared to another .
-
-
-
-
- Returns a object that can be used to assert that the current
- is within the specified compared to another .
-
-
- The amount of time that the current should be within another .
-
-
-
-
- Returns a object that can be used to assert that the current
- differs at maximum the specified compared to another .
-
-
- The maximum amount of time that the current should differ compared to another .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that a is in the correct state.
-
-
-
-
- Asserts that the is .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is not .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is equal to the GUID.
-
- The expected value to compare the actual value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is equal to the GUID.
-
- The expected value to compare the actual value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is not equal to the GUID.
-
- The unexpected value to compare the actual value with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
-
-
- Asserts that a nullable boolean value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable boolean value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
- You can use the for a more fluent way of specifying a .
-
-
-
-
- Asserts that a nullable value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
-
-
- Asserts that a nullable value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
- You can use the for a more fluent way of specifying a .
-
-
-
-
- Contains a number of methods to assert that a nullable is in the expected state.
-
-
-
-
- Asserts that the time difference of the current is greater than zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is less than zero.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is equal to the
- specified time.
-
- The expected time difference
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is not equal to the
- specified time.
-
- The unexpected time difference
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is less than the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is less than or equal to the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is greater than the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the time difference of the current is greater than or equal to the
- specified time.
-
- The time difference to which the current value will be compared
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Asserts that a nullable value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Asserts that an object equals another object using its implementation.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that an object does not equal another object using it's method.
-
- The unexpected value
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object reference refers to the exact same object as another object reference.
-
- The expected object
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object reference refers to a different object than another object reference refers to.
-
- The unexpected object
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the object is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the object is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Contains a number of methods to assert that a is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace.
-
- The expected string.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is one of the specified .
-
-
- The values that are valid.
-
-
-
-
- Asserts that the is one of the specified .
-
-
- The values that are valid.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
- the exception of the casing.
-
-
- The string that the subject is expected to be equivalent to.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is not exactly the same as the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is not expected to be equivalent to.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string starts exactly with the specified value,
- including the casing and any leading or trailing whitespace.
-
- The string that the subject is expected to start with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string starts with the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is expected to start with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string ends exactly with the specified ,
- including the casing and any leading or trailing whitespace.
-
- The string that the subject is expected to end with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string ends with the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is expected to end with.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string contains another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should contain.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string contains the specified ,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is expected to contain.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not contain another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should not contain.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not contain the specified string,
- including any leading or trailing whitespace, with the exception of the casing.
-
- The string that the subject is not expected to contain.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is not .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string has the specified length.
-
- The expected length of the string
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is neither null nor .
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a string is either null or .
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a string is neither null nor nor white space
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a string is either null or or white space
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Dedicated class for comparing two strings and generating consistent error messages.
-
-
-
-
- Gets or sets a value indicating whether the subject should not match the pattern.
-
-
-
-
- Gets or sets a value indicating whether the matching process should ignore any casing difference.
-
-
-
-
- Contains a number of methods to assert that two objects differ in the expected way.
-
-
- You can use the and for a more fluent
- way of specifying a or a .
-
-
-
-
- Asserts that a occurs a specified amount of time before another .
-
-
- The to compare the subject with.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a occurs a specified amount of time after another .
-
-
- The to compare the subject with.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Provides the logic and the display text for a .
-
-
-
-
- Contains a number of methods to assert that an yields the expected result.
-
-
-
-
- Asserts that the current throws an exception of type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not throw an exception of type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not throw any exception.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the that is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the correct state.
-
-
-
-
- Asserts that the thrown exception has a message that matches
- depending on the specified matching mode.
-
-
- The expected message of the exception.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the thrown exception has a message that matches
- depending on the specified matching mode.
-
-
- The expected message of the exception.
-
-
- Determines how the expected message is compared with the actual message.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the thrown exception contains an inner exception of type .
-
- The expected type of the inner exception.
-
-
-
- Asserts that the thrown exception contains an inner exception of type .
-
- The expected type of the inner exception.
- The reason why the inner exception should be of the supplied type.
- The parameters used when formatting the .
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
- Determines how the expected message is compared with the actual message.
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
-
- The reason why the message of the inner exception should match .
-
- The parameters used when formatting the .
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
- Determines how the expected message is compared with the actual message.
-
- The reason why the message of the inner exception should match .
-
- The parameters used when formatting the .
-
-
-
- Asserts that the exception matches a particular condition.
-
-
- The condition that the exception must match.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Gets the exception object of the exception thrown.
-
-
-
-
- Provides methods for asserting that the execution time of an satifies certain conditions.
-
-
-
-
- Initializes a new instance of the class.
-
- The action of which the execution time must be asserted.
-
-
-
- Asserts that the execution time of the operation does not exceed a specified amount of time.
-
-
- The maximum allowed duration.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Provides methods for asserting that the execution time of an object member satifies certain conditions.
-
-
-
-
-
- Initializes a new instance of the class.
-
- The object that exposes the method or property.
- A reference to the method or property to measure the execution time of.
-
-
-
- Selection rule that adds all public properties of the subject as far as they are defined on the declared
- type.
-
-
-
-
- Represents a rule that defines which properties of the subject-under-test to include while comparing
- two objects for structural equality.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- Type info about the subject.
-
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Selection rule that adds all public properties of the subject based on its run-time type rather than its
- declared type.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- General purpose implementation of that uses a predicate to determine whether
- this rule applies to a particular property and executes an action to assert equality.
-
- The type of the subject.
-
-
-
- Defines how a subject's property is compared for equality with the same property of the expectation.
-
-
- Provides details about the subject's property.
-
-
- The value of the subject's property.
-
-
- The value of a property on expectation object that was identified
-
-
- Returns true if the rule was applied correctly and the assertion didn't cause any exceptions.
- Returns false if this rule doesn't support the subject's type.
- Throws if the rule did support the data type but assertion fails.
-
-
-
-
- Defines how a subject's property is compared for equality with the same property of the expectation.
-
-
- Provides details about the subject's property.
-
-
- The value of the subject's property.
-
-
- The value of a property on expectation object that was identified
-
-
- Returns true if the rule was applied correctly and the assertion didn't cause any exceptions.
- Returns false if this rule doesn't support the subject's type.
- Throws if the rule did support the data type but assertion fails.
-
-
-
-
- Provides the required information for executing an equality assertion between a subject and an expectation.
-
- The type of the subject.
-
-
-
- Gets the of the property that returned the current object, or null if the current
- object represents the root object.
-
-
-
-
- Gets the value of the
-
-
-
-
- Gets the value of the expectation object that was matched with the subject using a .
-
-
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Selection rule that removes a particular property from the structural comparison based on a predicate.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Provides details about the subject's root or nested property.
-
-
-
-
- Gets the of the property that returned the current object, or null if the current
- object represents the root object.
-
-
-
-
- Gets the full path from the root object until the current object separated by dots.
-
-
-
-
- Gets a display-friendly representation of the .
-
-
-
-
- Gets the compile-time type of the current object. If the current object is not the root object, then it returns the
- same as the property does.
-
-
-
-
- Gets the run-time type of the current object.
-
-
-
-
- Represents a selection context of a nested property
-
-
-
-
- Gets the of the property that returned the current object, or
- null if the current object represents the root object.
-
-
-
-
- Gets the full path from the root object until the current property, separated by dots.
-
-
-
-
- Gets a textual description of the current property based on the .
-
-
-
-
- Gets the compile-time type of the current object. If the current object is not the root object, then it returns the
- same as the property does.
-
-
-
-
- Gets the run-time type of the current object.
-
-
-
-
- Is responsible for the exact run-time behavior of a structural equality comparison.
-
- The type of the subject.
-
-
-
- Provides the run-time details of the class.
-
-
-
-
- Gets an ordered collection of selection rules that define what properties are included.
-
-
-
-
- Gets an ordered collection of matching rules that determine which subject properties are matched with which
- expectation properties.
-
-
-
-
- Gets an ordered collection of assertion rules that determine how subject properties are compared for equality with
- expectation properties.
-
-
-
-
- Gets or sets a value indicating whether or not the assertion must perform a deep comparison.
-
-
-
-
- Gets a configuration that compares all declared properties of the subject with equally named properties of the expectation,
- and includes the entire object graph. The names of the properties between the subject and expectation must match.
-
-
-
-
- Gets a configuration that by default doesn't include any of the subject's properties and doesn't consider any nested objects
- or collections.
-
-
-
-
- Adds all public properties of the subject as far as they are defined on the declared type.
-
-
-
-
- Adds all public properties of the subject based on its run-time type rather than its declared type.
-
-
-
-
- Tries to match the properties of the subject with equally named properties on the expectation. Ignores those
- properties that don't exist on the expectation.
-
-
-
-
- Requires the expectation to have properties which are equally named to properties on the subject.
-
-
-
-
-
- Excludes the specified (nested) property from the structural equality check.
-
-
-
-
- Excludes a (nested) property based on a predicate from the structural equality check.
-
-
-
-
- Includes the specified property in the equality check.
-
-
- This overrides the default behavior of including all declared properties.
-
-
-
-
- The assertion to execute when the predicate is met.
-
-
-
-
- Causes the structural equality check to include nested collections and complex types.
-
-
-
-
- Causes the structural equality check to ignore any cyclic references.
-
-
- By default, cyclic references within the object graph will cause an exception to be thrown.
-
-
-
-
- Clears all selection rules, including those that were added by default.
-
-
-
-
- Clears all matching rules, including those that were added by default.
-
-
-
-
- Adds a selection rule to the ones allready added by default and which is evaluated after all existing rules.
-
-
-
-
- Adds a matching rule to the ones allready added by default and which is evaluated before all existing rules.
-
-
-
-
- Adds a matching rule to the ones allready added by default and which is evaluated before all existing rules
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Gets an ordered collection of selection rules that define what properties are included.
-
-
-
-
- Gets an ordered collection of matching rules that determine which subject properties are matched with which
- expectation properties.
-
-
-
-
- Gets an ordered collection of assertion rules that determine how subject properties are compared for equality with
- expectation properties.
-
-
-
-
- Gets value indicating whether the equality check will include nested collections and complex types.
-
-
-
-
- Gets value indicating how cyclic references should be handled. By default, it will throw an exception.
-
-
-
-
- Defines additional overrides when used with
-
-
-
-
- Allows overriding the way structural equality is applied to (nested) objects of tyoe
-
-
-
-
- Allows overriding the way structural equality is applied to particular properties.
-
-
- A predicate based on the of the subject that is used to identify the property for which the
- override applies.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Indication of how cyclic references should be handled when validating equality of nested properties.
-
-
-
-
- Cyclic references will be ignored.
-
-
-
-
- Cyclic references will result in an exception.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Selection rule that removes a particular property from the structural comparison.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Represents a rule that defines how to map the properties from the subject-under-test with the properties
- on the expectation object.
-
-
-
-
- Attempts to find a property on the expectation that should be compared with the
- during a structural equality.
-
-
- Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue,
- simply return null.
-
-
- The of the subject's property for which a match must be found. Can never
- be null.
-
-
- The expectation object for which a matching property must be returned. Can never be null.
-
-
- The dotted path from the root object to the current property. Will never be null.
-
-
- Returns the of the property with which to compare the subject with, or null
- if no match was found.
-
-
-
-
- Selection rule that includes a particular property in the structural comparison.
-
-
-
-
- Adds or removes properties to/from the collection of subject properties that must be included while
- comparing two objects for structural equality.
-
-
- A collection of properties that was prepopulated by other selection rules. Can be empty.
-
- The collection of properties after applying this rule. Can contain less or more than was passed in.
-
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Provides information on a particular property during an assertion for structural equality of two object graphs.
-
-
-
-
- Gets the property of the that was matched against the ,
- or null if is true.
-
-
-
-
- Gets the value of the .
-
-
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a verification object associated with the current and .
-
-
-
-
- Gets a value indicating whether the current context represents the root of the object graph.
-
-
-
-
- Gets the value of the
-
-
-
-
- Requires the expectation object to have a property with the exact same name.
-
-
-
-
- Attempts to find a property on the expectation that should be compared with the
- during a structural equality.
-
-
- Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue,
- simply return null.
-
-
- The of the subject's property for which a match must be found. Can never
- be null.
-
-
- The expectation object for which a matching property must be returned. Can never be null.
-
-
- The dotted path from the root object to the current property. Will never be null.
-
-
- Returns the of the property with which to compare the subject with, or null
- if no match was found.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Provides methods for selecting one or more properties of an object and comparing them with another object.
-
-
-
-
- Includes all properties of when comparing the subject with another object using .
-
-
-
-
- Includes all properties of including those of the run-time type when comparing the subject
- with another object using .
-
-
-
-
- Includes all properties of when comparing the subject with another object using ,
- except those that the other object does not have.
-
-
-
-
- Perform recursive property comparison of the child properties for objects that are of incompatible type.
-
-
- Indication of how cyclic references in the nested properties should be handled. By default this will result in an
- exception, but if is specified, cyclic references will just be ignored.
-
-
-
-
- Includes all properties of when comparing the subject with another object using ,
- except those specified using a property expression.
-
- A single property expression to exclude.
- Optional list of additional property expressions to exclude.
-
-
-
- Excludes the properties specified by the from the comparison.
-
- A single property expression to exclude.
- Optional list of additional property expressions to exclude.
-
-
-
- Includes only those properties of when comparing the subject with another object using
- that were specified using a property expression.
-
- A single property expression to include.
- Optional list of additional property expressions to include.
-
-
-
- Asserts that the previously selected properties of have the same value as the equally named
- properties of .
-
- The object to compare the current object with
-
- Property values are considered equal if, after converting them to the requested type, calling
- returns true.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Gets the of the property that returned the current object, or
- null if the current object represents the root object.
-
-
-
-
- Gets the full path from the root object until the current property, separated by dots.
-
-
-
-
- Gets a textual description of the current property based on the .
-
-
-
-
- Gets the value of the
-
-
-
-
- Gets the property of the that was matched against the ,
- or null if is true.
-
-
-
-
- Gets the value of the .
-
-
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets a value indicating whether the current context represents the root of the object graph.
-
-
-
-
- Gets the compile-time type of the current object. If the current object is not the root object, then it returns the
- same as the property does.
-
-
-
-
- Gets the run-time type of the current object.
-
-
-
-
- Gets a verification object associated with the current and .
-
-
-
-
- Is responsible for validating the equality of one or more properties of a subject with another object.
-
-
-
-
- Gets a value indicating whether this step can handle the current subject and/or expectation.
-
-
-
-
- Applies a step as part of the task to compare two objects for structural equality.
-
-
- Should return true if the subject matches the expectation or if no additional assertions
- have to be executed. Should return false otherwise.
-
-
- May throw when preconditions are not met or if it detects mismatching data.
-
-
-
-
- Finds a property of the expectation with the exact same name, but doesn't require it.
-
-
-
-
- Attempts to find a property on the expectation that should be compared with the
- during a structural equality.
-
-
- Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue,
- simply return null.
-
-
- The of the subject's property for which a match must be found. Can never
- be null.
-
-
- The expectation object for which a matching property must be returned. Can never be null.
-
-
- The dotted path from the root object to the current property. Will never be null.
-
-
- Returns the of the property with which to compare the subject with, or null
- if no match was found.
-
-
-
-
- Returns a string that represents the current object.
-
-
- A string that represents the current object.
-
- 2
-
-
-
- Extension methods on to allow for a more fluent way of specifying a .
-
-
- Instead of
-
- TimeSpan.FromHours(12)
-
- you can write
-
- 12.Hours()
-
- Or even
-
- 12.Hours().And(30.Minutes()).
-
-
-
-
-
- Returns a based on a number of milliseconds.
-
-
-
-
- Returns a based on a number of seconds.
-
-
-
-
- Returns a based on a number of seconds, and add the specified
- .
-
-
-
-
- Returns a based on a number of minutes.
-
-
-
-
- Returns a based on a number of minutes, and add the specified
- .
-
-
-
-
- Returns a based on a number of hours.
-
-
-
-
- Returns a based on a number of hours, and add the specified
- .
-
-
-
-
- Returns a based on a number of days.
-
-
-
-
- Returns a based on a number of days, and add the specified
- .
-
-
-
-
- Convenience method for chaining multiple calls to the methods provided by this class.
-
-
- 23.Hours().And(59.Minutes())
-
-
-
-
- Extension methods for getting method and property selectors for a type.
-
-
-
-
- Returns the types that are visible outside the specified .
-
-
-
-
- Returns a method selector for the current .
-
-
-
-
- Returns a method selector for the current .
-
-
-
-
- Returns a property selector for the current .
-
-
-
-
- Returns a property selector for the current .
-
-
-
-
- Static class that allows for a 'fluent' selection of the types from an .
-
-
- AllTypes.From(myAssembly)
- .ThatImplement<ISomeInterface>
- .Should()
- .BeDecoratedWith<SomeAttribute>()
-
-
-
-
- Returns a for selecting the types that are visible outside the
- specified .
-
- The assembly from which to select the types.
-
-
-
- Contains assertions for the objects returned by the parent .
-
-
-
-
- Initializes a new instance of the class.
-
- The methods to assert.
-
-
-
- Asserts that the selected methods are virtual.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the selected methods are decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Allows for fluent selection of methods of a type through reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The type from which to select methods.
-
-
-
- Initializes a new instance of the class.
-
- The types from which to select methods.
-
-
-
- Only select the methods that return the specified type
-
-
-
-
- Only select the methods that are decorated with an attribute of the specified type.
-
-
-
-
- The resulting objects.
-
-
-
-
- Determines whether the specified method has a special name (like properties and events).
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
- 1
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
- 2
-
-
-
- Only select the methods that are public or internal.
-
-
-
-
- Only select the methods without a return value
-
-
-
-
- Contains assertions for the objects returned by the parent .
-
-
-
-
- Initializes a new instance of the class, for a number of objects.
-
- The properties to assert.
-
-
-
- Asserts that the selected properties are virtual.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the selected methods are decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Allows for fluent selection of properties of a type through reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The type from which to select properties.
-
-
-
- Initializes a new instance of the class.
-
- The types from which to select properties.
-
-
-
- Only select the properties that are decorated with an attribute of the specified type.
-
-
-
-
- Only select the properties that return the specified type
-
-
-
-
- The resulting objects.
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
- 1
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
- 2
-
-
-
- Only select the properties that have a public or internal getter.
-
-
-
-
- Contains a number of methods to assert that a meets certain expectations.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current type is equal to the specified type.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current type is equal to the specified type.
-
- The expected type
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Creates an error message in case the specifed type differs from the
- type.
-
-
- An empty if the two specified types are the same, or an error message that describes that
- the two specified types are not the same.
-
-
-
-
- Asserts that the current type is not equal to the specified type.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current type is not equal to the specified type.
-
- The unexpected type
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is decorated with the specified .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is decorated with an attribute of type
- that matches the specified .
-
-
- The predicate that the attribute must match.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Allows for fluent filtering a list of types.
-
-
-
-
- Determines whether a type is a subclass of another type, but NOT the same type.
-
-
-
-
- Determines whether a type implements an interface (but is not the interface itself).
-
-
-
-
- Determines whether a type is decorated with a particular attribute.
-
-
-
-
- Determines whether the namespace of type is exactly .
-
-
-
-
- Determines whether the namespace of type is starts with .
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
- 1
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
- 2
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current equals the attribute.
-
- The expected attribute
-
-
-
- Asserts that the current equals the attribute.
-
- The expected attribute
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not equal the attribute,
- using its implementation.
-
- The unexpected attribute
-
-
-
- Asserts that the current does not equal the attribute,
- using its implementation.
-
- The unexpected attribute
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is null.
-
-
-
-
- Asserts that the is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the is not null.
-
-
-
-
- Asserts that the is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the current has the specified value.
-
- The expected value
-
-
-
- Asserts that the current has the specified value.
-
- The expected value
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current equals the document,
- using its implementation.
-
- The expected document
-
-
-
- Asserts that the current equals the document,
- using its implementation.
-
- The expected document
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not equal the document,
- using its implementation.
-
- The unexpected document
-
-
-
- Asserts that the current does not equal the document,
- using its implementation.
-
- The unexpected document
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is null.
-
-
-
-
- Asserts that the is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the is not null.
-
-
-
-
- Asserts that the is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the current has a root element with the specified
- name.
-
- The name of the expected root element of the current document.
-
-
-
- Asserts that the current has a root element with the specified
- name.
-
- The name of the expected root element of the current document.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the element of the current has a direct
- child element with the specified name.
-
-
- The name of the expected child element of the current document's Root element.
-
-
-
-
- Asserts that the element of the current has a direct
- child element with the specified name.
-
-
- The name of the expected child element of the current document's Root element.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an is in the expected state.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that the current equals the element.
-
- The expected element
-
-
-
- Asserts that the current equals the element.
-
- The expected element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current does not equal the element,
- using its implementation.
-
- The unexpected element
-
-
-
- Asserts that the current does not equal the element,
- using its implementation.
-
- The unexpected element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the is null.
-
-
-
-
- Asserts that the is null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the is not null.
-
-
-
-
- Asserts that the is not null.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the current has an attribute with the specified
- and .
-
- The name of the expected attribute
- The value of the expected attribute
-
-
-
- Asserts that the current has an attribute with the specified
- and .
-
- The name of the expected attribute
- The value of the expected attribute
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has a direct child element with the specified
- name.
-
- The name of the expected child element
-
-
-
- Asserts that the current has a direct child element with the specified
- name.
-
- The name of the expected child element
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains a number of methods to assert that an asynchronous method yields the expected result.
-
-
-
-
- Asserts that the current throws an exception of type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the that is being asserted.
-
-
-
-
diff --git a/packages/repositories.config b/packages/repositories.config
deleted file mode 100644
index 1265f092..00000000
--- a/packages/repositories.config
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/packages/xunit.1.9.1/lib/net20/xunit.dll b/packages/xunit.1.9.1/lib/net20/xunit.dll
deleted file mode 100644
index bfca6858..00000000
Binary files a/packages/xunit.1.9.1/lib/net20/xunit.dll and /dev/null differ
diff --git a/packages/xunit.1.9.1/lib/net20/xunit.dll.tdnet b/packages/xunit.1.9.1/lib/net20/xunit.dll.tdnet
deleted file mode 100644
index d14ca810..00000000
--- a/packages/xunit.1.9.1/lib/net20/xunit.dll.tdnet
+++ /dev/null
@@ -1,5 +0,0 @@
-
- xUnit.net {0}.{1}.{2} build {3}
- xunit.runner.tdnet.dll
- Xunit.Runner.TdNet.TdNetRunner
-
\ No newline at end of file
diff --git a/packages/xunit.1.9.1/lib/net20/xunit.runner.msbuild.dll b/packages/xunit.1.9.1/lib/net20/xunit.runner.msbuild.dll
deleted file mode 100644
index da6cff1e..00000000
Binary files a/packages/xunit.1.9.1/lib/net20/xunit.runner.msbuild.dll and /dev/null differ
diff --git a/packages/xunit.1.9.1/lib/net20/xunit.runner.tdnet.dll b/packages/xunit.1.9.1/lib/net20/xunit.runner.tdnet.dll
deleted file mode 100644
index 60e1dff2..00000000
Binary files a/packages/xunit.1.9.1/lib/net20/xunit.runner.tdnet.dll and /dev/null differ
diff --git a/packages/xunit.1.9.1/lib/net20/xunit.runner.utility.dll b/packages/xunit.1.9.1/lib/net20/xunit.runner.utility.dll
deleted file mode 100644
index 8c0e61c3..00000000
Binary files a/packages/xunit.1.9.1/lib/net20/xunit.runner.utility.dll and /dev/null differ
diff --git a/packages/xunit.1.9.1/lib/net20/xunit.xml b/packages/xunit.1.9.1/lib/net20/xunit.xml
deleted file mode 100644
index 9766436e..00000000
--- a/packages/xunit.1.9.1/lib/net20/xunit.xml
+++ /dev/null
@@ -1,2611 +0,0 @@
-
-
-
- xunit
-
-
-
-
- Contains various static methods that are used to verify that conditions are met during the
- process of running tests.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Verifies that a collection contains a given object.
-
- The type of the object to be verified
- The object expected to be in the collection
- The collection to be inspected
- Thrown when the object is not present in the collection
-
-
-
- Verifies that a collection contains a given object, using an equality comparer.
-
- The type of the object to be verified
- The object expected to be in the collection
- The collection to be inspected
- The comparer used to equate objects in the collection with the expected object
- Thrown when the object is not present in the collection
-
-
-
- Verifies that a string contains a given sub-string, using the current culture.
-
- The sub-string expected to be in the string
- The string to be inspected
- Thrown when the sub-string is not present inside the string
-
-
-
- Verifies that a string contains a given sub-string, using the given comparison type.
-
- The sub-string expected to be in the string
- The string to be inspected
- The type of string comparison to perform
- Thrown when the sub-string is not present inside the string
-
-
-
- Verifies that a collection does not contain a given object.
-
- The type of the object to be compared
- The object that is expected not to be in the collection
- The collection to be inspected
- Thrown when the object is present inside the container
-
-
-
- Verifies that a collection does not contain a given object, using an equality comparer.
-
- The type of the object to be compared
- The object that is expected not to be in the collection
- The collection to be inspected
- The comparer used to equate objects in the collection with the expected object
- Thrown when the object is present inside the container
-
-
-
- Verifies that a string does not contain a given sub-string, using the current culture.
-
- The sub-string which is expected not to be in the string
- The string to be inspected
- Thrown when the sub-string is present inside the string
-
-
-
- Verifies that a string does not contain a given sub-string, using the current culture.
-
- The sub-string which is expected not to be in the string
- The string to be inspected
- The type of string comparison to perform
- Thrown when the sub-string is present inside the given string
-
-
-
- Verifies that a block of code does not throw any exceptions.
-
- A delegate to the code to be tested
-
-
-
- Verifies that a collection is empty.
-
- The collection to be inspected
- Thrown when the collection is null
- Thrown when the collection is not empty
-
-
-
- Verifies that two objects are equal, using a default comparer.
-
- The type of the objects to be compared
- The expected value
- The value to be compared against
- Thrown when the objects are not equal
-
-
-
- Verifies that two objects are equal, using a custom equatable comparer.
-
- The type of the objects to be compared
- The expected value
- The value to be compared against
- The comparer used to compare the two objects
- Thrown when the objects are not equal
-
-
-
- Verifies that two values are equal, within the number of decimal
- places given by .
-
- The expected value
- The value to be compared against
- The number of decimal places (valid values: 0-15)
- Thrown when the values are not equal
-
-
-
- Verifies that two values are equal, within the number of decimal
- places given by .
-
- The expected value
- The value to be compared against
- The number of decimal places (valid values: 0-15)
- Thrown when the values are not equal
-
-
-
- Verifies that two sequences are equivalent, using a default comparer.
-
- The type of the objects to be compared
- The expected value
- The value to be compared against
- Thrown when the objects are not equal
-
-
-
- Verifies that two sequences are equivalent, using a custom equatable comparer.
-
- The type of the objects to be compared
- The expected value
- The value to be compared against
- The comparer used to compare the two objects
- Thrown when the objects are not equal
-
-
- Do not call this method.
-
-
-
- Verifies that the condition is false.
-
- The condition to be tested
- Thrown if the condition is not false
-
-
-
- Verifies that the condition is false.
-
- The condition to be tested
- The message to show when the condition is not false
- Thrown if the condition is not false
-
-
-
- Verifies that a value is within a given range.
-
- The type of the value to be compared
- The actual value to be evaluated
- The (inclusive) low value of the range
- The (inclusive) high value of the range
- Thrown when the value is not in the given range
-
-
-
- Verifies that a value is within a given range, using a comparer.
-
- The type of the value to be compared
- The actual value to be evaluated
- The (inclusive) low value of the range
- The (inclusive) high value of the range
- The comparer used to evaluate the value's range
- Thrown when the value is not in the given range
-
-
-
- Verifies that an object is of the given type or a derived type.
-
- The type the object should be
- The object to be evaluated
- The object, casted to type T when successful
- Thrown when the object is not the given type
-
-
-
- Verifies that an object is of the given type or a derived type.
-
- The type the object should be
- The object to be evaluated
- Thrown when the object is not the given type
-
-
-
- Verifies that an object is not exactly the given type.
-
- The type the object should not be
- The object to be evaluated
- Thrown when the object is the given type
-
-
-
- Verifies that an object is not exactly the given type.
-
- The type the object should not be
- The object to be evaluated
- Thrown when the object is the given type
-
-
-
- Verifies that an object is exactly the given type (and not a derived type).
-
- The type the object should be
- The object to be evaluated
- The object, casted to type T when successful
- Thrown when the object is not the given type
-
-
-
- Verifies that an object is exactly the given type (and not a derived type).
-
- The type the object should be
- The object to be evaluated
- Thrown when the object is not the given type
-
-
-
- Verifies that a collection is not empty.
-
- The collection to be inspected
- Thrown when a null collection is passed
- Thrown when the collection is empty
-
-
-
- Verifies that two objects are not equal, using a default comparer.
-
- The type of the objects to be compared
- The expected object
- The actual object
- Thrown when the objects are equal
-
-
-
- Verifies that two objects are not equal, using a custom equality comparer.
-
- The type of the objects to be compared
- The expected object
- The actual object
- The comparer used to examine the objects
- Thrown when the objects are equal
-
-
-
- Verifies that two sequences are not equivalent, using a default comparer.
-
- The type of the objects to be compared
- The expected object
- The actual object
- Thrown when the objects are equal
-
-
-
- Verifies that two sequences are not equivalent, using a custom equality comparer.
-
- The type of the objects to be compared
- The expected object
- The actual object
- The comparer used to compare the two objects
- Thrown when the objects are equal
-
-
-
- Verifies that a value is not within a given range, using the default comparer.
-
- The type of the value to be compared
- The actual value to be evaluated
- The (inclusive) low value of the range
- The (inclusive) high value of the range
- Thrown when the value is in the given range
-
-
-
- Verifies that a value is not within a given range, using a comparer.
-
- The type of the value to be compared
- The actual value to be evaluated
- The (inclusive) low value of the range
- The (inclusive) high value of the range
- The comparer used to evaluate the value's range
- Thrown when the value is in the given range
-
-
-
- Verifies that an object reference is not null.
-
- The object to be validated
- Thrown when the object is not null
-
-
-
- Verifies that two objects are not the same instance.
-
- The expected object instance
- The actual object instance
- Thrown when the objects are the same instance
-
-
-
- Verifies that an object reference is null.
-
- The object to be inspected
- Thrown when the object reference is not null
-
-
-
- Verifies that the provided object raised INotifyPropertyChanged.PropertyChanged
- as a result of executing the given test code.
-
- The object which should raise the notification
- The property name for which the notification should be raised
- The test code which should cause the notification to be raised
- Thrown when the notification is not raised
-
-
-
- Verifies that two objects are the same instance.
-
- The expected object instance
- The actual object instance
- Thrown when the objects are not the same instance
-
-
-
- Verifies that the given collection contains only a single
- element of the given type.
-
- The collection.
- The single item in the collection.
- Thrown when the collection does not contain
- exactly one element.
-
-
-
- Verifies that the given collection contains only a single
- element of the given value. The collection may or may not
- contain other values.
-
- The collection.
- The value to find in the collection.
- The single item in the collection.
- Thrown when the collection does not contain
- exactly one element.
-
-
-
- Verifies that the given collection contains only a single
- element of the given type.
-
- The collection type.
- The collection.
- The single item in the collection.
- Thrown when the collection does not contain
- exactly one element.
-
-
-
- Verifies that the given collection contains only a single
- element of the given type which matches the given predicate. The
- collection may or may not contain other values which do not
- match the given predicate.
-
- The collection type.
- The collection.
- The item matching predicate.
- The single item in the filtered collection.
- Thrown when the filtered collection does
- not contain exactly one element.
-
-
-
- Verifies that the exact exception is thrown (and not a derived exception type).
-
- The type of the exception expected to be thrown
- A delegate to the code to be tested
- The exception that was thrown, when successful
- Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown
-
-
-
- Verifies that the exact exception is thrown (and not a derived exception type).
- Generally used to test property accessors.
-
- The type of the exception expected to be thrown
- A delegate to the code to be tested
- The exception that was thrown, when successful
- Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown
-
-
-
- Verifies that the exact exception is thrown (and not a derived exception type).
-
- The type of the exception expected to be thrown
- A delegate to the code to be tested
- The exception that was thrown, when successful
- Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown
-
-
-
- Verifies that the exact exception is thrown (and not a derived exception type).
- Generally used to test property accessors.
-
- The type of the exception expected to be thrown
- A delegate to the code to be tested
- The exception that was thrown, when successful
- Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown
-
-
-
- Verifies that an expression is true.
-
- The condition to be inspected
- Thrown when the condition is false
-
-
-
- Verifies that an expression is true.
-
- The condition to be inspected
- The message to be shown when the condition is false
- Thrown when the condition is false
-
-
-
- Used by the PropertyChanged.
-
-
-
-
- Used by the Throws and DoesNotThrow methods.
-
-
-
-
- Used by the Throws and DoesNotThrow methods.
-
-
-
-
- This command sets up the necessary trace listeners and standard
- output/error listeners to capture Assert/Debug.Trace failures,
- output to stdout/stderr, and Assert/Debug.Write text. It also
- captures any exceptions that are thrown and packages them as
- FailedResults, including the possibility that the configuration
- file is messed up (which is exposed when we attempt to manipulate
- the trace listener list).
-
-
-
-
- Base class used by commands which delegate to inner commands.
-
-
-
-
- Interface which represents the ability to invoke of a test method.
-
-
-
-
- Executes the test method.
-
- The instance of the test class
- Returns information about the test run
-
-
-
- Creates the start XML to be sent to the callback when the test is about to start
- running.
-
- Return the of the start node, or null if the test
- is known that it will not be running.
-
-
-
- Gets the display name of the test method.
-
-
-
-
- Determines if the test runner infrastructure should create a new instance of the
- test class before running the test.
-
-
-
-
- Determines if the test should be limited to running a specific amount of time
- before automatically failing.
-
- The timeout value, in milliseconds; if zero, the test will not have
- a timeout.
-
-
-
- Creates a new instance of the class.
-
- The inner command to delegate to.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Initializes a new instance of the
- class.
-
- The command that will be wrapped.
- The test method.
-
-
-
-
-
-
- Represents an implementation of to be used with
- tests which are decorated with the .
-
-
-
-
- Represents an xUnit.net test command.
-
-
-
-
- The method under test.
-
-
-
-
- Initializes a new instance of the class.
-
- The method under test.
- The display name of the test.
- The timeout, in milliseconds.
-
-
-
-
-
-
-
-
-
-
-
-
- Gets the name of the method under test.
-
-
-
-
-
-
-
-
-
-
- Gets the name of the type under test.
-
-
-
-
- Initializes a new instance of the class.
-
- The test method.
-
-
-
-
-
-
- Base class for exceptions that have actual and expected values
-
-
-
-
- The base assert exception class
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The user message to be displayed
-
-
-
- Initializes a new instance of the class.
-
- The user message to be displayed
- The inner exception
-
-
-
- Initializes a new instance of the class.
-
- The user message to be displayed
- The stack trace to be displayed
-
-
-
-
-
-
- Determines whether to exclude a line from the stack frame. By default, this method
- removes all stack frames from methods beginning with Xunit.Assert or Xunit.Sdk.
-
- The stack frame to be filtered.
- Return true to exclude the line from the stack frame; false, otherwise.
-
-
-
- Filters the stack trace to remove all lines that occur within the testing framework.
-
- The original stack trace
- The filtered stack trace
-
-
-
-
-
-
- Gets a string representation of the frames on the call stack at the time the current exception was thrown.
-
- A string that describes the contents of the call stack, with the most recent method call appearing first.
-
-
-
- Gets the user message
-
-
-
-
- Creates a new instance of the class.
-
- The expected value
- The actual value
- The user message to be shown
-
-
-
- Creates a new instance of the class.
-
- The expected value
- The actual value
- The user message to be shown
- Set to true to skip the check for difference position
-
-
-
-
-
-
-
-
-
- Gets the actual value.
-
-
-
-
- Gets the expected value.
-
-
-
-
- Gets a message that describes the current exception. Includes the expected and actual values.
-
- The error message that explains the reason for the exception, or an empty string("").
- 1
-
-
-
- Exception thrown when a collection unexpectedly does not contain the expected value.
-
-
-
-
- Creates a new instance of the class.
-
- The expected object value
-
-
-
- Creates a new instance of the class.
-
- The expected object value
- The actual value
-
-
-
-
-
-
- Exception to be thrown from when the number of
- parameter values does not the test method signature.
-
-
-
-
-
-
-
-
-
-
- Exception thrown when code unexpectedly fails change a property.
-
-
-
-
- Creates a new instance of the class. Call this constructor
- when no exception was thrown.
-
- The name of the property that was expected to be changed.
-
-
-
-
-
-
- Exception thrown when the collection did not contain exactly one element.
-
-
-
-
- Initializes a new instance of the class.
-
- The numbers of items in the collection.
-
-
-
- Initializes a new instance of the class.
-
- The numbers of items in the collection.
- The object expected to be in the collection.
-
-
-
-
-
-
- Internal class used for version-resilient test runners. DO NOT CALL DIRECTLY.
- Version-resilient runners should link against xunit.runner.utility.dll and use
- ExecutorWrapper instead.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Exception thrown when the value is unexpectedly not of the given type or a derived type.
-
-
-
-
- Creates a new instance of the class.
-
- The expected type
- The actual object value
-
-
-
-
-
-
- Allows the user to record actions for a test.
-
-
-
-
- Records any exception which is thrown by the given code.
-
- The code which may thrown an exception.
- Returns the exception that was thrown by the code; null, otherwise.
-
-
-
- Records any exception which is thrown by the given code that has
- a return value. Generally used for testing property accessors.
-
- The code which may thrown an exception.
- Returns the exception that was thrown by the code; null, otherwise.
-
-
-
- Exception that is thrown when one or more exceptions are thrown from
- the After method of a .
-
-
-
-
- Initializes a new instance of the class.
-
- The exceptions.
-
-
-
- Initializes a new instance of the class.
-
- The exceptions.
-
-
-
-
-
-
-
-
-
- Gets the list of exceptions thrown in the After method.
-
-
-
-
- Gets a message that describes the current exception.
-
-
-
-
- Gets a string representation of the frames on the call stack at the time the current exception was thrown.
-
-
-
-
- Implementation of which executes the
- instances attached to a test method.
-
-
-
-
- Initializes a new instance of the class.
-
- The inner command.
- The method.
-
-
-
- Executes the test method.
-
- The instance of the test class
- Returns information about the test run
-
-
-
- This class supports the xUnit.net infrastructure and is not intended to be used
- directly from your code.
-
-
-
-
- This API supports the xUnit.net infrastructure and is not intended to be used
- directly from your code.
-
-
-
-
- This API supports the xUnit.net infrastructure and is not intended to be used
- directly from your code.
-
-
-
-
- This API supports the xUnit.net infrastructure and is not intended to be used
- directly from your code.
-
-
-
-
- Guard class, used for guard clauses and argument validation
-
-
-
-
-
-
-
-
-
-
-
-
-
- Base class which contains XML manipulation helper methods
-
-
-
-
- Interface that represents a single test result.
-
-
-
-
- Converts the test result into XML that is consumed by the test runners.
-
- The parent node.
- The newly created XML node.
-
-
-
- The amount of time spent in execution
-
-
-
-
- Adds the test execution time to the XML node.
-
- The XML node.
-
-
-
-
-
-
-
-
-
- Utility methods for dealing with exceptions.
-
-
-
-
- Gets the message for the exception, including any inner exception messages.
-
- The exception
- The formatted message
-
-
-
- Gets the stack trace for the exception, including any inner exceptions.
-
- The exception
- The formatted stack trace
-
-
-
- Rethrows an exception object without losing the existing stack trace information
-
- The exception to re-throw.
-
- For more information on this technique, see
- http://www.dotnetjunkies.com/WebLog/chris.taylor/archive/2004/03/03/8353.aspx
-
-
-
-
- A dictionary which contains multiple unique values for each key.
-
- The type of the key.
- The type of the value.
-
-
-
- Adds the value for the given key. If the key does not exist in the
- dictionary yet, it will add it.
-
- The key.
- The value.
-
-
-
- Removes all keys and values from the dictionary.
-
-
-
-
- Determines whether the dictionary contains to specified key and value.
-
- The key.
- The value.
-
-
-
- Calls the delegate once for each key/value pair in the dictionary.
-
-
-
-
- Removes the given key and all of its values.
-
-
-
-
- Removes the given value from the given key. If this was the
- last value for the key, then the key is removed as well.
-
- The key.
- The value.
-
-
-
- Gets the values for the given key.
-
-
-
-
- Gets the count of the keys in the dictionary.
-
-
-
-
- Gets the keys.
-
-
-
-
-
-
-
- XML utility methods
-
-
-
-
- Adds an attribute to an XML node.
-
- The XML node.
- The attribute name.
- The attribute value.
-
-
-
- Adds a child element to an XML node.
-
- The parent XML node.
- The child element name.
- The new child XML element.
-
-
-
- Sets the inner text of the XML node, properly escaping it as necessary.
-
- The element whose inner text will be set.
- The inner text to be escaped and then set.
-
-
-
- Exception that is thrown when a call to Debug.Assert() fails.
-
-
-
-
- Creates a new instance of the class.
-
- The original assert message
-
-
-
- Creates a new instance of the class.
-
- The original assert message
- The original assert detailed message
-
-
-
-
-
-
-
-
-
- Gets the original assert detailed message.
-
-
-
-
- Gets the original assert message.
-
-
-
-
- Gets a message that describes the current exception.
-
-
-
-
- Exception thrown when a collection unexpectedly contains the expected value.
-
-
-
-
- Creates a new instance of the class.
-
- The expected object value
-
-
-
-
-
-
- Exception thrown when code unexpectedly throws an exception.
-
-
-
-
- Creates a new instance of the class.
-
- Actual exception
-
-
-
- THIS CONSTRUCTOR IS FOR UNIT TESTING PURPOSES ONLY.
-
-
-
-
-
-
-
-
-
-
- Gets a string representation of the frames on the call stack at the time the current exception was thrown.
-
- A string that describes the contents of the call stack, with the most recent method call appearing first.
-
-
-
- Exception thrown when a collection is unexpectedly not empty.
-
-
-
-
- Creates a new instance of the class.
-
-
-
-
-
-
-
- Exception thrown when two values are unexpectedly not equal.
-
-
-
-
- Creates a new instance of the class.
-
- The expected object value
- The actual object value
-
-
-
- Creates a new instance of the class.
-
- The expected object value
- The actual object value
- Set to true to skip the check for difference position
-
-
-
-
-
-
- Exception thrown when a value is unexpectedly true.
-
-
-
-
- Creates a new instance of the class.
-
- The user message to be display, or null for the default message
-
-
-
-
-
-
- Exception thrown when a value is unexpectedly not in the given range.
-
-
-
-
- Creates a new instance of the class.
-
- The actual object value
- The low value of the range
- The high value of the range
-
-
-
-
-
-
-
-
-
- Gets the actual object value
-
-
-
-
- Gets the high value of the range
-
-
-
-
- Gets the low value of the range
-
-
-
-
- Gets a message that describes the current exception.
-
- The error message that explains the reason for the exception, or an empty string("").
-
-
-
- Exception thrown when the value is unexpectedly of the exact given type.
-
-
-
-
- Creates a new instance of the class.
-
- The expected type
- The actual object value
-
-
-
-
-
-
- Exception thrown when the value is unexpectedly not of the exact given type.
-
-
-
-
- Creates a new instance of the class.
-
- The expected type
- The actual object value
-
-
-
-
-
-
- Used to decorate xUnit.net test classes that utilize fixture classes.
- An instance of the fixture data is initialized just before the first
- test in the class is run, and if it implements IDisposable, is disposed
- after the last test in the class is run.
-
- The type of the fixture
-
-
-
- Called on the test class just before each test method is run,
- passing the fixture data so that it can be used for the test.
- All test runs share the same instance of fixture data.
-
- The fixture data
-
-
-
- Exception thrown when a value is unexpectedly in the given range.
-
-
-
-
- Creates a new instance of the class.
-
- The actual object value
- The low value of the range
- The high value of the range
-
-
-
-
-
-
-
-
-
- Gets the actual object value
-
-
-
-
- Gets the high value of the range
-
-
-
-
- Gets the low value of the range
-
-
-
-
- Gets a message that describes the current exception.
-
- The error message that explains the reason for the exception, or an empty string("").
-
-
-
- Base attribute which indicates a test method interception (allows code to be run before and
- after the test is run).
-
-
-
-
- This method is called after the test method is executed.
-
- The method under test
-
-
-
- This method is called before the test method is executed.
-
- The method under test
-
-
-
-
-
-
- Exception thrown when a collection is unexpectedly empty.
-
-
-
-
- Creates a new instance of the class.
-
-
-
-
-
-
-
- Exception thrown when two values are unexpectedly equal.
-
-
-
-
- Creates a new instance of the class.
-
-
-
-
-
-
-
- Exception thrown when an object is unexpectedly null.
-
-
-
-
- Creates a new instance of the class.
-
-
-
-
-
-
-
- Exception thrown when two values are unexpected the same instance.
-
-
-
-
- Creates a new instance of the class.
-
-
-
-
-
-
-
- Exception thrown when an object reference is unexpectedly not null.
-
-
-
-
- Creates a new instance of the class.
-
-
-
-
-
-
-
-
- Command that automatically creates the instance of the test class
- and disposes it (if it implements ).
-
-
-
-
- Creates a new instance of the object.
-
- The command that is bring wrapped
- The method under test
-
-
-
- Executes the test method. Creates a new instance of the class
- under tests and passes it to the inner command. Also catches
- any exceptions and converts them into s.
-
- The instance of the test class
- Returns information about the test run
-
-
-
- Command used to wrap a which has associated
- fixture data.
-
-
-
-
- Creates a new instance of the class.
-
- The inner command
- The fixtures to be set on the test class
-
-
-
- Sets the fixtures on the test class by calling SetFixture, then
- calls the inner command.
-
- The instance of the test class
- Returns information about the test run
-
-
-
- A timer class used to figure out how long tests take to run. On most .NET implementations
- this will use the class because it's a high
- resolution timer; however, on Silverlight/CoreCLR, it will use
- (which will provide lower resolution results).
-
-
-
-
- Creates a new instance of the class.
-
-
-
-
- Starts timing.
-
-
-
-
- Stops timing.
-
-
-
-
- Gets how long the timer ran, in milliseconds. In order for this to be valid,
- both and must have been called.
-
-
-
-
- Attribute used to decorate a test method with arbitrary name/value pairs ("traits").
-
-
-
-
- Creates a new instance of the class.
-
- The trait name
- The trait value
-
-
-
- Gets the trait name.
-
-
-
-
-
-
-
- Gets the trait value.
-
-
-
-
- Runner that executes an synchronously.
-
-
-
-
- Execute the .
-
- The test class command to execute
- The methods to execute; if null or empty, all methods will be executed
- The start run callback
- The end run result callback
- A with the results of the test run
-
-
-
- Factory for objects, based on the type under test.
-
-
-
-
- Creates the test class command, which implements , for a given type.
-
- The type under test
- The test class command, if the class is a test class; null, otherwise
-
-
-
- Creates the test class command, which implements , for a given type.
-
- The type under test
- The test class command, if the class is a test class; null, otherwise
-
-
-
- Represents an xUnit.net test class
-
-
-
-
- Interface which describes the ability to executes all the tests in a test class.
-
-
-
-
- Allows the test class command to choose the next test to be run from the list of
- tests that have not yet been run, thereby allowing it to choose the run order.
-
- The tests remaining to be run
- The index of the test that should be run
-
-
-
- Execute actions to be run after all the test methods of this test class are run.
-
- Returns the thrown during execution, if any; null, otherwise
-
-
-
- Execute actions to be run before any of the test methods of this test class are run.
-
- Returns the thrown during execution, if any; null, otherwise
-
-
-
- Enumerates the test commands for a given test method in this test class.
-
- The method under test
- The test commands for the given test method
-
-
-
- Enumerates the methods which are test methods in this test class.
-
- The test methods
-
-
-
- Determines if a given refers to a test method.
-
- The test method to validate
- True if the method is a test method; false, otherwise
-
-
-
- Gets the object instance that is under test. May return null if you wish
- the test framework to create a new object instance for each test method.
-
-
-
-
- Gets or sets the type that is being tested
-
-
-
-
- Creates a new instance of the class.
-
-
-
-
- Creates a new instance of the class.
-
- The type under test
-
-
-
- Creates a new instance of the class.
-
- The type under test
-
-
-
- Chooses the next test to run, randomly, using the .
-
- The tests remaining to be run
- The index of the test that should be run
-
-
-
- Execute actions to be run after all the test methods of this test class are run.
-
- Returns the thrown during execution, if any; null, otherwise
-
-
-
- Execute actions to be run before any of the test methods of this test class are run.
-
- Returns the thrown during execution, if any; null, otherwise
-
-
-
- Enumerates the test commands for a given test method in this test class.
-
- The method under test
- The test commands for the given test method
-
-
-
- Enumerates the methods which are test methods in this test class.
-
- The test methods
-
-
-
- Determines if a given refers to a test method.
-
- The test method to validate
- True if the method is a test method; false, otherwise
-
-
-
- Gets the object instance that is under test. May return null if you wish
- the test framework to create a new object instance for each test method.
-
-
-
-
- Gets or sets the randomizer used to determine the order in which tests are run.
-
-
-
-
- Sets the type that is being tested
-
-
-
-
- Implementation of that represents a skipped test.
-
-
-
-
- Creates a new instance of the class.
-
- The method that is being skipped
- The display name for the test. If null, the fully qualified
- type name is used.
- The reason the test was skipped.
-
-
-
-
-
-
-
-
-
- Gets the skip reason.
-
-
-
-
-
-
-
- Factory for creating objects.
-
-
-
-
- Make instances of objects for the given class and method.
-
- The class command
- The method under test
- The set of objects
-
-
-
- A command wrapper which times the running of a command.
-
-
-
-
- Creates a new instance of the class.
-
- The command that will be timed.
-
-
-
- Executes the inner test method, gathering the amount of time it takes to run.
-
- Returns information about the test run
-
-
-
- Wraps a command which should fail if it runs longer than the given timeout value.
-
-
-
-
- Creates a new instance of the class.
-
- The command to be run
- The timout, in milliseconds
- The method under test
-
-
-
- Executes the test method, failing if it takes too long.
-
- Returns information about the test run
-
-
-
-
-
-
- Attributes used to decorate a test fixture that is run with an alternate test runner.
- The test runner must implement the interface.
-
-
-
-
- Creates a new instance of the class.
-
- The class which implements ITestClassCommand and acts as the runner
- for the test fixture.
-
-
-
- Gets the test class command.
-
-
-
-
- Exception thrown when two object references are unexpectedly not the same instance.
-
-
-
-
- Creates a new instance of the class.
-
- The expected object reference
- The actual object reference
-
-
-
-
-
-
- Contains the test results from an assembly.
-
-
-
-
- Contains multiple test results, representing them as a composite test result.
-
-
-
-
- Adds a test result to the composite test result list.
-
-
-
-
-
- Gets the test results.
-
-
-
-
- Creates a new instance of the class.
-
- The filename of the assembly
-
-
-
- Creates a new instance of the class.
-
- The filename of the assembly
- The configuration filename
-
-
-
- Converts the test result into XML that is consumed by the test runners.
-
- The parent node.
- The newly created XML node.
-
-
-
- Gets the fully qualified filename of the configuration file.
-
-
-
-
- Gets the directory where the assembly resides.
-
-
-
-
- Gets the number of failed results.
-
-
-
-
- Gets the fully qualified filename of the assembly.
-
-
-
-
- Gets the number of passed results.
-
-
-
-
- Gets the number of skipped results.
-
-
-
-
- Contains the test results from a test class.
-
-
-
-
- Creates a new instance of the class.
-
- The type under test
-
-
-
- Creates a new instance of the class.
-
- The simple name of the type under test
- The fully qualified name of the type under test
- The namespace of the type under test
-
-
-
- Sets the exception thrown by the test fixture.
-
- The thrown exception
-
-
-
- Converts the test result into XML that is consumed by the test runners.
-
- The parent node.
- The newly created XML node.
-
-
-
- Gets the fully qualified test fixture exception type, when an exception has occurred.
-
-
-
-
- Gets the number of tests which failed.
-
-
-
-
- Gets the fully qualified name of the type under test.
-
-
-
-
- Gets the test fixture exception message, when an exception has occurred.
-
-
-
-
- Gets the simple name of the type under test.
-
-
-
-
- Gets the namespace of the type under test.
-
-
-
-
- Gets the number of tests which passed.
-
-
-
-
- Gets the number of tests which were skipped.
-
-
-
-
- Gets the test fixture exception stack trace, when an exception has occurred.
-
-
-
-
- Represents a failed test result.
-
-
-
-
- Represents the results from running a test method
-
-
-
-
- Initializes a new instance of the class. The traits for
- the test method are discovered using reflection.
-
- The method under test.
- The display name for the test. If null, the fully qualified
- type name is used.
-
-
-
- Initializes a new instance of the class.
-
- The name of the method under test.
- The type of the method under test.
- The display name for the test. If null, the fully qualified
- type name is used.
- The traits.
-
-
-
- Converts the test result into XML that is consumed by the test runners.
-
- The parent node.
- The newly created XML node.
-
-
-
- Gets or sets the display name of the method under test. This is the value that's shown
- during failures and in the resulting output XML.
-
-
-
-
- Gets the name of the method under test.
-
-
-
-
- Gets or sets the standard output/standard error from the test that was captured
- while the test was running.
-
-
-
-
- Gets the traits attached to the test method.
-
-
-
-
- Gets the name of the type under test.
-
-
-
-
- Creates a new instance of the class.
-
- The method under test
- The exception throw by the test
- The display name for the test. If null, the fully qualified
- type name is used.
-
-
-
- Creates a new instance of the class.
-
- The name of the method under test
- The name of the type under test
- The display name of the test
- The custom properties attached to the test method
- The full type name of the exception throw
- The exception message
- The exception stack trace
-
-
-
- Converts the test result into XML that is consumed by the test runners.
-
- The parent node.
- The newly created XML node.
-
-
-
- Gets the exception type thrown by the test method.
-
-
-
-
- Gets the exception message thrown by the test method.
-
-
-
-
- Gets the stack trace of the exception thrown by the test method.
-
-
-
-
- Represents a passing test result.
-
-
-
-
- Create a new instance of the class.
-
- The method under test
- The display name for the test. If null, the fully qualified
- type name is used.
-
-
-
- Create a new instance of the class.
-
- The name of the method under test
- The name of the type under test
- The display name for the test. If null, the fully qualified
- type name is used.
- The custom properties attached to the test method
-
-
-
- Converts the test result into XML that is consumed by the test runners.
-
- The parent node.
- The newly created XML node.
-
-
-
- Represents a skipped test result.
-
-
-
-
- Creates a new instance of the class. Uses reflection to discover
- the skip reason.
-
- The method under test
- The display name for the test. If null, the fully qualified
- type name is used.
- The reason the test was skipped.
-
-
-
- Creates a new instance of the class.
-
- The name of the method under test
- The name of the type under test
- The display name for the test. If null, the fully qualified
- type name is used.
- The traits attached to the method under test
- The skip reason
-
-
-
- Converts the test result into XML that is consumed by the test runners.
-
- The parent node.
- The newly created XML node.
-
-
-
- Gets the skip reason.
-
-
-
-
- Represents information about an attribute.
-
-
-
-
- Gets the instance of the attribute, if available.
-
- The type of the attribute
- The instance of the attribute, if available.
-
-
-
- Gets an initialized property value of the attribute.
-
- The type of the property
- The name of the property
- The property value
-
-
-
- Represents information about a method.
-
-
-
-
- Creates an instance of the type where this test method was found. If using
- reflection, this should be the ReflectedType.
-
- A new instance of the type.
-
-
-
- Gets all the custom attributes for the method that are of the given type.
-
- The type of the attribute
- The matching attributes that decorate the method
-
-
-
- Determines if the method has at least one instance of the given attribute type.
-
- The type of the attribute
- True if the method has at least one instance of the given attribute type; false, otherwise
-
-
-
- Invokes the test on the given class, with the given parameters.
-
- The instance of the test class (may be null if
- the test method is static).
- The parameters to be passed to the test method.
-
-
-
- Gets a value which represents the class that this method was
- reflected from (i.e., equivalent to MethodInfo.ReflectedType)
-
-
-
-
- Gets a value indicating whether the method is abstract.
-
-
-
-
- Gets a value indicating whether the method is static.
-
-
-
-
- Gets the underlying for the method, if available.
-
-
-
-
- Gets the name of the method.
-
-
-
-
- Gets the fully qualified type name of the return type.
-
-
-
-
- Gets the fully qualified type name of the type that this method belongs to. If
- using reflection, this should be the ReflectedType.
-
-
-
-
- Represents information about a type.
-
-
-
-
- Gets all the custom attributes for the type that are of the given attribute type.
-
- The type of the attribute
- The matching attributes that decorate the type
-
-
-
- Gets a test method by name.
-
- The name of the method
- The method, if it exists; null, otherwise.
-
-
-
- Gets all the methods
-
-
-
-
-
- Determines if the type has at least one instance of the given attribute type.
-
- The type of the attribute
- True if the type has at least one instance of the given attribute type; false, otherwise
-
-
-
- Determines if the type implements the given interface.
-
- The type of the interface
- True if the type implements the given interface; false, otherwise
-
-
-
- Gets a value indicating whether the type is abstract.
-
-
-
-
- Gets a value indicating whether the type is sealed.
-
-
-
-
- Gets the underlying object, if available.
-
-
-
-
- Utility class which inspects methods for test information
-
-
-
-
- Gets the display name.
-
- The method to be inspected
- The display name
-
-
-
- Gets the skip reason from a test method.
-
- The method to be inspected
- The skip reason
-
-
-
- Gets the test commands for a test method.
-
- The method to be inspected
- The objects for the test method
-
-
-
- Gets the timeout value for a test method.
-
- The method to be inspected
- The timeout, in milliseconds
-
-
-
- Gets the traits on a test method.
-
- The method to be inspected
- A dictionary of the traits
-
-
-
- Determines whether a test method has a timeout.
-
- The method to be inspected
- True if the method has a timeout; false, otherwise
-
-
-
- Determines whether a test method has traits.
-
- The method to be inspected
- True if the method has traits; false, otherwise
-
-
-
- Determines whether a test method should be skipped.
-
- The method to be inspected
- True if the method should be skipped; false, otherwise
-
-
-
- Determines whether a method is a test method. A test method must be decorated
- with the (or derived class) and must not be abstract.
-
- The method to be inspected
- True if the method is a test method; false, otherwise
-
-
-
- Wrapper to implement and using reflection.
-
-
-
-
- Converts an into an using reflection.
-
-
-
-
-
-
- Converts a into an using reflection.
-
- The method to wrap
- The wrapper
-
-
-
- Converts a into an using reflection.
-
- The type to wrap
- The wrapper
-
-
-
- Utility class which inspects types for test information
-
-
-
-
- Determines if a type contains any test methods
-
- The type to be inspected
- True if the class contains any test methods; false, otherwise
-
-
-
- Retrieves the type to run the test class with from the , if present.
-
- The type to be inspected
- The type of the test class runner, if present; null, otherwise
-
-
-
- Retrieves a list of the test methods from the test class.
-
- The type to be inspected
- The test methods
-
-
-
- Determines if the test class has a applied to it.
-
- The type to be inspected
- True if the test class has a run with attribute; false, otherwise
-
-
-
- Determines if the type implements .
-
- The type to be inspected
- True if the type implements ; false, otherwise
-
-
-
- Determines whether the specified type is abstract.
-
- The type.
-
- true if the specified type is abstract; otherwise, false.
-
-
-
-
- Determines whether the specified type is static.
-
- The type.
-
- true if the specified type is static; otherwise, false.
-
-
-
-
- Determines if a class is a test class.
-
- The type to be inspected
- True if the type is a test class; false, otherwise
-
-
-
- Attribute that is applied to a method to indicate that it is a fact that should be run
- by the test runner. It can also be extended to support a customized definition of a
- test method.
-
-
-
-
- Creates instances of which represent individual intended
- invocations of the test method.
-
- The method under test
- An enumerator through the desired test method invocations
-
-
-
- Enumerates the test commands represented by this test method. Derived classes should
- override this method to return instances of , one per execution
- of a test method.
-
- The test method
- The test commands which will execute the test runs for the given method
-
-
-
- Gets the name of the test to be used when the test is skipped. Defaults to
- null, which will cause the fully qualified test name to be used.
-
-
-
-
- Obsolete. Please use the property instead.
-
-
-
-
- Marks the test so that it will not be run, and gets or sets the skip reason
-
-
-
-
- Marks the test as failing if it does not finish running within the given time
- period, in milliseconds; set to 0 or less to indicate the method has no timeout
-
-
-
-
- Exception thrown when code unexpectedly fails to throw an exception.
-
-
-
-
- Creates a new instance of the class. Call this constructor
- when no exception was thrown.
-
- The type of the exception that was expected
-
-
-
- Creates a new instance of the class. Call this constructor
- when an exception of the wrong type was thrown.
-
- The type of the exception that was expected
- The actual exception that was thrown
-
-
-
-
-
-
- THIS CONSTRUCTOR IS FOR UNIT TESTING PURPOSES ONLY.
-
-
-
-
-
-
-
- Gets a string representation of the frames on the call stack at the time the current exception was thrown.
-
- A string that describes the contents of the call stack, with the most recent method call appearing first.
-
-
-
- Exception thrown when a test method exceeds the given timeout value
-
-
-
-
- Creates a new instance of the class.
-
- The timeout value, in milliseconds
-
-
-
-
-
-
- Exception thrown when a value is unexpectedly false.
-
-
-
-
- Creates a new instance of the class.
-
- The user message to be displayed, or null for the default message
-
-
-
-
-
-
diff --git a/packages/xunit.1.9.1/xunit.1.9.1.nupkg b/packages/xunit.1.9.1/xunit.1.9.1.nupkg
deleted file mode 100644
index 817a38e6..00000000
Binary files a/packages/xunit.1.9.1/xunit.1.9.1.nupkg and /dev/null differ
diff --git a/packages/xunit.1.9.1/xunit.1.9.1.nuspec b/packages/xunit.1.9.1/xunit.1.9.1.nuspec
deleted file mode 100644
index 9161da31..00000000
--- a/packages/xunit.1.9.1/xunit.1.9.1.nuspec
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
- xunit
- 1.9.1
- xUnit.net
- James Newkirk, Brad Wilson
- James Newkirk, Brad Wilson
- http://xunit.codeplex.com/license
- http://xunit.codeplex.com/
- http://download.codeplex.com/Download?ProjectName=xunit&DownloadId=365445
- false
- xUnit.net is a developer testing framework, built to support Test Driven Development, with a design goal of extreme simplicity and alignment with framework features.
-
-
-
-
-
\ No newline at end of file
diff --git a/packages/xunit.runners.1.9.1/tools/HTML.xslt b/packages/xunit.runners.1.9.1/tools/HTML.xslt
deleted file mode 100644
index 996c1640..00000000
--- a/packages/xunit.runners.1.9.1/tools/HTML.xslt
+++ /dev/null
@@ -1,126 +0,0 @@
-
-
-
-
- ]]>
-
-
-
- xUnit.net Test Results -
-
-
-
-
-
-
Assemblies Run
-
-
-
Summary
-
- Tests run:
- Failures: ,
- Skipped: ,
- Run time: s
-
-
-
-
Failed tests
-
-
-
-
-
Failed fixtures
-
-
-
-
-
Skipped tests
-
-
-
-
All tests
-
Click test class name to expand/collapse test details
-
-
-
\ No newline at end of file
diff --git a/packages/xunit.runners.1.9.1/tools/NUnitXml.xslt b/packages/xunit.runners.1.9.1/tools/NUnitXml.xslt
deleted file mode 100644
index a6cad560..00000000
--- a/packages/xunit.runners.1.9.1/tools/NUnitXml.xslt
+++ /dev/null
@@ -1,121 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- False
- True
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- False
- True
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- False
- True
-
-
-
- False
- True
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/packages/xunit.runners.1.9.1/tools/xunit.console.clr4.exe b/packages/xunit.runners.1.9.1/tools/xunit.console.clr4.exe
deleted file mode 100644
index a788d3fc..00000000
Binary files a/packages/xunit.runners.1.9.1/tools/xunit.console.clr4.exe and /dev/null differ
diff --git a/packages/xunit.runners.1.9.1/tools/xunit.console.clr4.exe.config b/packages/xunit.runners.1.9.1/tools/xunit.console.clr4.exe.config
deleted file mode 100644
index 35ba0b95..00000000
--- a/packages/xunit.runners.1.9.1/tools/xunit.console.clr4.exe.config
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/packages/xunit.runners.1.9.1/tools/xunit.console.clr4.x86.exe b/packages/xunit.runners.1.9.1/tools/xunit.console.clr4.x86.exe
deleted file mode 100644
index 051c5875..00000000
Binary files a/packages/xunit.runners.1.9.1/tools/xunit.console.clr4.x86.exe and /dev/null differ
diff --git a/packages/xunit.runners.1.9.1/tools/xunit.console.clr4.x86.exe.config b/packages/xunit.runners.1.9.1/tools/xunit.console.clr4.x86.exe.config
deleted file mode 100644
index 1d71415a..00000000
--- a/packages/xunit.runners.1.9.1/tools/xunit.console.clr4.x86.exe.config
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/packages/xunit.runners.1.9.1/tools/xunit.console.exe b/packages/xunit.runners.1.9.1/tools/xunit.console.exe
deleted file mode 100644
index 19c11d9f..00000000
Binary files a/packages/xunit.runners.1.9.1/tools/xunit.console.exe and /dev/null differ
diff --git a/packages/xunit.runners.1.9.1/tools/xunit.console.exe.config b/packages/xunit.runners.1.9.1/tools/xunit.console.exe.config
deleted file mode 100644
index e73fc9d2..00000000
--- a/packages/xunit.runners.1.9.1/tools/xunit.console.exe.config
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/packages/xunit.runners.1.9.1/tools/xunit.console.x86.exe b/packages/xunit.runners.1.9.1/tools/xunit.console.x86.exe
deleted file mode 100644
index f3343144..00000000
Binary files a/packages/xunit.runners.1.9.1/tools/xunit.console.x86.exe and /dev/null differ
diff --git a/packages/xunit.runners.1.9.1/tools/xunit.console.x86.exe.config b/packages/xunit.runners.1.9.1/tools/xunit.console.x86.exe.config
deleted file mode 100644
index 10222232..00000000
--- a/packages/xunit.runners.1.9.1/tools/xunit.console.x86.exe.config
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/packages/xunit.runners.1.9.1/tools/xunit.gui.clr4.exe b/packages/xunit.runners.1.9.1/tools/xunit.gui.clr4.exe
deleted file mode 100644
index fcbf7742..00000000
Binary files a/packages/xunit.runners.1.9.1/tools/xunit.gui.clr4.exe and /dev/null differ
diff --git a/packages/xunit.runners.1.9.1/tools/xunit.gui.clr4.x86.exe b/packages/xunit.runners.1.9.1/tools/xunit.gui.clr4.x86.exe
deleted file mode 100644
index b5b4f721..00000000
Binary files a/packages/xunit.runners.1.9.1/tools/xunit.gui.clr4.x86.exe and /dev/null differ
diff --git a/packages/xunit.runners.1.9.1/tools/xunit.gui.exe b/packages/xunit.runners.1.9.1/tools/xunit.gui.exe
deleted file mode 100644
index 972a4237..00000000
Binary files a/packages/xunit.runners.1.9.1/tools/xunit.gui.exe and /dev/null differ
diff --git a/packages/xunit.runners.1.9.1/tools/xunit.gui.x86.exe b/packages/xunit.runners.1.9.1/tools/xunit.gui.x86.exe
deleted file mode 100644
index d7f590b4..00000000
Binary files a/packages/xunit.runners.1.9.1/tools/xunit.gui.x86.exe and /dev/null differ
diff --git a/packages/xunit.runners.1.9.1/tools/xunit.runner.msbuild.dll b/packages/xunit.runners.1.9.1/tools/xunit.runner.msbuild.dll
deleted file mode 100644
index da6cff1e..00000000
Binary files a/packages/xunit.runners.1.9.1/tools/xunit.runner.msbuild.dll and /dev/null differ
diff --git a/packages/xunit.runners.1.9.1/tools/xunit.runner.utility.dll b/packages/xunit.runners.1.9.1/tools/xunit.runner.utility.dll
deleted file mode 100644
index 8c0e61c3..00000000
Binary files a/packages/xunit.runners.1.9.1/tools/xunit.runner.utility.dll and /dev/null differ
diff --git a/packages/xunit.runners.1.9.1/tools/xunit.runner.utility.xml b/packages/xunit.runners.1.9.1/tools/xunit.runner.utility.xml
deleted file mode 100644
index f4ad94be..00000000
--- a/packages/xunit.runners.1.9.1/tools/xunit.runner.utility.xml
+++ /dev/null
@@ -1,1212 +0,0 @@
-
-
-
- xunit.runner.utility
-
-
-
-
- Guard class, used for guard clauses and argument validation
-
-
-
-
-
-
-
-
-
-
-
-
-
- Wraps calls to the Executor. Used by runners to perform version-resilient test
- enumeration and execution.
-
-
-
-
- Wraps calls to the Executor. Used by runners to perform version-resilient test
- enumeration and execution.
-
-
-
-
- Enumerates the tests in an assembly.
-
- The fully-formed assembly node of the XML
-
-
-
- Gets a count of the tests in the assembly.
-
- Returns the number of tests, if known; returns -1 if not known. May not represent
- an exact count, but should be a best effort guess by the framework.
-
-
-
- Runs all the tests in an assembly.
-
- The callback which is called as each test/class/assembly is
- finished, providing XML nodes that are part of the xUnit.net XML output format.
- Test runs can be cancelled by returning false to the callback. If null, there are
- no status callbacks (and cancellation isn't possible).
- Returns the fully-formed assembly node for the assembly that was just run.
-
-
-
- Runs all the tests in the given class.
-
- The type.
- The callback which is called as each test/class is
- finished, providing XML nodes that are part of the xUnit.net XML output format.
- Test runs can be cancelled by returning false to the callback. If null, there are
- no status callbacks (and cancellation isn't possible).
- Returns the fully-formed class node for the class that was just run.
-
-
-
- Runs a single test in a class.
-
- The type to run.
- The method to run.
- The callback which is called as each test/class is
- finished, providing XML nodes that are part of the xUnit.net XML output format.
- Test runs can be cancelled by returning false to the callback. If null, there are
- no status callbacks (and cancellation isn't possible).
- Returns the fully-formed class node for the class of the test that was just run.
-
-
-
- Runs several tests in a single class.
-
- The type.
- The methods to run.
- The callback which is called as each test/class is
- finished, providing XML nodes that are part of the xUnit.net XML output format.
- Test runs can be cancelled by returning false to the callback. If null, there are
- no status callbacks (and cancellation isn't possible).
- Returns the fully-formed class node for the class of the tests that were just run.
-
-
-
- Gets the full pathname to the assembly under test.
-
-
-
-
- Gets the full pathname to the configuration file.
-
-
-
-
- Gets the version of xunit.dll used by the test assembly.
-
-
-
-
- Initializes the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The assembly filename.
- The config filename. If null, the default config filename will be used.
- Set to true to enable shadow copying; false, otherwise.
-
-
-
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- THIS CLASS IS FOR INTERNAL USE ONLY.
-
-
-
-
-
-
-
-
-
-
- THIS CLASS IS FOR INTERNAL USE ONLY.
-
-
-
-
-
-
-
-
-
-
-
-
-
- THIS CLASS IS FOR INTERNAL USE ONLY.
-
-
-
-
-
-
-
-
-
-
-
-
-
- THIS CLASS IS FOR INTERNAL USE ONLY.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- THIS CLASS IS FOR INTERNAL USE ONLY.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- THIS CLASS IS FOR INTERNAL USE ONLY.
-
-
-
-
-
-
-
-
-
-
-
-
-
- THIS CLASS IS FOR INTERNAL USE ONLY.
-
-
-
-
-
-
-
-
-
-
- The callback object which receives real-time status notifications from the
- test runner.
-
-
-
-
- Called when the assembly has finished running.
-
- The test assembly.
- The total number of tests run.
- The number of failed tests.
- The number of skipped tests.
- The time taken to run, in seconds.
-
-
-
- Called when the assembly has started running.
-
- The test assembly.
-
-
-
- Called when a class failure is encountered (i.e., when a fixture from
- IUseFixture throws an exception during construction or .
-
- The test class.
- The full type name of the exception.
- The exception message.
- The exception stack trace.
-
-
-
-
- Called when an exception is thrown (i.e., a catastrophic failure of the testing system).
-
- The test assembly.
- The exception that was thrown.
-
-
-
- Called when a test has finished running, regardless of what the result was.
-
- The test method.
- Return true to continue running tests; return false to stop the test run.
-
-
-
- Called when a test has started running.
-
- The test method.
- Return true to continue running tests; return false to stop the test run.
-
-
-
- Represents the ability to load and unload test assemblies, as well as enumerate
- the test assemblies, the test methods, and run tests.
-
-
-
-
- Represents the ability to enumerate and filter test methods.
-
-
-
-
- Enumerates all test methods.
-
-
-
-
- Enumerates test methods which pass the given filter.
-
- The test method filter.
-
-
-
- The test assemblies loaded into the environment.
-
-
-
-
-
-
-
- Enumerates the test assemblies in the environment.
-
-
-
-
-
-
-
-
-
-
- Enumerates the traits across all the loaded assemblies.
-
-
-
-
- Loads the specified assembly, using the default configuration file.
-
- The assembly filename.
- The which represents the newly
- loaded test assembly.
-
-
-
- Loads the specified assembly using the specified configuration file.
-
- The assembly filename.
- The config filename.
- The which represents the newly
- loaded test assembly.
-
-
-
- Loads the specified assembly using the specified configuration file.
-
- The assembly filename.
- The config filename.
- Whether the DLLs should be shadow copied.
- The which represents the newly
- loaded test assembly.
-
-
-
- Adds the assembly loaded into the given
- into the environment.
-
- The executor wrapper.
- The which represents the newly
- loaded test assembly.
-
-
-
- Runs the specified test methods.
-
- The test methods to run.
- The run status information callback.
- Returns the result as XML.
-
-
-
- Unloads the specified assembly.
-
- The assembly to unload.
-
-
-
- Represents a failed test run in the object model.
-
-
-
-
- Base class for all test results in the object model.
-
-
-
-
- Initializes a new instance of the class.
-
- The duration the test took to run. For skipped tests, should be 0.0.
- The display name of the test result.
-
-
-
- Gets the display name of the test result.
-
-
-
-
- Gets the duration the test took to run.
-
-
-
-
- Initializes a new instance of the class.
-
- The duration the test took to run.
- The display name of the test result.
- The output that was captured during the test run.
- Type of the exception.
- The exception message.
- The exception stack trace.
-
-
-
- Gets the output that was captured during the test run.
-
-
-
-
- Gets the type of the exception.
-
-
-
-
- Gets the exception message.
-
-
-
-
- Gets the exception stack trace.
-
-
-
-
- Represents a skipped test run in the object model.
-
-
-
-
- Initializes a new instance of the class.
-
- The display name of the test result.
- The skip reason.
-
-
-
- Gets the skip reason.
-
-
-
-
- Acts as an and adapts the callback messages
- into calls to an instance of .
-
-
-
-
- Represents a logger used by and .
-
-
-
-
- Called when the assembly has finished running.
-
- The assembly filename.
- The total number of tests run.
- The number of failed tests.
- The number of skipped tests.
- The time taken to run, in seconds.
-
-
-
- Called when the assembly has started running.
-
- The assembly filename.
- The configuration filename, if given; null, otherwise.
- The version of xunit.dll.
-
-
-
- Called when a class failure is encountered (i.e., when a fixture from
- IUseFixture throws an exception during construction or .
-
- The full type name of the class.
- The full type name of the exception.
- The exception message.
- The exception stack trace.
-
-
-
-
- Called when an exception is thrown (i.e., a catastrophic failure of the testing system).
-
- The assembly filename.
- The exception that was thrown.
-
-
-
- Called when a test fails.
-
- The description name of the test.
- The full type name of the test class.
- The name of the method.
- The time spent running the test, in seconds.
- The output of the test during its run.
- The full type name of the exception.
- The exception message.
- The exception stack trace.
-
-
-
- Called when a test has finished running, regardless of what the result was.
-
- The description name of the test.
- The full type name of the test class.
- The name of the method.
- Return true to continue running tests; return false to stop the test run.
-
-
-
- Called when a test has passed.
-
- The description name of the test.
- The full type name of the test class.
- The name of the method.
- The time spent running the test, in seconds.
- The output of the test during its run.
-
-
-
- Called when a test was finished.
-
- The description name of the test.
- The full type name of the test class.
- The name of the method.
- The skip reason.
-
-
-
- Called when a test has started running.
-
- The description name of the test.
- The full type name of the test class.
- The name of the method.
- Return true to continue running tests; return false to stop the test run.
-
-
-
- Initializes a new instance of the class.
-
- The test class.
- The run status information callback.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents a passed test run in the object model.
-
-
-
-
- Initializes a new instance of the class.
-
- The duration the test took to run.
- The display name of the test result.
- The output that was captured during the test run.
-
-
-
- Gets the output that was captured during the test run.
-
-
-
-
- Indicates the composite test method status
-
-
-
-
- The method has not been run
-
-
-
-
- All test results for the last run passed
-
-
-
-
- At least one test result for the last run failed
-
-
-
-
- At least one test result for the last run was skipped, and none failed
-
-
-
-
- Represents a set of filters for an .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Filters the given method using the defined filter values.
-
- The methods to filter.
- Returns true if the method passed the filter; return false otherwise.
-
-
-
- Gets the set of trait filters for tests to exclude.
-
-
-
-
- Gets the set of trait filters for tests to include.
-
-
-
-
- Represents an xUnit Test Project file (.xunit file)
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Adds an assembly to the project
-
- The assembly to be added
-
-
-
- Loads an xUnit.net Test Project file from disk.
-
- The test project filename
-
-
-
- Removes assembly from the assembly list
-
- The assembly to be removed
-
-
-
- Saves the xUnit.net Test Project file to disk using the project's filename.
-
-
-
-
- Saves the xUnit.net Test Project file to disk using the provided filename.
- The projects filename is updated to match this new name.
-
- The test project filename
-
-
-
- Gets or sets the assemblies in the project.
-
-
-
-
- Gets or set the filename of the project.
-
-
-
-
- Gets the filters applied to this project.
-
-
-
-
- Gets or sets a flag which indicates if this project has been modified since
- the last time it was loaded or saved.
-
-
-
-
- Represents an assembly in an .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the assembly filename.
-
-
-
-
- Gets or sets the config filename.
-
-
-
-
- Gets or sets a value indicating whether to shadow copy the assembly
- when running the tests.
-
-
- The xUnit.net GUI runner does not support this field.
-
-
-
-
- Gets or sets the output filenames. The dictionary key is the type
- of the file to be output; the dictionary value is the filename to
- write the output to.
-
-
- The xUnit.net GUI runner does not support this field. The MSBuild
- runner only supports output of type 'xml', 'html', and 'nunit'.
-
-
-
-
- Interface which represents a high level test runner.
-
-
-
-
- Executes the tests in the assembly.
-
- Returns true if there were no failures; return false otherwise.
-
-
-
- Executes the tests in the assembly, and then executes the transforms with the
- resulting assembly XML.
-
- The transforms to execute.
- Returns true if there were no failures; return false otherwise.
-
-
-
- Runs the class.
-
- The type.
-
-
-
-
- Runs a single test in a test class.
-
- The full name of the class.
- The name of the method.
-
-
-
- Runs the list of tests in a test class.
-
- The full name of the class.
- The names of the methods to run.
-
-
-
- Represents a single test assembly with test classes.
-
-
-
-
- Initializes a new instance of the class.
-
- The executor wrapper.
- The test classes.
-
-
-
-
-
-
- Enumerates the test classes in the assembly.
-
-
-
-
-
-
-
-
-
-
- Runs the specified test methods.
-
- The test methods to run.
- The run status information callback.
- Returns the result as XML.
-
-
-
- Gets the assembly filename.
-
-
-
-
- Gets the config filename.
-
-
-
-
- Gets the executor wrapper.
-
-
-
-
- Gets the version of xunit.dll that the tests are linked against.
-
-
-
-
- Represents a single class with test methods.
-
-
-
-
- Initializes a new instance of the class.
-
- The namespace-qualified type name that
- this class represents.
- The test methods inside this test class.
-
-
-
-
-
-
-
-
-
- Runs the specified test methods.
-
- The test methods to run.
- The run status information callback.
- Returns the result as XML.
-
-
-
- Runs the specified tests in the given type, calling the callback as appropriate.
- This override point exists primarily for unit testing purposes.
-
- The test methods to run
- The run status information callback.
-
-
-
- Gets the test assembly that this class belongs to.
-
-
-
-
- Gets the namespace-qualified type name of this class.
-
-
-
-
- Represents a single test method.
-
-
-
-
- Initializes a new instance of the class.
-
- The method name.
- The method's display name.
- The method's traits.
-
-
-
- Gets the method's display name.
-
-
-
-
- Gets the method's name.
-
-
-
-
- Gets the run results for the last run.
-
-
-
-
- Gets the composite run status for all the results of the last run.
-
-
-
-
- Gets the test class this test method belongs to.
-
-
-
-
- Gets the method's traits.
-
-
-
-
- The result of a test run via .
-
-
-
-
- All tests passed, with no class-level failures
-
-
-
-
- At least one test failed, or there was a class-level failure
-
-
-
-
- There were no tests to run
-
-
-
-
- Represents a transformation of the resulting assembly XML into some output format.
-
-
-
-
- Transforms the given assembly XML into the destination format.
-
- The assembly XML.
-
-
-
- Gets the output filename, if known; returns null if the output isn't done to file.
-
-
-
-
- Runs tests in an assembly, and transforms the XML results into calls to
- the provided .
-
-
-
-
- Initializes a new instance of the class.
-
- The executor wrapper.
- The logger.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- An implementation of which writes the
- XML to a file without any transformation applied.
-
-
-
-
- Initializes a new instance of the class.
-
- The output filename.
-
-
-
-
-
-
-
-
-
- An implementation of which writes the
- XML to a file after applying the XSL stylesheet in the given stream.
-
-
-
-
- Initializes a new instance of the class.
-
- The XSL filename.
- The output filename.
-
-
-
- Initializes a new instance of the class.
-
- The stream with the XSL stylesheet.
- The output filename.
-
-
-
-
-
-
-
-
-
- Gets or sets the XSL filename.
-
-
-
-
- Gets or sets the XSL stream.
-
-
-
-
- A dictionary which contains multiple unique values for each key.
-
- The type of the key.
- The type of the value.
-
-
-
- Adds the value for the given key. If the key does not exist in the
- dictionary yet, it will add it.
-
- The key.
- The value.
-
-
-
- Removes all keys and values from the dictionary.
-
-
-
-
- Determines whether the dictionary contains to specified key and value.
-
- The key.
- The value.
-
-
-
- Calls the delegate once for each key/value pair in the dictionary.
-
-
-
-
- Removes the given key and all of its values.
-
-
-
-
- Removes the given value from the given key. If this was the
- last value for the key, then the key is removed as well.
-
- The key.
- The value.
-
-
-
- Gets the values for the given key.
-
-
-
-
- Gets the count of the keys in the dictionary.
-
-
-
-
- Gets the keys.
-
-
-
-
-
-
-
- Responsible for building instances. Uses an instance
- of to interrogate the list of available tests
- and create the entire object model tree.
-
-
-
-
- Creates a which is a complete object model over
- the tests inside of instance of .
-
- The executor wrapper
- The fully populated object model
-
-
-
- Parses the XML nodes from the version resilient runner facility and converts
- them into calls against the provided .
-
-
-
-
- Logs a result XML node. Maybe be any kind of XML node.
-
- The node to be logged.
- The logger.
- Returns true if the user wishes to continue running tests; returns false otherwise.
-
-
-
- Logs the assembly node by calling .
-
- The assembly node.
- The logger.
-
-
-
- Logs the class node by calling (if the class failed).
- The exception type was added in xUnit.net 1.1, so when the test assembly is linked against
- xUnit.net versions prior to 1.1, the exception type will be null.
-
- The class node.
- The logger.
- Returns true if the user wishes to continue running tests; returns false otherwise.
-
-
-
- Logs the start node by calling . The start node was added
- in xUnit.net 1.1, so it will only be present when the test assembly is linked against xunit.dll
- version 1.1 or later.
-
- The start node.
- The logger.
- Returns true if the user wishes to continue running tests; returns false otherwise.
-
-
-
- Logs the test node by calling . It will also call
- , , or
- as appropriate.
-
- The test node.
- The logger.
- Returns true if the user wishes to continue running tests; returns false otherwise.
-
-
-
diff --git a/packages/xunit.runners.1.9.1/xunit.runners.1.9.1.nupkg b/packages/xunit.runners.1.9.1/xunit.runners.1.9.1.nupkg
deleted file mode 100644
index acb29327..00000000
Binary files a/packages/xunit.runners.1.9.1/xunit.runners.1.9.1.nupkg and /dev/null differ
diff --git a/packages/xunit.runners.1.9.1/xunit.runners.1.9.1.nuspec b/packages/xunit.runners.1.9.1/xunit.runners.1.9.1.nuspec
deleted file mode 100644
index 975c8c59..00000000
--- a/packages/xunit.runners.1.9.1/xunit.runners.1.9.1.nuspec
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
- xunit.runners
- 1.9.1
- xUnit.net: Runners
- James Newkirk, Brad Wilson
- James Newkirk, Brad Wilson
- http://xunit.codeplex.com/license
- http://xunit.codeplex.com/
- http://download.codeplex.com/Download?ProjectName=xunit&DownloadId=365445
- false
- Runners for the xUnit.net framework, including Console, GUI, and MSBuild.
-
-
-
\ No newline at end of file
diff --git a/src/CommandLine/BaseAttribute.cs b/src/CommandLine/BaseAttribute.cs
new file mode 100644
index 00000000..be0a3826
--- /dev/null
+++ b/src/CommandLine/BaseAttribute.cs
@@ -0,0 +1,138 @@
+// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information.
+
+using System;
+
+namespace CommandLine
+{
+ ///
+ /// Models a base attribute to define command line syntax.
+ ///
+ public abstract class BaseAttribute : Attribute
+ {
+ private int min;
+ private int max;
+ private object @default;
+ private Infrastructure.LocalizableAttributeProperty helpText;
+ private string metaValue;
+ private Type resourceType;
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ protected internal BaseAttribute()
+ {
+ min = -1;
+ max = -1;
+ helpText = new Infrastructure.LocalizableAttributeProperty(nameof(HelpText));
+ metaValue = string.Empty;
+ resourceType = null;
+ }
+
+ ///
+ /// Gets or sets a value indicating whether a command line option is required.
+ ///
+ public bool Required
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// When applied to properties defines
+ /// the lower range of items.
+ ///
+ /// If not set, no lower range is enforced.
+ public int Min
+ {
+ get { return min; }
+ set
+ {
+ if (value < 0)
+ {
+ throw new ArgumentNullException("value");
+ }
+
+ min = value;
+ }
+ }
+
+ ///
+ /// When applied to properties defines
+ /// the upper range of items.
+ ///
+ /// If not set, no upper range is enforced.
+ public int Max
+ {
+ get { return max; }
+ set
+ {
+ if (value < 0)
+ {
+ throw new ArgumentNullException("value");
+ }
+
+ max = value;
+ }
+ }
+
+ ///
+ /// Gets or sets mapped property default value.
+ ///
+ public object Default
+ {
+ get { return @default; }
+ set
+ {
+ @default = value;
+ }
+ }
+
+ ///
+ /// Gets or sets a short description of this command line option. Usually a sentence summary.
+ ///
+ public string HelpText
+ {
+ get => helpText.Value??string.Empty;
+ set => helpText.Value = value ?? throw new ArgumentNullException("value");
+ }
+
+ ///
+ /// Gets or sets mapped property meta value. Usually an uppercase hint of required value type.
+ ///
+ public string MetaValue
+ {
+ get { return metaValue; }
+ set
+ {
+ if (value == null)
+ {
+ throw new ArgumentNullException("value");
+ }
+
+ metaValue = value;
+ }
+ }
+
+ ///
+ /// Gets or sets a value indicating whether a command line option is visible in the help text.
+ ///
+ public bool Hidden
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Gets or sets the that contains the resources for .
+ ///
+ public Type ResourceType
+ {
+ get { return resourceType; }
+ set
+ {
+ resourceType =
+ helpText.ResourceType = value;
+ }
+ }
+ }
+}
diff --git a/src/CommandLine/CastExtensions.cs b/src/CommandLine/CastExtensions.cs
new file mode 100644
index 00000000..fa34928c
--- /dev/null
+++ b/src/CommandLine/CastExtensions.cs
@@ -0,0 +1,100 @@
+using System;
+using System.Linq;
+using System.Reflection;
+
+namespace CommandLine
+{
+ internal static class CastExtensions
+ {
+ private const string ImplicitCastMethodName = "op_Implicit";
+ private const string ExplicitCastMethodName = "op_Explicit";
+
+ public static bool CanCast(this Type baseType)
+ {
+ return baseType.CanImplicitCast() || baseType.CanExplicitCast();
+ }
+
+ public static bool CanCast(this object obj)
+ {
+ var objType = obj.GetType();
+ return objType.CanCast();
+ }
+
+ public static T Cast(this object obj)
+ {
+ try
+ {
+ return (T) obj;
+ }
+ catch (InvalidCastException)
+ {
+ if (obj.CanImplicitCast())
+ return obj.ImplicitCast();
+ if (obj.CanExplicitCast())
+ return obj.ExplicitCast();
+ else
+ throw;
+ }
+ }
+
+ private static bool CanImplicitCast(this Type baseType)
+ {
+ return baseType.CanCast(ImplicitCastMethodName);
+ }
+
+ private static bool CanImplicitCast(this object obj)
+ {
+ var baseType = obj.GetType();
+ return baseType.CanImplicitCast();
+ }
+
+ private static bool CanExplicitCast(this Type baseType)
+ {
+ return baseType.CanCast(ExplicitCastMethodName);
+ }
+
+ private static bool CanExplicitCast(this object obj)
+ {
+ var baseType = obj.GetType();
+ return baseType.CanExplicitCast();
+ }
+
+ private static bool CanCast(this Type baseType, string castMethodName)
+ {
+ var targetType = typeof(T);
+ return baseType.GetMethods(BindingFlags.Public | BindingFlags.Static)
+ .Where(mi => mi.Name == castMethodName && mi.ReturnType == targetType)
+ .Any(mi =>
+ {
+ ParameterInfo pi = mi.GetParameters().FirstOrDefault();
+ return pi != null && pi.ParameterType == baseType;
+ });
+ }
+
+ private static T ImplicitCast(this object obj)
+ {
+ return obj.Cast(ImplicitCastMethodName);
+ }
+
+ private static T ExplicitCast(this object obj)
+ {
+ return obj.Cast(ExplicitCastMethodName);
+ }
+
+ private static T Cast(this object obj, string castMethodName)
+ {
+ var objType = obj.GetType();
+ MethodInfo conversionMethod = objType.GetMethods(BindingFlags.Public | BindingFlags.Static)
+ .Where(mi => mi.Name == castMethodName && mi.ReturnType == typeof(T))
+ .SingleOrDefault(mi =>
+ {
+ ParameterInfo pi = mi.GetParameters().FirstOrDefault();
+ return pi != null && pi.ParameterType == objType;
+ });
+ if (conversionMethod != null)
+ return (T) conversionMethod.Invoke(null, new[] {obj});
+ else
+ throw new InvalidCastException($"No method to cast {objType.FullName} to {typeof(T).FullName}");
+ }
+ }
+}
diff --git a/src/CommandLine/CommandLine.csproj b/src/CommandLine/CommandLine.csproj
new file mode 100644
index 00000000..04496eb8
--- /dev/null
+++ b/src/CommandLine/CommandLine.csproj
@@ -0,0 +1,56 @@
+
+
+
+ CommandLine
+ Library
+ netstandard2.0;net40;net45;net461
+ $(DefineConstants);CSX_EITHER_INTERNAL;CSX_REM_EITHER_BEYOND_2;CSX_ENUM_INTERNAL;ERRH_INTERNAL;CSX_MAYBE_INTERNAL;CSX_REM_EITHER_FUNC;CSX_REM_CRYPTORAND;ERRH_ADD_MAYBE_METHODS
+ $(DefineConstants);SKIP_FSHARP
+ true
+ ..\..\CommandLine.snk
+ true
+ CommandLineParser
+ CommandLineParser.FSharp
+ gsscoder;nemec;ericnewton76;moh-hassan
+ Command Line Parser Library
+ $(VersionSuffix)
+ 0.0.0
+ Terse syntax C# command line parser for .NET. For FSharp support see CommandLineParser.FSharp. The Command Line Parser Library offers to CLR applications a clean and concise API for manipulating command line arguments and related tasks.
+ Terse syntax C# command line parser for .NET with F# support. The Command Line Parser Library offers to CLR applications a clean and concise API for manipulating command line arguments and related tasks.
+ Copyright (c) 2005 - 2020 Giacomo Stelluti Scala & Contributors
+ License.md
+ CommandLine20.png
+ https://github.com/commandlineparser/commandline
+ command line;commandline;argument;option;parser;parsing;library;syntax;shell
+ https://github.com/commandlineparser/commandline/blob/master/CHANGELOG.md
+ true
+ 8.0
+ true
+ snupkg
+
+
+
+
+
+
+
+
+ true
+ README.md
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/CommandLine/Core/ArgumentsExtensions.cs b/src/CommandLine/Core/ArgumentsExtensions.cs
new file mode 100644
index 00000000..f4678d7f
--- /dev/null
+++ b/src/CommandLine/Core/ArgumentsExtensions.cs
@@ -0,0 +1,29 @@
+// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information.
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using CSharpx;
+
+namespace CommandLine.Core
+{
+ static class ArgumentsExtensions
+ {
+ public static IEnumerable Preprocess(
+ this IEnumerable arguments,
+ IEnumerable<
+ Func, IEnumerable>
+ > preprocessorLookup)
+ {
+ return preprocessorLookup.TryHead().MapValueOrDefault(
+ func =>
+ {
+ var errors = func(arguments);
+ return errors.Any()
+ ? errors
+ : arguments.Preprocess(preprocessorLookup.TailNoFail());
+ },
+ Enumerable.Empty());
+ }
+ }
+}
diff --git a/src/CommandLine/Core/GetoptTokenizer.cs b/src/CommandLine/Core/GetoptTokenizer.cs
new file mode 100644
index 00000000..b8c97fc2
--- /dev/null
+++ b/src/CommandLine/Core/GetoptTokenizer.cs
@@ -0,0 +1,228 @@
+// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information.
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using CommandLine.Infrastructure;
+using CSharpx;
+using RailwaySharp.ErrorHandling;
+using System.Text.RegularExpressions;
+
+namespace CommandLine.Core
+{
+ static class GetoptTokenizer
+ {
+ public static Result, Error> Tokenize(
+ IEnumerable arguments,
+ Func nameLookup)
+ {
+ return GetoptTokenizer.Tokenize(arguments, nameLookup, ignoreUnknownArguments:false, allowDashDash:true, posixlyCorrect:false);
+ }
+
+ public static Result, Error> Tokenize(
+ IEnumerable arguments,
+ Func nameLookup,
+ bool ignoreUnknownArguments,
+ bool allowDashDash,
+ bool posixlyCorrect)
+ {
+ var errors = new List();
+ Action onBadFormatToken = arg => errors.Add(new BadFormatTokenError(arg));
+ Action unknownOptionError = name => errors.Add(new UnknownOptionError(name));
+ Action doNothing = name => {};
+ Action onUnknownOption = ignoreUnknownArguments ? doNothing : unknownOptionError;
+
+ int consumeNext = 0;
+ Action onConsumeNext = (n => consumeNext = consumeNext + n);
+ bool forceValues = false;
+
+ var tokens = new List();
+
+ var enumerator = arguments.GetEnumerator();
+ while (enumerator.MoveNext())
+ {
+ switch (enumerator.Current) {
+ case null:
+ break;
+
+ case string arg when forceValues:
+ tokens.Add(Token.ValueForced(arg));
+ break;
+
+ case string arg when consumeNext > 0:
+ tokens.Add(Token.Value(arg));
+ consumeNext = consumeNext - 1;
+ break;
+
+ case "--" when allowDashDash:
+ forceValues = true;
+ break;
+
+ case "--":
+ tokens.Add(Token.Value("--"));
+ if (posixlyCorrect) forceValues = true;
+ break;
+
+ case "-":
+ // A single hyphen is always a value (it usually means "read from stdin" or "write to stdout")
+ tokens.Add(Token.Value("-"));
+ if (posixlyCorrect) forceValues = true;
+ break;
+
+ case string arg when arg.StartsWith("--"):
+ tokens.AddRange(TokenizeLongName(arg, nameLookup, onBadFormatToken, onUnknownOption, onConsumeNext));
+ break;
+
+ case string arg when arg.StartsWith("-"):
+ tokens.AddRange(TokenizeShortName(arg, nameLookup, onUnknownOption, onConsumeNext));
+ break;
+
+ case string arg:
+ // If we get this far, it's a plain value
+ tokens.Add(Token.Value(arg));
+ if (posixlyCorrect) forceValues = true;
+ break;
+ }
+ }
+
+ return Result.Succeed, Error>(tokens.AsEnumerable(), errors.AsEnumerable());
+ }
+
+ public static Result, Error> ExplodeOptionList(
+ Result, Error> tokenizerResult,
+ Func> optionSequenceWithSeparatorLookup)
+ {
+ var tokens = tokenizerResult.SucceededWith().Memoize();
+
+ var exploded = new List(tokens is ICollection coll ? coll.Count : tokens.Count());
+ var nothing = Maybe.Nothing(); // Re-use same Nothing instance for efficiency
+ var separator = nothing;
+ foreach (var token in tokens) {
+ if (token.IsName()) {
+ separator = optionSequenceWithSeparatorLookup(token.Text);
+ exploded.Add(token);
+ } else {
+ // Forced values are never considered option values, so they should not be split
+ if (separator.MatchJust(out char sep) && sep != '\0' && !token.IsValueForced()) {
+ if (token.Text.Contains(sep)) {
+ exploded.AddRange(token.Text.Split(sep).Select(Token.ValueFromSeparator));
+ } else {
+ exploded.Add(token);
+ }
+ } else {
+ exploded.Add(token);
+ }
+ separator = nothing; // Only first value after a separator can possibly be split
+ }
+ }
+ return Result.Succeed(exploded as IEnumerable, tokenizerResult.SuccessMessages());
+ }
+
+ public static Func<
+ IEnumerable,
+ IEnumerable,
+ Result, Error>>
+ ConfigureTokenizer(
+ StringComparer nameComparer,
+ bool ignoreUnknownArguments,
+ bool enableDashDash,
+ bool posixlyCorrect)
+ {
+ return (arguments, optionSpecs) =>
+ {
+ var tokens = GetoptTokenizer.Tokenize(arguments, name => NameLookup.Contains(name, optionSpecs, nameComparer), ignoreUnknownArguments, enableDashDash, posixlyCorrect);
+ var explodedTokens = GetoptTokenizer.ExplodeOptionList(tokens, name => NameLookup.HavingSeparator(name, optionSpecs, nameComparer));
+ return explodedTokens;
+ };
+ }
+
+ private static IEnumerable TokenizeShortName(
+ string arg,
+ Func nameLookup,
+ Action onUnknownOption,
+ Action onConsumeNext)
+ {
+
+ // First option char that requires a value means we swallow the rest of the string as the value
+ // But if there is no rest of the string, then instead we swallow the next argument
+ string chars = arg.Substring(1);
+ int len = chars.Length;
+ if (len > 0 && Char.IsDigit(chars[0]))
+ {
+ // Assume it's a negative number
+ yield return Token.Value(arg);
+ yield break;
+ }
+ for (int i = 0; i < len; i++)
+ {
+ var s = new String(chars[i], 1);
+ switch(nameLookup(s))
+ {
+ case NameLookupResult.OtherOptionFound:
+ yield return Token.Name(s);
+
+ if (i+1 < len)
+ {
+ // Rest of this is the value (e.g. "-sfoo" where "-s" is a string-consuming arg)
+ yield return Token.Value(chars.Substring(i+1));
+ yield break;
+ }
+ else
+ {
+ // Value is in next param (e.g., "-s foo")
+ onConsumeNext(1);
+ }
+ break;
+
+ case NameLookupResult.NoOptionFound:
+ onUnknownOption(s);
+ break;
+
+ default:
+ yield return Token.Name(s);
+ break;
+ }
+ }
+ }
+
+ private static IEnumerable TokenizeLongName(
+ string arg,
+ Func nameLookup,
+ Action onBadFormatToken,
+ Action onUnknownOption,
+ Action onConsumeNext)
+ {
+ string[] parts = arg.Substring(2).Split(new char[] { '=' }, 2);
+ string name = parts[0];
+ string value = (parts.Length > 1) ? parts[1] : null;
+ // A parameter like "--stringvalue=" is acceptable, and makes stringvalue be the empty string
+ if (String.IsNullOrWhiteSpace(name) || name.Contains(" "))
+ {
+ onBadFormatToken(arg);
+ yield break;
+ }
+ switch(nameLookup(name))
+ {
+ case NameLookupResult.NoOptionFound:
+ onUnknownOption(name);
+ yield break;
+
+ case NameLookupResult.OtherOptionFound:
+ yield return Token.Name(name);
+ if (value == null) // NOT String.IsNullOrEmpty
+ {
+ onConsumeNext(1);
+ }
+ else
+ {
+ yield return Token.Value(value);
+ }
+ break;
+
+ default:
+ yield return Token.Name(name);
+ break;
+ }
+ }
+ }
+}
diff --git a/src/CommandLine/Core/InstanceBuilder.cs b/src/CommandLine/Core/InstanceBuilder.cs
new file mode 100644
index 00000000..f48127b1
--- /dev/null
+++ b/src/CommandLine/Core/InstanceBuilder.cs
@@ -0,0 +1,231 @@
+// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information.
+
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.Linq;
+using CommandLine.Infrastructure;
+using CSharpx;
+using RailwaySharp.ErrorHandling;
+using System.Reflection;
+
+namespace CommandLine.Core
+{
+ static class InstanceBuilder
+ {
+ public static ParserResult Build(
+ Maybe> factory,
+ Func, IEnumerable, Result, Error>> tokenizer,
+ IEnumerable arguments,
+ StringComparer nameComparer,
+ bool ignoreValueCase,
+ CultureInfo parsingCulture,
+ bool autoHelp,
+ bool autoVersion,
+ IEnumerable nonFatalErrors)
+ {
+ return Build(
+ factory,
+ tokenizer,
+ arguments,
+ nameComparer,
+ ignoreValueCase,
+ parsingCulture,
+ autoHelp,
+ autoVersion,
+ false,
+ nonFatalErrors);
+ }
+
+ public static ParserResult Build(
+ Maybe> factory,
+ Func, IEnumerable, Result, Error>> tokenizer,
+ IEnumerable arguments,
+ StringComparer nameComparer,
+ bool ignoreValueCase,
+ CultureInfo parsingCulture,
+ bool autoHelp,
+ bool autoVersion,
+ bool allowMultiInstance,
+ IEnumerable nonFatalErrors) {
+ var typeInfo = factory.MapValueOrDefault(f => f().GetType(), typeof(T));
+
+ var specProps = typeInfo.GetSpecifications(pi => SpecificationProperty.Create(
+ Specification.FromProperty(pi), pi, Maybe.Nothing