src/Microsoft.VisualStudio.Editor.UnitTests/MyExtensibility/MyExtensibilitySettingsTest.cs
/// <summary>
/// Helper method for the 2 tests above.
/// </summary>
Helper method for the 2 tests above.
Helper method for the 2 tests above .
private void MyExtSettingsSetAssemblyWithNotExistedPath(bool autoAdd)
        {
            MyExtensibilitySettings extSettings = new MyExtensibilitySettings("NotExistedPath");
            Mock<Project> projectMock = CreateProjectMock(PROJECTKIND_VB, CUSTOMDATASIGNATURE_VB,
                new Mock<Template>[] { Util.CreateTemplateMockSample1() });
            if (autoAdd)
            {
                extSettings.SetAssemblyAutoAdd(Util.ASMNAME_VBRUN9, true);
            }
            else
            {
                extSettings.SetAssemblyAutoRemove(Util.ASMNAME_VBRUN9, true);
            }
        }
private void MyExtSettingsSetAssemblyWithNotExistedPath ( bool autoAdd ) { MyExtensibilitySettings extSettings = new MyExtensibilitySettings ( " " ) ; Mock < Project > projectMock = CreateProjectMock ( PROJECTKIND_VB , CUSTOMDATASIGNATURE_VB , new Mock < Template > [ ] { Util . CreateTemplateMockSample1 ( ) } ) ; if ( autoAdd ) { extSettings . SetAssemblyAutoAdd ( Util . ASMNAME_VBRUN9 , true ) ; } else { extSettings . SetAssemblyAutoRemove ( Util . ASMNAME_VBRUN9 , true ) ; } }
Helper method for the 2 tests above.
Helper method for the 2 tests above .
autoAdd
bool