Package org.apache.archiva.redback.tests
Class AbstractRbacManagerPerformanceTestCase
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.apache.archiva.redback.tests.AbstractRbacManagerPerformanceTestCase
-
- All Implemented Interfaces:
junit.framework.Test
@ContextConfiguration(locations={"classpath*:/META-INF/spring-context.xml","classpath*:/spring-context.xml"}) public class AbstractRbacManagerPerformanceTestCase extends junit.framework.TestCase
-
-
Constructor Summary
Constructors Constructor Description AbstractRbacManagerPerformanceTestCase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassertPerformance(String msg, long startTime, long endTime, int iterations, double threshold)voidsetRbacManager(RBACManager store)voidsetUp()voidtearDown()voidtestPerformanceOperations()voidtestPerformancePermissions()voidtestPerformanceResource()voidtestPerformanceRoles()voidtestPerformanceUserAssignment()-
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
-
-
-
Constructor Detail
-
AbstractRbacManagerPerformanceTestCase
public AbstractRbacManagerPerformanceTestCase()
-
-
Method Detail
-
setRbacManager
public void setRbacManager(RBACManager store)
-
setUp
public void setUp() throws Exception
- Overrides:
setUpin classjunit.framework.TestCase- Throws:
Exception
-
tearDown
public void tearDown() throws Exception
- Overrides:
tearDownin classjunit.framework.TestCase- Throws:
Exception
-
assertPerformance
public void assertPerformance(String msg, long startTime, long endTime, int iterations, double threshold)
-
testPerformanceResource
public void testPerformanceResource() throws RbacManagerException
- Throws:
RbacManagerException
-
testPerformanceUserAssignment
public void testPerformanceUserAssignment() throws RbacManagerException
- Throws:
RbacManagerException
-
testPerformanceRoles
public void testPerformanceRoles() throws RbacManagerException
- Throws:
RbacManagerException
-
testPerformancePermissions
public void testPerformancePermissions() throws RbacManagerException
- Throws:
RbacManagerException
-
testPerformanceOperations
public void testPerformanceOperations() throws RbacManagerException
- Throws:
RbacManagerException
-
-