org.alfresco.query
Class CannedQueryTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.query.CannedQueryTest
All Implemented Interfaces:
junit.framework.Test

public class CannedQueryTest
extends junit.framework.TestCase

Tests the name query infrastructure.

Since:
4.0

Constructor Summary
CannedQueryTest()
           
 
Method Summary
 void setUp()
           
 void testQueryAllResults()
           
 void testQueryMaxResults()
           
 void testQueryPagedResults()
           
 void testQueryPermissionCheckedPagedTotalCount()
           
 void testQueryPermissionCheckedResults()
           
 void testQuerySortedResults()
           
 void testRegistry()
           
 
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
 

Constructor Detail

CannedQueryTest

public CannedQueryTest()
Method Detail

setUp

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

testRegistry

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

testQueryAllResults

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

testQueryMaxResults

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

testQueryPagedResults

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

testQuerySortedResults

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

testQueryPermissionCheckedResults

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

testQueryPermissionCheckedPagedTotalCount

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


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