mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Refactor Integration Tests
This commit is contained in:
@@ -8,6 +8,7 @@ import org.briarproject.api.db.DbException;
|
||||
import org.briarproject.api.messaging.ConversationManager.ConversationClient;
|
||||
import org.briarproject.api.nullsafety.NotNullByDefault;
|
||||
import org.briarproject.api.sync.ClientId;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
@@ -20,7 +21,7 @@ public interface IntroductionManager extends ConversationClient {
|
||||
/**
|
||||
* sends two initial introduction messages
|
||||
*/
|
||||
void makeIntroduction(Contact c1, Contact c2, String msg,
|
||||
void makeIntroduction(Contact c1, Contact c2, @Nullable String msg,
|
||||
final long timestamp)
|
||||
throws DbException, FormatException;
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ import org.briarproject.api.db.DbException;
|
||||
import org.briarproject.api.messaging.ConversationManager.ConversationClient;
|
||||
import org.briarproject.api.nullsafety.NotNullByDefault;
|
||||
import org.briarproject.api.sync.GroupId;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
@@ -19,7 +20,7 @@ public interface SharingManager<S extends Shareable>
|
||||
* and sends an optional message along with it.
|
||||
*/
|
||||
void sendInvitation(GroupId groupId, ContactId contactId,
|
||||
String message) throws DbException;
|
||||
@Nullable String message) throws DbException;
|
||||
|
||||
/**
|
||||
* Responds to a pending group invitation
|
||||
|
||||
Reference in New Issue
Block a user