|
|||||||||
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.node.PerformanceNodeServiceTest
public class PerformanceNodeServiceTest
PerformanceNodeServiceTest
Field Summary | |
---|---|
static QName |
ASSOC_QNAME_CHILDREN
|
protected DictionaryService |
dictionaryService
|
static java.lang.String |
NAMESPACE
|
protected NodeService |
nodeService
|
static QName |
PROP_QNAME_NAME
|
protected NodeRef |
rootNodeRef
populated during setup |
static java.lang.String |
TEST_PREFIX
|
static QName |
TYPE_QNAME_TEST
|
Constructor Summary | |
---|---|
PerformanceNodeServiceTest()
|
Method Summary | |
---|---|
void |
buildNodeChildren(NodeRef parent,
int level,
int maxLevel,
int childCount)
|
static DictionaryService |
loadModel(org.springframework.context.ApplicationContext applicationContext)
Loads the test model required for building the node graphs |
static void |
main(java.lang.String[] args)
Runs a test with more depth |
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testPerformanceNodeService()
|
void |
testSetUp()
|
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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAMESPACE
public static final java.lang.String TEST_PREFIX
public static final QName TYPE_QNAME_TEST
public static final QName PROP_QNAME_NAME
public static final QName ASSOC_QNAME_CHILDREN
protected DictionaryService dictionaryService
protected NodeService nodeService
protected NodeRef rootNodeRef
Constructor Detail |
---|
public PerformanceNodeServiceTest()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown()
tearDown
in class junit.framework.TestCase
public static DictionaryService loadModel(org.springframework.context.ApplicationContext applicationContext)
public void testSetUp() throws java.lang.Exception
java.lang.Exception
public void testPerformanceNodeService() throws java.lang.Exception
java.lang.Exception
public void buildNodeChildren(NodeRef parent, int level, int maxLevel, int childCount)
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |