org.basex.test.cs
Class PermissionTest

java.lang.Object
  extended by org.basex.test.cs.PermissionTest

public final class PermissionTest
extends Object

This class tests user permissions.

Author:
Workgroup DBIS, University of Konstanz 2005-10, ISC License, Andreas Weiler

Constructor Summary
PermissionTest()
           
 
Method Summary
 void adminPermsNeeded()
          Tests all commands where admin permission is needed.
 void createPermsNeeded()
          Tests all commands where create permission is needed.
 void noPermsNeeded()
          Tests all commands where no permission is needed.
 void readPermsNeeded()
          Tests all commands where read permission is needed.
static void start()
          Starts the server.
static void stop()
          Stops the server.
 void use()
          Tests some usability stuff.
 void writePermsNeeded()
          Tests all commands where write permission is needed.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionTest

public PermissionTest()
Method Detail

start

public static void start()
Starts the server.


noPermsNeeded

public void noPermsNeeded()
Tests all commands where no permission is needed.


readPermsNeeded

public void readPermsNeeded()
Tests all commands where read permission is needed.


writePermsNeeded

public void writePermsNeeded()
Tests all commands where write permission is needed.


createPermsNeeded

public void createPermsNeeded()
Tests all commands where create permission is needed.


adminPermsNeeded

public void adminPermsNeeded()
Tests all commands where admin permission is needed.


use

public void use()
Tests some usability stuff.


stop

public static void stop()
Stops the server.