mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 02:39:05 +01:00
Assert that IntroductionManager return true for canIntroduce()
This commit is contained in:
committed by
Torsten Grote
parent
21348d5557
commit
950db5a87a
@@ -17,6 +17,7 @@ import org.briarproject.briar.api.introduction.IntroductionResponse;
|
||||
import org.briarproject.briar.api.introduction.event.IntroductionResponseReceivedEvent;
|
||||
import org.briarproject.briar.autodelete.AbstractAutoDeleteTest;
|
||||
import org.briarproject.briar.test.BriarIntegrationTestComponent;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
@@ -399,8 +400,14 @@ public class AutoDeleteIntegrationTest extends AbstractAutoDeleteTest {
|
||||
// FIRST CYCLE
|
||||
introduceAndAutoDecline();
|
||||
|
||||
Assert.assertTrue(c0.getIntroductionManager()
|
||||
.canIntroduce(contact1From0, contact2From0));
|
||||
|
||||
// SECOND CYCLE
|
||||
introduceAndAutoDecline();
|
||||
|
||||
Assert.assertTrue(c0.getIntroductionManager()
|
||||
.canIntroduce(contact1From0, contact2From0));
|
||||
}
|
||||
|
||||
private void introduceAndAutoDecline() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user