1 filetransfer.test MockTestConnection::flushCommands()

File

core/modules/simpletest/tests/filetransfer.test, line 155

Class

MockTestConnection
Mock connection object for test case.

Code

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