org.alfresco.repo.web.util.paging
Class PagingTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.web.util.paging.PagingTest
All Implemented Interfaces:
junit.framework.Test

public class PagingTest
extends junit.framework.TestCase

Test Paged and Window Based Cursors


Field Summary
protected  Paging paging
           
 
Constructor Summary
PagingTest()
           
 
Method Summary
protected  void setUp()
           
 void testCreatePage()
           
 void testCursorPage()
           
 void testCursorWindow()
           
 void testOutOfBoundsPage()
           
 void testOutOfBoundsWindow()
           
 void testScrollPage()
           
 void testScrollWindow()
           
 void testTotalPage()
           
 void testTotalWindow()
           
 void testUnlimitedPage()
           
 void testUnlimitedWindow()
           
 void testZeroBasedBooleans()
           
 void testZeroRowsPage()
           
 void testZeroRowsWindow()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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
 

Field Detail

paging

protected Paging paging
Constructor Detail

PagingTest

public PagingTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testZeroBasedBooleans

public void testZeroBasedBooleans()

testCreatePage

public void testCreatePage()

testZeroRowsPage

public void testZeroRowsPage()

testOutOfBoundsPage

public void testOutOfBoundsPage()

testTotalPage

public void testTotalPage()

testCursorPage

public void testCursorPage()

testUnlimitedPage

public void testUnlimitedPage()

testScrollPage

public void testScrollPage()

testZeroRowsWindow

public void testZeroRowsWindow()

testOutOfBoundsWindow

public void testOutOfBoundsWindow()

testTotalWindow

public void testTotalWindow()

testCursorWindow

public void testCursorWindow()

testUnlimitedWindow

public void testUnlimitedWindow()

testScrollWindow

public void testScrollWindow()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.