public void VerifyImeManifestsAreReturned() { Assert.IsNotEmpty(PluginUtilities.GetPluginManifests()); this.assemblyLocationLoader.Setup(x => x.GetLocation()).Returns(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)); Assert.IsEmpty(PluginUtilities.GetPluginManifests()); }
/// <summary> /// Populates the list of modules /// </summary> private void PopulateModuleList() { if (this.AppSettingsService != null) { var disabledPlugins = this.AppSettingsService.AppSettings.DisabledPlugins; var presentPlugins = PluginUtilities.GetPluginManifests(); foreach (var pluginSetting in presentPlugins) { this.Plugins.Add(new PluginRowViewModel(pluginSetting, disabledPlugins.All(p => p != pluginSetting.ProjectGuid))); } } }
public void VerifyThatPropertiesAreSet() { Assert.AreEqual(PluginUtilities.GetPluginManifests().Count(), this.viewModel.Plugins.Count); }
public void VerifyImeManifestsAreReturned() { Assert.IsNotEmpty(PluginUtilities.GetPluginManifests()); }