Package org.sdnplatform.sync.test

Examples of org.sdnplatform.sync.test.MockSyncService


    @Override
    @Before
    public void setUp() throws Exception {
        super.setUp();

        mockSyncService = new MockSyncService();

        // Module loading stuff
        FloodlightModuleContext fmc = new FloodlightModuleContext();
        RestApiServer restApi = new RestApiServer();
        deviceService = new MockDeviceManager();
View Full Code Here


        threadPool = new MockThreadPoolService();
        deviceManager = new MockDeviceManager();
        flowReconcileMgr = new FlowReconcileManager();
        routingEngine = createMock(IRoutingService.class);
        topology = createMock(ITopologyService.class);
        mockSyncService = new MockSyncService();
        DefaultEntityClassifier entityClassifier = new DefaultEntityClassifier();


        FloodlightModuleContext fmc = new FloodlightModuleContext();
        fmc.addService(IFloodlightProviderService.class,
View Full Code Here

    }

    @Override
    public void init(FloodlightModuleContext fmc) throws FloodlightModuleException {
        super.init(fmc);
        setSyncServiceIfNotSet(new MockSyncService());
    }
View Full Code Here

        topology = createMock(ITopologyService.class);
        routingEngine = createMock(IRoutingService.class);
        restApi = new RestApiServer();
        sfp = new StaticFlowEntryPusher();
        storage = new MemoryStorageSource(); //dependency for sfp
        mockSyncService = new MockSyncService();

        fmc.addService(IRestApiService.class, restApi);
        fmc.addService(IFloodlightProviderService.class, getMockFloodlightProvider());
        fmc.addService(IEntityClassifierService.class, entityClassifier);
        fmc.addService(IFlowReconcileService.class, frm);
View Full Code Here

    }

    public void doSetUp(Role initialRole) throws Exception {
        super.setUp();

        this.syncService = new MockSyncService();

        FloodlightModuleContext fmc = new FloodlightModuleContext();
        RestApiServer restApi = new RestApiServer();
        MockThreadPoolService tp = new MockThreadPoolService();
        ITopologyService topology = createMock(ITopologyService.class);
View Full Code Here

        fmc.addService(IDebugEventService.class, debugEventService);

        tp = new MockThreadPoolService();
        fmc.addService(IThreadPoolService.class, tp);

        syncService = new MockSyncService();
        fmc.addService(ISyncService.class, syncService);



        ppt.init(fmc);
View Full Code Here

TOP

Related Classes of org.sdnplatform.sync.test.MockSyncService

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.