function RegistryParseFileTestCase::setUp

Overrides DrupalWebTestCase::setUp

File

modules/simpletest/tests/registry.test, line 16

Class

RegistryParseFileTestCase

Code

function setUp() {
    $chrs = hash('sha256', microtime() . mt_rand());
    $this->fileName = 'registry_test_' . substr($chrs, 0, 16);
    $this->className = 'registry_test_class' . substr($chrs, 16, 16);
    $this->interfaceName = 'registry_test_interface' . substr($chrs, 32, 16);
    parent::setUp();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.