org.alfresco.repo.web.util
Class PagingCursorTest

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

public class PagingCursorTest
extends junit.framework.TestCase

Test Paged and Row Based Cursors


Field Summary
protected  PagingCursor pageCursor
           
 
Constructor Summary
PagingCursorTest()
           
 
Method Summary
protected  void setUp()
           
 void testOutOfBoundsPageCursor()
           
 void testOutOfBoundsRowsCursor()
           
 void testPagingPageCursor()
           
 void testPagingRowsCursor()
           
 void testScrollPageCursor()
           
 void testScrollRowsCursor()
           
 void testTotalPageCursor()
           
 void testTotalRowsCursor()
           
 void testUnlimitedPageCursor()
           
 void testUnlimitedRowsCursor()
           
 void testZeroBasedBooleans()
           
 void testZeroRowsIndexCursor()
           
 void testZeroRowsPageCursor()
           
 
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

pageCursor

protected PagingCursor pageCursor
Constructor Detail

PagingCursorTest

public PagingCursorTest()
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()

testZeroRowsPageCursor

public void testZeroRowsPageCursor()

testOutOfBoundsPageCursor

public void testOutOfBoundsPageCursor()

testTotalPageCursor

public void testTotalPageCursor()

testPagingPageCursor

public void testPagingPageCursor()

testUnlimitedPageCursor

public void testUnlimitedPageCursor()

testScrollPageCursor

public void testScrollPageCursor()

testZeroRowsIndexCursor

public void testZeroRowsIndexCursor()

testOutOfBoundsRowsCursor

public void testOutOfBoundsRowsCursor()

testTotalRowsCursor

public void testTotalRowsCursor()

testPagingRowsCursor

public void testPagingRowsCursor()

testUnlimitedRowsCursor

public void testUnlimitedRowsCursor()

testScrollRowsCursor

public void testScrollRowsCursor()


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