47 references to TestFile
Microsoft.Extensions.Configuration.KeyPerFile.Tests (47)
ConfigurationProviderCommandLineTest.cs (1)
34testFiles.Add(new TestFile(sectionName + tuple.Key, tuple.Value));
KeyPerFileTests.cs (46)
43new TestFile("Secret1", "SecretValue1"), 44new TestFile("Secret2", "SecretValue2")); 58new TestFile("Secret1", "SecretValue1"), 59new TestFile("Secret2", "SecretValue2"), 74new TestFile("Secret0__Secret1__Secret2__Key", "SecretValue2"), 75new TestFile("Secret0__Secret1__Key", "SecretValue1"), 76new TestFile("Secret0__Key", "SecretValue0")); 91new TestFile("Secret0--Secret1--Secret2--Key", "SecretValue2"), 92new TestFile("Secret0--Secret1--Key", "SecretValue1"), 93new TestFile("Secret0--Key", "SecretValue0")); 112new TestFile("ignore.Secret0", "SecretValue0"), 113new TestFile("ignore.Secret1", "SecretValue1"), 114new TestFile("Secret2", "SecretValue2")); 129new TestFile("ignore.Secret0", "SecretValue0"), 130new TestFile("ignore.Secret1", "SecretValue1"), 131new TestFile("Secret2", "SecretValue2")); 150new TestFile("Secret0", "SecretValue0"), 151new TestFile("Secret1", "SecretValue1"), 152new TestFile("Secret2", "SecretValue2")); 169new TestFile("meSecret0", "SecretValue0"), 170new TestFile("meSecret1", "SecretValue1"), 171new TestFile("Secret2", "SecretValue2")); 190new TestFile("ignore.Secret0", "SecretValue0"), 191new TestFile("ignore.Secret1", "SecretValue1"), 192new TestFile("Secret2", "SecretValue2")); 211new TestFile("Number", "-2"), 212new TestFile("Text", "Foo")); 246new TestFile("Secret1", "SecretValue1"), 247new TestFile("Secret2", "SecretValue2")); 260new TestFile("Secret1", "NewSecretValue1"), 261new TestFile("Secret3", "NewSecretValue3")); 272new TestFile("Secret1", "SecretValue1"), 273new TestFile("Secret2", "SecretValue2")); 286new TestFile("Secret1", "NewSecretValue1"), 287new TestFile("Secret3", "NewSecretValue3")); 309new TestFile("Secret1", "SecretValue1"), 310new TestFile("Secret2", "SecretValue2")); 320new TestFile("Secret1", "SecretValue1"), 321new TestFile("Secret2", "SecretValue2")); 336new TestFile("Secret1", "NewSecretValue1"), 337new TestFile("Secret3", "NewSecretValue3")); 350new TestFile("Secret1", "SecretValue1"), 351new TestFile("Secret2", "SecretValue2")); 390testFileProvider.ChangeFiles(new TestFile("Secret1", "SecretValue1")); 401new TestFile("Secret1", "SecretValue1"), 402new TestFile("Secret2", "SecretValue2"));