示例#1
0
 public void NuGetFramework_WithInvalidProperties_Throws(string targetFrameworkMoniker, string targetPlatformMoniker)
 {
     Assert.ThrowsAny <Exception>(() => NuGetFramework.ParseComponents(targetFrameworkMoniker, targetPlatformMoniker));
 }
示例#2
0
        public void NuGetFramework_Basic(string targetFrameworkMoniker, string targetPlatformMoniker, string fullName)
        {
            string output = NuGetFramework.ParseComponents(targetFrameworkMoniker, targetPlatformMoniker).DotNetFrameworkName;

            Assert.Equal(fullName, output);
        }