public class ContentDataDAOTest
extends junit.framework.TestCase
ContentDataDAO| Constructor and Description |
|---|
ContentDataDAOTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testContentUrl_FetchingOrphansNoLimit() |
void |
testContentUrl_FetchingOrphansWithLimit() |
void |
testCreateContentDataNulls()
Check that the
ContentData is decoded and persisted correctly. |
void |
testCreateContentDataSimple()
Check that the
ContentData is decoded and persisted correctly. |
void |
testCreateSpeedIndividualTxns() |
void |
testCreateSpeedSingleTxn() |
void |
testDelete() |
void |
testEnsureCaseSensitiveStorage()
Ensure that upper and lowercase URLs don't clash
|
void |
testGetWithInvalidId() |
void |
testReinstate_ALF3867()
Check that orphaned content can be re-instated.
|
void |
testUpdate() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toStringassertEquals, 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, formatpublic void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionpublic void testGetWithInvalidId()
public void testCreateContentDataSimple()
throws java.lang.Exception
ContentData is decoded and persisted correctly.java.lang.Exceptionpublic void testCreateContentDataNulls()
throws java.lang.Exception
ContentData is decoded and persisted correctly.java.lang.Exceptionpublic void testEnsureCaseSensitiveStorage()
throws java.lang.Exception
java.lang.Exceptionpublic void testUpdate()
throws java.lang.Exception
java.lang.Exceptionpublic void testDelete()
throws java.lang.Exception
java.lang.Exceptionpublic void testReinstate_ALF3867()
public void testContentUrl_FetchingOrphansNoLimit()
throws java.lang.Exception
java.lang.Exceptionpublic void testContentUrl_FetchingOrphansWithLimit()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateSpeedIndividualTxns()
public void testCreateSpeedSingleTxn()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.