|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.alfresco.repo.model.filefolder.FileFolderPerformanceTester
public class FileFolderPerformanceTester
Tests around some of the data structures that lead to performance
degradation. We use the FileFolderService
as it provides the most convenient and most common test scenarios.
Note that this test is not designed to validate performance figures, but is rather a handy tool for doing benchmarking. It is therefore not named *Test as is the pattern for getting tests run by the continuous build.
Constructor Summary | |
---|---|
FileFolderPerformanceTester()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Create a bunch of files and folders in a folder and then run multi-threaded directory listings against it. |
void |
setUp()
|
void |
test_4_shuffled_10_100()
|
void |
testSetUp()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileFolderPerformanceTester()
Method Detail |
---|
public void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
public void testSetUp() throws java.lang.Exception
java.lang.Exception
public void test_4_shuffled_10_100() throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args)
args
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |