You are here

function MockTestConnection::flushCommands in Drupal 7

File

modules/simpletest/tests/filetransfer.test, line 163

Class

MockTestConnection
Mock connection object for test case.

Code

function flushCommands() {
  $out = $this->commandsRun;
  $this->commandsRun = array();
  return $out;
}