1 type derived from UseCultureAttribute
Aspire.TestUtilities (1)
UseDefaultXunitCultureAttribute.cs (1)
13
public sealed class UseDefaultXunitCultureAttribute :
UseCultureAttribute
11 instantiations of UseCultureAttribute
Aspire.Hosting.Tests (11)
Utils\UseCultureAttributeTests.cs (11)
16
Assert.Throws<ArgumentNullException>(() => new
UseCultureAttribute
(null!).Culture);
17
Assert.Throws<ArgumentNullException>(() => new
UseCultureAttribute
("en-US", null!).UICulture);
26
var attr = new
UseCultureAttribute
(culture);
37
var attr = new
UseCultureAttribute
(culture, "fr");
48
var attr = new
UseCultureAttribute
(culture);
59
var attr = new
UseCultureAttribute
("el-GR", uiCulture);
71
var attr = new
UseCultureAttribute
(culture);
89
var attr = new
UseCultureAttribute
("ru-RU", uiCulture);
100
[Fact,
UseCulture
("sv-SE")]
106
[Fact,
UseCulture
("th-TH", "es-CL")]
119
var attr = new
UseCultureAttribute
(culture);
7 references to UseCultureAttribute
Aspire.Hosting.Tests (7)
Utils\UseCultureAttributeTests.cs (7)
26
var
attr = new UseCultureAttribute(culture);
37
var
attr = new UseCultureAttribute(culture, "fr");
48
var
attr = new UseCultureAttribute(culture);
59
var
attr = new UseCultureAttribute("el-GR", uiCulture);
71
var
attr = new UseCultureAttribute(culture);
89
var
attr = new UseCultureAttribute("ru-RU", uiCulture);
119
var
attr = new UseCultureAttribute(culture);