Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Removed flaky SetCultureAttribute for XUnit.V3 #505

Merged
merged 1 commit into from
Oct 31, 2024
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

This file was deleted.

100 changes: 0 additions & 100 deletions src/NetEvolve.Extensions.XUnit.V3/SetCultureAttribute.cs

This file was deleted.

50 changes: 0 additions & 50 deletions src/NetEvolve.Extensions.XUnit.V3/SetUICultureAttribute.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -60,22 +60,6 @@
{
public PreDeploymentAttribute() { }
}
public sealed class SetCultureAttribute : NetEvolve.Extensions.XUnit.V3.Internal.CultureAttributeBase
{
public SetCultureAttribute() { }
public SetCultureAttribute(string culture) { }
public SetCultureAttribute(string culture, string? uiCulture) { }
public string? UICulture { get; }
public override System.Threading.Tasks.ValueTask After(System.Reflection.MethodInfo methodUnderTest, Xunit.v3.IXunitTest test) { }
public override System.Threading.Tasks.ValueTask Before(System.Reflection.MethodInfo methodUnderTest, Xunit.v3.IXunitTest test) { }
public override System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string, string>> GetTraits() { }
}
public sealed class SetUICultureAttribute : NetEvolve.Extensions.XUnit.V3.Internal.CultureAttributeBase
{
public SetUICultureAttribute() { }
public SetUICultureAttribute(string culture) { }
public override System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string, string>> GetTraits() { }
}
public sealed class UnitTestAttribute : NetEvolve.Extensions.XUnit.V3.Internal.CategoryTraitBaseAttribute
{
public UnitTestAttribute() { }
Expand Down Expand Up @@ -109,13 +93,4 @@ namespace NetEvolve.Extensions.XUnit.V3.Internal
public string? Id { get; }
public System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string, string>> GetTraits() { }
}
public abstract class CultureAttributeBase : System.Attribute, Xunit.v3.IBeforeAfterTestAttribute, Xunit.v3.ITraitAttribute
{
protected CultureAttributeBase(string category, string culture) { }
public string Category { get; }
public string Culture { get; }
public virtual System.Threading.Tasks.ValueTask After(System.Reflection.MethodInfo methodUnderTest, Xunit.v3.IXunitTest test) { }
public virtual System.Threading.Tasks.ValueTask Before(System.Reflection.MethodInfo methodUnderTest, Xunit.v3.IXunitTest test) { }
public abstract System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string, string>> GetTraits();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,22 +60,6 @@
{
public PreDeploymentAttribute() { }
}
public sealed class SetCultureAttribute : NetEvolve.Extensions.XUnit.V3.Internal.CultureAttributeBase
{
public SetCultureAttribute() { }
public SetCultureAttribute(string culture) { }
public SetCultureAttribute(string culture, string? uiCulture) { }
public string? UICulture { get; }
public override System.Threading.Tasks.ValueTask After(System.Reflection.MethodInfo methodUnderTest, Xunit.v3.IXunitTest test) { }
public override System.Threading.Tasks.ValueTask Before(System.Reflection.MethodInfo methodUnderTest, Xunit.v3.IXunitTest test) { }
public override System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string, string>> GetTraits() { }
}
public sealed class SetUICultureAttribute : NetEvolve.Extensions.XUnit.V3.Internal.CultureAttributeBase
{
public SetUICultureAttribute() { }
public SetUICultureAttribute(string culture) { }
public override System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string, string>> GetTraits() { }
}
public sealed class UnitTestAttribute : NetEvolve.Extensions.XUnit.V3.Internal.CategoryTraitBaseAttribute
{
public UnitTestAttribute() { }
Expand Down Expand Up @@ -109,13 +93,4 @@ namespace NetEvolve.Extensions.XUnit.V3.Internal
public string? Id { get; }
public System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string, string>> GetTraits() { }
}
public abstract class CultureAttributeBase : System.Attribute, Xunit.v3.IBeforeAfterTestAttribute, Xunit.v3.ITraitAttribute
{
protected CultureAttributeBase(string category, string culture) { }
public string Category { get; }
public string Culture { get; }
public virtual System.Threading.Tasks.ValueTask After(System.Reflection.MethodInfo methodUnderTest, Xunit.v3.IXunitTest test) { }
public virtual System.Threading.Tasks.ValueTask Before(System.Reflection.MethodInfo methodUnderTest, Xunit.v3.IXunitTest test) { }
public abstract System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string, string>> GetTraits();
}
}

This file was deleted.

Loading