Home | History | Annotate | Download | only in shadows

Lines Matching refs:result

17     SyncResult result = new SyncResult();
18 assertThat(result.stats).isNotNull();
23 SyncResult result = new SyncResult();
24 assertFalse(result.hasSoftError());
25 result.stats.numIoExceptions++;
26 assertTrue(result.hasSoftError());
27 assertTrue(result.hasError());
32 SyncResult result = new SyncResult();
33 assertFalse(result.hasHardError());
34 result.stats.numAuthExceptions++;
35 assertTrue(result.hasHardError());
36 assertTrue(result.hasError());
41 SyncResult result = new SyncResult();
42 assertFalse(result.madeSomeProgress());
43 result.stats.numInserts++;
44 assertTrue(result.madeSomeProgress());
49 SyncResult result = new SyncResult();
50 result.moreRecordsToGet = true;
51 result.stats.numInserts++;
52 result.clear();
53 assertFalse(result.moreRecordsToGet);
54 assertThat(result.stats.numInserts).isEqualTo(0L);