}
robot.drop(c2, c2.getWidth()/2, c2.getHeight()/2);
timer.reset();
while (!c1.dragExited || !c2.dragEntered
|| !c2.dropAccepted || !c1.dragEnded) {
if (timer.elapsed() > EVENT_GENERATION_DELAY) {
assertTrue("Drag never left drag source", c1.dragExited);
assertTrue("Drag never entered drop target",
c2.dragEntered);
assertTrue("Drag never ended", c1.dragEnded);
assertTrue("Drag not accepted", c2.dropAccepted);