org.alfresco.repo.node
Class ConcurrentNodeServiceTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.alfresco.repo.node.ConcurrentNodeServiceTest
- All Implemented Interfaces:
- junit.framework.Test
public class ConcurrentNodeServiceTest
- extends junit.framework.TestCase
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 |
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
TEST_PREFIX
public static final java.lang.String TEST_PREFIX
- See Also:
- Constant Field Values
TYPE_QNAME_TEST_CONTENT
public static final org.alfresco.service.namespace.QName TYPE_QNAME_TEST_CONTENT
ASPECT_QNAME_TEST_TITLED
public static final org.alfresco.service.namespace.QName ASPECT_QNAME_TEST_TITLED
PROP_QNAME_TEST_TITLE
public static final org.alfresco.service.namespace.QName PROP_QNAME_TEST_TITLE
PROP_QNAME_TEST_MIMETYPE
public static final org.alfresco.service.namespace.QName PROP_QNAME_TEST_MIMETYPE
COUNT
public static final int COUNT
- See Also:
- Constant Field Values
REPEATS
public static final int REPEATS
- See Also:
- Constant Field Values
ConcurrentNodeServiceTest
public ConcurrentNodeServiceTest()
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class junit.framework.TestCase
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class junit.framework.TestCase
- Throws:
java.lang.Exception
buildNodeGraph
protected java.util.Map buildNodeGraph()
throws java.lang.Exception
- Throws:
java.lang.Exception
commitNodeGraph
protected java.util.Map commitNodeGraph()
throws java.lang.Exception
- Throws:
java.lang.Exception
xtest1
public void xtest1()
throws java.lang.Exception
- Throws:
java.lang.Exception
xtest2
public void xtest2()
throws java.lang.Exception
- Throws:
java.lang.Exception
xtest3
public void xtest3()
throws java.lang.Exception
- Throws:
java.lang.Exception
xtest4
public void xtest4()
throws java.lang.Exception
- Throws:
java.lang.Exception
xtest5
public void xtest5()
throws java.lang.Exception
- Throws:
java.lang.Exception
xtest6
public void xtest6()
throws java.lang.Exception
- Throws:
java.lang.Exception
xtest7
public void xtest7()
throws java.lang.Exception
- Throws:
java.lang.Exception
xtest8
public void xtest8()
throws java.lang.Exception
- Throws:
java.lang.Exception
xtest9
public void xtest9()
throws java.lang.Exception
- Throws:
java.lang.Exception
xtest10
public void xtest10()
throws java.lang.Exception
- Throws:
java.lang.Exception
testConcurrent
public void testConcurrent()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMultiThreadedNodePropertiesWrites
public void testMultiThreadedNodePropertiesWrites()
throws java.lang.Exception
- Tests that when multiple threads try to edit different
properties on a node, that transactions + retries always
mean that every change always ends up on the node.
- Throws:
java.lang.Exception
- Since:
- 3.4
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.