javax.faces.model
Class ResultSetDataModelTestCase
java.lang.Object
TestCase
javax.faces.model.DataModelTestCaseBase
javax.faces.model.ResultSetDataModelTestCase
public class ResultSetDataModelTestCase
- extends DataModelTestCaseBase
Unit tests for ArrayDataModel
.
Field Summary |
protected MockResultSet |
result
|
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 |
result
protected MockResultSet result
ResultSetDataModelTestCase
public ResultSetDataModelTestCase(java.lang.String name)
- Construct a new instance of this test case.
- Parameters:
name
- Name of the test case
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.