org.nuxeo.ecm.core.query.test
Class QueryTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jmock.core.VerifyingTestCase
org.jmock.core.MockObjectSupportTestCase
org.jmock.MockObjectTestCase
org.nuxeo.runtime.test.NXRuntimeTestCase
org.nuxeo.ecm.core.query.test.QueryTestCase
- All Implemented Interfaces:
- junit.framework.Test, RuntimeHarness
public abstract class QueryTestCase
- extends NXRuntimeTestCase
- Author:
- Dragos Mihalache, Florent Guillaume, Benjamin Jalon
Fields inherited from class org.jmock.core.MockObjectSupportTestCase |
ANYTHING, NOT_NULL, NULL |
Methods inherited from class org.nuxeo.runtime.test.NXRuntimeTestCase |
addWorkingDirectoryConfigurator, deploy, deployBundle, deployContrib, deployContrib, deployFolder, deployTestContrib, deployTestContrib, fireFrameworkStarted, getResource, getWorkingDir, isStarted, start, stop, undeploy, undeployContrib, undeployContrib |
Methods inherited from class org.jmock.MockObjectTestCase |
atLeastOnce, atMostOnce, defaultMockNameForType, doAll, doAll, doAll, doAll, exactly, mock, mock, never, never, newDummy, newDummy, newDummy, once, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, returnIterator, returnIterator, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, throwException |
Methods inherited from class org.jmock.core.MockObjectSupportTestCase |
and, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, collectionContaining, collectionContaining, compatibleType, contains, endsWith, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, hasProperty, hasProperty, isA, isIn, isIn, mapContaining, mapContaining, mapWithKey, mapWithKey, mapWithValue, mapWithValue, not, or, same, startsWith, stringContains, toString |
Methods inherited from class org.jmock.core.VerifyingTestCase |
registerToVerify, runBare, unregisterToVerify, verify |
Methods inherited from class junit.framework.TestCase |
countTestCases, getName, run, run, 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 |
REPOSITORY_NAME
public static final String REPOSITORY_NAME
- See Also:
- Constant Field Values
session
public CoreSession session
QueryTestCase
public QueryTestCase()
setUp
public void setUp()
throws Exception
- Overrides:
setUp
in class NXRuntimeTestCase
- Throws:
Exception
deployRepository
public abstract void deployRepository()
throws Exception
- Throws:
Exception
undeployRepository
public abstract void undeployRepository()
throws Exception
- Throws:
Exception
tearDown
public void tearDown()
throws Exception
- Overrides:
tearDown
in class NXRuntimeTestCase
- Throws:
Exception
openSession
public void openSession()
throws ClientException
- Throws:
ClientException
closeSession
public void closeSession()
testQueryBasic
public void testQueryBasic()
throws Exception
- Throws:
Exception
testQueryMultiple
public void testQueryMultiple()
throws Exception
- Throws:
Exception
testQueryNegativeMultiple
public void testQueryNegativeMultiple()
throws Exception
- Throws:
Exception
testQueryAfterEdit
public void testQueryAfterEdit()
throws ClientException,
IOException
- Throws:
ClientException
IOException
testOrderBy
public void testOrderBy()
throws Exception
- Throws:
Exception
testOrderBySeveralColumns
public void testOrderBySeveralColumns()
throws Exception
- Throws:
Exception
testOrderBySameColumns
public void testOrderBySameColumns()
throws Exception
- Throws:
Exception
testOrderByPath
public void testOrderByPath()
throws Exception
- Throws:
Exception
testOrderByPos
public void testOrderByPos()
throws Exception
- Throws:
Exception
testBatching
public void testBatching()
throws Exception
- Throws:
Exception
doBatching
public void doBatching(boolean checkNames)
throws Exception
- Throws:
Exception
testEcmPathEqual
public void testEcmPathEqual()
throws Exception
- Throws:
Exception
testStartsWith
public void testStartsWith()
throws Exception
- Throws:
Exception
testStartsWithMove
public void testStartsWithMove()
throws Exception
- Throws:
Exception
testStartsWithNonPath
public void testStartsWithNonPath()
throws Exception
- Throws:
Exception
testReindexEditedDocument
public void testReindexEditedDocument()
throws Exception
- Throws:
Exception
testDate
public void testDate()
throws Exception
- Throws:
Exception
testBoolean
public void testBoolean()
throws Exception
- Throws:
Exception
testQueryWithSecurity
public void testQueryWithSecurity()
throws Exception
- Throws:
Exception
testQueryWithSecurityAndFulltext
public void testQueryWithSecurityAndFulltext()
throws Exception
- Throws:
Exception
testSecurityManagerBasic
public void testSecurityManagerBasic()
throws Exception
- Throws:
Exception
testSecurityManagerWithTransformer
public void testSecurityManagerWithTransformer()
throws Exception
- Throws:
Exception
doTestSecurityManager
public void doTestSecurityManager(String contrib)
throws Exception
- Throws:
Exception
testQueryWithProxies
public void testQueryWithProxies()
throws Exception
- Throws:
Exception
testQueryWithProxiesNegativeMultiple
public void testQueryWithProxiesNegativeMultiple()
throws Exception
- Throws:
Exception
testQueryPaging
public void testQueryPaging()
throws Exception
- Throws:
Exception
testQuerySpecialFields
public void testQuerySpecialFields()
throws Exception
- Throws:
Exception
testEmptyLifecycle
public void testEmptyLifecycle()
throws Exception
- Throws:
Exception
testFulltext
public void testFulltext()
throws Exception
- Throws:
Exception
testFulltextProxy
public void testFulltextProxy()
throws Exception
- Throws:
Exception
testFulltextExpressionSyntax
public void testFulltextExpressionSyntax()
throws Exception
- Throws:
Exception
testFulltextExpressionPhrase
public void testFulltextExpressionPhrase()
throws Exception
- Throws:
Exception
testFulltextSecondary
public void testFulltextSecondary()
throws Exception
- Throws:
Exception
testFulltextBlob
public void testFulltextBlob()
throws Exception
- Throws:
Exception
testFullTextCopy
public void testFullTextCopy()
throws Exception
- Throws:
Exception
testOrderByAndDistinct
public void testOrderByAndDistinct()
throws Exception
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.