コード例 #1
0
 public IdentityLinkUserManager_Tests()
 {
     UserRepository             = GetRequiredService <IIdentityUserRepository>();
     IdentityLinkUserRepository = GetRequiredService <IIdentityLinkUserRepository>();
     IdentityLinkUserManager    = GetRequiredService <IdentityLinkUserManager>();
     TestData = GetRequiredService <IdentityTestData>();
 }
コード例 #2
0
 public IdentityRoleManager_Tests()
 {
     _identityRoleManager    = GetRequiredService <IdentityRoleManager>();
     _identityRoleRepository = GetRequiredService <IIdentityRoleRepository>();
     _lookupNormalizer       = GetRequiredService <ILookupNormalizer>();
     _testData = GetRequiredService <IdentityTestData>();
 }
コード例 #3
0
 public AbpIdentityTestDataBuilder(
     IGuidGenerator guidGenerator,
     IIdentityUserRepository userRepository,
     IIdentityClaimTypeRepository identityClaimTypeRepository,
     IIdentityRoleRepository roleRepository,
     IOrganizationUnitRepository organizationUnitRepository,
     IIdentitySecurityLogRepository identitySecurityLogRepository,
     ILookupNormalizer lookupNormalizer,
     IdentityTestData testData,
     OrganizationUnitManager organizationUnitManager,
     IIdentityLinkUserRepository identityLinkUserRepository,
     IdentityLinkUserManager identityLinkUserManager)
 {
     _guidGenerator  = guidGenerator;
     _userRepository = userRepository;
     _identityClaimTypeRepository = identityClaimTypeRepository;
     _roleRepository                = roleRepository;
     _lookupNormalizer              = lookupNormalizer;
     _testData                      = testData;
     _organizationUnitRepository    = organizationUnitRepository;
     _organizationUnitManager       = organizationUnitManager;
     _identityLinkUserRepository    = identityLinkUserRepository;
     _identityLinkUserManager       = identityLinkUserManager;
     _identitySecurityLogRepository = identitySecurityLogRepository;
 }
コード例 #4
0
 public ProfileAppService_Tests()
 {
     _profileAppService = GetRequiredService <IProfileAppService>();
     _userRepository    = GetRequiredService <IIdentityUserRepository>();
     _signInManager     = GetRequiredService <SignInManager <IdentityUser> >();
     _testData          = GetRequiredService <IdentityTestData>();
 }
コード例 #5
0
 public IdentityUserStore_Tests()
 {
     _identityUserStore = GetRequiredService <IdentityUserStore>();
     _lookupNormalizer  = GetRequiredService <ILookupNormalizer>();
     _userRepository    = GetRequiredService <IIdentityUserRepository>();
     _testData          = GetRequiredService <IdentityTestData>();
     _unitOfWorkManager = GetRequiredService <IUnitOfWorkManager>();
 }
コード例 #6
0
 public IdentityUserManager_Tests()
 {
     _identityUserManager        = GetRequiredService <IdentityUserManager>();
     _identityUserRepository     = GetRequiredService <IIdentityUserRepository>();
     _identityRoleRepository     = GetRequiredService <IIdentityRoleRepository>();
     _organizationUnitRepository = GetRequiredService <IOrganizationUnitRepository>();
     _lookupNormalizer           = GetRequiredService <ILookupNormalizer>();
     _testData          = GetRequiredService <IdentityTestData>();
     _unitOfWorkManager = GetRequiredService <IUnitOfWorkManager>();
 }
コード例 #7
0
 public OrganizationUnitManager_Tests()
 {
     _organizationUnitManager    = GetRequiredService <OrganizationUnitManager>();
     _organizationUnitRepository = GetRequiredService <IOrganizationUnitRepository>();
     _identityRoleRepository     = GetRequiredService <IIdentityRoleRepository>();
     _lookupNormalizer           = GetRequiredService <ILookupNormalizer>();
     _testData          = GetRequiredService <IdentityTestData>();
     _unitOfWorkManager = GetRequiredService <IUnitOfWorkManager>();
     _guidGenerator     = GetService <IGuidGenerator>();
 }
コード例 #8
0
 public AbpIdentityTestDataBuilder(
     IGuidGenerator guidGenerator,
     IIdentityUserRepository userRepository,
     IIdentityRoleRepository roleRepository,
     ILookupNormalizer lookupNormalizer,
     IdentityTestData testData)
 {
     _guidGenerator    = guidGenerator;
     _userRepository   = userRepository;
     _roleRepository   = roleRepository;
     _lookupNormalizer = lookupNormalizer;
     _testData         = testData;
 }
コード例 #9
0
 public IdenityClaimTypeManager_Tests()
 {
     _identityClaimTypeRepository = GetRequiredService <IIdentityClaimTypeRepository>();
     _claimTypeManager            = GetRequiredService <IdenityClaimTypeManager>();
     _testData = GetRequiredService <IdentityTestData>();
 }
コード例 #10
0
 public ProfileAppService_Tests()
 {
     _profileAppService = GetRequiredService <IProfileAppService>();
     _testData          = GetRequiredService <IdentityTestData>();
 }
コード例 #11
0
 public AbpUserClaimsPrincipalFactory_Tests()
 {
     _identityUserManager           = GetRequiredService <IdentityUserManager>();
     _abpUserClaimsPrincipalFactory = GetRequiredService <AbpUserClaimsPrincipalFactory>();
     _testData = GetRequiredService <IdentityTestData>();
 }
コード例 #12
0
 public UserRoleFinder_Tests()
 {
     _userRoleFinder = GetRequiredService <IUserRoleFinder>();
     _testData       = GetRequiredService <IdentityTestData>();
 }
コード例 #13
0
 public IdentityUserAppService_Tests()
 {
     _userAppService = GetRequiredService <IIdentityUserAppService>();
     _userRepository = GetRequiredService <IIdentityUserRepository>();
     _testData       = GetRequiredService <IdentityTestData>();
 }
コード例 #14
0
 protected IdentitySecurityLogRepository_Tests()
 {
     RoleRepository = GetRequiredService <IIdentitySecurityLogRepository>();
     TestData       = GetRequiredService <IdentityTestData>();
 }