protected function setUp() { parent::setUp(); $this->badExtension = 'php'; $this->name = $this->randomMachineName() . '.' . $this->badExtension . '.txt'; $this->nameWithUcExt = $this->randomMachineName() . '.' . strtoupper($this->badExtension) . '.txt'; }
function setUp() { parent::setUp(); $this->bad_extension = 'php'; $this->name = $this->randomName() . '.' . $this->bad_extension . '.txt'; $this->name_with_uc_ext = $this->randomName() . '.' . strtoupper($this->bad_extension) . '.txt'; }
protected function setUp() { parent::setUp(); // Hardcode the location of the simpletest files as it is already known // and shouldn't change, and we don't yet have a way to retrieve their // location from drupal_get_filename() in a cached way. // @todo Remove as part of https://www.drupal.org/node/2186491 $this->path = 'core/modules/simpletest/files'; }
protected function setUp() { parent::setUp(); $this->path = drupal_get_path('module', 'simpletest') . '/files'; }
function setUp() { parent::setUp(); $this->bad_extension = 'php'; $this->name = $this->randomName() . '.' . $this->bad_extension . '.txt'; }