Break out keys database and accounts database

This commit is contained in:
Moxie Marlinspike
2019-06-11 11:51:47 -07:00
parent fa2d838e60
commit 5b69ff7e94
12 changed files with 248 additions and 25 deletions

View File

@@ -26,6 +26,7 @@ import org.whispersystems.textsecuregcm.storage.AccountDatabaseCrawlerRestartExc
import org.junit.Before;
import org.junit.Test;
import org.whispersystems.textsecuregcm.storage.AccountsManager;
import java.util.Arrays;
import java.util.Collections;
@@ -50,7 +51,7 @@ public class AccountDatabaseCrawlerTest {
private final Account account1 = mock(Account.class);
private final Account account2 = mock(Account.class);
private final Accounts accounts = mock(Accounts.class);
private final AccountsManager accounts = mock(AccountsManager.class);
private final AccountDatabaseCrawlerListener listener = mock(AccountDatabaseCrawlerListener.class);
private final AccountDatabaseCrawlerCache cache = mock(AccountDatabaseCrawlerCache.class);