gate.security
Class TestSecurity

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bygate.security.TestSecurity
All Implemented Interfaces:
junit.framework.Test

public class TestSecurity
extends junit.framework.TestCase

Persistence test class


Constructor Summary
TestSecurity(String name)
          Construction
 
Method Summary
static void main(String[] args)
           
 void setUp()
          Fixture set up
static junit.framework.Test suite()
          Test suite routine for the test runner
 void tearDown()
          Put things back as they should be after running tests (reinitialise the CREOLE register).
 void testSecurityTables()
           
 void testUserGroupManipulation()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, name, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestSecurity

public TestSecurity(String name)
             throws GateException
Construction

Method Detail

setUp

public void setUp()
           throws Exception
Fixture set up

Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Put things back as they should be after running tests (reinitialise the CREOLE register).

Throws:
Exception

testSecurityTables

public void testSecurityTables()
                        throws Exception
Throws:
Exception

testUserGroupManipulation

public void testUserGroupManipulation()
                               throws Exception
Throws:
Exception

suite

public static junit.framework.Test suite()
Test suite routine for the test runner


main

public static void main(String[] args)