![JAR search and dependency download from the Maven repository](/logo.png)
io.toast.tk.runtime.module.EngineModule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of toast-tk-runtime Show documentation
Show all versions of toast-tk-runtime Show documentation
Toast Toolkit Runtime Module contains covers:
- Test Source Adapters
- Test Parsing
- Test Execution
- Test Report generation
The newest version!
package io.toast.tk.runtime.module;
import com.google.common.eventbus.EventBus;
import com.google.inject.AbstractModule;
import com.google.inject.Singleton;
import io.toast.tk.core.annotation.EngineEventBus;
import io.toast.tk.runtime.ActionItemRepository;
import io.toast.tk.runtime.IActionItemRepository;
import io.toast.tk.runtime.report.*;
public class EngineModule extends AbstractModule {
@Override
protected void configure() {
bind(EventBus.class).annotatedWith(EngineEventBus.class).to(EventBus.class).in(Singleton.class);
bind(IActionItemRepository.class).to(ActionItemRepository.class).in(Singleton.class);
bind(IHTMLReportGenerator.class).to(ThymeLeafHTMLReporter.class);
bind(IProjectHtmlReportGenerator.class).to(ThymeLeafProjectHTMLReporter.class);
bind(IMailReportSender.class).to(MailReportSender.class);
install(new RunnerModule());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy