From 52d445c5b1f7cbb5ddc07394e109f387923009ec Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Thu, 18 Dec 2014 21:41:35 +0930 Subject: [PATCH] don't actually need these classes now --- .../Helpers/IntegrationTestAttribute.cs | 15 +-------------- .../Helpers/OrganizationTestAttribute.cs | 11 +---------- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/Octokit.Tests.Integration/Helpers/IntegrationTestAttribute.cs b/Octokit.Tests.Integration/Helpers/IntegrationTestAttribute.cs index e4332bd6..5d89feed 100644 --- a/Octokit.Tests.Integration/Helpers/IntegrationTestAttribute.cs +++ b/Octokit.Tests.Integration/Helpers/IntegrationTestAttribute.cs @@ -20,7 +20,7 @@ namespace Octokit.Tests.Integration } else { - return new [] { new IntegrationTestCase(testMethod) }; + return new [] { new XunitTestCase(testMethod) }; } } } @@ -30,17 +30,4 @@ namespace 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) - { - } - } } diff --git a/Octokit.Tests.Integration/Helpers/OrganizationTestAttribute.cs b/Octokit.Tests.Integration/Helpers/OrganizationTestAttribute.cs index fb26bbe7..e7184932 100644 --- a/Octokit.Tests.Integration/Helpers/OrganizationTestAttribute.cs +++ b/Octokit.Tests.Integration/Helpers/OrganizationTestAttribute.cs @@ -20,7 +20,7 @@ namespace Octokit.Tests.Integration } else { - return new [] { new OrganizationTestCase(testMethod) }; + return new [] { new XunitTestCase(testMethod) }; } } } @@ -29,13 +29,4 @@ namespace Octokit.Tests.Integration public class OrganizationTestAttribute : FactAttribute { } - - [Serializable] - public class OrganizationTestCase : XunitTestCase - { - public OrganizationTestCase(ITestMethod testMethod) - : base(testMethod, testMethodArguments: null) - { - } - } }