mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 03:01:31 +00:00
the other tests no wpass
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
using Xunit.Abstractions;
|
||||
using Xunit.Sdk;
|
||||
|
||||
namespace Octokit.Tests.Integration
|
||||
{
|
||||
public class IntegrationTestDiscoverer : IXunitTestCaseDiscoverer
|
||||
{
|
||||
public IEnumerable<IXunitTestCase> Discover(ITestMethod testMethod, IAttributeInfo factAttribute)
|
||||
{
|
||||
yield return new IntegrationTestCase(testMethod);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[XunitTestCaseDiscoverer("Octokit.Tests.Integration.IntegrationTestDiscoverer", "Octokit.Tests.Integration")]
|
||||
public class IntegrationTestAttribute : FactAttribute
|
||||
{
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class IntegrationTestCase : XunitTestCase
|
||||
{
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[Obsolete("Called by the de-serializer", true)]
|
||||
public IntegrationTestCase() { }
|
||||
|
||||
public IntegrationTestCase(ITestMethod testMethod)
|
||||
: base(testMethod, testMethodArguments: null)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user