Lines Matching refs:change

37         $change = reset($changes);
38 $this->assertTrue($change !== null);
40 $hunks = $change->getHunks();
49 $change = reset($changes);
52 $change->getFileType());
56 $change = reset($changes);
57 $hunks = $change->getHunks();
59 $this->assertEqual('right', $change->getCurrentPath());
60 $this->assertEqual('left', $change->getOldPath());
64 $change = reset($changes);
65 $hunks = $change->getHunks();
102 $change = reset($changes);
109 $change->getNewProperties());
114 $change = array_shift($changes);
115 $this->assertEqual(0, count($change->getHunks()));
120 $change->getOldProperties());
125 $change->getNewProperties());
127 $change = array_shift($changes);
128 $this->assertEqual(0, count($change->getHunks()));
133 $change->getOldProperties());
138 $change->getNewProperties());
142 $change = reset($changes);
144 $this->assertEqual(0, count($change->getHunks()));
146 $change->getOldProperties(),
153 $change->getNewProperties());
157 $change = reset($changes);
159 $this->assertEqual(count($change->getHunks()), 0);
162 $change->getOldProperties(),
165 $change->getNewProperties(),
170 $change = reset($changes);
172 $this->assertEqual(count($change->getHunks()), 0);
174 $change->getOldProperties(),
178 $change->getNewProperties(),
191 $change = reset($changes);
193 $this->assertEqual(count($change->getHunks()), 0);
195 $change->getOldProperties(),
199 $change->getNewProperties(),
206 $change = reset($changes);
209 $change->getFileType());
210 $this->assertEqual(0, count($change->getHunks()));
215 $change->getNewProperties());
220 $change = reset($changes);
223 $change->getFileType());
224 $this->assertEqual(count($change->getHunks()), 0);
228 $change = reset($changes);
231 $change->getType());
234 $change->getCurrentPath());
235 $this->assertEqual(1, count($change->getHunks()));
239 $change = reset($changes);
242 $change->getFileType());
243 $this->assertEqual(0, count($change->getHunks()));
247 $change = reset($changes);
248 $this->assertEqual(1, count($change->getHunks()));
253 $change->getOldProperties());
258 $change->getNewProperties());
262 $change = reset($changes);
263 $this->assertEqual(count($change->getHunks()), 0);
268 $change->getOldProperties());
273 $change->getNewProperties());
277 $change = array_shift($changes);
278 $this->assertEqual(0, count($change->getHunks()));
283 $change = array_shift($changes);
284 $this->assertEqual(count($change->getHunks()), 0);
286 $change->getOldPath(),
289 $change->getCurrentPath(),
292 $change = array_shift($changes);
293 $this->assertEqual(count($change->getHunks()), 1);
295 $change->getOldPath(),
298 $change->getCurrentPath(),
310 $change = array_shift($changes);
312 count($change->getHunks()));
314 $change->getType(),
317 $target = $change;
319 $change = array_shift($changes);
320 $this->assertEqual(0, count($change->getHunks()));
323 $change->getType());
326 $change->getCurrentPath(),
329 in_array($target->getCurrentPath(), $change->getAwayPaths()));
333 $change = reset($changes);
336 $change->getType());
339 $change->getCommitHash());
343 $change = reset($changes);
346 $change->getType());
351 $change = array_shift($changes);
352 $this->assertEqual(0, count($change->getHunks()));
355 $change->getType());
358 $change->getCurrentPath());
360 $change = array_shift($changes);
361 $this->assertEqual(0, count($change->getHunks()));
364 $change->getType());
367 $change->getCurrentPath());
373 $change = array_shift($changes);
374 $this->assertEqual(3, count($change->getHunks()));
377 $change->getType());
380 $change->getCurrentPath());
382 $change = array_shift($changes);
383 $this->assertEqual(0, count($change->getHunks()));
386 $change->getType());
389 $change->getCurrentPath());
393 $change = array_shift($changes);
395 $this->assertEqual(0, count($change->getHunks()));
400 $change->getOldProperties());
405 $change->getNewProperties());
409 while ($change = array_shift($changes)) {
410 $this->assertEqual(0, count($change->getHunks()));
422 $change = reset($changes);
425 $change->getType());
428 $change->getCommitHash());
460 , $change->getMetadata('message'));
464 $change = reset($changes);
467 $change->getType());
470 $change->getFileType());
474 $change = reset($changes);
477 $change->getOldPath());
480 $change->getCurrentPath());
485 $change = reset($changes);
488 $change->getType());
491 $change->getFileType());
495 $change = reset($changes);
498 $change->getType());
501 $change->getFileType());
505 $change = array_shift($changes);
508 $change->getType());
512 $change = head($changes);
513 $new_properties = $change->getNewProperties();
520 $change = array_shift($changes);
523 $change->getOldPath());
526 $change->getCurrentPath());
536 $change = head($changes);
539 $change->getCurrentPath());
543 $change = head($changes);
546 $change->getCurrentPath());
559 $change = array_shift($changes);
562 $change->getType());
566 $change = array_shift($changes);
569 $change->getType());
573 $change = array_shift($changes);
576 $change->getType());
587 $change = array_shift($changes);
590 $change->getType());
591 $this->assertEqual('WIP', $change->getMetadata('message'));
593 $change = array_shift($changes);
596 $change->getType());
601 $change = array_shift($changes);
602 $hunks = $change->getHunks();
608 $change = array_shift($changes);
609 $this->assertEqual('file with spaces.txt', $change->getOldPath());
670 $change = reset($changes);
673 array($change->getOldPath(), $change->getCurrentPath()),