src/Microsoft.VisualStudio.Editor.UnitTests/MyExtensibility/MyExtensibilitySettingsTest.cs
/// <summary>
/// Test MyExtensionsSettings GetAssemblyAutoAdd/GetAssemblyAutoRemove with non-existed settings file 
/// and unknown assembly name.
/// </summary>
Test MyExtensionsSettings GetAssemblyAutoAdd/GetAssemblyAutoRemove with non-existed settings file
and unknown assembly name.
Test MyExtensionsSettings GetAssemblyAutoAdd / GetAssemblyAutoRemove with non - existed settings file and unknown assembly name .
[TestMethod()]
        public void MyExtSettingsGetAssemblyAutoAddAutoRemove2()
        {
            MyExtensibilitySettings extSettings = new MyExtensibilitySettings("NotExistedPath");
            AssemblyOption bogusAutoAdd = extSettings.GetAssemblyAutoAdd("Bogus Assembly");
            Assert.IsTrue(AssemblyOption.Prompt == bogusAutoAdd, "AssemblyOption.Prompt != bogusAutoAdd");
            AssemblyOption bogusAutoRemove = extSettings.GetAssemblyAutoRemove("Another Bogus Assembly");
            Assert.IsTrue(AssemblyOption.Prompt == bogusAutoRemove, "AssemblyOption.Prompt != bogusAutoRemove");
        }
[ TestMethod ( ) ] public void MyExtSettingsGetAssemblyAutoAddAutoRemove2 ( ) { MyExtensibilitySettings extSettings = new MyExtensibilitySettings ( " " ) ; AssemblyOption bogusAutoAdd = extSettings . GetAssemblyAutoAdd ( " " ) ; Assert . IsTrue ( AssemblyOption . Prompt == bogusAutoAdd , " " ) ; AssemblyOption bogusAutoRemove = extSettings . GetAssemblyAutoRemove ( " " ) ; Assert . IsTrue ( AssemblyOption . Prompt == bogusAutoRemove , " " ) ; }
Test MyExtensionsSettings GetAssemblyAutoAdd/GetAssemblyAutoRemove with non-existed settings file
and unknown assembly name.
Test MyExtensionsSettings GetAssemblyAutoAdd / GetAssemblyAutoRemove with non - existed settings file and unknown assembly name .