org.apache.myfaces.custom.selectitems
Class UISelectItemsTest

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.custom.selectitems.UISelectItemsTest
All Implemented Interfaces:
junit.framework.Test

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

Version:
$Revision: 783163 $ $Date: 2009-06-09 18:37:19 -0500 (Tue, 09 Jun 2009) $
Author:
cagatay (latest modification by $Author: lu4242 $)

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
UISelectItemsTest(String testName)
           
 
Method Summary
 void setUp()
          Sets up the test environment for Accepted possible values for the component can be a SelectItems array, a collection, a map and SelectItems group collection.
static junit.framework.Test suite()
           
 void tearDown()
           
 void testCreateSelectItemsBySelectItems()
           
 void testCreateSelectItemsFromCollection()
           
 void testCreateSelectItemsFromMap()
           
 void testCreateSelectItemsFromSelectItemsGroupCollection()
           
 
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

UISelectItemsTest

public UISelectItemsTest(String testName)
Method Detail

suite

public static junit.framework.Test suite()

setUp

public void setUp()
           throws Exception
Sets up the test environment for Accepted possible values for the component can be a SelectItems array, a collection, a map and SelectItems group collection.

Overrides:
setUp in class org.apache.shale.test.base.AbstractJsfTestCase
Throws:
Exception

tearDown

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

testCreateSelectItemsBySelectItems

public void testCreateSelectItemsBySelectItems()

testCreateSelectItemsFromCollection

public void testCreateSelectItemsFromCollection()

testCreateSelectItemsFromMap

public void testCreateSelectItemsFromMap()

testCreateSelectItemsFromSelectItemsGroupCollection

public void testCreateSelectItemsFromSelectItemsGroupCollection()


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