public void GetByScorecard_HasAuthentcationAtributeWhichRoleIsNormal_ReturnsTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(ScorecardCommentService), "GetByScorecard", Role.Normal));
 }
Example #2
0
 public void DeleteMember_HasAuthentcationAtributeWhichRoleIsSuper_ReturnsTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(MembershipService), "DeleteMember", Role.Super));
 }
Example #3
0
 public void Create_HasAuthentcationAtributeWhichRoleIsNormal_ReturnsTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(FeedbackService), "Create", Role.Normal));
 }
 public void DataServiceClass_HasAuthentcationAtributeWhichRoleIsSuper_ReturnTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckTypeHasAuthenticateAttributeAndRolePropertise(typeof(DashboardSharingService), Role.Super));
 }
Example #5
0
 public void AutoImport_HasAuthentcationAtributeWhichRoleIsNormal_ReturnsFalse()
 {
     Assert.IsFalse(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(SpssService), "AutoImport", Role.Normal));
 }
 public void CreateDashboards_HasAuthentcationAtributeWhichRoleIsSuper_ReturnsTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(MenuTilesService), "CreateDashboards", Role.AccountOwner));
 }
 public void GetByCanvas_HasAuthentcationAtributeWhichRoleIsNormal_ReturnsTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(PageService), "GetByCanvas", Role.Normal));
 }
 public void RemoveUserForGroup_HasAuthentcationAtributeWhichRoleIsNormal_ReturnsTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(GroupService), "RemoveUserForGroup", Role.Super));
 }
 public void GetAll_HasAuthentcationAtributeWhichRoleIsNormal_ReturnsTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(DashboardWizardService), "GetAll", Role.Normal));
 }
 public void CopyDataset_HasAuthentcationAtributeWhichRoleIsAccountOwnerReturnsTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(DatasetService), "Copy", Role.AccountOwner));
 }
 public void Create_HasAuthentcationAtributeWhichRoleIsSuper_ReturnsTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(GroupService), "Create", Role.Super));
 }
 public void Export_HasAuthentcationAtributeWhichRoleIsNormal_ReturnsTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(ExportService), "Export", Role.Normal));
 }
 public void Update_HasAuthentcationAtributeWhichRoleIsSuper_ReturnTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(CategoryService), "UpdateCategory", Role.AccountOwner));
 }
 public void Get_HasAuthentcationAtributeWhichRoleIsNormal_ReturnTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(CategoryService), "GetCategoriesByVariable", Role.Normal));
 }
 public void Update_HasAuthentcationAtributeWhichRoleIsSuper_ReturnsTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(ScorecardCommentService), "Update", Role.Super));
 }
 public void RemoveGroupForUser_HasAuthentcationAtributeWhichRoleIsSuper_ReturnsTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(UserService), "RemoveGroupForUser", Role.Super));
 }
 public void GetSubMenusVisibleToUser_HasAuthentcationAtributeWhichRoleIsSuper_ReturnsTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(MenuTilesService), "GetSubMenusVisibleToUser", Role.Super));
 }
Example #18
0
 public void GetVariables_HasAuthentcationAtributeWhichRoleIsSuper_ReturnsTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(SpssService), "GetVariables", Role.AccountOwner));
 }
 public void OptionService_HasAuthentcationAtributeWhichRoleIsNormal_ReturnsTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckTypeHasAuthenticateAttributeAndRolePropertise(typeof(OptionService), Role.Normal));
 }
Example #20
0
 public void AutoImport_HasAuthentcationAtributeWhichRoleIsSystemAdmin_ReturnsTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(SpssService), "AutoImport", Role.SystemAdmin));
 }
 public void Delete_HasAuthentcationAtributeWhichRoleIsSuper_ReturnsTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(PageService), "Delete", Role.AccountOwner));
 }
 public void UpdateIndex_HasAuthentcationAtributeWhichRoleIsSuper_ReturnsTrue()
 {
     Assert.IsTrue(AuthenticationFixtureHelper.CheckMethodHasAuthenticateAttributeAndRolePropertise(typeof(ScorecardSectionService), "UpdateIndex", Role.AccountOwner));
 }