7 references to GetNuspecPropertyDictionary
Microsoft.DotNet.Build.Tasks.Packaging (1)
NugetPropertyStringProvider.cs (1)
31
var propertyDictionary =
GetNuspecPropertyDictionary
(nuspecPropertyStrings);
Microsoft.DotNet.Build.Tasks.Packaging.Tests (6)
NugetPropertyStringProviderTests.cs (6)
48
NuspecPropertyStringProvider.
GetNuspecPropertyDictionary
(null).Should().BeNull();
61
Action act = () => NuspecPropertyStringProvider.
GetNuspecPropertyDictionary
(new[] { "abc" });
68
Action act = () => NuspecPropertyStringProvider.
GetNuspecPropertyDictionary
(new[] { "a= " });
75
Action act = () => NuspecPropertyStringProvider.
GetNuspecPropertyDictionary
(new[] { " = b" });
82
Action act = () => NuspecPropertyStringProvider.
GetNuspecPropertyDictionary
(new[] { " = " });
88
NuspecPropertyStringProvider.
GetNuspecPropertyDictionary
(propertyStrings).Should().BeEquivalentTo(expectedDictionary);