4 overrides of CreateTestRole
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (3)
Microsoft.AspNetCore.Identity.InMemory.Test (1)
20 references to CreateTestRole
Microsoft.AspNetCore.Identity.Specification.Tests (20)
IdentitySpecificationTestBase.cs (20)
132var role = CreateTestRole(roleName, useRoleNamePrefixAsRoleName: true);
169var role = CreateTestRole("blocked");
186var role = CreateTestRole("blocked");
201var role = CreateTestRole("poorguy");
219var role = CreateTestRole(roleName, useRoleNamePrefixAsRoleName: true);
235var role = CreateTestRole("ClaimsAddRemove");
236var roleSafe = CreateTestRole("ClaimsAdd");
274var role = CreateTestRole("FindByIdAsync");
289var role = CreateTestRole(roleName, useRoleNamePrefixAsRoleName: true);
305var role = CreateTestRole(roleName, useRoleNamePrefixAsRoleName: true);
347var role = CreateTestRole(roleName, useRoleNamePrefixAsRoleName: true);
351var role2 = CreateTestRole(roleName, useRoleNamePrefixAsRoleName: true);
366var role = CreateTestRole(roleName, useRoleNamePrefixAsRoleName: true);
456var r = CreateTestRole("r1");
482var role = CreateTestRole(roleName, useRoleNamePrefixAsRoleName: true);
502var role = CreateTestRole(roleName, useRoleNamePrefixAsRoleName: true);
523var role = CreateTestRole(roleName, useRoleNamePrefixAsRoleName: true);
541var role = CreateTestRole(roleName, useRoleNamePrefixAsRoleName: true);
555var role = CreateTestRole(roleName, useRoleNamePrefixAsRoleName: true);
603roles.Add(CreateTestRole(namePrefix + i));