public void NuGetFramework_WithInvalidProperties_Throws(string targetFrameworkMoniker, string targetPlatformMoniker) { Assert.ThrowsAny <Exception>(() => NuGetFramework.ParseComponents(targetFrameworkMoniker, targetPlatformMoniker)); }
public void NuGetFramework_Basic(string targetFrameworkMoniker, string targetPlatformMoniker, string fullName) { string output = NuGetFramework.ParseComponents(targetFrameworkMoniker, targetPlatformMoniker).DotNetFrameworkName; Assert.Equal(fullName, output); }