org.apache.myfaces.trinidad.model
Class SortableModelTest

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.trinidad.model.SortableModelTest
All Implemented Interfaces:
junit.framework.Test

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


Nested Class Summary
static class SortableModelTest.Bean
           
 
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
SortableModelTest(String name)
           
 
Method Summary
protected  void setUp()
           
static junit.framework.Test suite()
           
protected  void tearDown()
           
 void testEmptyTable()
           
 void testGetRowIndex()
           
 void testInitialSort()
           
 void testRowCount()
           
 void testSetRowIndex()
           
 void testSortableProperties()
           
 void testSortAscendingCaseInsensitive()
           
 void testSortAscendingCaseSensitive()
           
 void testSortAscendingDefault()
           
 void testSortDescending()
           
 void testUnsort()
           
 
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

SortableModelTest

public SortableModelTest(String name)
Method Detail

setUp

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

tearDown

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

suite

public static junit.framework.Test suite()

testInitialSort

public void testInitialSort()

testRowCount

public void testRowCount()

testSortableProperties

public void testSortableProperties()

testSortAscendingDefault

public void testSortAscendingDefault()

testSortAscendingCaseInsensitive

public void testSortAscendingCaseInsensitive()

testSortAscendingCaseSensitive

public void testSortAscendingCaseSensitive()

testUnsort

public void testUnsort()

testSortDescending

public void testSortDescending()

testEmptyTable

public void testEmptyTable()

testGetRowIndex

public void testGetRowIndex()

testSetRowIndex

public void testSetRowIndex()


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