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(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(String name)
Method Detail

setUp

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

tearDown

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

suite

public static junit.framework.Test suite()

testInitialState

public void testInitialState()
                      throws IntrospectionException
Throws:
IntrospectionException

testIterator

public void testIterator()
                  throws IntrospectionException
Throws:
IntrospectionException

testInitialAddAll

public void testInitialAddAll()
                       throws IntrospectionException
Throws:
IntrospectionException

testAdd

public void testAdd()
             throws IntrospectionException
Throws:
IntrospectionException

testRemove

public void testRemove()
                throws IntrospectionException
Throws:
IntrospectionException

testAddAll

public void testAddAll()
                throws IntrospectionException
Throws:
IntrospectionException

testAddAllCollection

public void testAddAllCollection()
                          throws IntrospectionException
Throws:
IntrospectionException

testRemoveAllCollection

public void testRemoveAllCollection()
                             throws IntrospectionException
Throws:
IntrospectionException

testClone

public void testClone()
               throws IntrospectionException,
                      CloneNotSupportedException
Throws:
IntrospectionException
CloneNotSupportedException

testSize

public void testSize()
              throws IntrospectionException
Throws:
IntrospectionException

testClear

public void testClear()
               throws IntrospectionException
Throws:
IntrospectionException

testRemoveAll

public void testRemoveAll()
                   throws IntrospectionException
Throws:
IntrospectionException

testSerialization

public void testSerialization()
                       throws IOException,
                              ClassNotFoundException,
                              IntrospectionException
Throws:
IOException
ClassNotFoundException
IntrospectionException


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