runelite-client: fix plugin manager test

loadCorePlugins doesn't throw anymore when a plugin fails to load, just logs
This commit is contained in:
Adam
2018-01-11 18:59:04 -05:00
parent d6f7075870
commit 948f31769f
2 changed files with 74 additions and 3 deletions

View File

@@ -24,6 +24,7 @@
*/
package net.runelite.client;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.eventbus.EventBus;
import com.google.inject.Guice;
import com.google.inject.Inject;
@@ -170,6 +171,18 @@ public class RuneLite
this.gui = gui;
}
@VisibleForTesting
public void setClient(Client client)
{
this.client = client;
}
@VisibleForTesting
public void setNotifier(Notifier notifier)
{
this.notifier = notifier;
}
public static Injector getInjector()
{
return injector;