Lines Matching defs:KEYS
49 private static final String[] KEYS = {KEY1, KEY2, KEY3, KEY4};
104 for(int i = 0; i < KEYS.length; i++) {
105 writeEntity(bdo, KEYS[i], DATA[i].getBytes());
114 readAndVerifyEntity(bdi, KEYS[count], DATA[count].getBytes());
117 assertEquals("four entities in this stream", KEYS.length, count);
125 for(int i = 0; i < KEYS.length; i++) {
126 deleteEntity(bdo, KEYS[i]);
135 readAndVerifyDeletedEntity(bdi, KEYS[count]);
138 assertEquals("four deletes in this stream", KEYS.length, count);
148 deleteEntity(bdo, KEYS[i]); i++;
149 writeEntity(bdo, KEYS[i], DATA[i].getBytes()); i++;
150 writeEntity(bdo, KEYS[i], DATA[i].getBytes()); i++;
151 deleteEntity(bdo, KEYS[i]); i++;
159 readAndVerifyDeletedEntity(bdi, KEYS[out]); out++;
161 readAndVerifyEntity(bdi, KEYS[out], DATA[out].getBytes()); out++;
163 readAndVerifyEntity(bdi, KEYS[out], DATA[out].getBytes()); out++;
165 readAndVerifyDeletedEntity(bdi, KEYS[out]); out++;