public void SetPluginStatus_RetrievePluginStatus() { ISettingsStorageProviderV40 prov = GetProvider(); //Collectors.SettingsProvider = prov; Assert.IsTrue(prov.GetPluginStatus("My.Test.Plugin"), "GetPluginStatus should return true"); Assert.IsTrue(prov.SetPluginStatus("My.Test.Plugin", true), "SetPluginStatus should return true"); Assert.IsTrue(prov.GetPluginStatus("My.Test.Plugin"), "GetPluginStatus should return true"); Assert.IsTrue(prov.SetPluginStatus("My.Test.Plugin", false), "SetPluginStatus should return true"); Assert.IsFalse(prov.GetPluginStatus("My.Test.Plugin"), "GetPluginStatus should return false"); }
public void GetPluginStatus_InvalidTypeName(string tn) { ISettingsStorageProviderV40 prov = GetProvider(); //Collectors.SettingsProvider = prov; prov.GetPluginStatus(tn); }