org.apache.myfaces.trinidad.model
Class RowKeySetTreeImplTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.shale.test.base.AbstractJsfTestCase
              extended by org.apache.myfaces.trinidad.model.RowKeySetTreeImplTest
All Implemented Interfaces:
junit.framework.Test

public class RowKeySetTreeImplTest
extends org.apache.shale.test.base.AbstractJsfTestCase

There is a hardcoded dependency between this test and the SortableModel implementation that happens to be used by ModelUtils.toCollectionModel().


Field Summary
 
Fields inherited from class org.apache.shale.test.base.AbstractJsfTestCase
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session
 
Constructor Summary
RowKeySetTreeImplTest(java.lang.String name)
           
 
Method Summary
protected  void setUp()
           
static junit.framework.Test suite()
           
protected  void tearDown()
           
 void testAdd()
           
 void testAddAll()
           
 void testAddAllCollection()
           
 void testClear()
           
 void testClone()
           
 void testInitialAddAll()
           
 void testInitialState()
           
 void testIterator()
           
 void testRemove()
           
 void testRemoveAll()
           
 void testRemoveAllCollection()
           
 void testSerialization()
           
 void testSize()
           
 
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
 

Constructor Detail

RowKeySetTreeImplTest

public RowKeySetTreeImplTest(java.lang.String name)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class org.apache.shale.test.base.AbstractJsfTestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class org.apache.shale.test.base.AbstractJsfTestCase
Throws:
java.lang.Exception

suite

public static junit.framework.Test suite()

testInitialState

public void testInitialState()
                      throws java.beans.IntrospectionException
Throws:
java.beans.IntrospectionException

testIterator

public void testIterator()
                  throws java.beans.IntrospectionException
Throws:
java.beans.IntrospectionException

testInitialAddAll

public void testInitialAddAll()
                       throws java.beans.IntrospectionException
Throws:
java.beans.IntrospectionException

testAdd

public void testAdd()
             throws java.beans.IntrospectionException
Throws:
java.beans.IntrospectionException

testRemove

public void testRemove()
                throws java.beans.IntrospectionException
Throws:
java.beans.IntrospectionException

testAddAll

public void testAddAll()
                throws java.beans.IntrospectionException
Throws:
java.beans.IntrospectionException

testAddAllCollection

public void testAddAllCollection()
                          throws java.beans.IntrospectionException
Throws:
java.beans.IntrospectionException

testRemoveAllCollection

public void testRemoveAllCollection()
                             throws java.beans.IntrospectionException
Throws:
java.beans.IntrospectionException

testClone

public void testClone()
               throws java.beans.IntrospectionException,
                      java.lang.CloneNotSupportedException
Throws:
java.beans.IntrospectionException
java.lang.CloneNotSupportedException

testSize

public void testSize()
              throws java.beans.IntrospectionException
Throws:
java.beans.IntrospectionException

testClear

public void testClear()
               throws java.beans.IntrospectionException
Throws:
java.beans.IntrospectionException

testRemoveAll

public void testRemoveAll()
                   throws java.beans.IntrospectionException
Throws:
java.beans.IntrospectionException

testSerialization

public void testSerialization()
                       throws java.io.IOException,
                              java.lang.ClassNotFoundException,
                              java.beans.IntrospectionException
Throws:
java.io.IOException
java.lang.ClassNotFoundException
java.beans.IntrospectionException


Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.