Lines Matching defs:ids
180 private static void assertOrder(List<Block> blocks, int... ids) {
181 if (blocks.size() != ids.length) {
182 Assert.fail("Different length of blocks " + Arrays.toString(blocks.toArray()) + " ids:" + Arrays.toString(ids));
185 if (blocks.get(i).getId() != ids[i]) {
186 Assert.fail("Different id for block " + blocks.get(i) + " and associated id " + ids[i]);
191 private static void assertVisited(List<Block> blocks, int... ids) {
192 if (blocks.size() != ids.length) {
193 Assert.fail("Different length of blocks " + Arrays.toString(blocks.toArray()) + " ids:" + Arrays.toString(ids));
197 if (blocks.get(i).getId() == ids[j]) {