diff options
author | Rob Mensching <rob@firegiant.com> | 2022-11-08 14:58:05 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2022-11-08 16:20:25 -0800 |
commit | c843b47d6233153fa961c6d0e61edf7cedf255bb (patch) | |
tree | 9eae6badd42d3badb8665b7414b4d44ca48d6ae1 /src/internal/WixBuildTools.TestSupport/XunitExtensions/SkippableFactDiscoverer.cs | |
parent | 7e498d6348c26583972ea1cdf7d51dadc8f5b792 (diff) | |
download | wix-c843b47d6233153fa961c6d0e61edf7cedf255bb.tar.gz wix-c843b47d6233153fa961c6d0e61edf7cedf255bb.tar.bz2 wix-c843b47d6233153fa961c6d0e61edf7cedf255bb.zip |
Separate WixInternal content from official WixToolset namespace
Diffstat (limited to 'src/internal/WixBuildTools.TestSupport/XunitExtensions/SkippableFactDiscoverer.cs')
-rw-r--r-- | src/internal/WixBuildTools.TestSupport/XunitExtensions/SkippableFactDiscoverer.cs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/internal/WixBuildTools.TestSupport/XunitExtensions/SkippableFactDiscoverer.cs b/src/internal/WixBuildTools.TestSupport/XunitExtensions/SkippableFactDiscoverer.cs deleted file mode 100644 index b692c912..00000000 --- a/src/internal/WixBuildTools.TestSupport/XunitExtensions/SkippableFactDiscoverer.cs +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
2 | |||
3 | namespace WixBuildTools.TestSupport.XunitExtensions | ||
4 | { | ||
5 | using System.Collections.Generic; | ||
6 | using Xunit.Abstractions; | ||
7 | using Xunit.Sdk; | ||
8 | |||
9 | public class SkippableFactDiscoverer : IXunitTestCaseDiscoverer | ||
10 | { | ||
11 | private IMessageSink DiagnosticMessageSink { get; } | ||
12 | |||
13 | public SkippableFactDiscoverer(IMessageSink diagnosticMessageSink) | ||
14 | { | ||
15 | this.DiagnosticMessageSink = diagnosticMessageSink; | ||
16 | } | ||
17 | |||
18 | public IEnumerable<IXunitTestCase> Discover(ITestFrameworkDiscoveryOptions discoveryOptions, ITestMethod testMethod, IAttributeInfo factAttribute) | ||
19 | { | ||
20 | yield return new SkippableFactTestCase(this.DiagnosticMessageSink, discoveryOptions.MethodDisplayOrDefault(), discoveryOptions.MethodDisplayOptionsOrDefault(), testMethod); | ||
21 | } | ||
22 | } | ||
23 | } | ||