public void setUp() { ServiceManager.bootstrap(); this.provisioner = (Provisioner) ServiceManager.locate("security://Provisioner"); this.identityController = (IdentityController) ServiceManager.locate("security://IdentityController"); this.groupController = (GroupController) ServiceManager.locate("security://GroupController"); this.deviceController = (DeviceController) ServiceManager.locate("security://DeviceController"); }
protected void setUp() throws Exception { ServiceManager.bootstrap(); this.runner = (MobileBeanRunner) ServiceManager.locate("testMobileBeanSpec://mobileBeanRunner"); this.runner.setApp("testApp"); this.ticketConnector = (TicketConnector) ServiceManager.locate("testMobileBeanSpec://TicketConnector"); this.serverSyncEngine = (ServerSyncEngine) ServiceManager.locate("synchronizer://ServerSyncEngine"); this.dataGenerator = (MockDataGenerator) ServiceManager.locate("testMobileBeanSpec://MockDataGenerator"); this.dataGenerator.generatePersistentData(); this.runner.activateDevice(); this.printDeviceData(); this.printServerData(); }
protected void tearDown() throws Exception { this.printDeviceData(); this.printServerData(); ServiceManager.shutdown(); }
public void tearDown() { ServiceManager.shutdown(); }