Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acs.damsel.srvr.db
Class TestDBUtils  view TestDBUtils download TestDBUtils.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.acs.damsel.srvr.db.TestDBUtils
All Implemented Interfaces:
junit.framework.Test

public class TestDBUtils
extends junit.framework.TestCase


Field Summary
private  DBUtils dBUtils
           
private static org.apache.log4j.Logger log
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestDBUtils(java.lang.String name)
           
 
Method Summary
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testAdvancedSearch()
           
 void testBrowseDB()
           
 void testCanDoHighPerm()
           
 void testCanDoLowPerm()
           
 void testDecode()
           
 void testEncode()
           
 void testGetEditableCollections()
           
 void testGetEditableSchemas()
           
 void testGetPermissionID()
           
 void testGetPermissionsList()
           
 void testGetPermissionsString()
           
 void testGetUsersCollections()
           
 void testGetUsersFavorites()
           
 void testIsCollectionPrivate()
           
 void testSimpleSearch()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dBUtils

private DBUtils dBUtils

log

private static org.apache.log4j.Logger log
Constructor Detail

TestDBUtils

public TestDBUtils(java.lang.String name)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


testSimpleSearch

public void testSimpleSearch()

testAdvancedSearch

public void testAdvancedSearch()

testBrowseDB

public void testBrowseDB()

testCanDoHighPerm

public void testCanDoHighPerm()

testCanDoLowPerm

public void testCanDoLowPerm()
                      throws java.sql.SQLException,
                             org.acs.damsel.srvr.schema.SchemaException

tearDown

protected void tearDown()
                 throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.


testEncode

public void testEncode()

testDecode

public void testDecode()

testGetUsersCollections

public void testGetUsersCollections()

testGetPermissionsString

public void testGetPermissionsString()

testGetPermissionID

public void testGetPermissionID()

testIsCollectionPrivate

public void testIsCollectionPrivate()

testGetEditableCollections

public void testGetEditableCollections()

testGetEditableSchemas

public void testGetEditableSchemas()

testGetPermissionsList

public void testGetPermissionsList()

testGetUsersFavorites

public void testGetUsersFavorites()