org.alfresco.repo.domain.propval
Class PropertyValueDAOTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.domain.propval.PropertyValueDAOTest
All Implemented Interfaces:
junit.framework.Test

public class PropertyValueDAOTest
extends junit.framework.TestCase

Since:
3.2
See Also:
PropertyValueDAO

Constructor Summary
PropertyValueDAOTest()
           
 
Method Summary
 void setUp()
           
 void testProperty_CollectionOfStrings()
           
 void testProperty_Delete()
           
 void testProperty_MapOfMapOfSerializables()
           
 void testProperty_MapOfMapOfStrings()
           
 void testProperty_MapOfStrings()
           
 void testProperty_UpdateCollection()
           
 void testPropertyClass_NoCache()
           
 void testPropertyClass()
           
 void testPropertyDateValue_NoCache()
           
 void testPropertyDateValue()
           
 void testPropertyDoubleValue_NoCache()
           
 void testPropertyDoubleValue()
           
 void testPropertySerializableValue_NoCache()
           
 void testPropertySerializableValue()
           
 void testPropertyStringValue_EmptyAndNull()
          Try to catch Oracle out
 void testPropertyStringValue_NoCache()
           
 void testPropertyStringValue()
           
 void testPropertyUniqueContext()
           
 void testPropertyUniqueContextValue()
           
 void testPropertyValue_Boolean()
           
 void testPropertyValue_Date()
           
 void testPropertyValue_Double()
           
 void testPropertyValue_EmptyArrayList()
           
 void testPropertyValue_EmptyHashMap()
           
 void testPropertyValue_EmptyHashSet()
           
 void testPropertyValue_Enum()
           
 void testPropertyValue_Float()
           
 void testPropertyValue_Integer()
           
 void testPropertyValue_Long()
           
 void testPropertyValue_MapOfStrings()
           
 void testPropertyValue_Null()
           
 void testPropertyValue_Serializable()
           
 void testPropertyValue_Short()
           
 void testPropertyValue_String()
           
 
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

PropertyValueDAOTest

public PropertyValueDAOTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testPropertyClass

public void testPropertyClass()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyDateValue

public void testPropertyDateValue()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyStringValue

public void testPropertyStringValue()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyStringValue_EmptyAndNull

public void testPropertyStringValue_EmptyAndNull()
                                          throws java.lang.Exception
Try to catch Oracle out

Throws:
java.lang.Exception

testPropertyDoubleValue

public void testPropertyDoubleValue()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testPropertySerializableValue

public void testPropertySerializableValue()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyValue_Null

public void testPropertyValue_Null()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyValue_Boolean

public void testPropertyValue_Boolean()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyValue_Short

public void testPropertyValue_Short()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyValue_Integer

public void testPropertyValue_Integer()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyValue_Long

public void testPropertyValue_Long()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyValue_Float

public void testPropertyValue_Float()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyValue_Double

public void testPropertyValue_Double()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyValue_Date

public void testPropertyValue_Date()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyValue_String

public void testPropertyValue_String()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyValue_Serializable

public void testPropertyValue_Serializable()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyValue_Enum

public void testPropertyValue_Enum()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyValue_EmptyHashMap

public void testPropertyValue_EmptyHashMap()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyValue_EmptyArrayList

public void testPropertyValue_EmptyArrayList()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyValue_EmptyHashSet

public void testPropertyValue_EmptyHashSet()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyValue_MapOfStrings

public void testPropertyValue_MapOfStrings()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testProperty_MapOfStrings

public void testProperty_MapOfStrings()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testProperty_MapOfMapOfSerializables

public void testProperty_MapOfMapOfSerializables()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testProperty_MapOfMapOfStrings

public void testProperty_MapOfMapOfStrings()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testProperty_CollectionOfStrings

public void testProperty_CollectionOfStrings()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testProperty_UpdateCollection

public void testProperty_UpdateCollection()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testProperty_Delete

public void testProperty_Delete()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyClass_NoCache

public void testPropertyClass_NoCache()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyDateValue_NoCache

public void testPropertyDateValue_NoCache()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyStringValue_NoCache

public void testPropertyStringValue_NoCache()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyDoubleValue_NoCache

public void testPropertyDoubleValue_NoCache()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testPropertySerializableValue_NoCache

public void testPropertySerializableValue_NoCache()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyUniqueContext

public void testPropertyUniqueContext()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testPropertyUniqueContextValue

public void testPropertyUniqueContextValue()
                                    throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.