@Test(timeout = 1000L) public void loadsExistingConfigs() { boxSyncConfigs.add(config); startDaemon(); waitForSyncerStart(); assertTrue(daemon.getSyncers().get(0) instanceof FakeSyncer); assertSame(config, ((FakeSyncer)daemon.getSyncers().get(0)).config); }
protected List<Syncer> getSyncers() { return syncers; }
SyncDaemon implements Runnable { protected List<Syncer> getSyncers() { return syncers; } }
SyncDaemon implements Runnable { protected List<Syncer> getSyncers() { return syncers; } SyncDaemon(ObservableList<BoxSyncConfig> configs, SyncerFactory syncerFactory); }
SyncDaemon implements Runnable { protected List<Syncer> getSyncers() { return syncers; } SyncDaemon(ObservableList<BoxSyncConfig> configs, SyncerFactory syncerFactory); @Override void run(); void stop(); void restart(BoxSyncConfig config); }
SyncDaemon implements Runnable { protected List<Syncer> getSyncers() { return syncers; } SyncDaemon(ObservableList<BoxSyncConfig> configs, SyncerFactory syncerFactory); @Override void run(); void stop(); void restart(BoxSyncConfig config);  }