javax.faces.model
Class ResultSetDataModelTestCase

java.lang.Object
  extended by TestCase
      extended by javax.faces.model.DataModelTestCaseBase
          extended by javax.faces.model.ResultSetDataModelTestCase

public class ResultSetDataModelTestCase
extends DataModelTestCaseBase

Unit tests for ArrayDataModel.


Field Summary
protected  MockResultSet result
           
 
Fields inherited from class javax.faces.model.DataModelTestCaseBase
beans, model
 
Constructor Summary
ResultSetDataModelTestCase(java.lang.String name)
          Construct a new instance of this test case.
 
Method Summary
protected  TestBean data()
           
 void setUp()
           
static Test suite()
           
 void testRowDataContainsKey()
           
 void testRowDataContainsValue()
           
 void testRowDataEntrySet()
           
 void testRowDataGet()
           
 void testRowDataKeySet()
           
 void testRowDataPut()
           
 void testRowDataUnsupported()
           
 void testRowDataValues()
           
 
Methods inherited from class javax.faces.model.DataModelTestCaseBase
checkRow, configure, tearDown, testInvalidListeners, testIterator, testPositionAscending, testPositionDescending, testPristine, testRemoveListener, testReset, testRowAvailable, testRowData, testRowIndex, testWrapped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

result

protected MockResultSet result
Constructor Detail

ResultSetDataModelTestCase

public ResultSetDataModelTestCase(java.lang.String name)
Construct a new instance of this test case.

Parameters:
name - Name of the test case
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class DataModelTestCaseBase
Throws:
java.lang.Exception

suite

public static Test suite()

testRowDataContainsKey

public void testRowDataContainsKey()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testRowDataContainsValue

public void testRowDataContainsValue()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testRowDataEntrySet

public void testRowDataEntrySet()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testRowDataGet

public void testRowDataGet()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testRowDataKeySet

public void testRowDataKeySet()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testRowDataPut

public void testRowDataPut()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testRowDataUnsupported

public void testRowDataUnsupported()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testRowDataValues

public void testRowDataValues()
                       throws java.lang.Exception
Throws:
java.lang.Exception

data

protected TestBean data()
                 throws java.lang.Exception
Overrides:
data in class DataModelTestCaseBase
Throws:
java.lang.Exception


Copyright 2002-2011 Oracle America Inc, Inc. All Rights Reserved.