org.alfresco.cmis.search
Class QueryTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.cmis.mapping.BaseCMISTest
              extended by org.alfresco.cmis.search.QueryTest
All Implemented Interfaces:
junit.framework.Test

public class QueryTest
extends BaseCMISTest


Field Summary
 
Fields inherited from class org.alfresco.cmis.mapping.BaseCMISTest
authenticationComponent, cmisAccessControlService, cmisDictionaryService, cmisMapping, cmisQueryService, cmisRenditionService, cmisService, contentService, dictionaryDAO, dictionaryService, fileFolderService, namespaceDao, namespaceService, nodeService, permissionModelDao, permissionService, rootNodeRef, searchService, serviceRegistry, testTX, thumbnailService, transactionService, versionService
 
Constructor Summary
QueryTest()
           
 
Method Summary
 void setUp()
           
 void test_ALLOWED_CHILD_OBJECT_TYPES()
           
 void test_BASE_TYPE_ID()
           
 void test_CHANGE_TOKEN()
           
 void test_CHECKIN_COMMENT()
           
 void test_CONTENT_STREAM_FILENAME()
           
 void test_CONTENT_STREAM_ID()
           
 void test_CONTENT_STREAM_LENGTH()
           
 void test_CONTENT_STREAM_MIME_TYPE()
           
 void test_CREATED_BY()
           
 void test_CREATION_DATE()
           
 void test_d_boolean()
           
 void test_d_date()
           
 void test_d_datetime()
           
 void test_d_double()
           
 void test_d_float()
           
 void test_d_int()
           
 void test_d_long()
           
 void test_d_mltext()
           
 void test_d_text()
           
 void test_document_Name()
           
 void test_folder_NAME()
           
 void test_IN_FOLDER()
           
 void test_IN_TREE()
           
 void test_IS_IMMUTABLE()
           
 void test_IS_LATEST_MAJOR_VERSION()
           
 void test_IS_LATEST_VERSION()
           
 void test_IS_MAJOR_VERSION()
           
 void test_IS_VERSION_SERIES_CHECKED_OUT()
           
 void test_LAST_MODIFICATION_DATE()
           
 void test_LAST_MODIFIED_BY()
           
 void test_locale()
           
 void test_OBJECT_TYPE_ID()
           
 void test_ObjectId()
           
 void test_PARENT()
           
 void test_PATH()
           
 void test_VERSION_LABEL()
           
 void test_VERSION_SERIES_CHECKED_OUT_BY()
           
 void test_VERSION_SERIES_CHECKED_OUT_ID()
           
 void test_VERSION_SERIES_ID()
           
 void testAllSimpleTextPredicates()
           
 void testAspectJoin()
           
 void testAspectProperties()
           
 void testBasicAll_ST_SITES_Columns()
           
 void testBasicAllDocumentColumns()
           
 void testBasicAllFolderColumns()
           
 void testBasicColumns()
           
 void testBasicContainsSyntax()
           
 void testBasicDefaultMetaData()
           
 void testBasicMetaData()
           
 void testBasicSelect()
           
 void testBasicSelectAsCmis()
           
 void testBasicSelectAsGuest()
           
 void testColumnAliasUse()
           
 void testDateFormattingErrors()
           
 void testDocumentEquals()
           
 void testEncodingOfTypeAndPropertyNames()
           
 void testExists()
           
 void testFolderEquals()
           
 void testFTS()
           
 void testFTSConnectives()
           
 void testFunctionColumns()
           
 void testLikeEscaping()
           
 void testNonQueryableTypes()
           
 void testObjectEquals()
           
 void testOrderableProperties()
           
 void testOrderBy()
           
 void testPaging()
           
 void testParse1()
           
 void testParse2()
           
 void testParse3()
           
 void testParse4()
           
 void testParse5()
           
 void testParse6()
           
 void testParse7()
           
 void testParse8()
           
 void testPropertyToSelectorBinding()
          In strict mode you should not be able to refer to aspect properties direct from the type
 void testScoreValues()
           
 void testSimpleConjunction()
           
 void testSimpleDisjunction()
           
 void testUpperAndLower()
           
 
Methods inherited from class org.alfresco.cmis.mapping.BaseCMISTest
runAs, tearDown
 
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

QueryTest

public QueryTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class BaseCMISTest
Throws:
java.lang.Exception

testEncodingOfTypeAndPropertyNames

public void testEncodingOfTypeAndPropertyNames()

test_ALLOWED_CHILD_OBJECT_TYPES

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

test_PARENT

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

test_PATH

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

test_CONTENT_STREAM_ID

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

test_CONTENT_STREAM_FILENAME

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

test_CONTENT_STREAM_MIME_TYPE

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

test_CONTENT_STREAM_LENGTH

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

test_CHECKIN_COMMENT

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

test_VERSION_SERIES_CHECKED_OUT_ID

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

test_VERSION_SERIES_CHECKED_OUT_BY

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

test_IS_VERSION_SERIES_CHECKED_OUT

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

test_VERSION_SERIES_ID

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

test_VERSION_LABEL

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

test_IS_LATEST_MAJOR_VERSION

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

test_IS_MAJOR_VERSION

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

test_IS_LATEST_VERSION

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

test_IS_IMMUTABLE

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

test_folder_NAME

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

test_document_Name

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

test_CHANGE_TOKEN

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

test_LAST_MODIFICATION_DATE

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

test_LAST_MODIFIED_BY

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

test_CREATION_DATE

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

test_CREATED_BY

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

test_OBJECT_TYPE_ID

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

test_BASE_TYPE_ID

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

test_ObjectId

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

testOrderBy

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

testUpperAndLower

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

testAllSimpleTextPredicates

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

testSimpleConjunction

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

testSimpleDisjunction

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

testPropertyToSelectorBinding

public void testPropertyToSelectorBinding()
                                   throws java.lang.Exception
In strict mode you should not be able to refer to aspect properties direct from the type

Throws:
java.lang.Exception

testExists

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

testObjectEquals

public void testObjectEquals()

testDocumentEquals

public void testDocumentEquals()

testFolderEquals

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

test_IN_TREE

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

test_IN_FOLDER

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

testFTS

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

testScoreValues

public void testScoreValues()

testBasicSelectAsGuest

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

testBasicSelectAsCmis

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

testBasicSelect

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

testBasicDefaultMetaData

public void testBasicDefaultMetaData()

testBasicMetaData

public void testBasicMetaData()

testBasicColumns

public void testBasicColumns()

testBasicAllDocumentColumns

public void testBasicAllDocumentColumns()

testBasicAllFolderColumns

public void testBasicAllFolderColumns()

testBasicAll_ST_SITES_Columns

public void testBasicAll_ST_SITES_Columns()

testFunctionColumns

public void testFunctionColumns()

testParse1

public void testParse1()
                throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

testParse2

public void testParse2()
                throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

testParse3

public void testParse3()
                throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

testParse4

public void testParse4()
                throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

testParse5

public void testParse5()
                throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

testParse6

public void testParse6()
                throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

testParse7

public void testParse7()
                throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

testParse8

public void testParse8()
                throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

testDateFormattingErrors

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

testAspectProperties

public void testAspectProperties()

testAspectJoin

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

testPaging

public void testPaging()

testFTSConnectives

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

testLikeEscaping

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

testColumnAliasUse

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

test_d_text

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

test_locale

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

test_d_mltext

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

test_d_float

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

test_d_double

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

test_d_int

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

test_d_long

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

test_d_date

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

test_d_datetime

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

test_d_boolean

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

testBasicContainsSyntax

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

testOrderableProperties

public void testOrderableProperties()

testNonQueryableTypes

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


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