org.codehaus.plexus.redback.tests
Class AbstractRbacManagerPerformanceTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.codehaus.plexus.redback.tests.AbstractRbacManagerPerformanceTestCase
All Implemented Interfaces:
junit.framework.Test

public class AbstractRbacManagerPerformanceTestCase
extends org.codehaus.plexus.PlexusTestCase


Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
container, context
 
Constructor Summary
AbstractRbacManagerPerformanceTestCase()
           
 
Method Summary
 void assertPerformance(java.lang.String msg, long startTime, long endTime, int iterations, double threshold)
           
 void setRbacManager(org.codehaus.plexus.redback.rbac.RBACManager store)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testPerformanceOperations()
           
 void testPerformancePermissions()
           
 void testPerformanceResource()
           
 void testPerformanceRoles()
           
 void testPerformanceUserAssignment()
           
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release
 
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
 

Constructor Detail

AbstractRbacManagerPerformanceTestCase

public AbstractRbacManagerPerformanceTestCase()
Method Detail

setRbacManager

public void setRbacManager(org.codehaus.plexus.redback.rbac.RBACManager store)

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class org.codehaus.plexus.PlexusTestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class org.codehaus.plexus.PlexusTestCase
Throws:
java.lang.Exception

assertPerformance

public void assertPerformance(java.lang.String msg,
                              long startTime,
                              long endTime,
                              int iterations,
                              double threshold)

testPerformanceResource

public void testPerformanceResource()
                             throws org.codehaus.plexus.redback.rbac.RbacManagerException
Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException

testPerformanceUserAssignment

public void testPerformanceUserAssignment()
                                   throws org.codehaus.plexus.redback.rbac.RbacManagerException
Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException

testPerformanceRoles

public void testPerformanceRoles()
                          throws org.codehaus.plexus.redback.rbac.RbacManagerException
Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException

testPerformancePermissions

public void testPerformancePermissions()
                                throws org.codehaus.plexus.redback.rbac.RbacManagerException
Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException

testPerformanceOperations

public void testPerformanceOperations()
                               throws org.codehaus.plexus.redback.rbac.RbacManagerException
Throws:
org.codehaus.plexus.redback.rbac.RbacManagerException


Copyright © 2006-2007 Codehaus. All Rights Reserved.