Skip to content

Commit cac5bf7

Browse files
committed
Suppress xUnit1026 where it can't be reasonably fixed
See xunit/xunit#1556
1 parent 026dbf2 commit cac5bf7

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1116UnitTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
22
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
33

4+
// Several test methods in this file use the same member data, but in some cases the test does not use all of the
5+
// supported parameters. See https://github.com/xunit/xunit/issues/1556.
6+
#pragma warning disable xUnit1026 // Theory methods should use all of their parameters
7+
48
namespace StyleCop.Analyzers.Test.ReadabilityRules
59
{
610
using System.Collections.Generic;

StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1117UnitTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
22
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
33

4+
// Several test methods in this file use the same member data, but in some cases the test does not use all of the
5+
// supported parameters. See https://github.com/xunit/xunit/issues/1556.
6+
#pragma warning disable xUnit1026 // Theory methods should use all of their parameters
7+
48
namespace StyleCop.Analyzers.Test.ReadabilityRules
59
{
610
using System.Collections.Generic;

StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1121UnitTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
22
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
33

4+
// Several test methods in this file use the same member data, but in some cases the test does not use all of the
5+
// supported parameters. See https://github.com/xunit/xunit/issues/1556.
6+
#pragma warning disable xUnit1026 // Theory methods should use all of their parameters
7+
48
namespace StyleCop.Analyzers.Test.ReadabilityRules
59
{
610
using System;

0 commit comments

Comments
 (0)