mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Plugin manager must add transports to the DB before activating them.
This commit is contained in:
@@ -54,6 +54,8 @@ public class PluginManagerImplTest extends BriarTestCase {
|
||||
will(returnValue(Arrays.asList(removableDrive)));
|
||||
oneOf(duplexPluginConfig).getFactories();
|
||||
will(returnValue(Arrays.asList(lanTcp)));
|
||||
exactly(2).of(db).addTransport(with(any(TransportId.class)));
|
||||
will(returnValue(true));
|
||||
oneOf(poller).start(with(any(Collection.class)));
|
||||
allowing(db).getConfig(with(any(TransportId.class)));
|
||||
will(returnValue(new TransportConfig()));
|
||||
|
||||
Reference in New Issue
Block a user