miniBatch.setWalEdit(5, new WALEdit()); fail("Should throw Exception while accessing out of range"); } catch (ArrayIndexOutOfBoundsException e) { retCodeDetails, walEditsFromCoprocessors, 7, 10, 3); try { miniBatch.setWalEdit(-1, new WALEdit()); fail("Should throw Exception while accessing out of range"); } catch (ArrayIndexOutOfBoundsException e) { assertEquals(OperationStatus.SUCCESS, retCodeDetails[8]); WALEdit wal = new WALEdit(); miniBatch.setWalEdit(0, wal); assertEquals(wal, walEditsFromCoprocessors[7]);
if (edit == null) { edit = new WALEdit(); miniBatchOp.setWalEdit(0, edit);
if (edit == null) { edit = new WALEdit(); miniBatchOp.setWalEdit(0, edit);
if (edit == null) { edit = new WALEdit(); miniBatchOp.setWalEdit(0, edit);
miniBatch.setWalEdit(5, new WALEdit()); fail("Should throw Exception while accessing out of range"); } catch (ArrayIndexOutOfBoundsException e) { retCodeDetails, walEditsFromCoprocessors, 7, 10, 3); try { miniBatch.setWalEdit(-1, new WALEdit()); fail("Should throw Exception while accessing out of range"); } catch (ArrayIndexOutOfBoundsException e) { assertEquals(OperationStatus.SUCCESS, retCodeDetails[8]); WALEdit wal = new WALEdit(); miniBatch.setWalEdit(0, wal); assertEquals(wal, walEditsFromCoprocessors[7]);