Lines Matching refs:expectedTransactionCount
119 int expectedTransactionCount = mUseTransactionDao ? 1 : 0;
121 assertTransactionCount(allEntities, expectedTransactionCount);
137 int expectedTransactionCount = mUseTransactionDao ? 2 : 1;
138 assertTransactionCount(listLiveData.getValue(), expectedTransactionCount);
154 int expectedTransactionCount = mUseTransactionDao ? 2 : 1;
155 assertTransactionCount(allEntities, expectedTransactionCount);
163 int expectedTransactionCount = mUseTransactionDao ? 1 : 0;
168 assertTransactionCount(allEntities, expectedTransactionCount);
176 int expectedTransactionCount = mUseTransactionDao ? 1 : 0;
181 assertTransactionCount(allEntities, expectedTransactionCount);
192 int expectedTransactionCount = mUseTransactionDao ? 1 : 0;
193 assertTransactionCountWithChildren(result, expectedTransactionCount);
228 private void assertTransactionCount(List<Entity1> allEntities, int expectedTransactionCount) {
229 assertThat(sStartedTransactionCount.get(), is(expectedTransactionCount));
232 assertThat(entity1.transactionId, is(expectedTransactionCount));
237 int expectedTransactionCount) {
238 assertThat(sStartedTransactionCount.get(), is(expectedTransactionCount));
241 assertThat(entity1.transactionId, is(expectedTransactionCount));
245 assertThat(child.transactionId, is(expectedTransactionCount));