Class HasPermissionTest

    • Constructor Detail

      • HasPermissionTest

        public HasPermissionTest()
    • Method Detail

      • testReadOnlyPermission

        public void testReadOnlyPermission()
                                    throws Exception
        Tests if Session.hasPermission(String, String) returns
        • true for READ.
        • false for all other actions.
        Throws:
        Exception
      • testReadWritePermission

        public void testReadWritePermission()
                                     throws Exception
        Tests if Session.hasPermission(String, String) returns
        • true for all actions.
        Throws:
        Exception
      • testAdminPermission

        public void testAdminPermission()
                                 throws Exception
        Tests if Session.hasPermission(String, String) returns
        • true for all actions.
        Throws:
        Exception