use of org.bukkit.event.Listener in project AuthMeReloaded by AuthMe.
the class ListenerConsistencyTest method collectListenerClasses.
@BeforeClass
public static void collectListenerClasses() {
ClassCollector collector = new ClassCollector(TestHelper.SOURCES_FOLDER, TestHelper.PROJECT_ROOT + "listener");
classes = collector.collectClasses(Listener.class);
if (classes.isEmpty()) {
throw new IllegalStateException("Did not find any Listener classes. Is the folder correct?");
}
}
Aggregations