diff --git a/dotnet/test/chrome/WebDriver.Chrome.Tests.csproj b/dotnet/test/chrome/WebDriver.Chrome.Tests.csproj
index 0cf6309d49425..29223ec305dd3 100644
--- a/dotnet/test/chrome/WebDriver.Chrome.Tests.csproj
+++ b/dotnet/test/chrome/WebDriver.Chrome.Tests.csproj
@@ -53,9 +53,9 @@
AllRules.ruleset
-
+
False
- ..\..\..\third_party\dotnet\nunit-3.0.1\nunit.framework.dll
+ ..\..\..\third_party\dotnet\nunit-3.2.1\nunit.framework.dll
diff --git a/dotnet/test/chrome/build.desc b/dotnet/test/chrome/build.desc
index 10246fa56ed6e..36b67a429bad3 100644
--- a/dotnet/test/chrome/build.desc
+++ b/dotnet/test/chrome/build.desc
@@ -8,7 +8,7 @@ dotnet_test(name = "chrome",
"System.Xml.dll",
"//dotnet/src/webdriver:webdriver",
"//dotnet/test/common:common",
- "third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.dll"
+ "third_party/dotnet/nunit-3.2.1/net-4.0/nunit.framework.dll"
],
out = "WebDriver.Chrome.Tests.dll",
files = [
diff --git a/dotnet/test/common/WebDriver.Common.Tests.csproj b/dotnet/test/common/WebDriver.Common.Tests.csproj
index 7232aa11caaca..fe92dea926e16 100644
--- a/dotnet/test/common/WebDriver.Common.Tests.csproj
+++ b/dotnet/test/common/WebDriver.Common.Tests.csproj
@@ -58,17 +58,17 @@
False
..\..\..\third_party\dotnet\nmock-2.0.0.44\NMock2.dll
-
+
False
- ..\..\..\third_party\dotnet\nunit-3.0.1\addins\nunit.core.dll
+ ..\..\..\third_party\dotnet\nunit-3.2.1\addins\nunit.core.dll
-
+
False
- ..\..\..\third_party\dotnet\nunit-3.0.1\addins\nunit.core.interfaces.dll
+ ..\..\..\third_party\dotnet\nunit-3.2.1\addins\nunit.core.interfaces.dll
-
+
False
- ..\..\..\third_party\dotnet\nunit-3.0.1\nunit.framework.dll
+ ..\..\..\third_party\dotnet\nunit-3.2.1\nunit.framework.dll
diff --git a/dotnet/test/common/build.desc b/dotnet/test/common/build.desc
index 0eb890a6450c9..c6d412a6db9c4 100644
--- a/dotnet/test/common/build.desc
+++ b/dotnet/test/common/build.desc
@@ -11,9 +11,9 @@ dotnet_library(name = "common",
"System.Drawing.dll",
"System.Xml.dll",
"//dotnet/src/webdriver:webdriver",
- "third_party/dotnet/nunit-3.0.1/addins/nunit.core.dll",
- "third_party/dotnet/nunit-3.0.1/addins/nunit.core.interfaces.dll",
- "third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.dll",
+ "third_party/dotnet/nunit-3.2.1/addins/nunit.core.dll",
+ "third_party/dotnet/nunit-3.2.1/addins/nunit.core.interfaces.dll",
+ "third_party/dotnet/nunit-3.2.1/net-4.0/nunit.framework.dll",
"third_party/dotnet/nmock-2.0.0.44/NMock2.dll"
],
out = "WebDriver.Common.Tests.dll",
diff --git a/dotnet/test/core/Selenium.Core.Tests.csproj b/dotnet/test/core/Selenium.Core.Tests.csproj
index 1fa9cbe1a44f4..b06195e315110 100644
--- a/dotnet/test/core/Selenium.Core.Tests.csproj
+++ b/dotnet/test/core/Selenium.Core.Tests.csproj
@@ -87,9 +87,9 @@
False
..\..\..\third_party\nmock\nmock.dll
-
+
False
- ..\..\..\third_party\dotnet\nunit-3.0.1\nunit.framework.dll
+ ..\..\..\third_party\dotnet\nunit-3.2.1\nunit.framework.dll
System
diff --git a/dotnet/test/core/build.desc b/dotnet/test/core/build.desc
index 8ded207773e1e..8537e26189c4b 100644
--- a/dotnet/test/core/build.desc
+++ b/dotnet/test/core/build.desc
@@ -7,7 +7,7 @@ dotnet_test(name = "core",
"System.Xml.dll",
"System.Web.dll",
"//dotnet/src/core:core",
- "third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.dll",
+ "third_party/dotnet/nunit-3.2.1/net-4.0/nunit.framework.dll",
"third_party/nmock/nmock.dll"
],
out = "Selenium.Core.Tests.dll",
diff --git a/dotnet/test/edge/WebDriver.Edge.Tests.csproj b/dotnet/test/edge/WebDriver.Edge.Tests.csproj
index 023f5f87399e8..945ddbcbb4ad3 100644
--- a/dotnet/test/edge/WebDriver.Edge.Tests.csproj
+++ b/dotnet/test/edge/WebDriver.Edge.Tests.csproj
@@ -31,9 +31,9 @@
4
-
+
False
- ..\..\..\third_party\dotnet\nunit-3.0.1\nunit.framework.dll
+ ..\..\..\third_party\dotnet\nunit-3.2.1\nunit.framework.dll
diff --git a/dotnet/test/firefox/WebDriver.Firefox.Tests.csproj b/dotnet/test/firefox/WebDriver.Firefox.Tests.csproj
index 1e13fc2a23531..ddb10e1416815 100644
--- a/dotnet/test/firefox/WebDriver.Firefox.Tests.csproj
+++ b/dotnet/test/firefox/WebDriver.Firefox.Tests.csproj
@@ -53,9 +53,9 @@
AllRules.ruleset
-
+
False
- ..\..\..\third_party\dotnet\nunit-3.0.1\nunit.framework.dll
+ ..\..\..\third_party\dotnet\nunit-3.2.1\nunit.framework.dll
diff --git a/dotnet/test/firefox/build.desc b/dotnet/test/firefox/build.desc
index 7a31a09cc52a4..a1385d7c2e7c1 100644
--- a/dotnet/test/firefox/build.desc
+++ b/dotnet/test/firefox/build.desc
@@ -8,7 +8,7 @@ dotnet_test(name = "firefox",
"System.Xml.dll",
"//dotnet/src/webdriver:webdriver",
"//dotnet/test/common:common",
- "third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.dll"
+ "third_party/dotnet/nunit-3.2.1/net-4.0/nunit.framework.dll"
],
out = "WebDriver.Firefox.Tests.dll",
files = [
diff --git a/dotnet/test/ie/WebDriver.IE.Tests.csproj b/dotnet/test/ie/WebDriver.IE.Tests.csproj
index 40b49e532915c..a8f9da7cd1608 100644
--- a/dotnet/test/ie/WebDriver.IE.Tests.csproj
+++ b/dotnet/test/ie/WebDriver.IE.Tests.csproj
@@ -55,9 +55,9 @@
AllRules.ruleset
-
+
False
- ..\..\..\third_party\dotnet\nunit-3.0.1\nunit.framework.dll
+ ..\..\..\third_party\dotnet\nunit-3.2.1\nunit.framework.dll
diff --git a/dotnet/test/ie/build.desc b/dotnet/test/ie/build.desc
index 5c95a3a1e36e0..1c75d939d42c5 100644
--- a/dotnet/test/ie/build.desc
+++ b/dotnet/test/ie/build.desc
@@ -8,7 +8,7 @@ dotnet_test(name = "ie",
"System.Xml.dll",
"//dotnet/src/webdriver:webdriver",
"//dotnet/test/common:common",
- "third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.dll"
+ "third_party/dotnet/nunit-3.2.1/net-4.0/nunit.framework.dll"
],
out = "WebDriver.IE.Tests.dll",
files = [
diff --git a/dotnet/test/phantomjs/WebDriver.PhantomJS.Tests.csproj b/dotnet/test/phantomjs/WebDriver.PhantomJS.Tests.csproj
index e0fa9d3e9f8db..8cc9c3667641b 100644
--- a/dotnet/test/phantomjs/WebDriver.PhantomJS.Tests.csproj
+++ b/dotnet/test/phantomjs/WebDriver.PhantomJS.Tests.csproj
@@ -39,9 +39,9 @@
False
..\..\..\third_party\dotnet\json-net-6.0r2\Net40\Newtonsoft.Json.dll
-
+
False
- ..\..\..\third_party\dotnet\nunit-3.0.1\nunit.framework.dll
+ ..\..\..\third_party\dotnet\nunit-3.2.1\nunit.framework.dll
diff --git a/dotnet/test/phantomjs/build.desc b/dotnet/test/phantomjs/build.desc
index 368357ff8189a..ae3670cf9d6d7 100644
--- a/dotnet/test/phantomjs/build.desc
+++ b/dotnet/test/phantomjs/build.desc
@@ -9,7 +9,7 @@ dotnet_test(name = "phantomjs",
"//dotnet/src/webdriver:webdriver",
"//dotnet/test/common:common",
"third_party/dotnet/json-net-4.5r11/Net40/Newtonsoft.Json.dll",
- "third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.dll"
+ "third_party/dotnet/nunit-3.2.1/net-4.0/nunit.framework.dll"
],
out = "WebDriver.PhantomJS.Tests.dll",
files = [
diff --git a/dotnet/test/remote/WebDriver.Remote.Tests.csproj b/dotnet/test/remote/WebDriver.Remote.Tests.csproj
index 5b5a0d365798a..934a98441386e 100644
--- a/dotnet/test/remote/WebDriver.Remote.Tests.csproj
+++ b/dotnet/test/remote/WebDriver.Remote.Tests.csproj
@@ -53,9 +53,9 @@
AllRules.ruleset
-
+
False
- ..\..\..\third_party\dotnet\nunit-3.0.1\nunit.framework.dll
+ ..\..\..\third_party\dotnet\nunit-3.2.1\nunit.framework.dll
diff --git a/dotnet/test/remote/build.desc b/dotnet/test/remote/build.desc
index 220ffe2cfa69c..f2ec7b252477a 100644
--- a/dotnet/test/remote/build.desc
+++ b/dotnet/test/remote/build.desc
@@ -11,7 +11,7 @@ dotnet_test(name = "remote",
"System.Xml.dll",
"//dotnet/src/webdriver:webdriver",
"//dotnet/test/common:common",
- "third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.dll"
+ "third_party/dotnet/nunit-3.2.1/net-4.0/nunit.framework.dll"
],
out = "WebDriver.Remote.Tests.dll",
files = [
diff --git a/dotnet/test/safari/build.desc b/dotnet/test/safari/build.desc
index 91061483be1fd..ee447bcdb4e31 100644
--- a/dotnet/test/safari/build.desc
+++ b/dotnet/test/safari/build.desc
@@ -7,7 +7,7 @@ dotnet_test(name = "safari",
"System.Xml.dll",
"//dotnet/src/webdriver:webdriver",
"//dotnet/test/common:common",
- "third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.dll"
+ "third_party/dotnet/nunit-3.2.1/net-4.0/nunit.framework.dll"
],
out = "WebDriver.Safari.Tests.dll",
files = [
diff --git a/dotnet/test/support/WebDriver.Support.Tests.csproj b/dotnet/test/support/WebDriver.Support.Tests.csproj
index 1f13df8fe85f3..21d1c9ac3b0e7 100644
--- a/dotnet/test/support/WebDriver.Support.Tests.csproj
+++ b/dotnet/test/support/WebDriver.Support.Tests.csproj
@@ -65,9 +65,9 @@
False
..\..\..\third_party\dotnet\nmock-2.0.0.44\NMock2.dll
-
+
False
- ..\..\..\third_party\dotnet\nunit-3.0.1\nunit.framework.dll
+ ..\..\..\third_party\dotnet\nunit-3.2.1\nunit.framework.dll
diff --git a/dotnet/test/support/build.desc b/dotnet/test/support/build.desc
index 040bd42aa8b62..9ec53324c1850 100644
--- a/dotnet/test/support/build.desc
+++ b/dotnet/test/support/build.desc
@@ -9,7 +9,7 @@ dotnet_test(name = "support",
"//dotnet/src/support:support",
"//dotnet/src/webdriver:webdriver",
"//dotnet/test/common:common",
- "third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.dll",
+ "third_party/dotnet/nunit-3.2.1/net-4.0/nunit.framework.dll",
"third_party/dotnet/nmock-2.0.0.44/NMock2.dll"
],
out = "WebDriver.Support.Tests.dll",
diff --git a/dotnet/test/webdriverbackedselenium/Selenium.WebDriverBackedSelenium.Tests.csproj b/dotnet/test/webdriverbackedselenium/Selenium.WebDriverBackedSelenium.Tests.csproj
index 0e20f0c917f68..756ec9a7e81f3 100644
--- a/dotnet/test/webdriverbackedselenium/Selenium.WebDriverBackedSelenium.Tests.csproj
+++ b/dotnet/test/webdriverbackedselenium/Selenium.WebDriverBackedSelenium.Tests.csproj
@@ -53,9 +53,9 @@
AllRules.ruleset
-
+
False
- ..\..\..\third_party\dotnet\nunit-3.0.1\nunit.framework.dll
+ ..\..\..\third_party\dotnet\nunit-3.2.1\nunit.framework.dll
diff --git a/dotnet/test/webdriverbackedselenium/build.desc b/dotnet/test/webdriverbackedselenium/build.desc
index b56081c5dee76..ec7da63b7397a 100644
--- a/dotnet/test/webdriverbackedselenium/build.desc
+++ b/dotnet/test/webdriverbackedselenium/build.desc
@@ -14,7 +14,7 @@ dotnet_test(name = "webdriverbackedselenium",
"//dotnet/src/webdriver:webdriver",
"//dotnet/src/core:core",
"//dotnet/src/webdriverbackedselenium:webdriverbackedselenium",
- "third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.dll",
+ "third_party/dotnet/nunit-3.2.1/net-4.0/nunit.framework.dll",
],
out = "Selenium.WebDriverBackedSelenium.Tests.dll",
files = [
diff --git a/third_party/dotnet/nunit-3.0.1/addins/nunit-project-loader.dll b/third_party/dotnet/nunit-3.0.1/addins/nunit-project-loader.dll
deleted file mode 100644
index 1835de3b2c2c9..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/addins/nunit-project-loader.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/addins/nunit-v2-result-writer.dll b/third_party/dotnet/nunit-3.0.1/addins/nunit-v2-result-writer.dll
deleted file mode 100644
index 6ec21aa14df51..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/addins/nunit-v2-result-writer.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/addins/nunit.v2.driver.dll b/third_party/dotnet/nunit-3.0.1/addins/nunit.v2.driver.dll
deleted file mode 100644
index 2a6573db29248..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/addins/nunit.v2.driver.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/addins/tests/nunit-project-loader.dll b/third_party/dotnet/nunit-3.0.1/addins/tests/nunit-project-loader.dll
deleted file mode 100644
index 1835de3b2c2c9..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/addins/tests/nunit-project-loader.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/addins/tests/nunit.engine.api.dll b/third_party/dotnet/nunit-3.0.1/addins/tests/nunit.engine.api.dll
deleted file mode 100644
index cb182645337f4..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/addins/tests/nunit.engine.api.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/addins/tests/nunit.framework.dll b/third_party/dotnet/nunit-3.0.1/addins/tests/nunit.framework.dll
deleted file mode 100644
index 3151a93fa006f..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/addins/tests/nunit.framework.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/addins/tests/vs-project-loader.dll b/third_party/dotnet/nunit-3.0.1/addins/tests/vs-project-loader.dll
deleted file mode 100644
index 5628187ddb82e..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/addins/tests/vs-project-loader.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/addins/vs-project-loader.dll b/third_party/dotnet/nunit-3.0.1/addins/vs-project-loader.dll
deleted file mode 100644
index 5628187ddb82e..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/addins/vs-project-loader.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-2.0/nunit.framework.dll b/third_party/dotnet/nunit-3.0.1/net-2.0/nunit.framework.dll
deleted file mode 100644
index 3151a93fa006f..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/net-2.0/nunit.framework.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-2.0/nunit.framework.tests.dll b/third_party/dotnet/nunit-3.0.1/net-2.0/nunit.framework.tests.dll
deleted file mode 100644
index bfecaca9760f0..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/net-2.0/nunit.framework.tests.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-2.0/nunit.testdata.dll b/third_party/dotnet/nunit-3.0.1/net-2.0/nunit.testdata.dll
deleted file mode 100644
index 2977c47a087de..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/net-2.0/nunit.testdata.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-2.0/nunitlite.dll b/third_party/dotnet/nunit-3.0.1/net-2.0/nunitlite.dll
deleted file mode 100644
index f6dfca8619dc2..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/net-2.0/nunitlite.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-2.0/nunitlite.tests.exe b/third_party/dotnet/nunit-3.0.1/net-2.0/nunitlite.tests.exe
deleted file mode 100644
index 6d77366739c1a..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/net-2.0/nunitlite.tests.exe and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-2.0/slow-nunit-tests.dll b/third_party/dotnet/nunit-3.0.1/net-2.0/slow-nunit-tests.dll
deleted file mode 100644
index 993f552384025..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/net-2.0/slow-nunit-tests.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.dll b/third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.dll
deleted file mode 100644
index c52b02df2cd3b..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.tests.dll b/third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.tests.dll
deleted file mode 100644
index 8390fae8179cd..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.tests.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.tests.dll.config b/third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.tests.dll.config
deleted file mode 100644
index 28796cc2b0ef2..0000000000000
--- a/third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.tests.dll.config
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/third_party/dotnet/nunit-3.0.1/net-4.0/nunit.testdata.dll b/third_party/dotnet/nunit-3.0.1/net-4.0/nunit.testdata.dll
deleted file mode 100644
index 3cc1a13abefc0..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/net-4.0/nunit.testdata.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-4.0/nunit.testdata.dll.config b/third_party/dotnet/nunit-3.0.1/net-4.0/nunit.testdata.dll.config
deleted file mode 100644
index 00e7eac74b75b..0000000000000
--- a/third_party/dotnet/nunit-3.0.1/net-4.0/nunit.testdata.dll.config
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/third_party/dotnet/nunit-3.0.1/net-4.0/nunitlite.dll b/third_party/dotnet/nunit-3.0.1/net-4.0/nunitlite.dll
deleted file mode 100644
index 71213854d4252..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/net-4.0/nunitlite.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-4.0/nunitlite.tests.exe b/third_party/dotnet/nunit-3.0.1/net-4.0/nunitlite.tests.exe
deleted file mode 100644
index d57fe7f167f1d..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/net-4.0/nunitlite.tests.exe and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-4.0/slow-nunit-tests.dll b/third_party/dotnet/nunit-3.0.1/net-4.0/slow-nunit-tests.dll
deleted file mode 100644
index e34e9224b9f32..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/net-4.0/slow-nunit-tests.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-4.5/nunit.framework.dll b/third_party/dotnet/nunit-3.0.1/net-4.5/nunit.framework.dll
deleted file mode 100644
index cd864b1c4205a..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/net-4.5/nunit.framework.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-4.5/nunit.framework.tests.dll b/third_party/dotnet/nunit-3.0.1/net-4.5/nunit.framework.tests.dll
deleted file mode 100644
index 5544253e83601..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/net-4.5/nunit.framework.tests.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-4.5/nunit.testdata.dll b/third_party/dotnet/nunit-3.0.1/net-4.5/nunit.testdata.dll
deleted file mode 100644
index 31134e1714b43..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/net-4.5/nunit.testdata.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-4.5/nunitlite.dll b/third_party/dotnet/nunit-3.0.1/net-4.5/nunitlite.dll
deleted file mode 100644
index 940eda01ea699..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/net-4.5/nunitlite.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-4.5/nunitlite.tests.exe b/third_party/dotnet/nunit-3.0.1/net-4.5/nunitlite.tests.exe
deleted file mode 100644
index 398b8fd531ca9..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/net-4.5/nunitlite.tests.exe and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-4.5/slow-nunit-tests.dll b/third_party/dotnet/nunit-3.0.1/net-4.5/slow-nunit-tests.dll
deleted file mode 100644
index cd866f4211e7d..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/net-4.5/slow-nunit-tests.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/nunit.engine.addin.xml b/third_party/dotnet/nunit-3.0.1/nunit.engine.addin.xml
deleted file mode 100644
index 486fc9e2111f5..0000000000000
--- a/third_party/dotnet/nunit-3.0.1/nunit.engine.addin.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/third_party/dotnet/nunit-3.0.1/nunit.engine.api.dll b/third_party/dotnet/nunit-3.0.1/nunit.engine.api.dll
deleted file mode 100644
index cb182645337f4..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/nunit.engine.api.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/nunit.engine.dll b/third_party/dotnet/nunit-3.0.1/nunit.engine.dll
deleted file mode 100644
index 6ca13669a3e5e..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/nunit.engine.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/nunit.engine.tests.dll b/third_party/dotnet/nunit-3.0.1/nunit.engine.tests.dll
deleted file mode 100644
index 3341068ab74ba..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/nunit.engine.tests.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/nunit.framework.dll b/third_party/dotnet/nunit-3.0.1/nunit.framework.dll
deleted file mode 100644
index 3151a93fa006f..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/nunit.framework.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/nunit3-console.tests.dll b/third_party/dotnet/nunit-3.0.1/nunit3-console.tests.dll
deleted file mode 100644
index 4c2f483b25a45..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/nunit3-console.tests.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/nunitlite.dll b/third_party/dotnet/nunit-3.0.1/nunitlite.dll
deleted file mode 100644
index f6dfca8619dc2..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/nunitlite.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/portable/mock-nunit-assembly.dll b/third_party/dotnet/nunit-3.0.1/portable/mock-nunit-assembly.dll
deleted file mode 100644
index 45c1ee6ad9fbf..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/portable/mock-nunit-assembly.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/portable/nunit.framework.dll b/third_party/dotnet/nunit-3.0.1/portable/nunit.framework.dll
deleted file mode 100644
index e110b17367f51..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/portable/nunit.framework.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/portable/nunit.framework.tests.dll b/third_party/dotnet/nunit-3.0.1/portable/nunit.framework.tests.dll
deleted file mode 100644
index 7b559b9877047..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/portable/nunit.framework.tests.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/portable/nunit.framework.tests.dll.config b/third_party/dotnet/nunit-3.0.1/portable/nunit.framework.tests.dll.config
deleted file mode 100644
index e03ea0a5f088e..0000000000000
--- a/third_party/dotnet/nunit-3.0.1/portable/nunit.framework.tests.dll.config
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/third_party/dotnet/nunit-3.0.1/portable/nunit.portable.tests.exe b/third_party/dotnet/nunit-3.0.1/portable/nunit.portable.tests.exe
deleted file mode 100644
index 73114247c86d9..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/portable/nunit.portable.tests.exe and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/portable/nunit.portable.tests.exe.config b/third_party/dotnet/nunit-3.0.1/portable/nunit.portable.tests.exe.config
deleted file mode 100644
index 8e15646352ec1..0000000000000
--- a/third_party/dotnet/nunit-3.0.1/portable/nunit.portable.tests.exe.config
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/third_party/dotnet/nunit-3.0.1/portable/nunit.testdata.dll b/third_party/dotnet/nunit-3.0.1/portable/nunit.testdata.dll
deleted file mode 100644
index 3ad1cd48a63a7..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/portable/nunit.testdata.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/portable/nunitlite.dll b/third_party/dotnet/nunit-3.0.1/portable/nunitlite.dll
deleted file mode 100644
index 0942a111b1981..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/portable/nunitlite.dll and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/portable/nunitlite.tests.exe b/third_party/dotnet/nunit-3.0.1/portable/nunitlite.tests.exe
deleted file mode 100644
index 3148a6015f571..0000000000000
Binary files a/third_party/dotnet/nunit-3.0.1/portable/nunitlite.tests.exe and /dev/null differ
diff --git a/third_party/dotnet/nunit-3.0.1/ConsoleTests.nunit b/third_party/dotnet/nunit-3.2.1/ConsoleTests.nunit
similarity index 100%
rename from third_party/dotnet/nunit-3.0.1/ConsoleTests.nunit
rename to third_party/dotnet/nunit-3.2.1/ConsoleTests.nunit
diff --git a/third_party/dotnet/nunit-3.0.1/EngineTests.nunit b/third_party/dotnet/nunit-3.2.1/EngineTests.nunit
similarity index 100%
rename from third_party/dotnet/nunit-3.0.1/EngineTests.nunit
rename to third_party/dotnet/nunit-3.2.1/EngineTests.nunit
diff --git a/third_party/dotnet/nunit-3.0.1/Mono.Cecil.dll b/third_party/dotnet/nunit-3.2.1/Mono.Cecil.dll
similarity index 100%
rename from third_party/dotnet/nunit-3.0.1/Mono.Cecil.dll
rename to third_party/dotnet/nunit-3.2.1/Mono.Cecil.dll
diff --git a/third_party/dotnet/nunit-3.0.1/NUnit2TestResult.xsd b/third_party/dotnet/nunit-3.2.1/NUnit2TestResult.xsd
similarity index 100%
rename from third_party/dotnet/nunit-3.0.1/NUnit2TestResult.xsd
rename to third_party/dotnet/nunit-3.2.1/NUnit2TestResult.xsd
diff --git a/third_party/dotnet/nunit-3.0.1/TextSummary.xslt b/third_party/dotnet/nunit-3.2.1/TextSummary.xslt
similarity index 100%
rename from third_party/dotnet/nunit-3.0.1/TextSummary.xslt
rename to third_party/dotnet/nunit-3.2.1/TextSummary.xslt
diff --git a/third_party/dotnet/nunit-3.2.1/addins/nunit-project-loader.dll b/third_party/dotnet/nunit-3.2.1/addins/nunit-project-loader.dll
new file mode 100644
index 0000000000000..a587c2bdaf2ec
Binary files /dev/null and b/third_party/dotnet/nunit-3.2.1/addins/nunit-project-loader.dll differ
diff --git a/third_party/dotnet/nunit-3.2.1/addins/nunit-v2-result-writer.dll b/third_party/dotnet/nunit-3.2.1/addins/nunit-v2-result-writer.dll
new file mode 100644
index 0000000000000..fd0b8008bc40a
Binary files /dev/null and b/third_party/dotnet/nunit-3.2.1/addins/nunit-v2-result-writer.dll differ
diff --git a/third_party/dotnet/nunit-3.0.1/addins/nunit.core.dll b/third_party/dotnet/nunit-3.2.1/addins/nunit.core.dll
similarity index 100%
rename from third_party/dotnet/nunit-3.0.1/addins/nunit.core.dll
rename to third_party/dotnet/nunit-3.2.1/addins/nunit.core.dll
diff --git a/third_party/dotnet/nunit-3.0.1/addins/nunit.core.interfaces.dll b/third_party/dotnet/nunit-3.2.1/addins/nunit.core.interfaces.dll
similarity index 100%
rename from third_party/dotnet/nunit-3.0.1/addins/nunit.core.interfaces.dll
rename to third_party/dotnet/nunit-3.2.1/addins/nunit.core.interfaces.dll
diff --git a/third_party/dotnet/nunit-3.2.1/addins/nunit.v2.driver.dll b/third_party/dotnet/nunit-3.2.1/addins/nunit.v2.driver.dll
new file mode 100644
index 0000000000000..59e22fa2d6a70
Binary files /dev/null and b/third_party/dotnet/nunit-3.2.1/addins/nunit.v2.driver.dll differ
diff --git a/third_party/dotnet/nunit-3.0.1/addins/tests/addin-tests.dll b/third_party/dotnet/nunit-3.2.1/addins/tests/addin-tests.dll
similarity index 80%
rename from third_party/dotnet/nunit-3.0.1/addins/tests/addin-tests.dll
rename to third_party/dotnet/nunit-3.2.1/addins/tests/addin-tests.dll
index 1cdf195de8cc4..7e5de2ee80a42 100644
Binary files a/third_party/dotnet/nunit-3.0.1/addins/tests/addin-tests.dll and b/third_party/dotnet/nunit-3.2.1/addins/tests/addin-tests.dll differ
diff --git a/third_party/dotnet/nunit-3.2.1/addins/tests/nunit-project-loader.dll b/third_party/dotnet/nunit-3.2.1/addins/tests/nunit-project-loader.dll
new file mode 100644
index 0000000000000..a587c2bdaf2ec
Binary files /dev/null and b/third_party/dotnet/nunit-3.2.1/addins/tests/nunit-project-loader.dll differ
diff --git a/third_party/dotnet/nunit-3.2.1/addins/tests/nunit.engine.api.dll b/third_party/dotnet/nunit-3.2.1/addins/tests/nunit.engine.api.dll
new file mode 100644
index 0000000000000..a49e1513b890a
Binary files /dev/null and b/third_party/dotnet/nunit-3.2.1/addins/tests/nunit.engine.api.dll differ
diff --git a/third_party/dotnet/nunit-3.0.1/addins/tests/nunit.engine.api.xml b/third_party/dotnet/nunit-3.2.1/addins/tests/nunit.engine.api.xml
similarity index 96%
rename from third_party/dotnet/nunit-3.0.1/addins/tests/nunit.engine.api.xml
rename to third_party/dotnet/nunit-3.2.1/addins/tests/nunit.engine.api.xml
index bb37ad15f7d1f..d51826a5911fe 100644
--- a/third_party/dotnet/nunit-3.0.1/addins/tests/nunit.engine.api.xml
+++ b/third_party/dotnet/nunit-3.2.1/addins/tests/nunit.engine.api.xml
@@ -383,6 +383,49 @@
If true, cancel any ongoing test threads, otherwise wait for them to complete.
+
+
+ Interface implemented by objects representing a runtime framework.
+
+
+
+
+ Gets the inique Id for this runtime, such as "net-4.5"
+
+
+
+
+ Gets the display name of the framework, such as ".NET 4.5"
+
+
+
+
+ Gets the framework version: usually contains two components, Major
+ and Minor, which match the corresponding CLR components, but not always.
+
+
+
+
+ Gets the Version of the CLR for this framework
+
+
+
+
+ Gets a string representing the particular profile installed,
+ or null if there is no profile. Currently. the only defined
+ values are Full and Client.
+
+
+
+
+ Interface that returns a list of available runtime frameworks.
+
+
+
+
+ Gets a list of available runtime frameworks.
+
+
IResultWriterService provides result writers for a specified
diff --git a/third_party/dotnet/nunit-3.2.1/addins/tests/nunit.framework.dll b/third_party/dotnet/nunit-3.2.1/addins/tests/nunit.framework.dll
new file mode 100644
index 0000000000000..2b1f03dcc5308
Binary files /dev/null and b/third_party/dotnet/nunit-3.2.1/addins/tests/nunit.framework.dll differ
diff --git a/third_party/dotnet/nunit-3.0.1/addins/tests/nunit.framework.xml b/third_party/dotnet/nunit-3.2.1/addins/tests/nunit.framework.xml
similarity index 97%
rename from third_party/dotnet/nunit-3.0.1/addins/tests/nunit.framework.xml
rename to third_party/dotnet/nunit-3.2.1/addins/tests/nunit.framework.xml
index 5d48d532a4719..cd4caf682a96a 100644
--- a/third_party/dotnet/nunit-3.0.1/addins/tests/nunit.framework.xml
+++ b/third_party/dotnet/nunit-3.2.1/addins/tests/nunit.framework.xml
@@ -20,6 +20,8 @@
Gets the path from which an assembly was loaded.
+ For builds where this is not possible, returns
+ the name of the assembly.
The assembly.
The path.
@@ -871,6 +873,24 @@
Return a list of the composing filters.
+
+
+ Checks whether the CompositeFilter is matched by a test.
+
+ The test to be matched
+
+
+
+ Checks whether the CompositeFilter is matched by a test.
+
+ The test to be matched
+
+
+
+ Checks whether the CompositeFilter is explicit matched by a test.
+
+ The test to be matched
+
Adds an XML node
@@ -1082,6 +1102,13 @@
The test to be matched
True if all the component filters match, otherwise false
+
+
+ Checks whether the AndFilter is explicit matched by a test.
+
+ The test to be matched
+ True if all the component filters explicit match, otherwise false
+
Gets the element name
@@ -1195,6 +1222,13 @@
The test to be matched
True if any of the component filters match, otherwise false
+
+
+ Checks whether the OrFilter is explicit matched by a test
+
+ The test to be matched
+ True if any of the component filters explicit match, otherwise false
+
Gets the element name
@@ -1915,11 +1949,12 @@
The item to dispatch
-
+
Cancel the ongoing run completely.
If no run is in process, the call has no effect.
+ true if the IWorkItemDispatcher should abort all currently running WorkItems, false if it should allow all currently running WorkItems to complete
@@ -1939,11 +1974,12 @@
The item to dispatch
-
+
- Cancel the ongoing run completely.
+ Cancel (abort or stop) the ongoing run.
If no run is in process, the call has no effect.
+ true if the run should be aborted, false if it should allow its currently running test to complete
@@ -1984,21 +2020,21 @@
The string to write
-
- The dispatcher needs to do different things at different,
- non-overlapped times. For example, non-parallel tests may
- not be run at the same time as parallel tests. We model
- this using the metaphor of a working shift. The WorkShift
- class associates one or more WorkItemQueues with one or
- more TestWorkers.
+
+ The dispatcher needs to do different things at different,
+ non-overlapped times. For example, non-parallel tests may
+ not be run at the same time as parallel tests. We model
+ this using the metaphor of a working shift. The WorkShift
+ class associates one or more WorkItemQueues with one or
+ more TestWorkers.
- Work in the queues is processed until all queues are empty
- and all workers are idle. Both tests are needed because a
- worker that is busy may end up adding more work to one of
- the queues. At that point, the shift is over and another
- shift may begin. This cycle continues until all the tests
- have been run.
-
+ Work in the queues is processed until all queues are empty
+ and all workers are idle. Both tests are needed because a
+ worker that is busy may end up adding more work to one of
+ the queues. At that point, the shift is over and another
+ shift may begin. This cycle continues until all the tests
+ have been run.
+
@@ -2059,10 +2095,11 @@
Shut down the shift.
-
+
- Cancel the shift without completing all work
+ Cancel (abort or stop) the shift without completing all work
+ true if the WorkShift should be aborted, false if it should allow its currently running tests to complete
@@ -2071,6 +2108,16 @@
as all its child tests.
+
+
+ List of Child WorkItems
+
+
+
+
+ A count of how many tests in the work item have a value for the Order Property
+
+
Construct a CompositeWorkItem for executing a test suite
@@ -2086,6 +2133,26 @@
items and then do teardown.
+
+
+ Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
+
+
+ A signed integer that indicates the relative values of and , as shown in the following table.Value Meaning Less than zero is less than .Zero equals .Greater than zero is greater than .
+
+ The first object to compare.The second object to compare.
+
+
+
+ Sorts tests under this suite.
+
+
+
+
+ Cancel (abort or stop) a CompositeWorkItem and all of its children
+
+ true if the CompositeWorkItem and all of its children should be aborted, false if it should allow all currently running tests to complete
+
A simplified implementation of .NET 4 CountdownEvent
@@ -2426,7 +2493,7 @@
Indicates whether the worker thread is running
-
+
Our ThreadProc, which pulls and runs tests in a loop
@@ -2436,23 +2503,24 @@
Start processing work items.
-
+
Stop the thread, either immediately or after finishing the current WorkItem
+ true if the thread should be aborted, false if it should allow the currently running test to complete
-
- A WorkItem may be an individual test case, a fixture or
- a higher level grouping of tests. All WorkItems inherit
- from the abstract WorkItem class, which uses the template
- pattern to allow derived classes to perform work in
- whatever way is needed.
+
+ A WorkItem may be an individual test case, a fixture or
+ a higher level grouping of tests. All WorkItems inherit
+ from the abstract WorkItem class, which uses the template
+ pattern to allow derived classes to perform work in
+ whatever way is needed.
- A WorkItem is created with a particular TestExecutionContext
- and is responsible for re-establishing that context in the
- current thread before it begins or resumes execution.
-
+ A WorkItem is created with a particular TestExecutionContext
+ and is responsible for re-establishing that context in the
+ current thread before it begins or resumes execution.
+
@@ -2501,6 +2569,11 @@
The execution context
+
+
+ The unique id of the worker executing this item.
+
+
The test actions to be performed before and after this test
@@ -2522,6 +2595,12 @@
child work items.
+
+
+ Cancel (abort or stop) a WorkItem
+
+ true if the WorkItem should be aborted, false if it should run to completion
+
Method that performs actually performs the work. It should
@@ -2558,7 +2637,7 @@
The item to dispatch
-
+
Cancel the ongoing run completely.
If no run is in process, the call has no effect.
@@ -3381,6 +3460,11 @@
The test will be ignored until the given date
+
+
+ The optional Order the test will run in
+
+
CultureDetector is a helper class used by NUnit to determine
@@ -3434,6 +3518,12 @@
ExceptionHelper provides static methods for working with exceptions
+
+
+ Rethrows an exception, preserving its stack trace
+
+ The exception to rethrow
+
Builds up a message, using the Message field of the specified exception
@@ -4516,6 +4606,12 @@
For builds with out the parallel feature, it has no effect.
+
+
+ The unique name of the worker that spawned the context.
+ For builds with out the parallel feature, it is null.
+
+
Gets the RandomGenerator specific to this Test
@@ -4552,6 +4648,16 @@
Gets or sets the current for the Thread.
+
+
+ The current head of the ValueFormatter chain, copied from MsgUtils.ValueFormatter
+
+
+
+
+ If true, all tests must run on the same thread. No new thread may be spawned.
+
+
Record any changes in the environment made by
@@ -4576,6 +4682,12 @@
Increments the assert count by a specified amount.
+
+
+ Adds a new ValueFormatterFactory to the chain of formatters
+
+ The new factory
+
Obtain lifetime service object
@@ -5382,6 +5494,72 @@
The child result to be added
+
+
+ Provides a platform-independent methods for getting attributes
+ for use by AttributeConstraint and AttributeExistsConstraint.
+
+
+
+
+ Gets the custom attributes from the given object.
+
+ Portable libraries do not have an ICustomAttributeProvider, so we need to cast to each of
+ it's direct subtypes and try to get attributes off those instead.
+ The actual.
+ Type of the attribute.
+ if set to true [inherit].
+ A list of the given attribute on the given object.
+
+
+
+ A MarshalByRefObject that lives forever
+
+
+
+
+ Obtains a lifetime service object to control the lifetime policy for this instance.
+
+
+
+
+ Provides NUnit specific extensions to aid in Reflection
+ across multiple frameworks
+
+
+ This version of the class supplies GetTypeInfo() on platforms
+ that don't support it.
+
+
+
+
+ GetTypeInfo gives access to most of the Type information we take for granted
+ on .NET Core and Windows Runtime. Rather than #ifdef different code for different
+ platforms, it is easiest to just code all platforms as if they worked this way,
+ thus the simple passthrough.
+
+
+
+
+
+
+ Extensions for Assembly that are not available in pre-4.5 .NET releases
+
+
+
+
+ An easy way to get a single custom attribute from an assembly
+
+ The attribute Type
+ The assembly
+ An attribute of Type T
+
+
+
+ This class is a System.Diagnostics.Stopwatch on operating systems that support it. On those that don't,
+ it replicates the functionality at the resolution supported.
+
+
Class used to guard against unexpected argument values
@@ -5527,6 +5705,39 @@
Gets a dictionary of settings for the FrameworkController
+
+
+ Loads the tests in the assembly
+
+
+
+
+
+ Returns info about the tests in an assembly
+
+ A string containing the XML representation of the filter to use
+ The XML result of exploring the tests
+
+
+
+ Runs the tests in an assembly
+
+ A string containing the XML representation of the filter to use
+ The XML result of the test run
+
+
+
+ Stops the test run
+
+ True to force the stop, false for a cooperative stop
+
+
+
+ Counts the number of test cases in the loaded TestSuite
+
+ A string containing the XML representation of the filter to use
+ The number of tests
+
Inserts environment element
@@ -5743,7 +5954,7 @@
Signal any test run that is in process to stop. Return without error if no test is running.
- If true, kill any test-running threads
+ If true, kill any tests that are currently running
@@ -5815,7 +6026,7 @@
- Loads the tests found in an Assembly, returning an
+ Loads the tests found in an Assembly, returning an
indication of whether or not the load succeeded.
File name of the assembly to load
@@ -5824,7 +6035,7 @@
- Loads the tests found in an Assembly, returning an
+ Loads the tests found in an Assembly, returning an
indication of whether or not the load succeeded.
The assembly to load
@@ -5972,6 +6183,51 @@
The test to modify
+
+
+ SingleThreadedAttribute applies to a test fixture and indicates
+ that all the child tests must be run on the same thread as the
+ OneTimeSetUp and OneTimeTearDown. It sets a flag in the
+ TestExecutionContext and forces all tests to be run sequentially
+ on the current thread. Any ParallelScope setting is ignored.
+
+
+
+
+ Apply changes to the TestExecutionContext
+
+ The TestExecutionContext
+
+
+
+ TestAssemblyDirectoryResolveAttribute is used to mark a test assembly as needing a
+ special assembly resolution hook that will explicitly search the test assembly's
+ directory for dependent assemblies. This works around a conflict between mixed-mode
+ assembly initialization and tests running in their own AppDomain in some cases.
+
+
+
+
+ Defines the order that the test will run in
+
+
+
+
+ Defines the order that the test will run in
+
+
+
+
+ Defines the order that the test will run in
+
+
+
+
+
+ Modifies a test as defined for the specific attribute.
+
+ The test to modify
+
RepeatAttribute may be applied to test case in order
@@ -6184,59 +6440,6 @@
The type that is being tested.
-
-
- Provides a platform-independent methods for getting attributes
- for use by AttributeConstraint and AttributeExistsConstraint.
-
-
-
-
- Gets the custom attributes from the given object.
-
- Portable libraries do not have an ICustomAttributeProvider, so we need to cast to each of
- it's direct subtypes and try to get attributes off those instead.
- The actual.
- Type of the attribute.
- if set to true [inherit].
- A list of the given attribute on the given object.
-
-
-
- A MarshalByRefObject that lives forever
-
-
-
-
- Obtains a lifetime service object to control the lifetime policy for this instance.
-
-
-
-
- Provides NUnit specific extensions to aid in Reflection
- across multiple frameworks
-
-
- This version of the class supplies GetTypeInfo() on platforms
- that don't support it.
-
-
-
-
- GetTypeInfo gives access to most of the Type information we take for granted
- on .NET Core and Windows Runtime. Rather than #ifdef different code for different
- platforms, it is easiest to just code all platforms as if they worked this way,
- thus the simple passthrough.
-
-
-
-
-
-
- This class is a System.Diagnostics.Stopwatch on operating systems that support it. On those that don't,
- it replicates the functionality at the resolution supported.
-
-
CollectionSupersetConstraint is used to determine whether
@@ -6263,6 +6466,13 @@
+
+
+ Flag the constraint to use the supplied predicate function
+
+ The comparison function to use.
+ Self.
+
DictionaryContainsValueConstraint is used to test whether a dictionary
@@ -6345,6 +6555,19 @@
The actual enumeration
The depth of this failure in a set of nested collections
+
+
+ The Description of what this constraint tests, for
+ use in messages and in the ConstraintResult.
+
+
+
+
+ Applies the constraint to an actual value, returning a ConstraintResult.
+
+ The value to be tested
+ A ConstraintResult
+
FileExistsConstraint is used to determine if a file exists
@@ -6537,6 +6760,13 @@
A delegate representing the code to be tested
True if an exception is thrown, otherwise false
+
+
+ Returns the ActualValueDelegate itself as the value to be tested.
+
+ A delegate representing the code to be tested
+ The delegate itself
+
AllItemsConstraint applies another constraint to each
@@ -6798,6 +7028,13 @@
+
+
+ Flag the constraint to use the supplied predicate function
+
+ The comparison function to use.
+ Self.
+
CollectionEquivalentConstraint is used to determine whether two
@@ -6823,6 +7060,13 @@
+
+
+ Flag the constraint to use the supplied predicate function
+
+ The comparison function to use.
+ Self.
+
CollectionItemsEqualConstraint is the abstract base class for all
@@ -6973,6 +7217,13 @@
+
+
+ Flag the constraint to use the supplied predicate function
+
+ The comparison function to use.
+ Self.
+
CollectionTally counts (tallies) the number of
@@ -7222,6 +7473,15 @@
A reference to the value to be tested
A ConstraintResult
+
+
+ Retrieves the value to be tested from an ActualValueDelegate.
+ The default implementation simply evaluates the delegate but derived
+ classes may override it to provide for delayed processing.
+
+ An ActualValueDelegate
+ Delegate evaluation result
+
Default override of ToString returns the constraint DisplayName
@@ -7604,6 +7864,11 @@
Returns a constraint that tests for a negative value
+
+
+ Returns a constraint that tests if item is equal to zero
+
+
Returns a constraint that tests for NaN
@@ -7990,6 +8255,11 @@
Returns a constraint that tests for a negative value
+
+
+ Returns a constraint that tests for equality with zero
+
+
Returns a constraint that tests for NaN
@@ -8718,6 +8988,26 @@
Returns an that wraps an .
+
+
+ Returns an EqualityAdapter that uses a predicate function for items comparison.
+
+
+
+
+
+
+
+
+ Returns true if the two objects can be compared by this adapter.
+ The base adapter cannot handle IEnumerables except for strings.
+
+
+
+
+ Compares two objects, returning true if they are equal
+
+
Returns true if the two objects can be compared by this adapter.
@@ -9195,6 +9485,21 @@
The starting point of the elements to write
The maximum number of elements to write
+
+
+ Custom value formatter function
+
+ The value
+
+
+
+
+ Custom value formatter factory function
+
+ The next formatter function
+ ValueFormatter
+ If the given formatter is unable to handle a certain format, it must call the next formatter in the chain
+
Static methods used in creating messages
@@ -9210,6 +9515,17 @@
Formatting strings used for expected and actual _values
+
+
+ Current head of chain of value formatters. Public for testing.
+
+
+
+
+ Add a formatter to the chain of responsibility.
+
+
+
Formats text to represent a generalized value.
@@ -12080,7 +12396,7 @@
- The Equals method throws an AssertionException. This is done
+ The Equals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
@@ -12088,7 +12404,7 @@
- override the default ReferenceEquals to throw an AssertionException. This
+ override the default ReferenceEquals to throw an InvalidOperationException. This
implementation makes sure there is no mistake in calling this function
as part of Assert.
@@ -13496,7 +13812,7 @@
- The Equals method throws an AssertionException. This is done
+ The Equals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
@@ -13504,7 +13820,7 @@
- override the default ReferenceEquals to throw an AssertionException. This
+ override the default ReferenceEquals to throw an InvalidOperationException. This
implementation makes sure there is no mistake in calling this function
as part of Assert.
@@ -13806,7 +14122,7 @@
- The Equals method throws an AssertionException. This is done
+ The Equals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
@@ -13814,7 +14130,7 @@
- override the default ReferenceEquals to throw an AssertionException. This
+ override the default ReferenceEquals to throw an InvalidOperationException. This
implementation makes sure there is no mistake in calling this function
as part of Assert.
@@ -14751,6 +15067,15 @@
The name of a static method, property or field that will provide data.
+
+
+ Construct with a Type and name
+
+ The Type that will provide data
+ The name of a static method, property or field that will provide data.
+ A set of parameters passed to the method, works only if the Source Name is a method.
+ If the source name is a field or property has no effect.
+
Construct with a Type and name
@@ -14764,6 +15089,12 @@
The type that will provide data
+
+
+ A set of parameters passed to the method, works only if the Source Name is a method.
+ If the source name is a field or property has no effect.
+
+
The name of a the method, property or fiend to be used as a source
@@ -15055,7 +15386,7 @@
- The Equals method throws an AssertionException. This is done
+ The Equals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
@@ -15063,7 +15394,7 @@
- override the default ReferenceEquals to throw an AssertionException. This
+ override the default ReferenceEquals to throw an InvalidOperationException. This
implementation makes sure there is no mistake in calling this function
as part of Assert.
@@ -15513,7 +15844,7 @@
- The Equals method throws an AssertionException. This is done
+ The Equals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
@@ -15521,7 +15852,7 @@
- override the default ReferenceEquals to throw an AssertionException. This
+ override the default ReferenceEquals to throw an InvalidOperationException. This
implementation makes sure there is no mistake in calling this function
as part of Assert.
@@ -15708,8 +16039,10 @@
- GlobalSettings is a place for setting default _values used
- by the framework in performing asserts.
+ GlobalSettings is a place for setting default values used
+ by the framework in performing asserts. Anything set through
+ this class applies to the entire test run. It should not normally
+ be used from within a test, since it is not thread-safe.
@@ -15850,6 +16183,11 @@
Returns a constraint that tests for a negative value
+
+
+ Returns a constraint that tests for equality with zero
+
+
Returns a constraint that tests for NaN
@@ -16104,7 +16442,7 @@
- The Equals method throws an AssertionException. This is done
+ The Equals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
@@ -16112,7 +16450,7 @@
- override the default ReferenceEquals to throw an AssertionException. This
+ override the default ReferenceEquals to throw an InvalidOperationException. This
implementation makes sure there is no mistake in calling this function
as part of Assert.
@@ -16419,6 +16757,11 @@
Gets a Representation of the TestResult for the current test.
+
+
+ Gets the unique name of the Worker that is executing this test.
+
+
Gets the directory containing the current test assembly.
@@ -16537,6 +16880,25 @@
Write a formatted string to the current result followed by a line terminator
+
+
+ This method adds the a new ValueFormatterFactory to the
+ chain of responsibility used for fomatting values in messages.
+ The scope of the change is the current TestContext.
+
+ The factory delegate
+
+
+
+ This method provides a simplified way to add a ValueFormatter
+ delegate to the chain of responsibility, creating the factory
+ delegate internally. It is useful when the Type of the object
+ is the only criterion for selection of the formatter, since
+ it can be used without getting involved with a compould function.
+
+ The type supported by this formatter
+ The ValueFormatter delegate
+
TestAdapter adapts a Test for consumption by
@@ -16874,6 +17236,41 @@
If true, use of the event queue is suppressed and test events are synchronous.
+
+
+ If the package represents an assembly, then this is the CLR version
+ stored in the assembly image. If it represents a project or other
+ group of assemblies, it is the maximum version for all the assemblies.
+
+
+
+
+ True if any assembly in the package requires running as a 32-bit
+ process when on a 64-bit system.
+
+
+
+
+ True if any assembly in the package requires a special assembly resolution hook
+ in the default AppDomain in order to find dependent assemblies.
+
+
+
+
+ The FrameworkName specified on a TargetFrameworkAttribute for the assembly
+
+
+
+
+ Allows us to use Func when compiling against .NET 2.0
+
+
+
+
+
+
+
+
Enables compiling extension methods in .NET 2.0
diff --git a/third_party/dotnet/nunit-3.2.1/addins/tests/vs-project-loader.dll b/third_party/dotnet/nunit-3.2.1/addins/tests/vs-project-loader.dll
new file mode 100644
index 0000000000000..c0ee882476de5
Binary files /dev/null and b/third_party/dotnet/nunit-3.2.1/addins/tests/vs-project-loader.dll differ
diff --git a/third_party/dotnet/nunit-3.0.1/addins/v2-tests/nunit.framework.dll b/third_party/dotnet/nunit-3.2.1/addins/v2-tests/nunit.framework.dll
similarity index 100%
rename from third_party/dotnet/nunit-3.0.1/addins/v2-tests/nunit.framework.dll
rename to third_party/dotnet/nunit-3.2.1/addins/v2-tests/nunit.framework.dll
diff --git a/third_party/dotnet/nunit-3.0.1/addins/v2-tests/nunit.framework.xml b/third_party/dotnet/nunit-3.2.1/addins/v2-tests/nunit.framework.xml
similarity index 100%
rename from third_party/dotnet/nunit-3.0.1/addins/v2-tests/nunit.framework.xml
rename to third_party/dotnet/nunit-3.2.1/addins/v2-tests/nunit.framework.xml
diff --git a/third_party/dotnet/nunit-3.0.1/addins/v2-tests/nunit.v2.driver.tests.dll b/third_party/dotnet/nunit-3.2.1/addins/v2-tests/nunit.v2.driver.tests.dll
similarity index 99%
rename from third_party/dotnet/nunit-3.0.1/addins/v2-tests/nunit.v2.driver.tests.dll
rename to third_party/dotnet/nunit-3.2.1/addins/v2-tests/nunit.v2.driver.tests.dll
index b5e7e4c7ba3bb..746a957887b00 100644
Binary files a/third_party/dotnet/nunit-3.0.1/addins/v2-tests/nunit.v2.driver.tests.dll and b/third_party/dotnet/nunit-3.2.1/addins/v2-tests/nunit.v2.driver.tests.dll differ
diff --git a/third_party/dotnet/nunit-3.2.1/addins/vs-project-loader.dll b/third_party/dotnet/nunit-3.2.1/addins/vs-project-loader.dll
new file mode 100644
index 0000000000000..c0ee882476de5
Binary files /dev/null and b/third_party/dotnet/nunit-3.2.1/addins/vs-project-loader.dll differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-2.0/mock-nunit-assembly.exe b/third_party/dotnet/nunit-3.2.1/mock-assembly.exe
similarity index 59%
rename from third_party/dotnet/nunit-3.0.1/net-2.0/mock-nunit-assembly.exe
rename to third_party/dotnet/nunit-3.2.1/mock-assembly.exe
index 9adf8e1368ec3..3696af4917e56 100644
Binary files a/third_party/dotnet/nunit-3.0.1/net-2.0/mock-nunit-assembly.exe and b/third_party/dotnet/nunit-3.2.1/mock-assembly.exe differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-4.5/mock-nunit-assembly.exe b/third_party/dotnet/nunit-3.2.1/net-2.0/mock-assembly.exe
similarity index 59%
rename from third_party/dotnet/nunit-3.0.1/net-4.5/mock-nunit-assembly.exe
rename to third_party/dotnet/nunit-3.2.1/net-2.0/mock-assembly.exe
index f96db3284d5e8..3696af4917e56 100644
Binary files a/third_party/dotnet/nunit-3.0.1/net-4.5/mock-nunit-assembly.exe and b/third_party/dotnet/nunit-3.2.1/net-2.0/mock-assembly.exe differ
diff --git a/third_party/dotnet/nunit-3.2.1/net-2.0/nunit.framework.dll b/third_party/dotnet/nunit-3.2.1/net-2.0/nunit.framework.dll
new file mode 100644
index 0000000000000..2b1f03dcc5308
Binary files /dev/null and b/third_party/dotnet/nunit-3.2.1/net-2.0/nunit.framework.dll differ
diff --git a/third_party/dotnet/nunit-3.2.1/net-2.0/nunit.framework.tests.dll b/third_party/dotnet/nunit-3.2.1/net-2.0/nunit.framework.tests.dll
new file mode 100644
index 0000000000000..fb6f7db019752
Binary files /dev/null and b/third_party/dotnet/nunit-3.2.1/net-2.0/nunit.framework.tests.dll differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-2.0/nunit.framework.xml b/third_party/dotnet/nunit-3.2.1/net-2.0/nunit.framework.xml
similarity index 97%
rename from third_party/dotnet/nunit-3.0.1/net-2.0/nunit.framework.xml
rename to third_party/dotnet/nunit-3.2.1/net-2.0/nunit.framework.xml
index 5d48d532a4719..cd4caf682a96a 100644
--- a/third_party/dotnet/nunit-3.0.1/net-2.0/nunit.framework.xml
+++ b/third_party/dotnet/nunit-3.2.1/net-2.0/nunit.framework.xml
@@ -20,6 +20,8 @@
Gets the path from which an assembly was loaded.
+ For builds where this is not possible, returns
+ the name of the assembly.
The assembly.
The path.
@@ -871,6 +873,24 @@
Return a list of the composing filters.
+
+
+ Checks whether the CompositeFilter is matched by a test.
+
+ The test to be matched
+
+
+
+ Checks whether the CompositeFilter is matched by a test.
+
+ The test to be matched
+
+
+
+ Checks whether the CompositeFilter is explicit matched by a test.
+
+ The test to be matched
+
Adds an XML node
@@ -1082,6 +1102,13 @@
The test to be matched
True if all the component filters match, otherwise false
+
+
+ Checks whether the AndFilter is explicit matched by a test.
+
+ The test to be matched
+ True if all the component filters explicit match, otherwise false
+
Gets the element name
@@ -1195,6 +1222,13 @@
The test to be matched
True if any of the component filters match, otherwise false
+
+
+ Checks whether the OrFilter is explicit matched by a test
+
+ The test to be matched
+ True if any of the component filters explicit match, otherwise false
+
Gets the element name
@@ -1915,11 +1949,12 @@
The item to dispatch
-
+
Cancel the ongoing run completely.
If no run is in process, the call has no effect.
+ true if the IWorkItemDispatcher should abort all currently running WorkItems, false if it should allow all currently running WorkItems to complete
@@ -1939,11 +1974,12 @@
The item to dispatch
-
+
- Cancel the ongoing run completely.
+ Cancel (abort or stop) the ongoing run.
If no run is in process, the call has no effect.
+ true if the run should be aborted, false if it should allow its currently running test to complete
@@ -1984,21 +2020,21 @@
The string to write
-
- The dispatcher needs to do different things at different,
- non-overlapped times. For example, non-parallel tests may
- not be run at the same time as parallel tests. We model
- this using the metaphor of a working shift. The WorkShift
- class associates one or more WorkItemQueues with one or
- more TestWorkers.
+
+ The dispatcher needs to do different things at different,
+ non-overlapped times. For example, non-parallel tests may
+ not be run at the same time as parallel tests. We model
+ this using the metaphor of a working shift. The WorkShift
+ class associates one or more WorkItemQueues with one or
+ more TestWorkers.
- Work in the queues is processed until all queues are empty
- and all workers are idle. Both tests are needed because a
- worker that is busy may end up adding more work to one of
- the queues. At that point, the shift is over and another
- shift may begin. This cycle continues until all the tests
- have been run.
-
+ Work in the queues is processed until all queues are empty
+ and all workers are idle. Both tests are needed because a
+ worker that is busy may end up adding more work to one of
+ the queues. At that point, the shift is over and another
+ shift may begin. This cycle continues until all the tests
+ have been run.
+
@@ -2059,10 +2095,11 @@
Shut down the shift.
-
+
- Cancel the shift without completing all work
+ Cancel (abort or stop) the shift without completing all work
+ true if the WorkShift should be aborted, false if it should allow its currently running tests to complete
@@ -2071,6 +2108,16 @@
as all its child tests.
+
+
+ List of Child WorkItems
+
+
+
+
+ A count of how many tests in the work item have a value for the Order Property
+
+
Construct a CompositeWorkItem for executing a test suite
@@ -2086,6 +2133,26 @@
items and then do teardown.
+
+
+ Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
+
+
+ A signed integer that indicates the relative values of and , as shown in the following table.Value Meaning Less than zero is less than .Zero equals .Greater than zero is greater than .
+
+ The first object to compare.The second object to compare.
+
+
+
+ Sorts tests under this suite.
+
+
+
+
+ Cancel (abort or stop) a CompositeWorkItem and all of its children
+
+ true if the CompositeWorkItem and all of its children should be aborted, false if it should allow all currently running tests to complete
+
A simplified implementation of .NET 4 CountdownEvent
@@ -2426,7 +2493,7 @@
Indicates whether the worker thread is running
-
+
Our ThreadProc, which pulls and runs tests in a loop
@@ -2436,23 +2503,24 @@
Start processing work items.
-
+
Stop the thread, either immediately or after finishing the current WorkItem
+ true if the thread should be aborted, false if it should allow the currently running test to complete
-
- A WorkItem may be an individual test case, a fixture or
- a higher level grouping of tests. All WorkItems inherit
- from the abstract WorkItem class, which uses the template
- pattern to allow derived classes to perform work in
- whatever way is needed.
+
+ A WorkItem may be an individual test case, a fixture or
+ a higher level grouping of tests. All WorkItems inherit
+ from the abstract WorkItem class, which uses the template
+ pattern to allow derived classes to perform work in
+ whatever way is needed.
- A WorkItem is created with a particular TestExecutionContext
- and is responsible for re-establishing that context in the
- current thread before it begins or resumes execution.
-
+ A WorkItem is created with a particular TestExecutionContext
+ and is responsible for re-establishing that context in the
+ current thread before it begins or resumes execution.
+
@@ -2501,6 +2569,11 @@
The execution context
+
+
+ The unique id of the worker executing this item.
+
+
The test actions to be performed before and after this test
@@ -2522,6 +2595,12 @@
child work items.
+
+
+ Cancel (abort or stop) a WorkItem
+
+ true if the WorkItem should be aborted, false if it should run to completion
+
Method that performs actually performs the work. It should
@@ -2558,7 +2637,7 @@
The item to dispatch
-
+
Cancel the ongoing run completely.
If no run is in process, the call has no effect.
@@ -3381,6 +3460,11 @@
The test will be ignored until the given date
+
+
+ The optional Order the test will run in
+
+
CultureDetector is a helper class used by NUnit to determine
@@ -3434,6 +3518,12 @@
ExceptionHelper provides static methods for working with exceptions
+
+
+ Rethrows an exception, preserving its stack trace
+
+ The exception to rethrow
+
Builds up a message, using the Message field of the specified exception
@@ -4516,6 +4606,12 @@
For builds with out the parallel feature, it has no effect.
+
+
+ The unique name of the worker that spawned the context.
+ For builds with out the parallel feature, it is null.
+
+
Gets the RandomGenerator specific to this Test
@@ -4552,6 +4648,16 @@
Gets or sets the current for the Thread.
+
+
+ The current head of the ValueFormatter chain, copied from MsgUtils.ValueFormatter
+
+
+
+
+ If true, all tests must run on the same thread. No new thread may be spawned.
+
+
Record any changes in the environment made by
@@ -4576,6 +4682,12 @@
Increments the assert count by a specified amount.
+
+
+ Adds a new ValueFormatterFactory to the chain of formatters
+
+ The new factory
+
Obtain lifetime service object
@@ -5382,6 +5494,72 @@
The child result to be added
+
+
+ Provides a platform-independent methods for getting attributes
+ for use by AttributeConstraint and AttributeExistsConstraint.
+
+
+
+
+ Gets the custom attributes from the given object.
+
+ Portable libraries do not have an ICustomAttributeProvider, so we need to cast to each of
+ it's direct subtypes and try to get attributes off those instead.
+ The actual.
+ Type of the attribute.
+ if set to true [inherit].
+ A list of the given attribute on the given object.
+
+
+
+ A MarshalByRefObject that lives forever
+
+
+
+
+ Obtains a lifetime service object to control the lifetime policy for this instance.
+
+
+
+
+ Provides NUnit specific extensions to aid in Reflection
+ across multiple frameworks
+
+
+ This version of the class supplies GetTypeInfo() on platforms
+ that don't support it.
+
+
+
+
+ GetTypeInfo gives access to most of the Type information we take for granted
+ on .NET Core and Windows Runtime. Rather than #ifdef different code for different
+ platforms, it is easiest to just code all platforms as if they worked this way,
+ thus the simple passthrough.
+
+
+
+
+
+
+ Extensions for Assembly that are not available in pre-4.5 .NET releases
+
+
+
+
+ An easy way to get a single custom attribute from an assembly
+
+ The attribute Type
+ The assembly
+ An attribute of Type T
+
+
+
+ This class is a System.Diagnostics.Stopwatch on operating systems that support it. On those that don't,
+ it replicates the functionality at the resolution supported.
+
+
Class used to guard against unexpected argument values
@@ -5527,6 +5705,39 @@
Gets a dictionary of settings for the FrameworkController
+
+
+ Loads the tests in the assembly
+
+
+
+
+
+ Returns info about the tests in an assembly
+
+ A string containing the XML representation of the filter to use
+ The XML result of exploring the tests
+
+
+
+ Runs the tests in an assembly
+
+ A string containing the XML representation of the filter to use
+ The XML result of the test run
+
+
+
+ Stops the test run
+
+ True to force the stop, false for a cooperative stop
+
+
+
+ Counts the number of test cases in the loaded TestSuite
+
+ A string containing the XML representation of the filter to use
+ The number of tests
+
Inserts environment element
@@ -5743,7 +5954,7 @@
Signal any test run that is in process to stop. Return without error if no test is running.
- If true, kill any test-running threads
+ If true, kill any tests that are currently running
@@ -5815,7 +6026,7 @@
- Loads the tests found in an Assembly, returning an
+ Loads the tests found in an Assembly, returning an
indication of whether or not the load succeeded.
File name of the assembly to load
@@ -5824,7 +6035,7 @@
- Loads the tests found in an Assembly, returning an
+ Loads the tests found in an Assembly, returning an
indication of whether or not the load succeeded.
The assembly to load
@@ -5972,6 +6183,51 @@
The test to modify
+
+
+ SingleThreadedAttribute applies to a test fixture and indicates
+ that all the child tests must be run on the same thread as the
+ OneTimeSetUp and OneTimeTearDown. It sets a flag in the
+ TestExecutionContext and forces all tests to be run sequentially
+ on the current thread. Any ParallelScope setting is ignored.
+
+
+
+
+ Apply changes to the TestExecutionContext
+
+ The TestExecutionContext
+
+
+
+ TestAssemblyDirectoryResolveAttribute is used to mark a test assembly as needing a
+ special assembly resolution hook that will explicitly search the test assembly's
+ directory for dependent assemblies. This works around a conflict between mixed-mode
+ assembly initialization and tests running in their own AppDomain in some cases.
+
+
+
+
+ Defines the order that the test will run in
+
+
+
+
+ Defines the order that the test will run in
+
+
+
+
+ Defines the order that the test will run in
+
+
+
+
+
+ Modifies a test as defined for the specific attribute.
+
+ The test to modify
+
RepeatAttribute may be applied to test case in order
@@ -6184,59 +6440,6 @@
The type that is being tested.
-
-
- Provides a platform-independent methods for getting attributes
- for use by AttributeConstraint and AttributeExistsConstraint.
-
-
-
-
- Gets the custom attributes from the given object.
-
- Portable libraries do not have an ICustomAttributeProvider, so we need to cast to each of
- it's direct subtypes and try to get attributes off those instead.
- The actual.
- Type of the attribute.
- if set to true [inherit].
- A list of the given attribute on the given object.
-
-
-
- A MarshalByRefObject that lives forever
-
-
-
-
- Obtains a lifetime service object to control the lifetime policy for this instance.
-
-
-
-
- Provides NUnit specific extensions to aid in Reflection
- across multiple frameworks
-
-
- This version of the class supplies GetTypeInfo() on platforms
- that don't support it.
-
-
-
-
- GetTypeInfo gives access to most of the Type information we take for granted
- on .NET Core and Windows Runtime. Rather than #ifdef different code for different
- platforms, it is easiest to just code all platforms as if they worked this way,
- thus the simple passthrough.
-
-
-
-
-
-
- This class is a System.Diagnostics.Stopwatch on operating systems that support it. On those that don't,
- it replicates the functionality at the resolution supported.
-
-
CollectionSupersetConstraint is used to determine whether
@@ -6263,6 +6466,13 @@
+
+
+ Flag the constraint to use the supplied predicate function
+
+ The comparison function to use.
+ Self.
+
DictionaryContainsValueConstraint is used to test whether a dictionary
@@ -6345,6 +6555,19 @@
The actual enumeration
The depth of this failure in a set of nested collections
+
+
+ The Description of what this constraint tests, for
+ use in messages and in the ConstraintResult.
+
+
+
+
+ Applies the constraint to an actual value, returning a ConstraintResult.
+
+ The value to be tested
+ A ConstraintResult
+
FileExistsConstraint is used to determine if a file exists
@@ -6537,6 +6760,13 @@
A delegate representing the code to be tested
True if an exception is thrown, otherwise false
+
+
+ Returns the ActualValueDelegate itself as the value to be tested.
+
+ A delegate representing the code to be tested
+ The delegate itself
+
AllItemsConstraint applies another constraint to each
@@ -6798,6 +7028,13 @@
+
+
+ Flag the constraint to use the supplied predicate function
+
+ The comparison function to use.
+ Self.
+
CollectionEquivalentConstraint is used to determine whether two
@@ -6823,6 +7060,13 @@
+
+
+ Flag the constraint to use the supplied predicate function
+
+ The comparison function to use.
+ Self.
+
CollectionItemsEqualConstraint is the abstract base class for all
@@ -6973,6 +7217,13 @@
+
+
+ Flag the constraint to use the supplied predicate function
+
+ The comparison function to use.
+ Self.
+
CollectionTally counts (tallies) the number of
@@ -7222,6 +7473,15 @@
A reference to the value to be tested
A ConstraintResult
+
+
+ Retrieves the value to be tested from an ActualValueDelegate.
+ The default implementation simply evaluates the delegate but derived
+ classes may override it to provide for delayed processing.
+
+ An ActualValueDelegate
+ Delegate evaluation result
+
Default override of ToString returns the constraint DisplayName
@@ -7604,6 +7864,11 @@
Returns a constraint that tests for a negative value
+
+
+ Returns a constraint that tests if item is equal to zero
+
+
Returns a constraint that tests for NaN
@@ -7990,6 +8255,11 @@
Returns a constraint that tests for a negative value
+
+
+ Returns a constraint that tests for equality with zero
+
+
Returns a constraint that tests for NaN
@@ -8718,6 +8988,26 @@
Returns an that wraps an .
+
+
+ Returns an EqualityAdapter that uses a predicate function for items comparison.
+
+
+
+
+
+
+
+
+ Returns true if the two objects can be compared by this adapter.
+ The base adapter cannot handle IEnumerables except for strings.
+
+
+
+
+ Compares two objects, returning true if they are equal
+
+
Returns true if the two objects can be compared by this adapter.
@@ -9195,6 +9485,21 @@
The starting point of the elements to write
The maximum number of elements to write
+
+
+ Custom value formatter function
+
+ The value
+
+
+
+
+ Custom value formatter factory function
+
+ The next formatter function
+ ValueFormatter
+ If the given formatter is unable to handle a certain format, it must call the next formatter in the chain
+
Static methods used in creating messages
@@ -9210,6 +9515,17 @@
Formatting strings used for expected and actual _values
+
+
+ Current head of chain of value formatters. Public for testing.
+
+
+
+
+ Add a formatter to the chain of responsibility.
+
+
+
Formats text to represent a generalized value.
@@ -12080,7 +12396,7 @@
- The Equals method throws an AssertionException. This is done
+ The Equals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
@@ -12088,7 +12404,7 @@
- override the default ReferenceEquals to throw an AssertionException. This
+ override the default ReferenceEquals to throw an InvalidOperationException. This
implementation makes sure there is no mistake in calling this function
as part of Assert.
@@ -13496,7 +13812,7 @@
- The Equals method throws an AssertionException. This is done
+ The Equals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
@@ -13504,7 +13820,7 @@
- override the default ReferenceEquals to throw an AssertionException. This
+ override the default ReferenceEquals to throw an InvalidOperationException. This
implementation makes sure there is no mistake in calling this function
as part of Assert.
@@ -13806,7 +14122,7 @@
- The Equals method throws an AssertionException. This is done
+ The Equals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
@@ -13814,7 +14130,7 @@
- override the default ReferenceEquals to throw an AssertionException. This
+ override the default ReferenceEquals to throw an InvalidOperationException. This
implementation makes sure there is no mistake in calling this function
as part of Assert.
@@ -14751,6 +15067,15 @@
The name of a static method, property or field that will provide data.
+
+
+ Construct with a Type and name
+
+ The Type that will provide data
+ The name of a static method, property or field that will provide data.
+ A set of parameters passed to the method, works only if the Source Name is a method.
+ If the source name is a field or property has no effect.
+
Construct with a Type and name
@@ -14764,6 +15089,12 @@
The type that will provide data
+
+
+ A set of parameters passed to the method, works only if the Source Name is a method.
+ If the source name is a field or property has no effect.
+
+
The name of a the method, property or fiend to be used as a source
@@ -15055,7 +15386,7 @@
- The Equals method throws an AssertionException. This is done
+ The Equals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
@@ -15063,7 +15394,7 @@
- override the default ReferenceEquals to throw an AssertionException. This
+ override the default ReferenceEquals to throw an InvalidOperationException. This
implementation makes sure there is no mistake in calling this function
as part of Assert.
@@ -15513,7 +15844,7 @@
- The Equals method throws an AssertionException. This is done
+ The Equals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
@@ -15521,7 +15852,7 @@
- override the default ReferenceEquals to throw an AssertionException. This
+ override the default ReferenceEquals to throw an InvalidOperationException. This
implementation makes sure there is no mistake in calling this function
as part of Assert.
@@ -15708,8 +16039,10 @@
- GlobalSettings is a place for setting default _values used
- by the framework in performing asserts.
+ GlobalSettings is a place for setting default values used
+ by the framework in performing asserts. Anything set through
+ this class applies to the entire test run. It should not normally
+ be used from within a test, since it is not thread-safe.
@@ -15850,6 +16183,11 @@
Returns a constraint that tests for a negative value
+
+
+ Returns a constraint that tests for equality with zero
+
+
Returns a constraint that tests for NaN
@@ -16104,7 +16442,7 @@
- The Equals method throws an AssertionException. This is done
+ The Equals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
@@ -16112,7 +16450,7 @@
- override the default ReferenceEquals to throw an AssertionException. This
+ override the default ReferenceEquals to throw an InvalidOperationException. This
implementation makes sure there is no mistake in calling this function
as part of Assert.
@@ -16419,6 +16757,11 @@
Gets a Representation of the TestResult for the current test.
+
+
+ Gets the unique name of the Worker that is executing this test.
+
+
Gets the directory containing the current test assembly.
@@ -16537,6 +16880,25 @@
Write a formatted string to the current result followed by a line terminator
+
+
+ This method adds the a new ValueFormatterFactory to the
+ chain of responsibility used for fomatting values in messages.
+ The scope of the change is the current TestContext.
+
+ The factory delegate
+
+
+
+ This method provides a simplified way to add a ValueFormatter
+ delegate to the chain of responsibility, creating the factory
+ delegate internally. It is useful when the Type of the object
+ is the only criterion for selection of the formatter, since
+ it can be used without getting involved with a compould function.
+
+ The type supported by this formatter
+ The ValueFormatter delegate
+
TestAdapter adapts a Test for consumption by
@@ -16874,6 +17236,41 @@
If true, use of the event queue is suppressed and test events are synchronous.
+
+
+ If the package represents an assembly, then this is the CLR version
+ stored in the assembly image. If it represents a project or other
+ group of assemblies, it is the maximum version for all the assemblies.
+
+
+
+
+ True if any assembly in the package requires running as a 32-bit
+ process when on a 64-bit system.
+
+
+
+
+ True if any assembly in the package requires a special assembly resolution hook
+ in the default AppDomain in order to find dependent assemblies.
+
+
+
+
+ The FrameworkName specified on a TargetFrameworkAttribute for the assembly
+
+
+
+
+ Allows us to use Func when compiling against .NET 2.0
+
+
+
+
+
+
+
+
Enables compiling extension methods in .NET 2.0
diff --git a/third_party/dotnet/nunit-3.2.1/net-2.0/nunit.testdata.dll b/third_party/dotnet/nunit-3.2.1/net-2.0/nunit.testdata.dll
new file mode 100644
index 0000000000000..4fc38d013a980
Binary files /dev/null and b/third_party/dotnet/nunit-3.2.1/net-2.0/nunit.testdata.dll differ
diff --git a/third_party/dotnet/nunit-3.2.1/net-2.0/nunitlite-runner.exe b/third_party/dotnet/nunit-3.2.1/net-2.0/nunitlite-runner.exe
new file mode 100644
index 0000000000000..b85e9cf83d7bf
Binary files /dev/null and b/third_party/dotnet/nunit-3.2.1/net-2.0/nunitlite-runner.exe differ
diff --git a/third_party/dotnet/nunit-3.2.1/net-2.0/nunitlite.dll b/third_party/dotnet/nunit-3.2.1/net-2.0/nunitlite.dll
new file mode 100644
index 0000000000000..5150bf2713d63
Binary files /dev/null and b/third_party/dotnet/nunit-3.2.1/net-2.0/nunitlite.dll differ
diff --git a/third_party/dotnet/nunit-3.2.1/net-2.0/nunitlite.tests.exe b/third_party/dotnet/nunit-3.2.1/net-2.0/nunitlite.tests.exe
new file mode 100644
index 0000000000000..c0c8757c14212
Binary files /dev/null and b/third_party/dotnet/nunit-3.2.1/net-2.0/nunitlite.tests.exe differ
diff --git a/third_party/dotnet/nunit-3.2.1/net-2.0/slow-nunit-tests.dll b/third_party/dotnet/nunit-3.2.1/net-2.0/slow-nunit-tests.dll
new file mode 100644
index 0000000000000..5c10cd0686f37
Binary files /dev/null and b/third_party/dotnet/nunit-3.2.1/net-2.0/slow-nunit-tests.dll differ
diff --git a/third_party/dotnet/nunit-3.2.1/net-3.5/mock-assembly.exe b/third_party/dotnet/nunit-3.2.1/net-3.5/mock-assembly.exe
new file mode 100644
index 0000000000000..741d93ff4a438
Binary files /dev/null and b/third_party/dotnet/nunit-3.2.1/net-3.5/mock-assembly.exe differ
diff --git a/third_party/dotnet/nunit-3.2.1/net-3.5/nunit.framework.dll b/third_party/dotnet/nunit-3.2.1/net-3.5/nunit.framework.dll
new file mode 100644
index 0000000000000..32c20ccc2e831
Binary files /dev/null and b/third_party/dotnet/nunit-3.2.1/net-3.5/nunit.framework.dll differ
diff --git a/third_party/dotnet/nunit-3.2.1/net-3.5/nunit.framework.tests.dll b/third_party/dotnet/nunit-3.2.1/net-3.5/nunit.framework.tests.dll
new file mode 100644
index 0000000000000..bbb3e14fb17b6
Binary files /dev/null and b/third_party/dotnet/nunit-3.2.1/net-3.5/nunit.framework.tests.dll differ
diff --git a/third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.xml b/third_party/dotnet/nunit-3.2.1/net-3.5/nunit.framework.xml
similarity index 96%
rename from third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.xml
rename to third_party/dotnet/nunit-3.2.1/net-3.5/nunit.framework.xml
index 44c50e5e2b32a..6ff446bee61ca 100644
--- a/third_party/dotnet/nunit-3.0.1/net-4.0/nunit.framework.xml
+++ b/third_party/dotnet/nunit-3.2.1/net-3.5/nunit.framework.xml
@@ -20,6 +20,8 @@
Gets the path from which an assembly was loaded.
+ For builds where this is not possible, returns
+ the name of the assembly.
The assembly.
The path.
@@ -319,13 +321,150 @@
The message.
The message arguments.
-
+
+
+ The ParameterDataProvider class implements IParameterDataProvider
+ and hosts one or more individual providers.
+
+
+
+
+ Construct with a collection of individual providers
+
+
+
+
+ Determine whether any data is available for a parameter.
+
+ An IParameterInfo representing one
+ argument to a parameterized test
+ True if any data is available, otherwise false.
+
+
+
+ Return an IEnumerable providing data for use with the
+ supplied parameter.
+
+ An IParameterInfo representing one
+ argument to a parameterized test
+ An IEnumerable providing the required data
+
+
+
+ Built-in SuiteBuilder for all types of test classes.
+
+
+
+
+ Checks to see if the provided Type is a fixture.
+ To be considered a fixture, it must be a non-abstract
+ class with one or more attributes implementing the
+ IFixtureBuilder interface or one or more methods
+ marked as tests.
+
+ The fixture type to check
+ True if the fixture can be built, false if not
+
+
+
+ Build a TestSuite from TypeInfo provided.
+
+ The fixture type to build
+ A TestSuite built from that type
+
+
+
+ We look for attributes implementing IFixtureBuilder at one level
+ of inheritance at a time. Attributes on base classes are not used
+ unless there are no fixture builder attributes at all on the derived
+ class. This is by design.
+
+ The type being examined for attributes
+ A list of the attributes found.
+
+
+
+ NUnitTestCaseBuilder is a utility class used by attributes
+ that build test cases.
+
+
+
+
+ Constructs an
+
+
+
+
+ Builds a single NUnitTestMethod, either as a child of the fixture
+ or as one of a set of test cases under a ParameterizedTestMethodSuite.
+
+ The MethodInfo from which to construct the TestMethod
+ The suite or fixture to which the new test will be added
+ The ParameterSet to be used, or null
+
+
+
+
+ Helper method that checks the signature of a TestMethod and
+ any supplied parameters to determine if the test is valid.
+
+ Currently, NUnitTestMethods are required to be public,
+ non-abstract methods, either static or instance,
+ returning void. They may take arguments but the _values must
+ be provided or the TestMethod is not considered runnable.
+
+ Methods not meeting these criteria will be marked as
+ non-runnable and the method will return false in that case.
+
+ The TestMethod to be checked. If it
+ is found to be non-runnable, it will be modified.
+ Parameters to be used for this test, or null
+ True if the method signature is valid, false if not
+
+ The return value is no longer used internally, but is retained
+ for testing purposes.
+
+
+
+
+ Class that can build a tree of automatic namespace
+ suites from a group of fixtures.
+
+
+
+
+ NamespaceDictionary of all test suites we have created to represent
+ namespaces. Used to locate namespace parent suites for fixtures.
+
+
+
+
+ The root of the test suite being created by this builder.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The root suite.
+
+
- Waits for pending asynchronous operations to complete, if appropriate,
- and returns a proper result of the invocation by unwrapping task results
+ Gets the root entry in the tree created by the NamespaceTreeBuilder.
+
+ The root suite.
+
+
+
+ Adds the specified fixtures to the tree.
+
+ The fixtures to be added.
+
+
+
+ Adds the specified fixture to the tree.
- The raw result of the method invocation
- The unwrapped result, if necessary
+ The fixture to be added.
@@ -450,90 +589,6 @@
The test suite for which the method is being built
A TestMethod.
-
-
- Class that can build a tree of automatic namespace
- suites from a group of fixtures.
-
-
-
-
- NamespaceDictionary of all test suites we have created to represent
- namespaces. Used to locate namespace parent suites for fixtures.
-
-
-
-
- The root of the test suite being created by this builder.
-
-
-
-
- Initializes a new instance of the class.
-
- The root suite.
-
-
-
- Gets the root entry in the tree created by the NamespaceTreeBuilder.
-
- The root suite.
-
-
-
- Adds the specified fixtures to the tree.
-
- The fixtures to be added.
-
-
-
- Adds the specified fixture to the tree.
-
- The fixture to be added.
-
-
-
- NUnitTestCaseBuilder is a utility class used by attributes
- that build test cases.
-
-
-
-
- Constructs an
-
-
-
-
- Builds a single NUnitTestMethod, either as a child of the fixture
- or as one of a set of test cases under a ParameterizedTestMethodSuite.
-
- The MethodInfo from which to construct the TestMethod
- The suite or fixture to which the new test will be added
- The ParameterSet to be used, or null
-
-
-
-
- Helper method that checks the signature of a TestMethod and
- any supplied parameters to determine if the test is valid.
-
- Currently, NUnitTestMethods are required to be public,
- non-abstract methods, either static or instance,
- returning void. They may take arguments but the _values must
- be provided or the TestMethod is not considered runnable.
-
- Methods not meeting these criteria will be marked as
- non-runnable and the method will return false in that case.
-
- The TestMethod to be checked. If it
- is found to be non-runnable, it will be modified.
- Parameters to be used for this test, or null
- True if the method signature is valid, false if not
-
- The return value is no longer used internally, but is retained
- for testing purposes.
-
-
NUnitTestFixtureBuilder is able to build a fixture given
@@ -586,64 +641,31 @@
The test suite being built.
A newly constructed Test
-
+
- Built-in SuiteBuilder for all types of test classes.
+ PairwiseStrategy creates test cases by combining the parameter
+ data so that all possible pairs of data items are used.
+
+
+ The number of test cases that cover all possible pairs of test function
+ parameters values is significantly less than the number of test cases
+ that cover all possible combination of test function parameters values.
+ And because different studies show that most of software failures are
+ caused by combination of no more than two parameters, pairwise testing
+ can be an effective ways to test the system when it's impossible to test
+ all combinations of parameters.
+
+
+ The PairwiseStrategy code is based on "jenny" tool by Bob Jenkins:
+ http://burtleburtle.net/bob/math/jenny.html
+
+
-
+
- Checks to see if the provided Type is a fixture.
- To be considered a fixture, it must be a non-abstract
- class with one or more attributes implementing the
- IFixtureBuilder interface or one or more methods
- marked as tests.
-
- The fixture type to check
- True if the fixture can be built, false if not
-
-
-
- Build a TestSuite from TypeInfo provided.
-
- The fixture type to build
- A TestSuite built from that type
-
-
-
- We look for attributes implementing IFixtureBuilder at one level
- of inheritance at a time. Attributes on base classes are not used
- unless there are no fixture builder attributes at all on the derived
- class. This is by design.
-
- The type being examined for attributes
- A list of the attributes found.
-
-
-
- PairwiseStrategy creates test cases by combining the parameter
- data so that all possible pairs of data items are used.
-
-
-
- The number of test cases that cover all possible pairs of test function
- parameters values is significantly less than the number of test cases
- that cover all possible combination of test function parameters values.
- And because different studies show that most of software failures are
- caused by combination of no more than two parameters, pairwise testing
- can be an effective ways to test the system when it's impossible to test
- all combinations of parameters.
-
-
- The PairwiseStrategy code is based on "jenny" tool by Bob Jenkins:
- http://burtleburtle.net/bob/math/jenny.html
-
-
-
-
-
- FleaRand is a pseudo-random number generator developed by Bob Jenkins:
- http://burtleburtle.net/bob/rand/talksmall.html#flea
+ FleaRand is a pseudo-random number generator developed by Bob Jenkins:
+ http://burtleburtle.net/bob/rand/talksmall.html#flea
@@ -784,34 +806,6 @@
A set of test cases.
-
-
- The ParameterDataProvider class implements IParameterDataProvider
- and hosts one or more individual providers.
-
-
-
-
- Construct with a collection of individual providers
-
-
-
-
- Determine whether any data is available for a parameter.
-
- An IParameterInfo representing one
- argument to a parameterized test
- True if any data is available, otherwise false.
-
-
-
- Return an IEnumerable providing data for use with the
- supplied parameter.
-
- An IParameterInfo representing one
- argument to a parameterized test
- An IEnumerable providing the required data
-
ParameterDataSourceProvider supplies individual argument _values for
@@ -852,3152 +846,3032 @@
The test cases.
-
+
- ContextSettingsCommand applies specified changes to the
- TestExecutionContext prior to running a test. No special
- action is needed after the test runs, since the prior
- context will be restored automatically.
+ A base class for multi-part filters
-
+
- The CommandStage enumeration represents the defined stages
- of execution for a series of TestCommands. The int _values
- of the enum are used to apply decorators in the proper
- order. Lower _values are applied first and are therefore
- "closer" to the actual test execution.
+ Constructs an empty CompositeFilter
-
- No CommandStage is defined for actual invocation of the test or
- for creation of the context. Execution may be imagined as
- proceeding from the bottom of the list upwards, with cleanup
- after the test running in the opposite order.
-
-
+
- Use an application-defined default value.
+ Constructs a CompositeFilter from an array of filters
+
-
+
- Make adjustments needed before and after running
- the raw test - that is, after any SetUp has run
- and before TearDown.
+ Adds a filter to the list of filters
+ The filter to be added
-
+
- Run SetUp and TearDown for the test. This stage is used
- internally by NUnit and should not normally appear
- in user-defined decorators.
+ Return a list of the composing filters.
-
+
- Make adjustments needed before and after running
- the entire test - including SetUp and TearDown.
+ Checks whether the CompositeFilter is matched by a test.
+ The test to be matched
-
+
- TODO: Documentation needed for class
+ Checks whether the CompositeFilter is matched by a test.
+ The test to be matched
-
- TODO: Documentation needed for field
-
-
+
- TODO: Documentation needed for constructor
+ Checks whether the CompositeFilter is explicit matched by a test.
-
+ The test to be matched
-
+
- TODO: Documentation needed for class
+ Adds an XML node
+ Parent node
+ True if recursive
+ The added XML node
-
+
- Initializes a new instance of the class.
+ Gets the element name
- The inner command.
- The max time allowed in milliseconds
+ Element name
-
+
- Runs the test, saving a TestResult in the supplied TestExecutionContext
+ PropertyFilter is able to select or exclude tests
+ based on their properties.
- The context in which the test should run.
- A TestResult
+
-
+
- OneTimeSetUpCommand runs any one-time setup methods for a suite,
- constructing the user test object if necessary.
+ Construct a PropertyFilter using a property name and expected value
+ A property name
+ The expected value of the property
-
+
- Constructs a OneTimeSetUpCommand for a suite
+ Check whether the filter matches a test
- The suite to which the command applies
- A SetUpTearDownList for use by the command
- A List of TestActionItems to be run after Setup
+ The test to be matched
+
-
+
- Overridden to run the one-time setup for a suite.
+ Adds an XML node
- The TestExecutionContext to be used.
- A TestResult
+ Parent node
+ True if recursive
+ The added XML node
-
+
- OneTimeTearDownCommand performs any teardown actions
- specified for a suite and calls Dispose on the user
- test object, if any.
+ Gets the element name
+ Element name
-
+
- Construct a OneTimeTearDownCommand
+ TestName filter selects tests based on their Name
- The test suite to which the command applies
- A SetUpTearDownList for use by the command
- A List of TestActionItems to be run before teardown.
-
+
- Overridden to run the teardown methods specified on the test.
+ Construct a TestNameFilter for a single name
- The TestExecutionContext to be used.
- A TestResult
+ The name the filter will recognize.
-
+
- SetUpTearDownCommand runs any SetUp methods for a suite,
- runs the test and then runs any TearDown methods.
+ Match a test against a single value.
-
+
- Initializes a new instance of the class.
+ Gets the element name
- The inner command.
+ Element name
-
+
- Runs the test, saving a TestResult in the supplied TestExecutionContext.
+ ClassName filter selects tests based on the class FullName
- The context in which the test should run.
- A TestResult
-
+
- SetUpTearDownItem holds the setup and teardown methods
- for a single level of the inheritance hierarchy.
+ Construct a FullNameFilter for a single name
+ The name the filter will recognize.
-
+
- Construct a SetUpTearDownNode
+ Match a test against a single value.
- A list of setup methods for this level
- A list teardown methods for this level
-
+
- Returns true if this level has any methods at all.
- This flag is used to discard levels that do nothing.
+ Gets the element name
+ Element name
-
+
- Run SetUp on this level.
+ FullName filter selects tests based on their FullName
- The execution context to use for running.
-
+
- Run TearDown for this level.
+ Construct a MethodNameFilter for a single name
-
+ The name the filter will recognize.
-
+
- TODO: Documentation needed for class
+ Match a test against a single value.
-
+
- Initializes a new instance of the class.
+ Gets the element name
- The test being skipped.
+ Element name
-
+
- Overridden to simply set the CurrentResult to the
- appropriate Skipped state.
+ IdFilter selects tests based on their id
- The execution context for the test
- A TestResult
-
+
- TestActionCommand runs the BeforeTest actions for a test,
- then runs the test and finally runs the AfterTestActions.
+ Construct an IdFilter for a single value
+ The id the filter will recognize.
-
+
- Initializes a new instance of the class.
+ Match a test against a single value.
- The inner command.
-
+
- Runs the test, saving a TestResult in the supplied TestExecutionContext.
+ Gets the element name
- The context in which the test should run.
- A TestResult
+ Element name
-
+
- TestActionItem represents a single execution of an
- ITestAction. It is used to track whether the BeforeTest
- method has been called and suppress calling the
- AfterTest method if it has not.
+ ValueMatchFilter selects tests based on some value, which
+ is expected to be contained in the test.
-
+
- Construct a TestActionItem
+ Returns the value matched by the filter - used for testing
- The ITestAction to be included
-
+
- Run the BeforeTest method of the action and remember that it has been run.
+ Indicates whether the value is a regular expression
- The test to which the action applies
-
+
- Run the AfterTest action, but only if the BeforeTest
- action was actually run.
+ Construct a ValueMatchFilter for a single value.
- The test to which the action applies
+ The value to be included.
-
+
- TestCommand is the abstract base class for all test commands
- in the framework. A TestCommand represents a single stage in
- the execution of a test, e.g.: SetUp/TearDown, checking for
- Timeout, verifying the returned result from a method, etc.
-
- TestCommands may decorate other test commands so that the
- execution of a lower-level command is nested within that
- of a higher level command. All nested commands are executed
- synchronously, as a single unit. Scheduling test execution
- on separate threads is handled at a higher level, using the
- task dispatcher.
+ Match the input provided by the derived class
+ The value to be matchedT
+ True for a match, false otherwise.
-
+
- Construct a TestCommand for a test.
+ Adds an XML node
- The test to be executed
+ Parent node
+ True if recursive
+ The added XML node
-
+
- Gets the test associated with this command.
+ Gets the element name
+ Element name
-
+
- Runs the test in a specified context, returning a TestResult.
+ Combines multiple filters so that a test must pass all
+ of them in order to pass this filter.
- The TestExecutionContext to be used for running the test.
- A TestResult
-
+
- TestMethodCommand is the lowest level concrete command
- used to run actual test cases.
+ Constructs an empty AndFilter
-
+
- Initializes a new instance of the class.
+ Constructs an AndFilter from an array of filters
- The test.
+
-
+
- Runs the test, saving a TestResult in the execution context, as
- well as returning it. If the test has an expected result, it
- is asserts on that value. Since failed tests and errors throw
- an exception, this command must be wrapped in an outer command,
- will handle that exception and records the failure. This role
- is usually played by the SetUpTearDown command.
+ Checks whether the AndFilter is matched by a test
- The execution context
+ The test to be matched
+ True if all the component filters pass, otherwise false
-
+
- TheoryResultCommand adjusts the result of a Theory so that
- it fails if all the results were inconclusive.
+ Checks whether the AndFilter is matched by a test
+ The test to be matched
+ True if all the component filters match, otherwise false
-
+
- Constructs a TheoryResultCommand
+ Checks whether the AndFilter is explicit matched by a test.
- The command to be wrapped by this one
+ The test to be matched
+ True if all the component filters explicit match, otherwise false
-
+
- Overridden to call the inner command and adjust the result
- in case all chlid results were inconclusive.
+ Gets the element name
-
-
+ Element name
-
+
- CultureDetector is a helper class used by NUnit to determine
- whether a test should be run based on the current culture.
+ CategoryFilter is able to select or exclude tests
+ based on their categories.
+
-
+
- Default constructor uses the current culture.
+ Construct a CategoryFilter using a single category name
+ A category name
-
+
- Construct a CultureDetector for a particular culture for testing.
+ Check whether the filter matches a test
- The culture to be used
+ The test to be matched
+
-
+
- Test to determine if one of a collection of cultures
- is being used currently.
+ Gets the element name
-
-
+ Element name
-
+
- Tests to determine if the current culture is supported
- based on a culture attribute.
+ NotFilter negates the operation of another filter
- The attribute to examine
-
-
+
- Test to determine if the a particular culture or comma-
- delimited set of cultures is in use.
+ Construct a not filter on another filter
- Name of the culture or comma-separated list of culture ids
- True if the culture is in use on the system
+ The filter to be negated
-
+
- Return the last failure reason. Results are not
- defined if called before IsSupported( Attribute )
- is called.
+ Gets the base filter
-
+
- ExceptionHelper provides static methods for working with exceptions
+ Determine if a particular test passes the filter criteria. The default
+ implementation checks the test itself, its parents and any descendants.
+
+ Derived classes may override this method or any of the Match methods
+ to change the behavior of the filter.
+ The test to which the filter is applied
+ True if the test passes the filter, otherwise false
-
+
- Builds up a message, using the Message field of the specified exception
- as well as any InnerExceptions.
+ Check whether the filter matches a test
- The exception.
- A combined message string.
+ The test to be matched
+ True if it matches, otherwise false
-
+
- Builds up a message, using the Message field of the specified exception
- as well as any InnerExceptions.
+ Determine if a test matches the filter expicitly. That is, it must
+ be a direct match of the test itself or one of it's children.
- The exception.
- A combined stack trace.
+ The test to which the filter is applied
+ True if the test matches the filter explicityly, otherwise false
-
+
- Gets the stack trace of the exception.
+ Adds an XML node
- The exception.
- A string representation of the stack trace.
+ Parent node
+ True if recursive
+ The added XML node
-
+
- A utility class to create TestCommands
+ Combines multiple filters so that a test must pass one
+ of them in order to pass this filter.
-
+
- Gets the command to be executed before any of
- the child tests are run.
+ Constructs an empty OrFilter
- A TestCommand
-
+
- Gets the command to be executed after all of the
- child tests are run.
+ Constructs an AndFilter from an array of filters
- A TestCommand
+
-
+
- Creates a test command for use in running this test.
+ Checks whether the OrFilter is matched by a test
-
+ The test to be matched
+ True if any of the component filters pass, otherwise false
-
+
- Creates a command for skipping a test. The result returned will
- depend on the test RunState.
+ Checks whether the OrFilter is matched by a test
+ The test to be matched
+ True if any of the component filters match, otherwise false
-
+
- Builds the set up tear down list.
+ Checks whether the OrFilter is explicit matched by a test
- Type of the fixture.
- Type of the set up attribute.
- Type of the tear down attribute.
- A list of SetUpTearDownItems
+ The test to be matched
+ True if any of the component filters explicit match, otherwise false
-
+
- A CompositeWorkItem represents a test suite and
- encapsulates the execution of the suite as well
- as all its child tests.
+ Gets the element name
+ Element name
-
+
- Construct a CompositeWorkItem for executing a test suite
- using a filter to select child tests.
+ FullName filter selects tests based on their FullName
- The TestSuite to be executed
- A filter used to select child tests
-
+
- Method that actually performs the work. Overridden
- in CompositeWorkItem to do setup, run all child
- items and then do teardown.
+ Construct a FullNameFilter for a single name
+ The name the filter will recognize.
-
+
- The EventPumpState enum represents the state of an
- EventPump.
+ Match a test against a single value.
-
+
- The pump is stopped
+ Gets the element name
+ Element name
-
+
- The pump is pumping events with no stop requested
+ The MethodWrapper class wraps a MethodInfo so that it may
+ be used in a platform-independent manner.
-
+
- The pump is pumping events but a stop has been requested
+ Construct a MethodWrapper for a Type and a MethodInfo.
-
+
- EventPump pulls events out of an EventQueue and sends
- them to a listener. It is used to send events back to
- the client without using the CallContext of the test
- runner thread.
+ Construct a MethodInfo for a given Type and method name.
-
+
- The handle on which a thread enqueuing an event with == true
- waits, until the EventPump has sent the event to its listeners.
+ Gets the Type from which this method was reflected.
-
+
- The downstream listener to which we send events
+ Gets the MethodInfo for this method.
-
+
- The queue that holds our events
+ Gets the name of the method.
-
+
- Thread to do the pumping
+ Gets a value indicating whether the method is abstract.
-
+
- The current state of the eventpump
+ Gets a value indicating whether the method is public.
-
+
- Constructor
+ Gets a value indicating whether the method contains unassigned generic type parameters.
- The EventListener to receive events
- The event queue to pull events from
-
+
- Gets or sets the current state of the pump
+ Gets a value indicating whether the method is a generic method.
-
- On volatile and , see
- "http://www.albahari.com/threading/part4.aspx".
-
-
+
- Gets or sets the name of this EventPump
- (used only internally and for testing).
+ Gets a value indicating whether the MethodInfo represents the definition of a generic method.
-
+
- Dispose stops the pump
- Disposes the used WaitHandle, too.
+ Gets the return Type of the method.
-
+
- Start the pump
+ Gets the parameters of the method.
+
-
+
- Tell the pump to stop after emptying the queue.
+ Returns the Type arguments of a generic method or the Type parameters of a generic method definition.
-
+
- Our thread proc for removing items from the event
- queue and sending them on. Note that this would
- need to do more locking if any other thread were
- removing events from the queue.
+ Replaces the type parameters of the method with the array of types provided and returns a new IMethodInfo.
+ The type arguments to be used
+ A new IMethodInfo with the type arguments replaced
-
+
- NUnit.Core.Event is the abstract base for all stored events.
- An Event is the stored representation of a call to the
- ITestListener interface and is used to record such calls
- or to queue them for forwarding on another thread or at
- a later time.
+ Returns an array of custom attributes of the specified type applied to this method
-
+
- The Send method is implemented by derived classes to send the event to the specified listener.
+ Gets a value indicating whether one or more attributes of the spcified type are defined on the method.
- The listener.
-
+
- Gets a value indicating whether this event is delivered synchronously by the NUnit .
-
- If true, and if has been used to
- set a WaitHandle, blocks its calling thread until the
- thread has delivered the event and sets the WaitHandle.
-
+ Invokes the method, converting any TargetInvocationException to an NUnitException.
+ The object on which to invoke the method
+ The argument list for the method
+ The return value from the invoked method
-
+
- TestStartedEvent holds information needed to call the TestStarted method.
+ Override ToString() so that error messages in NUnit's own tests make sense
-
+
- Initializes a new instance of the class.
+ The ParameterWrapper class wraps a ParameterInfo so that it may
+ be used in a platform-independent manner.
- The test.
-
+
- Calls TestStarted on the specified listener.
+ Construct a ParameterWrapper for a given method and parameter
- The listener.
+
+
-
+
- TestFinishedEvent holds information needed to call the TestFinished method.
+ Gets a value indicating whether the parameter is optional
-
+
- Initializes a new instance of the class.
+ Gets an IMethodInfo representing the method for which this is a parameter.
- The result.
-
+
- Calls TestFinished on the specified listener.
+ Gets the underlying ParameterInfo
- The listener.
-
+
- Implements a queue of work items each of which
- is queued as a WaitCallback.
+ Gets the Type of the parameter
-
+
- Construct a new EventQueue
+ Returns an array of custom attributes of the specified type applied to this method
-
+
- WaitHandle for synchronous event delivery in .
-
- Having just one handle for the whole implies that
- there may be only one producer (the test thread) for synchronous events.
- If there can be multiple producers for synchronous events, one would have
- to introduce one WaitHandle per event.
-
+ Gets a value indicating whether one or more attributes of the specified type are defined on the parameter.
-
+
- Gets the count of items in the queue.
+ TestNameGenerator is able to create test names according to
+ a coded pattern.
-
+
- Sets a handle on which to wait, when is called
- for an with == true.
+ Construct a TestNameGenerator
-
- The wait handle on which to wait, when is called
- for an with == true.
- The caller is responsible for disposing this wait handle.
-
+ The pattern used by this generator.
-
+
- Enqueues the specified event
+ Get the display name for a TestMethod and it's arguments
- The event to enqueue.
+ A TestMethod
+ The display name
-
+
- Removes the first element from the queue and returns it (or null).
+ Get the display name for a TestMethod and it's arguments
-
- If true and the queue is empty, the calling thread is blocked until
- either an element is enqueued, or is called.
-
-
-
- -
- If the queue not empty
- the first element.
-
- -
- otherwise, if ==false
- or has been called
- null.
-
-
-
+ A TestMethod
+ Arguments to be used
+ The display name
-
+
- Stop processing of the queue
+ Get the display name for a MethodInfo
+ A MethodInfo
+ The display name
-
+
- An IWorkItemDispatcher handles execution of work items.
+ Get the display name for a method with args
+ A MethodInfo
+ Argument list for the method
+ The display name
-
+
- Dispatch a single work item for execution. The first
- work item dispatched is saved as the top-level
- work item and used when stopping the run.
+ The TypeWrapper class wraps a Type so it may be used in
+ a platform-independent manner.
- The item to dispatch
-
+
- Cancel the ongoing run completely.
- If no run is in process, the call has no effect.
+ Construct a TypeWrapper for a specified Type.
-
+
- ParallelWorkItemDispatcher handles execution of work items by
- queuing them for worker threads to process.
+ Gets the underlying Type on which this TypeWrapper is based.
-
+
- Construct a ParallelWorkItemDispatcher
+ Gets the base type of this type as an ITypeInfo
- Number of workers to use
-
+
- Enumerates all the shifts supported by the dispatcher
+ Gets the Name of the Type
-
+
- Dispatch a single work item for execution. The first
- work item dispatched is saved as the top-level
- work item and used when stopping the run.
+ Gets the FullName of the Type
- The item to dispatch
-
+
- Cancel the ongoing run completely.
- If no run is in process, the call has no effect.
+ Gets the assembly in which the type is declared
-
+
- QueuingEventListener uses an EventQueue to store any
- events received on its EventListener interface.
+ Gets the namespace of the Type
-
+
- The EvenQueue created and filled by this listener
+ Gets a value indicating whether the type is abstract.
-
+
- A test has started
+ Gets a value indicating whether the Type is a generic Type
- The test that is starting
-
+
- A test case finished
+ Returns true if the Type wrapped is T
- Result of the test case
-
+
- A SimpleWorkItem represents a single test case and is
- marked as completed immediately upon execution. This
- class is also used for skipped or ignored test suites.
+ Gets a value indicating whether the Type has generic parameters that have not been replaced by specific Types.
-
+
- Construct a simple work item for a test.
+ Gets a value indicating whether the Type is a generic Type definition
- The test to be executed
- The filter used to select this test
-
+
- Method that performs actually performs the work.
+ Gets a value indicating whether the type is sealed.
-
+
- SimpleWorkItemDispatcher handles execution of WorkItems by
- directly executing them. It is provided so that a dispatcher
- is always available in the context, thereby simplifying the
- code needed to run child tests.
+ Gets a value indicating whether this type represents a static class.
-
+
- Dispatch a single work item for execution. The first
- work item dispatched is saved as the top-level
- work item and a thread is created on which to
- run it. Subsequent calls come from the top level
- item or its descendants on the proper thread.
+ Get the display name for this type
- The item to dispatch
-
+
- Cancel the ongoing run completely.
- If no run is in process, the call has no effect.
+ Get the display name for an object of this type, constructed with the specified args.
-
+
- A TestWorker pulls work items from a queue
- and executes them.
+ Returns a new ITypeInfo representing an instance of this generic Type using the supplied Type arguments
-
+
- Event signaled immediately before executing a WorkItem
+ Returns a Type representing a generic type definition from which this Type can be constructed.
-
+
- Event signaled immediately after executing a WorkItem
+ Returns an array of custom attributes of the specified type applied to this type
-
+
- Construct a new TestWorker.
+ Returns a value indicating whether the type has an attribute of the specified type.
- The queue from which to pull work items
- The name of this worker
- The apartment state to use for running tests
+
+
+
-
+
- The name of this worker - also used for the thread
+ Returns a flag indicating whether this type has a method with an attribute of the specified type.
+
+
-
+
- Indicates whether the worker thread is running
+ Returns an array of IMethodInfos for methods of this Type
+ that match the specified flags.
-
+
- Our ThreadProc, which pulls and runs tests in a loop
+ Returns a value indicating whether this Type has a public constructor taking the specified argument Types.
-
+
- Start processing work items.
+ Construct an object of this Type, using the specified arguments.
-
+
- Stop the thread, either immediately or after finishing the current WorkItem
+ Override ToString() so that error messages in NUnit's own tests make sense
-
+
- The TextCapture class intercepts console output and writes it
- to the current execution context, if one is present on the thread.
- If no execution context is found, the output is written to a
- default destination, normally the original destination of the
- intercepted output.
+ SetUpTearDownItem holds the setup and teardown methods
+ for a single level of the inheritance hierarchy.
-
+
- Construct a TextCapture object
+ Construct a SetUpTearDownNode
- The default destination for non-intercepted output
+ A list of setup methods for this level
+ A list teardown methods for this level
-
+
- Gets the Encoding in use by this TextWriter
+ Returns true if this level has any methods at all.
+ This flag is used to discard levels that do nothing.
-
+
- Writes a single character
+ Run SetUp on this level.
- The char to write
+ The execution context to use for running.
-
+
- Writes a string
+ Run TearDown for this level.
- The string to write
+
-
+
- Writes a string followed by a line terminator
+ TestActionCommand runs the BeforeTest actions for a test,
+ then runs the test and finally runs the AfterTestActions.
- The string to write
-
+
- A WorkItem may be an individual test case, a fixture or
- a higher level grouping of tests. All WorkItems inherit
- from the abstract WorkItem class, which uses the template
- pattern to allow derived classes to perform work in
- whatever way is needed.
-
- A WorkItem is created with a particular TestExecutionContext
- and is responsible for re-establishing that context in the
- current thread before it begins or resumes execution.
+ Initializes a new instance of the class.
+ The inner command.
-
+
- Creates a work item.
+ Runs the test, saving a TestResult in the supplied TestExecutionContext.
- The test for which this WorkItem is being created.
- The filter to be used in selecting any child Tests.
-
+ The context in which the test should run.
+ A TestResult
-
+
- Construct a WorkItem for a particular test.
+ TestActionItem represents a single execution of an
+ ITestAction. It is used to track whether the BeforeTest
+ method has been called and suppress calling the
+ AfterTest method if it has not.
- The test that the WorkItem will run
-
+
- Initialize the TestExecutionContext. This must be done
- before executing the WorkItem.
+ Construct a TestActionItem
-
- Originally, the context was provided in the constructor
- but delaying initialization of the context until the item
- is about to be dispatched allows changes in the parent
- context during OneTimeSetUp to be reflected in the child.
-
- The TestExecutionContext to use
+ The ITestAction to be included
-
+
- Event triggered when the item is complete
+ Run the BeforeTest method of the action and remember that it has been run.
+ The test to which the action applies
-
+
- Gets the current state of the WorkItem
+ Run the AfterTest action, but only if the BeforeTest
+ action was actually run.
+ The test to which the action applies
-
+
- The test being executed by the work item
+ ContextSettingsCommand applies specified changes to the
+ TestExecutionContext prior to running a test. No special
+ action is needed after the test runs, since the prior
+ context will be restored automatically.
-
+
- The execution context
+ TODO: Documentation needed for class
-
+
+ TODO: Documentation needed for field
+
+
- The test actions to be performed before and after this test
+ TODO: Documentation needed for constructor
+
-
+
- Indicates whether this WorkItem may be run in parallel
+ TODO: Documentation needed for class
-
+
- The test result
+ Initializes a new instance of the class.
+ The inner command.
+ The max time allowed in milliseconds
-
+
- Execute the current work item, including any
- child work items.
+ Runs the test, saving a TestResult in the supplied TestExecutionContext
+ The context in which the test should run.
+ A TestResult
-
+
- Method that performs actually performs the work. It should
- set the State to WorkItemState.Complete when done.
+ OneTimeSetUpCommand runs any one-time setup methods for a suite,
+ constructing the user test object if necessary.
-
+
- Method called by the derived class when all work is complete
+ Constructs a OneTimeSetUpCommand for a suite
+ The suite to which the command applies
+ A SetUpTearDownList for use by the command
+ A List of TestActionItems to be run after Setup
-
+
- WorkItemQueueState indicates the current state of a WorkItemQueue
+ Overridden to run the one-time setup for a suite.
+ The TestExecutionContext to be used.
+ A TestResult
-
+
- The queue is paused
+ OneTimeTearDownCommand performs any teardown actions
+ specified for a suite and calls Dispose on the user
+ test object, if any.
-
+
- The queue is running
+ Construct a OneTimeTearDownCommand
+ The test suite to which the command applies
+ A SetUpTearDownList for use by the command
+ A List of TestActionItems to be run before teardown.
-
+
- The queue is stopped
+ Overridden to run the teardown methods specified on the test.
+ The TestExecutionContext to be used.
+ A TestResult
-
+
- A WorkItemQueue holds work items that are ready to
- be run, either initially or after some dependency
- has been satisfied.
+ SetUpTearDownCommand runs any SetUp methods for a suite,
+ runs the test and then runs any TearDown methods.
-
+
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- The name of the queue.
+ The inner command.
-
+
- Gets the name of the work item queue.
+ Runs the test, saving a TestResult in the supplied TestExecutionContext.
+ The context in which the test should run.
+ A TestResult
-
+
- Gets the total number of items processed so far
+ TODO: Documentation needed for class
-
+
- Gets the maximum number of work items.
+ Initializes a new instance of the class.
+ The test being skipped.
-
+
- Gets the current state of the queue
+ Overridden to simply set the CurrentResult to the
+ appropriate Skipped state.
+ The execution context for the test
+ A TestResult
-
+
- Get a bool indicating whether the queue is empty.
+ TestCommand is the abstract base class for all test commands
+ in the framework. A TestCommand represents a single stage in
+ the execution of a test, e.g.: SetUp/TearDown, checking for
+ Timeout, verifying the returned result from a method, etc.
+
+ TestCommands may decorate other test commands so that the
+ execution of a lower-level command is nested within that
+ of a higher level command. All nested commands are executed
+ synchronously, as a single unit. Scheduling test execution
+ on separate threads is handled at a higher level, using the
+ task dispatcher.
-
+
- Enqueue a WorkItem to be processed
+ Construct a TestCommand for a test.
- The WorkItem to process
+ The test to be executed
-
+
- Dequeue a WorkItem for processing
+ Gets the test associated with this command.
- A WorkItem or null if the queue has stopped
-
+
- Start or restart processing of items from the queue
+ Runs the test in a specified context, returning a TestResult.
+ The TestExecutionContext to be used for running the test.
+ A TestResult
-
+
- Signal the queue to stop
+ TestMethodCommand is the lowest level concrete command
+ used to run actual test cases.
-
+
- Pause the queue for restarting later
+ Initializes a new instance of the class.
+ The test.
-
+
- The current state of a work item
+ Runs the test, saving a TestResult in the execution context, as
+ well as returning it. If the test has an expected result, it
+ is asserts on that value. Since failed tests and errors throw
+ an exception, this command must be wrapped in an outer command,
+ will handle that exception and records the failure. This role
+ is usually played by the SetUpTearDown command.
+ The execution context
-
+
- Ready to run or continue
+ TheoryResultCommand adjusts the result of a Theory so that
+ it fails if all the results were inconclusive.
-
+
- Work Item is executing
+ Constructs a TheoryResultCommand
+ The command to be wrapped by this one
-
+
- Complete
+ Overridden to call the inner command and adjust the result
+ in case all chlid results were inconclusive.
+
+
-
+
- The dispatcher needs to do different things at different,
- non-overlapped times. For example, non-parallel tests may
- not be run at the same time as parallel tests. We model
- this using the metaphor of a working shift. The WorkShift
- class associates one or more WorkItemQueues with one or
- more TestWorkers.
-
- Work in the queues is processed until all queues are empty
- and all workers are idle. Both tests are needed because a
- worker that is busy may end up adding more work to one of
- the queues. At that point, the shift is over and another
- shift may begin. This cycle continues until all the tests
- have been run.
+ The CommandStage enumeration represents the defined stages
+ of execution for a series of TestCommands. The int _values
+ of the enum are used to apply decorators in the proper
+ order. Lower _values are applied first and are therefore
+ "closer" to the actual test execution.
+
+ No CommandStage is defined for actual invocation of the test or
+ for creation of the context. Execution may be imagined as
+ proceeding from the bottom of the list upwards, with cleanup
+ after the test running in the opposite order.
+
-
+
- Construct a WorkShift
+ Use an application-defined default value.
-
+
- Event that fires when the shift has ended
+ Make adjustments needed before and after running
+ the raw test - that is, after any SetUp has run
+ and before TearDown.
-
+
- Gets a flag indicating whether the shift is currently active
+ Run SetUp and TearDown for the test. This stage is used
+ internally by NUnit and should not normally appear
+ in user-defined decorators.
-
+
- Gets a list of the queues associated with this shift.
+ Make adjustments needed before and after running
+ the entire test - including SetUp and TearDown.
- Used for testing
-
+
- Gets the list of workers associated with this shift.
+ A utility class to create TestCommands
-
+
- Gets a bool indicating whether this shift has any work to do
+ Gets the command to be executed before any of
+ the child tests are run.
+ A TestCommand
-
+
- Add a WorkItemQueue to the shift, starting it if the
- shift is currently active.
+ Gets the command to be executed after all of the
+ child tests are run.
+ A TestCommand
-
+
- Assign a worker to the shift.
+ Creates a test command for use in running this test.
-
+
-
+
- Start or restart processing for the shift
+ Creates a command for skipping a test. The result returned will
+ depend on the test RunState.
-
+
- End the shift, pausing all queues and raising
- the EndOfShift event.
+ Builds the set up tear down list.
+ Type of the fixture.
+ Type of the set up attribute.
+ Type of the tear down attribute.
+ A list of SetUpTearDownItems
-
+
- Shut down the shift.
+ An IWorkItemDispatcher handles execution of work items.
-
+
- Cancel the shift without completing all work
+ Dispatch a single work item for execution. The first
+ work item dispatched is saved as the top-level
+ work item and used when stopping the run.
+ The item to dispatch
-
+
- TextMessageWriter writes constraint descriptions and messages
- in displayable form as a text stream. It tailors the display
- of individual message components to form the standard message
- format of NUnit assertion failure messages.
+ Cancel the ongoing run completely.
+ If no run is in process, the call has no effect.
+ true if the IWorkItemDispatcher should abort all currently running WorkItems, false if it should allow all currently running WorkItems to complete
-
+
- Prefix used for the expected value line of a message
+ SimpleWorkItemDispatcher handles execution of WorkItems by
+ directly executing them. It is provided so that a dispatcher
+ is always available in the context, thereby simplifying the
+ code needed to run child tests.
-
+
- Prefix used for the actual value line of a message
+ Dispatch a single work item for execution. The first
+ work item dispatched is saved as the top-level
+ work item and a thread is created on which to
+ run it. Subsequent calls come from the top level
+ item or its descendants on the proper thread.
+ The item to dispatch
-
+
- Length of a message prefix
+ Cancel (abort or stop) the ongoing run.
+ If no run is in process, the call has no effect.
+ true if the run should be aborted, false if it should allow its currently running test to complete
-
+
- Construct a TextMessageWriter
+ The TextCapture class intercepts console output and writes it
+ to the current execution context, if one is present on the thread.
+ If no execution context is found, the output is written to a
+ default destination, normally the original destination of the
+ intercepted output.
-
+
- Construct a TextMessageWriter, specifying a user message
- and optional formatting arguments.
+ Construct a TextCapture object
-
-
+ The default destination for non-intercepted output
-
+
- Gets or sets the maximum line length for this writer
+ Gets the Encoding in use by this TextWriter
-
+
- Method to write single line message with optional args, usually
- written to precede the general failure message, at a given
- indentation level.
+ Writes a single character
- The indentation level of the message
- The message to be written
- Any arguments used in formatting the message
+ The char to write
-
+
- Display Expected and Actual lines for a constraint. This
- is called by MessageWriter's default implementation of
- WriteMessageTo and provides the generic two-line display.
+ Writes a string
- The result of the constraint that failed
+ The string to write
-
+
- Display Expected and Actual lines for given _values. This
- method may be called by constraints that need more control over
- the display of actual and expected _values than is provided
- by the default implementation.
+ Writes a string followed by a line terminator
- The expected value
- The actual value causing the failure
+ The string to write
-
+
+
+ The dispatcher needs to do different things at different,
+ non-overlapped times. For example, non-parallel tests may
+ not be run at the same time as parallel tests. We model
+ this using the metaphor of a working shift. The WorkShift
+ class associates one or more WorkItemQueues with one or
+ more TestWorkers.
+
+ Work in the queues is processed until all queues are empty
+ and all workers are idle. Both tests are needed because a
+ worker that is busy may end up adding more work to one of
+ the queues. At that point, the shift is over and another
+ shift may begin. This cycle continues until all the tests
+ have been run.
+
+
+
- Display Expected and Actual lines for given _values, including
- a tolerance value on the expected line.
+ Construct a WorkShift
- The expected value
- The actual value causing the failure
- The tolerance within which the test was made
-
+
- Display the expected and actual string _values on separate lines.
- If the mismatch parameter is >=0, an additional line is displayed
- line containing a caret that points to the mismatch point.
+ Event that fires when the shift has ended
- The expected string value
- The actual string value
- The point at which the strings don't match or -1
- If true, case is ignored in string comparisons
- If true, clip the strings to fit the max line length
-
+
- Writes the text for an actual value.
+ Gets a flag indicating whether the shift is currently active
- The actual value.
-
+
- Writes the text for a generalized value.
+ Gets a list of the queues associated with this shift.
- The value.
+ Used for testing
-
+
- Writes the text for a collection value,
- starting at a particular point, to a max length
+ Gets the list of workers associated with this shift.
- The collection containing elements to write.
- The starting point of the elements to write
- The maximum number of elements to write
-
+
- Write the generic 'Expected' line for a constraint
+ Gets a bool indicating whether this shift has any work to do
- The constraint that failed
-
+
- Write the generic 'Expected' line for a given value
+ Add a WorkItemQueue to the shift, starting it if the
+ shift is currently active.
- The expected value
-
+
- Write the generic 'Expected' line for a given value
- and tolerance.
+ Assign a worker to the shift.
- The expected value
- The tolerance within which the test was made
+
-
+
- Write the generic 'Actual' line for a constraint
+ Start or restart processing for the shift
- The ConstraintResult for which the actual value is to be written
-
+
- Write the generic 'Actual' line for a given value
+ End the shift, pausing all queues and raising
+ the EndOfShift event.
- The actual value causing a failure
-
+
- Combines multiple filters so that a test must pass all
- of them in order to pass this filter.
+ Shut down the shift.
-
+
- Constructs an empty AndFilter
+ Cancel (abort or stop) the shift without completing all work
+ true if the WorkShift should be aborted, false if it should allow its currently running tests to complete
-
+
- Constructs an AndFilter from an array of filters
+ A CompositeWorkItem represents a test suite and
+ encapsulates the execution of the suite as well
+ as all its child tests.
-
-
+
- Checks whether the AndFilter is matched by a test
+ List of Child WorkItems
- The test to be matched
- True if all the component filters pass, otherwise false
-
+
- Checks whether the AndFilter is matched by a test
+ A count of how many tests in the work item have a value for the Order Property
- The test to be matched
- True if all the component filters match, otherwise false
-
+
- Gets the element name
+ Construct a CompositeWorkItem for executing a test suite
+ using a filter to select child tests.
- Element name
+ The TestSuite to be executed
+ A filter used to select child tests
-
+
- CategoryFilter is able to select or exclude tests
- based on their categories.
+ Method that actually performs the work. Overridden
+ in CompositeWorkItem to do setup, run all child
+ items and then do teardown.
-
-
+
- Construct a CategoryFilter using a single category name
+ Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
- A category name
+
+ A signed integer that indicates the relative values of and , as shown in the following table.Value Meaning Less than zero is less than .Zero equals .Greater than zero is greater than .
+
+ The first object to compare.The second object to compare.
-
+
- Check whether the filter matches a test
+ Sorts tests under this suite.
- The test to be matched
-
-
+
- Gets the element name
+ Cancel (abort or stop) a CompositeWorkItem and all of its children
- Element name
+ true if the CompositeWorkItem and all of its children should be aborted, false if it should allow all currently running tests to complete
-
+
- ClassName filter selects tests based on the class FullName
+ A simplified implementation of .NET 4 CountdownEvent
+ for use in earlier versions of .NET. Only the methods
+ used by NUnit are implemented.
-
+
- Construct a FullNameFilter for a single name
+ Construct a CountdownEvent
- The name the filter will recognize.
+ The initial count
-
+
- Match a test against a single value.
+ Gets the initial count established for the CountdownEvent
-
+
- Gets the element name
+ Gets the current count remaining for the CountdownEvent
- Element name
-
+
- A base class for multi-part filters
+ Decrement the count by one
-
+
- Constructs an empty CompositeFilter
+ Block the thread until the count reaches zero
-
+
- Constructs a CompositeFilter from an array of filters
+ The EventPumpState enum represents the state of an
+ EventPump.
-
-
+
- Adds a filter to the list of filters
+ The pump is stopped
- The filter to be added
-
+
- Return a list of the composing filters.
+ The pump is pumping events with no stop requested
-
+
- Adds an XML node
+ The pump is pumping events but a stop has been requested
- Parent node
- True if recursive
- The added XML node
-
+
- Gets the element name
+ EventPump pulls events out of an EventQueue and sends
+ them to a listener. It is used to send events back to
+ the client without using the CallContext of the test
+ runner thread.
- Element name
-
+
- FullName filter selects tests based on their FullName
+ The handle on which a thread enqueuing an event with == true
+ waits, until the EventPump has sent the event to its listeners.
-
+
- Construct a FullNameFilter for a single name
+ The downstream listener to which we send events
- The name the filter will recognize.
-
+