public function TestBaseTest::providerRandomItems in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/simpletest/tests/src/Unit/TestBaseTest.php \Drupal\Tests\simpletest\Unit\TestBaseTest::providerRandomItems()
Provides data for testRandomString() and others.
Return value
array
- The number of items (characters, object properties) we expect any of the random functions to give us.
File
- core/
modules/ simpletest/ tests/ src/ Unit/ TestBaseTest.php, line 98 - Contains \Drupal\Tests\simpletest\Unit\TestBaseTest.
Class
- TestBaseTest
- @coversDefaultClass \Drupal\simpletest\TestBase @group simpletest
Namespace
Drupal\Tests\simpletest\UnitCode
public function providerRandomItems() {
return [
[
NULL,
],
[
0,
],
[
1,
],
[
2,
],
[
3,
],
[
4,
],
[
7,
],
];
}