mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM: more capabilities tests and fixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15877 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -651,7 +651,24 @@ public class ADMLuceneTest extends TestCase
|
||||
}
|
||||
|
||||
}
|
||||
public void testQuoting() throws Exception
|
||||
{
|
||||
testTX.commit();
|
||||
testTX = transactionService.getUserTransaction();
|
||||
testTX.begin();
|
||||
|
||||
SearchParameters sp = new SearchParameters();
|
||||
sp.setLanguage(SearchService.LANGUAGE_LUCENE);
|
||||
sp.setQuery("TEXT:\"te\\\"thing\\\"st\"");
|
||||
sp.addStore(rootNodeRef.getStoreRef());
|
||||
sp.excludeDataInTheCurrentTransaction(true);
|
||||
|
||||
ResultSet results = serviceRegistry.getSearchService().query(sp);
|
||||
results.close();
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void testPublicServiceSearchServicePaging() throws Exception
|
||||
{
|
||||
testTX.commit();
|
||||
|
Reference in New Issue
Block a user