106107108109110111112113114115116
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);
121122123124125126127128129130131
long id = idm.getID(); assertEquals(i, id); } idm.stop(); } // Package protected --------------------------------------------- // Protected -----------------------------------------------------