Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.


// Not adding the support for xunit.v3.
// Still keeping the logic inside compatible with xunit.v3 in case we decided to add it.
// For cases that used to do [ConditionalFact] in xunit.v2, they can now call Assert.Skip instead of throwing SkipTestException
// In this case, [Fact] will just work because Assert.Skip is natively supported in xunit.v3
// TODO: Evaluate whether or not we want to still expose this attribute in xunit.v3 for usages of CalleeType and ConditionMemberNames?
#if !USES_XUNIT_3

using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.DotNet.XUnitExtensions;
Expand Down Expand Up @@ -43,4 +35,3 @@ public ConditionalFactAttribute(params string[] conditionMemberNames)
}
}
}
#endif
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

// Not adding the support for xunit.v3.
// Still keeping the logic inside compatible with xunit.v3 in case we decided to add it.
// For cases that used to do [ConditionalTheory] in xunit.v2, they can now call Assert.Skip instead of throwing SkipTestException
// In this case, [Fact] will just work because Assert.Skip is natively supported in xunit.v3
// TODO: Evaluate whether or not we want to still expose this attribute in xunit.v3 for usages of CalleeType and ConditionMemberNames?
#if !USES_XUNIT_3

using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.DotNet.XUnitExtensions;
Expand Down Expand Up @@ -42,4 +35,3 @@ public ConditionalTheoryAttribute(params string[] conditionMemberNames)
}
}
}
#endif
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

// Not adding the support for xunit.v3.
// This is used by ConditionalFact and ConditionalTheory which we no longer support in xunit.v3.
// Still keeping the logic inside supporting xunit.v3 in case we decided to add it.
#if !USES_XUNIT_3

using System;
using System.Collections.Generic;
using System.Linq;
Expand Down Expand Up @@ -60,4 +55,3 @@ protected override IXunitTestCase CreateTestCase(ITestFrameworkDiscoveryOptions
}
}
}
#endif
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

// Not adding the support for xunit.v3.
// This is used by ConditionalFact and ConditionalTheory which we no longer support in xunit.v3.
// Still keeping the logic inside supporting xunit.v3 in case we decided to add it.
#if !USES_XUNIT_3

using System;
using System.Collections.Generic;
using System.Linq;
Expand Down Expand Up @@ -138,4 +133,3 @@ protected override IEnumerable<IXunitTestCase> CreateTestCasesForDataRow(ITestFr
}
}
}
#endif
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

// Not adding the support for xunit.v3.
// This is used by ConditionalFact and ConditionalTheory which we no longer support in xunit.v3.
// Still keeping the logic inside supporting xunit.v3 in case we decided to add it.
#if !USES_XUNIT_3

using System;
using System.Collections.Generic;
using System.Linq;
Expand Down Expand Up @@ -79,4 +74,3 @@ public override async Task<RunSummary> RunAsync(IMessageSink diagnosticMessageSi
}
}
}
#endif
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

// Not adding the support for xunit.v3.
// This is used by ConditionalFact and ConditionalTheory which we no longer support in xunit.v3.
// Still keeping the logic inside supporting xunit.v3 in case we decided to add it.
#if !USES_XUNIT_3

using System;
using System.Linq;
#if !USES_XUNIT_3
Expand Down Expand Up @@ -72,4 +67,3 @@ public bool QueueMessage(IMessageSinkMessage message)
}
}
}
#endif
Loading