getRecordings() 공개 메소드

Fetch records, filtered by type. Use the StorageInterface::STATUS_* constants to define the type.
public getRecordings ( array $types, boolean $includeTime = true ) : array
$types array Types to filter
$includeTime boolean Flag whether the result time should also be fetched
리턴 array
 private function getPassed()
 {
     return $this->storage->getRecordings(array(StorageInterface::STATUS_PASSED));
 }
 private function sort(TestSuite $suite)
 {
     $sorter = new PrioritySorter($this->storage->getRecordings(array(StorageInterface::STATUS_ERROR, StorageInterface::STATUS_FAILURE, StorageInterface::STATUS_CANCEL, StorageInterface::STATUS_FATAL_ERROR, StorageInterface::STATUS_SKIPPED, StorageInterface::STATUS_INCOMPLETE), false), $this->storage->getRecordings(array(StorageInterface::STATUS_PASSED)));
     $sorter->sort($suite);
 }