public void testMemberAttributeDefinitionJDBC() { AttributeMap correctMap = new AttributeMap(); correctMap.setAttribute("testMemberAttributeDefinitionJDBC", SubjectTestHelper.SUBJ0.getId()); runAttributeDefinitionTest( "testAll", groupA.getName(), correctMap, "testMemberAttributeDefinitionJDBC"); }
public void testSubjectAttributeDefinitionHasViewer() { groupA.grantPriv(SubjectTestHelper.SUBJ0, AccessPrivilege.VIEW); AttributeMap correctMap = new AttributeMap(); correctMap.setAttribute( "testSubjectAttributeDefinitionHasViewer", SubjectTestHelper.SUBJ0.getName()); runAttributeDefinitionTest( "testAll", groupA.getName(), correctMap, "testSubjectAttributeDefinitionHasViewer"); }