105106107108109110111112113114115
assertEquals(blockSize, 1 + block.getHigh() - block.getLow()); nextLow = block.getHigh() + 1; } idm.stop(); } public void test2() throws Exception { IDManager idm = new IDManager("test_counter2", 100, pm);
120121122123124125126127128129130
long id = idm.getID(); assertEquals(i, id); } idm.stop(); } // Package protected --------------------------------------------- // Protected -----------------------------------------------------
106107108109110111112113114115116
121122123124125126127128129130131