Skip to content

Commit 4d7de81

Browse files
author
Gurpreet Singh
committed
remove unused code. these attributes are defined in this assembly but are not used or handled by any code.
1 parent 4e471e3 commit 4d7de81

File tree

7 files changed

+56
-520
lines changed

7 files changed

+56
-520
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace TestStack.BDDfy.Tests.Concurrency
2+
{
3+
internal static class TestCollectionName {
4+
public const string ModifiesConfigurator = "ModifiesConfigurator";
5+
}
6+
}

src/TestStack.BDDfy.Tests/Exceptions/OtherExceptions/WhenWhenThrowsException.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
using System;
22
using Shouldly;
3+
using TestStack.BDDfy.Tests.Concurrency;
34
using Xunit;
45

56
namespace TestStack.BDDfy.Tests.Exceptions.OtherExceptions
67
{
8+
[Collection(TestCollectionName.ModifiesConfigurator)]
79
public class WhenWhenThrowsException : OtherExceptionBase
810
{
911
private void ExecuteUsingFluentScanner()

src/TestStack.BDDfy.Tests/Scanner/FluentScanner/StepTitleTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
using System.Linq;
22
using Shouldly;
3+
using TestStack.BDDfy.Tests.Concurrency;
34
using Xunit;
45

56
namespace TestStack.BDDfy.Tests.Scanner.FluentScanner
67
{
8+
[Collection(TestCollectionName.ModifiesConfigurator)]
79
public class StepTitleTests
810
{
911
private string _mutatedState;

src/TestStack.BDDfy.Tests/Scanner/FluentScanner/UsingCustomStepTitleFactory.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
using System.Reflection;
44
using TestStack.BDDfy.Abstractions;
55
using TestStack.BDDfy.Configuration;
6+
using TestStack.BDDfy.Tests.Concurrency;
67
using Xunit;
78

89
namespace TestStack.BDDfy.Tests.Scanner.FluentScanner
910
{
10-
[Collection("UseConfigurator")]
11+
[Collection(TestCollectionName.ModifiesConfigurator)]
1112
public class UsingCustomStepTitleFactory
1213
{
1314
private class CustomStepTitleFactory : IStepTitleFactory

src/TestStack.BDDfy.Tests/Scanner/FluentScanner/WhenStepsAreScannedUsingFluentScanner.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
using System.Collections.Generic;
22
using System.Linq;
33
using Shouldly;
4+
using TestStack.BDDfy.Tests.Concurrency;
45
using Xunit;
56

67
namespace TestStack.BDDfy.Tests.Scanner.FluentScanner
78
{
8-
[Collection("UseConfigurator")]
9+
[Collection(TestCollectionName.ModifiesConfigurator)]
910
public class WhenStepsAreScannedUsingFluentScanner
1011
{
1112
private IEnumerable<Step> _steps;

0 commit comments

Comments
 (0)