Home | History | Annotate | Download | only in shadows

Lines Matching refs:result

20         SyncResult result = new SyncResult();
21 assertThat(result.stats, not(nullValue()));
26 SyncResult result = new SyncResult();
27 assertFalse(result.hasSoftError());
28 result.stats.numIoExceptions++;
29 assertTrue(result.hasSoftError());
30 assertTrue(result.hasError());
35 SyncResult result = new SyncResult();
36 assertFalse(result.hasHardError());
37 result.stats.numAuthExceptions++;
38 assertTrue(result.hasHardError());
39 assertTrue(result.hasError());
44 SyncResult result = new SyncResult();
45 assertFalse(result.madeSomeProgress());
46 result.stats.numInserts++;
47 assertTrue(result.madeSomeProgress());
52 SyncResult result = new SyncResult();
53 result.moreRecordsToGet = true;
54 result.stats.numInserts++;
55 result.clear();
56 assertFalse(result.moreRecordsToGet);
57 assertThat(result.stats.numInserts, is(0L));