You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
13
external/xunit-binaries/BenchmarkAttribute.cs
vendored
Normal file
13
external/xunit-binaries/BenchmarkAttribute.cs
vendored
Normal file
@@ -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; }
|
||||
}
|
||||
}
|
14
external/xunit-binaries/BenchmarkDiscover.cs
vendored
Normal file
14
external/xunit-binaries/BenchmarkDiscover.cs
vendored
Normal file
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
2
external/xunit-binaries/README.md
vendored
2
external/xunit-binaries/README.md
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user