48 instantiations of TestSection
Microsoft.Extensions.Configuration.KeyPerFile.Tests (48)
ConfigurationProviderTestBase.cs (48)
420
= new
TestSection
425
("Section1", new
TestSection
430
("Section2", new
TestSection
440
("Section3", new
TestSection
444
("Section4", new
TestSection
454
= new
TestSection
459
("Section1", new
TestSection
464
("Section2", new
TestSection
474
("Section3", new
TestSection
478
("Section4", new
TestSection
488
= new
TestSection
493
("Section1", new
TestSection
498
("Section2", new
TestSection
507
("Section3", new
TestSection
511
("Section4", new
TestSection
521
= new
TestSection
526
("Section1", new
TestSection
531
("Section2", new
TestSection
541
("Section3", new
TestSection
())
546
= new
TestSection
551
("SectioN1", new
TestSection
556
("SectioN2", new
TestSection
566
("SectioN3", new
TestSection
570
("SectioN4", new
TestSection
580
= new
TestSection
589
("Section1", new
TestSection
594
("Section2", new
TestSection
602
("Section2", new
TestSection
613
("Section3", new
TestSection
617
("Section4", new
TestSection
627
= new
TestSection
636
("Section1", new
TestSection
641
("Section2", new
TestSection
649
("SectioN2", new
TestSection
660
("Section3", new
TestSection
664
("Section4", new
TestSection
674
= new
TestSection
679
("Section1", new
TestSection
684
("Section2", new
TestSection
694
("Section3", new
TestSection
698
("Section4", new
TestSection
708
= new
TestSection
717
("Section1", new
TestSection
726
("Section2", new
TestSection
737
("Section3", new
TestSection
741
("Section4", new
TestSection
747
("Section5r", new
TestSection
751
("Section6r", new
TestSection
34 references to TestSection
Microsoft.Extensions.Configuration.KeyPerFile.Tests (34)
ConfigurationProviderCommandLineTest.cs (2)
15
TestSection
testConfig)
30
private void SectionToTestFiles(List<IFileInfo> testFiles, string sectionName,
TestSection
section)
ConfigurationProviderTestBase.cs (32)
17
var configRoot = BuildConfigRoot(LoadThroughProvider(
TestSection
.TestConfig));
25
var configRoot = BuildConfigRoot(LoadThroughProvider(
TestSection
.TestConfig));
49
AssertConfig(BuildConfigRoot(LoadThroughProvider(
TestSection
.NullsTestConfig)), expectNulls: true, nullValue: "");
57
LoadUsingMemoryProvider(
TestSection
.MissingSection2ValuesConfig),
58
LoadThroughProvider(
TestSection
.MissingSection4Config)));
62
LoadUsingMemoryProvider(
TestSection
.MissingSection4Config),
63
LoadThroughProvider(
TestSection
.MissingSection2ValuesConfig)));
71
LoadThroughProvider(
TestSection
.MissingSection2ValuesConfig),
72
LoadUsingMemoryProvider(
TestSection
.MissingSection4Config)));
76
LoadThroughProvider(
TestSection
.MissingSection4Config),
77
LoadUsingMemoryProvider(
TestSection
.MissingSection2ValuesConfig)));
85
LoadUsingMemoryProvider(
TestSection
.NoValuesTestConfig),
86
LoadThroughProvider(
TestSection
.TestConfig)));
94
LoadUsingMemoryProvider(
TestSection
.DifferentCasedTestConfig),
95
LoadThroughProvider(
TestSection
.TestConfig)));
102
() => BuildConfigRoot(LoadThroughProvider(
TestSection
.DuplicatesTestConfig)));
109
() => BuildConfigRoot(LoadThroughProvider(
TestSection
.DuplicatesDifferentCaseTestConfig)));
131
var configuration = BuildConfigRoot(LoadThroughProvider(
TestSection
.TestConfig));
326
protected abstract (IConfigurationProvider Provider, Action Initializer) LoadThroughProvider(
TestSection
testConfig);
341
protected static (IConfigurationProvider Provider, Action Initializer) LoadUsingMemoryProvider(
TestSection
testConfig)
356
TestSection
section,
416
public IEnumerable<(string Key,
TestSection
Section)> Sections { get; set; }
417
= Enumerable.Empty<(string,
TestSection
)>();
419
public static
TestSection
TestConfig { get; }
453
public static
TestSection
NoValuesTestConfig { get; }
487
public static
TestSection
MissingSection2ValuesConfig { get; }
520
public static
TestSection
MissingSection4Config { get; }
545
public static
TestSection
DifferentCasedTestConfig { get; }
579
public static
TestSection
DuplicatesTestConfig { get; }
626
public static
TestSection
DuplicatesDifferentCaseTestConfig { get; }
673
public static
TestSection
NullsTestConfig { get; }
707
public static
TestSection
ExtraValuesTestConfig { get; }