You are here

public static function i18n_Strings_Test::stringCreateArray in Internationalization 6

Create a bunch of random strings to test the API

1 call to i18n_Strings_Test::stringCreateArray()
i18n_Strings_Test::stringCreateAll in tests/i18n_strings.test
Create strings for all languages

File

tests/i18n_strings.test, line 70

Class

i18n_Strings_Test

Code

public static function stringCreateArray($number = 10, $length = 100) {
  for ($i = 1; $i <= $number; $i++) {
    $strings[$i] = self::randomName($length);
  }
  return $strings;
}