All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.thucydides.core.guice.ThucydidesModule Maven / Gradle / Ivy

There is a newer version: 0.9.275
Show newest version
package net.thucydides.core.guice;

import com.google.inject.AbstractModule;
import net.thucydides.core.pages.InternalSystemClock;
import net.thucydides.core.pages.SystemClock;
import net.thucydides.core.reports.json.ColorScheme;
import net.thucydides.core.reports.json.RelativeSizeColorScheme;
import net.thucydides.core.reports.templates.FreeMarkerTemplateManager;
import net.thucydides.core.reports.templates.TemplateManager;
import net.thucydides.core.util.EnvironmentVariables;
import net.thucydides.core.util.SystemEnvironmentVariables;

public class ThucydidesModule extends AbstractModule {

    @Override
    protected void configure() {
        bind(ColorScheme.class).to(RelativeSizeColorScheme.class);
        bind(SystemClock.class).to(InternalSystemClock.class);
        bind(TemplateManager.class).to(FreeMarkerTemplateManager.class);
        bind(EnvironmentVariables.class).to(SystemEnvironmentVariables.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy