private void CreatePullAndTest(int docCount, RemoteDatabase db, Action<Replication> tester) { db.AddDocuments(20, false); var pull = database.CreatePullReplication(db.RemoteUri); RunReplication(pull); WriteDebug("Document count at end {0}", database.GetDocumentCount()); tester(pull); }
private void CreatePullAndTest(int docCount, RemoteDatabase db, Action<Replication> tester) { db.AddDocuments(20, false); var pull = database.CreatePullReplication(db.RemoteUri); RunReplication(pull); Log.D("TestPullManyDocuments", "Document count at end {0}", database.DocumentCount); tester(pull); }