javax.faces.component
Class UIDataTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.shale.test.base.AbstractJsfTestCase
              extended by javax.faces.component.UIDataTest
All Implemented Interfaces:
junit.framework.Test

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

Version:
$Revision: 823343 $ $Date: 2009-10-08 16:59:45 -0500 (Thu, 08 Oct 2009) $
Author:
Mathias Broekelmann (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
UIDataTest(String name)
           
 
Method Summary
protected  void setUp()
           
 void testBroadcastFacesEvent()
          Test method for UIData.broadcast(javax.faces.event.FacesEvent).
 void testEncodeBeginFacesContext()
          Test method for UIData.encodeBegin(javax.faces.context.FacesContext).
 void testEncodeEndFacesContext()
          Test method for UIData.encodeEnd(javax.faces.context.FacesContext).
 void testGetClientId()
          Test method for UIData.getClientId(javax.faces.context.FacesContext).
 void testGetDataModel()
          Test method for UIData.getDataModel().
 void testGetFamily()
          Test method for UIData.getFamily().
 void testGetFirst()
          Test method for UIData.getFirst().
 void testGetFooter()
          Test method for UIData.getFooter().
 void testGetHeader()
          Test method for UIData.getHeader().
 void testGetRowCount()
          Test method for UIData.getRowCount().
 void testGetRowData()
          Test method for UIData.getRowData().
 void testGetRowIndex()
          Test method for UIData.getRowIndex().
 void testGetRows()
          Test method for UIData.getRows().
 void testGetValue()
          Test method for UIData.getValue().
 void testGetVar()
          Test method for UIData.getVar().
 void testInvokeOnComponentFacesContextStringContextCallback()
          Test method for UIData.invokeOnComponent(javax.faces.context.FacesContext, java.lang.String, javax.faces.component.ContextCallback).
 void testIsRowAvailable()
          Test method for UIData.isRowAvailable().
 void testProcessDecodesFacesContext()
          Test method for UIData.processDecodes(javax.faces.context.FacesContext).
 void testProcessUpdatesFacesContext()
          Test method for UIData.processUpdates(javax.faces.context.FacesContext).
 void testProcessValidatorsFacesContext()
          Test method for UIData.processValidators(javax.faces.context.FacesContext).
 void testQueueEventFacesEvent()
          Test method for UIData.queueEvent(javax.faces.event.FacesEvent).
 void testRestoreState()
          Test method for UIData.restoreState(javax.faces.context.FacesContext, java.lang.Object).
 void testSaveState()
          Test method for UIData.saveState(javax.faces.context.FacesContext).
 void testSetDataModel()
          Test method for UIData.setDataModel(javax.faces.model.DataModel).
 void testSetFirst()
          Test method for UIData.setFirst(int).
 void testSetFooter()
          Test method for UIData.setFooter(javax.faces.component.UIComponent).
 void testSetHeader()
          Test method for UIData.setHeader(javax.faces.component.UIComponent).
 void testSetRowIndex()
          Test method for UIData.setRowIndex(int).
 void testSetRows()
          Test method for UIData.setRows(int).
 void testSetValue()
          Test method for UIData.setValue(java.lang.Object).
 void testSetVar()
          Test method for UIData.setVar(java.lang.String).
 void testUIData()
          Test method for UIData.UIData().
 void testValueExpression()
          Test method for UIData.setValueExpression(java.lang.String, javax.el.ValueExpression).
 
Methods inherited from class org.apache.shale.test.base.AbstractJsfTestCase
tearDown
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UIDataTest

public UIDataTest(String name)
Method Detail

setUp

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

testValueExpression

public void testValueExpression()
Test method for UIData.setValueExpression(java.lang.String, javax.el.ValueExpression).


testGetClientId

public void testGetClientId()
Test method for UIData.getClientId(javax.faces.context.FacesContext).


testInvokeOnComponentFacesContextStringContextCallback

public void testInvokeOnComponentFacesContextStringContextCallback()
Test method for UIData.invokeOnComponent(javax.faces.context.FacesContext, java.lang.String, javax.faces.component.ContextCallback). Tests, if invokeOnComponent also checks the facets of the h:column children (MYFACES-2370)


testBroadcastFacesEvent

public void testBroadcastFacesEvent()
Test method for UIData.broadcast(javax.faces.event.FacesEvent).


testEncodeBeginFacesContext

public void testEncodeBeginFacesContext()
Test method for UIData.encodeBegin(javax.faces.context.FacesContext).


testEncodeEndFacesContext

public void testEncodeEndFacesContext()
Test method for UIData.encodeEnd(javax.faces.context.FacesContext).


testQueueEventFacesEvent

public void testQueueEventFacesEvent()
Test method for UIData.queueEvent(javax.faces.event.FacesEvent).


testProcessDecodesFacesContext

public void testProcessDecodesFacesContext()
Test method for UIData.processDecodes(javax.faces.context.FacesContext).


testProcessValidatorsFacesContext

public void testProcessValidatorsFacesContext()
Test method for UIData.processValidators(javax.faces.context.FacesContext).


testProcessUpdatesFacesContext

public void testProcessUpdatesFacesContext()
Test method for UIData.processUpdates(javax.faces.context.FacesContext).


testSaveState

public void testSaveState()
Test method for UIData.saveState(javax.faces.context.FacesContext).


testRestoreState

public void testRestoreState()
Test method for UIData.restoreState(javax.faces.context.FacesContext, java.lang.Object).


testUIData

public void testUIData()
Test method for UIData.UIData().


testSetFooter

public void testSetFooter()
Test method for UIData.setFooter(javax.faces.component.UIComponent).


testGetFooter

public void testGetFooter()
Test method for UIData.getFooter().


testSetHeader

public void testSetHeader()
Test method for UIData.setHeader(javax.faces.component.UIComponent).


testGetHeader

public void testGetHeader()
Test method for UIData.getHeader().


testIsRowAvailable

public void testIsRowAvailable()
Test method for UIData.isRowAvailable().


testGetRowCount

public void testGetRowCount()
Test method for UIData.getRowCount().


testGetRowData

public void testGetRowData()
Test method for UIData.getRowData().


testGetRowIndex

public void testGetRowIndex()
Test method for UIData.getRowIndex().


testSetRowIndex

public void testSetRowIndex()
Test method for UIData.setRowIndex(int).


testGetDataModel

public void testGetDataModel()
Test method for UIData.getDataModel().


testSetDataModel

public void testSetDataModel()
Test method for UIData.setDataModel(javax.faces.model.DataModel).


testSetValue

public void testSetValue()
Test method for UIData.setValue(java.lang.Object).


testSetRows

public void testSetRows()
Test method for UIData.setRows(int).


testSetFirst

public void testSetFirst()
Test method for UIData.setFirst(int).


testGetValue

public void testGetValue()
Test method for UIData.getValue().


testGetVar

public void testGetVar()
Test method for UIData.getVar().


testSetVar

public void testSetVar()
Test method for UIData.setVar(java.lang.String).


testGetRows

public void testGetRows()
Test method for UIData.getRows().


testGetFirst

public void testGetFirst()
Test method for UIData.getFirst().


testGetFamily

public void testGetFamily()
Test method for UIData.getFamily().



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