org.alfresco.repo.domain.node
Class NodePropertyHelperTest

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

public class NodePropertyHelperTest
extends junit.framework.TestCase

Test low-level marshalling and unmarshalling of node properties

Since:
3.4
See Also:
NodePropertyHelper

Constructor Summary
NodePropertyHelperTest()
           
 
Method Summary
 void setUp()
           
 void testAnyMultiValue()
          Tests d:any multi-value type
 void testConvertableKnownValues()
          Tests simple, well-typed values that need conversion
 void testNullKnownValues()
          Tests simple, well-typed nulls
 void testNullResidualValues()
          Tests simple, residual nulls
 void testResidualMultiValue()
          Tests residual multi-value type
 void testSimpleKnownValues()
          Tests simple, well-typed values
 void testSimpleMultiValue()
          Tests simple multi-value type
 void testSimpleResidualValues()
          Tests simple, residual values
 
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

NodePropertyHelperTest

public NodePropertyHelperTest()
Method Detail

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

testNullKnownValues

public void testNullKnownValues()
                         throws java.lang.Throwable
Tests simple, well-typed nulls

Throws:
java.lang.Throwable

testSimpleKnownValues

public void testSimpleKnownValues()
                           throws java.lang.Throwable
Tests simple, well-typed values

Throws:
java.lang.Throwable

testConvertableKnownValues

public void testConvertableKnownValues()
                                throws java.lang.Throwable
Tests simple, well-typed values that need conversion

Throws:
java.lang.Throwable

testNullResidualValues

public void testNullResidualValues()
                            throws java.lang.Throwable
Tests simple, residual nulls

Throws:
java.lang.Throwable

testSimpleResidualValues

public void testSimpleResidualValues()
                              throws java.lang.Throwable
Tests simple, residual values

Throws:
java.lang.Throwable

testSimpleMultiValue

public void testSimpleMultiValue()
                          throws java.lang.Throwable
Tests simple multi-value type

Throws:
java.lang.Throwable

testAnyMultiValue

public void testAnyMultiValue()
                       throws java.lang.Throwable
Tests d:any multi-value type

Throws:
java.lang.Throwable

testResidualMultiValue

public void testResidualMultiValue()
                            throws java.lang.Throwable
Tests residual multi-value type

Throws:
java.lang.Throwable


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