WIP: Replace session states in the Engine classes

This commit is contained in:
Santiago Torres
2016-05-24 01:41:35 -04:00
parent 89ab4dd04e
commit 62527a62c1
13 changed files with 1584 additions and 513 deletions

View File

@@ -300,7 +300,7 @@ public class IntroductionIntegrationTest extends BriarTestCase {
assertTrue(listener0.response2Received);
// sync first forwarded response
deliverMessage(sync0, contactId0, sync2, contactId2);
deliverMessage(sync0, contactId0, sync2, contactId2, "0 to 2");
// note how the introducer does not forward the second response,
// because after the first decline the protocol finished
@@ -1141,7 +1141,8 @@ public class IntroductionIntegrationTest extends BriarTestCase {
time);
}
}
} catch (DbException | IOException exception) {
} catch (DbException | IOException | NullPointerException exception) {
msgWaiter.rethrow(exception);
eventWaiter.rethrow(exception);
} finally {
eventWaiter.resume();