|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.search.backend.testing.SearchEngineBackendTestCase
public abstract class SearchEngineBackendTestCase
A generic test that all backends have to pass.
Derived test cases have to:
Field Summary |
---|
Fields inherited from class org.jmock.core.MockObjectSupportTestCase |
---|
ANYTHING, NOT_NULL, NULL |
Constructor Summary | |
---|---|
SearchEngineBackendTestCase()
|
Method Summary | |
---|---|
SearchEngineBackend |
getBackend()
|
void |
setUp()
|
void |
testBunch()
Test on several documents: "About Life" 12 variations on "Revelations". |
void |
testClear()
|
void |
testDateOrderClauses()
|
void |
testFromClause()
|
void |
testIntBoolQuery()
|
void |
testIntOrderClauses()
|
void |
testNegativeLikeQueries()
|
void |
testNegativeQueries()
|
void |
testNullDateQuery()
|
void |
testOneDoc()
A full cycle on one document. |
void |
testRefQuery()
|
void |
testRegistration()
|
void |
testResultItem()
|
void |
testResultItem2()
|
void |
testSecurityIndex()
|
void |
testSecurityIndexMultiplePerms()
|
void |
testTextOrderClauses()
|
void |
testTimeStampDateQueries()
|
void |
xtestEmptyLists()
|
void |
xtestNonDefaultAnalyzer()
|
Methods inherited from class org.nuxeo.runtime.test.NXRuntimeTestCase |
---|
addWorkingDirectoryConfigurator, deploy, deployBundle, deployContrib, deployContrib, deployFolder, deployTestContrib, deployTestContrib, fireFrameworkStarted, getContext, getOSGiAdapter, getProperties, getResource, getWorkingDir, isStarted, lookupBundle, start, stop, tearDown, 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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SearchEngineBackendTestCase()
Method Detail |
---|
public void setUp() throws Exception
setUp
in class NXRuntimeTestCase
Exception
public void testRegistration()
public SearchEngineBackend getBackend()
public void testOneDoc() throws Exception
Exception
public void xtestNonDefaultAnalyzer() throws Exception
Exception
public void testSecurityIndex() throws Exception
Exception
public void testSecurityIndexMultiplePerms() throws Exception
Exception
public void testRefQuery() throws Exception
Exception
public void testIntBoolQuery() throws Exception
Exception
public void testBunch() throws Exception
Exception
public void testTimeStampDateQueries() throws Exception
Exception
public void testResultItem() throws Exception
Exception
public void testResultItem2() throws Exception
Exception
public void testNegativeLikeQueries() throws Exception
Exception
public void testNegativeQueries() throws Exception
Exception
public void xtestEmptyLists() throws Exception
Exception
public void testIntOrderClauses() throws Exception
Exception
public void testTextOrderClauses() throws Exception
Exception
public void testNullDateQuery() throws Exception
Exception
public void testDateOrderClauses() throws Exception
Exception
public void testFromClause() throws Exception
Exception
public void testClear() throws Exception
Exception
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |