public async System.Threading.Tasks.Task SaveFilesToIgnore_EmptyState_ConfigAsync()
        {
            await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync();

            await UnitTestUtility.LoadPackageAsync();

            Initialize(string.Empty);
            await IgnoreFilesAsync(IgnoreCommand.kSingleFileToIgnore);

            SettingsHandler.SaveGeneralSettings();

            if (!File.Exists(kGeneralSettingsPath))
            {
                Assert.False(true);
            }

            XmlSerializer serializer           = new XmlSerializer();
            var           generalSettingsModel = serializer.DeserializeFromFile <ClangOptions>(kGeneralSettingsPath);

            var filesToIgnore  = generalSettingsModel.FilesToIgnoreCollection;
            var expectedRestul = string.Join(";", IgnoreCommand.kSingleFileToIgnore);

            SettingsTestUtility.ResetClangGeneralOptionsView();

            Assert.Equal(filesToIgnore, expectedRestul);
        }
        private void Initialize(string ignoreFiles)
        {
            ThreadHelper.ThrowIfNotOnUIThread();
            mDte = (DTE2)ServiceProvider.GlobalProvider.GetService(typeof(DTE));
            SettingsTestUtility.ResetClangGeneralOptionsView();

            mIgnoreCompileCommand         = IgnoreCompileCommand.Instance;
            mGeneralOptions               = SettingsProvider.GeneralSettings;
            mGeneralOptions.FilesToIgnore = ignoreFiles;
        }
        public async System.Threading.Tasks.Task SaveMultipleFilesToIgnore_EmptyState_UIAsync()
        {
            await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync();

            await UnitTestUtility.LoadPackageAsync();

            Initialize(string.Empty);
            await IgnoreFilesAsync(IgnoreCommand.kMultipleFilesToIgnore);

            SettingsHandler.SaveGeneralSettings();

            var filesToIgnore  = mGeneralOptions.FilesToIgnore;
            var expectedRestul = string.Join(";", IgnoreCommand.kMultipleFilesToIgnore);

            SettingsTestUtility.ResetClangGeneralOptionsView();

            Assert.Equal(filesToIgnore, expectedRestul);
        }