Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xunit-binaries.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2017-06-08 16:47:29 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2017-06-08 16:47:29 +0300
commitd4433b0972f40cb3efaa3fbba52869bde5df8fa8 (patch)
tree0cdf31bf99ac3a0fa2e9ddf5ad910eca4aa9d6da
parentb8e20d265b368dd6252703d5afd038d0b028e388 (diff)
Add Xunit.NetCore.Extensions.dll
-rw-r--r--BenchmarkAttribute.cs13
-rw-r--r--BenchmarkDiscover.cs14
-rw-r--r--README.md2
-rwxr-xr-xXunit.NetCore.Extensions.dllbin0 -> 38632 bytes
4 files changed, 29 insertions, 0 deletions
diff --git a/BenchmarkAttribute.cs b/BenchmarkAttribute.cs
new file mode 100644
index 0000000..5697d10
--- /dev/null
+++ b/BenchmarkAttribute.cs
@@ -0,0 +1,13 @@
+using System;
+using Xunit;
+using Xunit.Sdk;
+
+namespace Microsoft.Xunit.Performance
+{
+ [TraitDiscoverer("Microsoft.Xunit.Performance.BenchmarkDiscoverer", "Xunit.NetCore.Extensions")]
+ [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
+ public class BenchmarkAttribute : Attribute, ITraitAttribute
+ {
+ public long InnerIterationCount { get; set; }
+ }
+}
diff --git a/BenchmarkDiscover.cs b/BenchmarkDiscover.cs
new file mode 100644
index 0000000..40d2d8a
--- /dev/null
+++ b/BenchmarkDiscover.cs
@@ -0,0 +1,14 @@
+using System.Collections.Generic;
+using Xunit.Sdk;
+using Xunit.Abstractions;
+
+namespace Xunit.NetCore.Extensions
+{
+ public class BenchmarkDiscoverer : ITraitDiscoverer
+ {
+ public IEnumerable<KeyValuePair<string, string>> GetTraits(IAttributeInfo traitAttribute)
+ {
+ yield return new KeyValuePair<string, string>("Benchmark", "True");
+ }
+ }
+}
diff --git a/README.md b/README.md
index d18c5ec..f732d0c 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
# xunit-binaries
Extracted Xunit nuget packages
+
+Xunit.NetCore.Extensions.dll extracted from https://dotnet.myget.org/feed/dotnet-buildtools/package/nuget/Microsoft.xunit.netcore.extensions/1.0.1-prerelease-01707-02
diff --git a/Xunit.NetCore.Extensions.dll b/Xunit.NetCore.Extensions.dll
new file mode 100755
index 0000000..7116921
--- /dev/null
+++ b/Xunit.NetCore.Extensions.dll
Binary files differ