Пример #1
0
  public void testMemberAttributeDefinitionJDBC() {

    AttributeMap correctMap = new AttributeMap();
    correctMap.setAttribute("testMemberAttributeDefinitionJDBC", SubjectTestHelper.SUBJ0.getId());

    runAttributeDefinitionTest(
        "testAll", groupA.getName(), correctMap, "testMemberAttributeDefinitionJDBC");
  }
Пример #2
0
  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");
  }