Search in sources :

Example 1 with TestImplementationModule

use of org.spongepowered.common.test.inject.TestImplementationModule in project SpongeCommon by SpongePowered.

the class TestMain method main.

public static void main(String[] args) {
    Bootstrap.register();
    SpongeGameRegistry registry = Guice.createInjector(new SpongeModule(), new TestImplementationModule()).getInstance(SpongeGameRegistry.class);
    registry.preRegistryInit();
    registry.preInit();
    registry.init();
// registry.postInit();
}
Also used : SpongeGameRegistry(org.spongepowered.common.registry.SpongeGameRegistry) SpongeModule(org.spongepowered.common.inject.SpongeModule) TestImplementationModule(org.spongepowered.common.test.inject.TestImplementationModule)

Aggregations

SpongeModule (org.spongepowered.common.inject.SpongeModule)1 SpongeGameRegistry (org.spongepowered.common.registry.SpongeGameRegistry)1 TestImplementationModule (org.spongepowered.common.test.inject.TestImplementationModule)1