Lines Matching refs:i

94         for(int i = 0; i < selections.length; i++) {  in _addSelection()
96 log.println("select object from object relation 'selections["+i+"]'"); in _addSelection()
97 oObj.addSelection(selections[i]); in _addSelection()
99 …log.println("ERROR: could not add selection from object relation 'selections[" + i + "]': " + ex.t… in _addSelection()
103 if (count != (i+1)){ in _addSelection()
105 "is not as expected (" + (i+1) + ") => FAILED"); in _addSelection()
151 for(int i = 0; i < selections.length; i++) { in _removeSelection()
153 log.println("select object from object relation 'selections["+i+"]'"); in _removeSelection()
154 oObj.addSelection(selections[i]); in _removeSelection()
156 …log.println("ERROR: could not add selection from object relation 'selections[" + i + "]': " + ex.t… in _removeSelection()
160 if (count != (i+1)){ in _removeSelection()
162 "is not as expected (" + (i+1) + ") => FAILED"); in _removeSelection()
171 for(int i = 0; i < selections.length; i++) { in _removeSelection()
173 log.println("remove selection for object relation 'selections["+i+"]'"); in _removeSelection()
174 oObj.removeSelection(selections[i]); in _removeSelection()
176 …tln("ERROR: could not remove selection from object relation 'selections[" + i + "]': " + ex.toStri… in _removeSelection()
180 if (count != (oldCount - i - 1)){ in _removeSelection()
182 "is not as expected (" + (oldCount -i -1) + ") => FAILED"); in _removeSelection()
244 for(int i = 0; i < selections.length; i++) { in _clearSelection()
246 log.println("select object from object relation 'selections["+i+"]'"); in _clearSelection()
247 oObj.addSelection(selections[i]); in _clearSelection()
249 …log.println("ERROR: could not add selection from object relation 'selections[" + i + "]': " + ex.t… in _clearSelection()
253 if (count != (i+1)){ in _clearSelection()
255 "is not as expected (" + (i+1) + ") => FAILED"); in _clearSelection()
288 for(int i = 0; i < selections.length; i++) { in _createSelectionEnumeration()
290 log.println("select object from object relation 'selections["+i+"]'"); in _createSelectionEnumeration()
291 oObj.addSelection(selections[i]); in _createSelectionEnumeration()
293 …log.println("ERROR: could not add selection from object relation 'selections[" + i + "]': " + ex.t… in _createSelectionEnumeration()
297 if (count != (i+1)){ in _createSelectionEnumeration()
299 "is not as expected (" + (i+1) + ") => FAILED"); in _createSelectionEnumeration()
308 int i = 0; in _createSelectionEnumeration() local
322 Object shouldElement = selections[i]; in _createSelectionEnumeration()
323 i++; in _createSelectionEnumeration()
331 … log.println("nextElement()-object and expected object 'selections["+i+"]' are equal: "+compRes); in _createSelectionEnumeration()
334 if ((selections[i]) instanceof Object[]){ in _createSelectionEnumeration()
335 if (((Object[])selections[i])[0] instanceof Integer) { in _createSelectionEnumeration()
337 … log.println("Expected: "+((Integer) ((Object[])selections[i])[0]).intValue()); in _createSelectionEnumeration()
361 for(int i = 0; i < selections.length; i++) { in _createReverseSelectionEnumeration()
363 log.println("select object from object relation 'selections["+i+"]'"); in _createReverseSelectionEnumeration()
364 oObj.addSelection(selections[i]); in _createReverseSelectionEnumeration()
366 …log.println("ERROR: could not add selection from object relation 'selections[" + i + "]': " + ex.t… in _createReverseSelectionEnumeration()
370 if (count != (i+1)){ in _createReverseSelectionEnumeration()
372 "is not as expected (" + (i+1) + ") => FAILED"); in _createReverseSelectionEnumeration()
381 int i = selections.length - 1; in _createReverseSelectionEnumeration() local
395 Object shouldElement = selections[i]; in _createReverseSelectionEnumeration()
396 i--; in _createReverseSelectionEnumeration()
404 … log.println("nextElement()-object and expected object 'selections["+i+"]' are equal: "+compRes); in _createReverseSelectionEnumeration()
407 if ((selections[i]) instanceof Object[]){ in _createReverseSelectionEnumeration()
408 if (((Object[])selections[i])[0] instanceof Integer) { in _createReverseSelectionEnumeration()
410 … log.println("Expected: "+((Integer) ((Object[])selections[i])[0]).intValue()); in _createReverseSelectionEnumeration()