class RolesRidTest

Tests the roles argument handler.

Hierarchy

  • class \Drupal\Tests\UnitTestCase extends \Drupal\Tests\PHPUnit_Framework_TestCase

Expanded class hierarchy of RolesRidTest

See also

\Drupal\user\Plugin\views\argument\RolesRid

File

drupal/core/modules/user/tests/Drupal/Tests/user/Views/Argument/RolesRidTest.php, line 20
Contains \Drupal\Tests\user\Views\Argument\RolesRidTest.

Namespace

Drupal\Tests\user\Views\Argument
View source

Members

Namesort descending Modifiers Type Description Overrides
RolesRidTest::$entityInfo public static property Entity info used by the test.
RolesRidTest::getInfo public static function This method exists to support the simpletest UI runner. Overrides UnitTestCase::getInfo
RolesRidTest::testTitleQuery public function Tests the title_query method.
UnitTestCase::getConfigFactoryStub public function Returns a stub config factory that behaves according to the passed in array.
UnitTestCase::getConfigStorageStub public function Returns a stub config storage that returns the supplied configuration.
UnitTestCase::randomName public static function Generates a random string containing letters and numbers.