javax.faces.model
Class DataModelTestCaseBase

java.lang.Object
  extended by TestCase
      extended by javax.faces.model.DataModelTestCaseBase
Direct Known Subclasses:
ArrayDataModelTestCase, ListDataModelTestCase, ResultDataModelTestCase, ResultSetDataModelTestCase, ScalarDataModelTestCase

public abstract class DataModelTestCaseBase
extends TestCase

Abstract base class for DataModel tests.


Field Summary
protected  TestBean[] beans
           
protected  DataModel model
           
 
Constructor Summary
DataModelTestCaseBase(java.lang.String name)
          Construct a new instance of this test case.
 
Method Summary
protected  void checkRow(int i)
           
protected  void configure()
           
protected  TestBean data()
           
 void setUp()
           
static Test suite()
           
 void tearDown()
           
 void testInvalidListeners()
           
 void testIterator()
           
 void testPositionAscending()
           
 void testPositionDescending()
           
 void testPristine()
           
 void testRemoveListener()
           
 void testReset()
           
 void testRowAvailable()
           
 void testRowData()
           
 void testRowIndex()
           
 void testWrapped()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

beans

protected TestBean[] beans

model

protected DataModel model
Constructor Detail

DataModelTestCaseBase

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

Parameters:
name - Name of the test case
Method Detail

configure

protected void configure()

setUp

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

suite

public static Test suite()

tearDown

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

testInvalidListeners

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

testPositionAscending

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

testPositionDescending

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

testPristine

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

testRemoveListener

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

testReset

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

testRowAvailable

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

testRowData

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

testRowIndex

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

testIterator

public void testIterator()

testWrapped

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

data

protected TestBean data()
                 throws java.lang.Exception
Throws:
java.lang.Exception

checkRow

protected void checkRow(int i)
                 throws java.lang.Exception
Throws:
java.lang.Exception


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