You are here

public static function DrupalRemoteTestCase::randomString in SimpleTest 7.2

Add remote prefix.

Overrides DrupalTestCase::randomString

File

./drupal_web_test_case.php, line 3731
Provides DrupalTestCase, DrupalUnitTestCase, and DrupalWebTestCase classes.

Class

DrupalRemoteTestCase
Base class used for writing atomic remote tests.

Code

public static function randomString($length = 8) {
  return self::$REMOTE_PREFIX . parent::randomString($length);
}