6 instantiations of TestKeyValue
Microsoft.Extensions.Configuration.KeyPerFile.Tests (6)
53 references to TestKeyValue
Microsoft.Extensions.Configuration.KeyPerFile.Tests (53)
ConfigurationProviderTestBase.cs (53)
388public static implicit operator TestKeyValue(string value) => new TestKeyValue(value);
389public static implicit operator TestKeyValue(string[] values) => new TestKeyValue(values);
413public IEnumerable<(string Key, TestKeyValue Value)> Values { get; set; }
414= Enumerable.Empty<(string, TestKeyValue)>();
422Values = new[] { ("Key1", (TestKeyValue)"Value1") },
427Values = new[] {("Key2", (TestKeyValue)"Value12")},
434("Key3", (TestKeyValue)"Value123"),
435("Key3a", (TestKeyValue)new[] {"ArrayValue0", "ArrayValue1", "ArrayValue2"})
446Values = new[] {("Key4", (TestKeyValue)"Value344")}
456Values = new[] { ("Key1", (TestKeyValue)"------") },
461Values = new[] {("Key2", (TestKeyValue)"-------")},
468("Key3", (TestKeyValue)"-----"),
469("Key3a", (TestKeyValue)new[] {"-----------", "-----------", "-----------"})
480Values = new[] {("Key4", (TestKeyValue)"--------")}
490Values = new[] { ("Key1", (TestKeyValue)"Value1") },
495Values = new[] {("Key2", (TestKeyValue)"Value12")},
502("Key3a", (TestKeyValue)new[] {"ArrayValue0"})
513Values = new[] {("Key4", (TestKeyValue)"Value344")}
523Values = new[] { ("Key1", (TestKeyValue)"Value1") },
528Values = new[] {("Key2", (TestKeyValue)"Value12")},
535("Key3", (TestKeyValue)"Value123"),
536("Key3a", (TestKeyValue)new[] {"ArrayValue0", "ArrayValue1", "ArrayValue2"})
548Values = new[] { ("KeY1", (TestKeyValue)"Value1") },
553Values = new[] {("KeY2", (TestKeyValue)"Value12")},
560("KeY3", (TestKeyValue)"Value123"),
561("KeY3a", (TestKeyValue)new[] {"ArrayValue0", "ArrayValue1", "ArrayValue2"})
572Values = new[] {("KeY4", (TestKeyValue)"Value344")}
584("Key1", (TestKeyValue)"Value1"),
585("Key1", (TestKeyValue)"Value1")
591Values = new[] {("Key2", (TestKeyValue)"Value12")},
598("Key3", (TestKeyValue)"Value123"),
599("Key3a", (TestKeyValue)new[] {"ArrayValue0", "ArrayValue1", "ArrayValue2"})
606("Key3", (TestKeyValue)"Value123"),
607("Key3a", (TestKeyValue)new[] {"ArrayValue0", "ArrayValue1", "ArrayValue2"})
619Values = new[] {("Key4", (TestKeyValue)"Value344")}
631("Key1", (TestKeyValue)"Value1"),
632("KeY1", (TestKeyValue)"Value1")
638Values = new[] {("Key2", (TestKeyValue)"Value12")},
645("Key3", (TestKeyValue)"Value123"),
646("Key3a", (TestKeyValue)new[] {"ArrayValue0", "ArrayValue1", "ArrayValue2"})
653("KeY3", (TestKeyValue)"Value123"),
654("KeY3a", (TestKeyValue)new[] {"ArrayValue0", "ArrayValue1", "ArrayValue2"})
666Values = new[] {("Key4", (TestKeyValue)"Value344")}
689("Key3a", (TestKeyValue)new string[] {null, null, null})
712("Key1", (TestKeyValue)"Value1"),
713("Key1r", (TestKeyValue)"Value1r")
721("Key2", (TestKeyValue)"Value12"),
722("Key2r", (TestKeyValue)"Value12r")
730("Key3", (TestKeyValue)"Value123"),
731("Key3a", (TestKeyValue)new[] {"ArrayValue0", "ArrayValue1", "ArrayValue2", "ArrayValue2r"}),
732("Key3ar", (TestKeyValue)new[] {"ArrayValue0r"})
743Values = new[] {("Key4", (TestKeyValue)"Value344")}
753Values = new[] {("Key5r", (TestKeyValue)"Value565r")}