7 calls to WebTestBase::drupalCreateRole()

AccessTest::setUp in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/AccessTest.php
Sets up a Drupal site for running functional and integration tests.
AccessTestBase::setUp in drupal/core/modules/user/lib/Drupal/user/Tests/Views/AccessTestBase.php
Sets up a Drupal site for running functional and integration tests.
HandlerFieldRoleTest::testRole in drupal/core/modules/user/lib/Drupal/user/Tests/Views/HandlerFieldRoleTest.php
UserAdminListingTest::testUserListing in drupal/core/modules/user/lib/Drupal/user/Tests/UserAdminListingTest.php
Tests the listing.
UserRolesAssignmentTest::testAssignAndRemoveRole in drupal/core/modules/user/lib/Drupal/user/Tests/UserRolesAssignmentTest.php
Tests that a user can be assigned a role and that the role can be removed again.
UserRolesAssignmentTest::testCreateUserWithRole in drupal/core/modules/user/lib/Drupal/user/Tests/UserRolesAssignmentTest.php
Tests that when creating a user the role can be assigned. And that it can be removed again.
WebTestBase::drupalCreateUser in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Create a user with a given set of permissions.