Package com.proofpoint.discovery.client.testing

Examples of com.proofpoint.discovery.client.testing.TestingDiscoveryModule


    public void testReportingModule()
    {
        Guice.createInjector(
                new ApplicationNameModule("test-application"),
                new TestingNodeModule(),
                new TestingDiscoveryModule(),
                new TestingMBeanModule(),
                new ConfigurationModule(new ConfigurationFactory(ImmutableMap.<String, String>of())),
                new JsonModule(),
                new ReportingModule(),
                new ReportingClientModule());
View Full Code Here


    {
        injector = Guice.createInjector(
                new ApplicationNameModule("test-application"),
                new ConfigurationModule(new ConfigurationFactory(ImmutableMap.<String, String>of())),
                new TestingNodeModule(),
                new TestingDiscoveryModule(),
                new TestingMBeanModule(),
                new ReportingModule(),
                new Module()
                {
                    @Override
View Full Code Here

    {
        injector = Guice.createInjector(
                new ApplicationNameModule("test-application"),
                new ConfigurationModule(new ConfigurationFactory(ImmutableMap.<String, String>of())),
                new TestingNodeModule(),
                new TestingDiscoveryModule(),
                new TestingMBeanModule(),
                new ReportingModule(),
                new Module()
                {
                    @Override
View Full Code Here

                URI.create("https://example.com:4444")
        );

        Injector injector = Guice.createInjector(
                new ApplicationNameModule("test-application"),
                new TestingDiscoveryModule(),
                new TestingMBeanModule(),
                new ReportingModule(),
                new Module()
                {
                    @Override
View Full Code Here

    private Injector createInjector(final StaticAnnouncementHttpServerInfoImpl httpServerInfo)
    {
        return Guice.createInjector(
                new ApplicationNameModule("test-application"),
                new TestingDiscoveryModule(),
                new TestingMBeanModule(),
                new ReportingModule(),
                new Module()
                {
                    @Override
View Full Code Here

    {
        return Bootstrap.bootstrapApplication("test-application")
                .doNotInitializeLogging()
                .withModules(
                        new TestingNodeModule(),
                        new TestingDiscoveryModule(),
                        new TestingMBeanModule(),
                        new ReportingModule(),
                        module
                )
                .quiet()
View Full Code Here

TOP

Related Classes of com.proofpoint.discovery.client.testing.TestingDiscoveryModule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.