public void ClearCurrentUserCache_IfCacheExists_RemovesCacheDirectory() { var cacheDir = CachingPluginLoader.GetCurrentUserPluginCacheDir(); CachingPluginLoader.ClearCurrentUserPluginCache(); Assert.IsFalse(Directory.Exists(cacheDir)); }
/// <inheritdoc /> public override int Execute(UtilityCommandContext context, object arguments) { context.Logger.Log(LogSeverity.Important, "Clearing the current user's plugin cache."); CachingPluginLoader.ClearCurrentUserPluginCache(); return(0); }