public class WikittyClientTest extends WikittyClientAbstractTest
WikittyClient
implementation.
Test begin with 'testStorage' focus on store/restore.
Test begin with 'testFind' or 'testSearch' focus on search engine.df, MEDIA_EXTENSION, MEDIA_EXTENSION_NAME, MOVIE_EXTENSION, MOVIE_EXTENSION_NAME, wikittyClient, wikittyConfig| Constructor and Description |
|---|
WikittyClientTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assign(org.nuiton.wikitty.entities.Wikitty wikitty,
WikittyTreeNodeImpl root,
String path)
Deprecated.
remove this undocumented method
|
void |
testCryptAndPatternField() |
void |
testExportCSV()
Test le resultat attendu d'un export CSV.
|
void |
testExportXml()
Test le resultat attendu d'un export XML.
|
void |
testFieldConstraint() |
void |
testFindAllByLabel()
Test d'ajout de labels sur un wikitty et de recherche par label.
|
void |
testFindByQueryMaker()
Test a query with query maker.
|
void |
testFindByQueryMakerMuliple()
Test a query with query maker multiple.
|
void |
testFindByQueryMakerNoneFound()
Test a query with query maker without result.
|
void |
testFindQueryOnMovies()
Test la recherche sur les extensions et wikitty crée manuelement.
|
void |
testFindQueryParser()
Test a query with query parser.
|
void |
testFindQueryParserMuliple()
Test a query with query parser multiples.
|
void |
testI18n()
Test i18n in wikitty.
|
void |
testImportClients()
Test les requetage après l'import client.
|
void |
testImportCSVBooks()
Test l'import csv des livres.
|
void |
testImportCSVBooksLinks()
Test dans l'import csv que les request de liaisons d'elements
fonctionne.
|
void |
testImportTwice()
Test que faire l'import après avoir modifier un des wikitty ecrase les
données.
|
void |
testImportXml()
Import le fichier importclient.xml qui correspond aux mêmes données
que les fichiers importclient.csv et importtree*.csv.
|
void |
testPaginedSearchSelect()
Test de la selection et de la pagination.
|
void |
testPreloadBoucle() |
void |
testPreloadCollection() |
void |
testPreloadSimple() |
void |
testQueryMakerAnd() |
void |
testQueryMakerBw()
Test between.
|
void |
testQueryMakerContainsAll() |
void |
testQueryMakerContainsOne() |
void |
testQueryMakerEq()
Test eq() operator.
|
void |
testQueryMakerEqFqf()
Test eq() operator.
|
void |
testQueryMakerEqOnGroup() |
void |
testQueryMakerFacetOnGroup() |
void |
testQueryMakerFalse() |
void |
testQueryMakerGt() |
void |
testQueryMakerIdeq() |
void |
testQueryMakerIdneq() |
void |
testQueryMakerIsNotNull() |
void |
testQueryMakerIsNull() |
void |
testQueryMakerKeyword() |
void |
testQueryMakerLike() |
void |
testQueryMakerLowerCaseSearch() |
void |
testQueryMakerLt() |
void |
testQueryMakerNeq()
Test neq() operator.
|
void |
testQueryMakerNot() |
void |
testQueryMakerNotew() |
void |
testQueryMakerNotsw() |
void |
testQueryMakerOr() |
void |
testQueryMakerSelect()
Test avec des requettes imbriquées.
|
void |
testQueryMakerSw() |
void |
testQueryMakerTrue() |
void |
testQueryMakerUnlike() |
void |
testQueryMarkerSelect() |
void |
testQueryMarkerSelectSortAndAggregate() |
void |
testQueryMarkerWilcardEquals() |
void |
testQueryParseFalse() |
void |
testQueryParseOffsetAndLimit()
Test de limit et offset dans le parser.
|
void |
testQueryParserAnd() |
void |
testQueryParserContainsAll() |
void |
testQueryParserContainsOne() |
void |
testQueryParserEw() |
void |
testQueryParserExteq() |
void |
testQueryParserGe() |
void |
testQueryParserIdeq() |
void |
testQueryParserIdneq() |
void |
testQueryParserIsNotNull() |
void |
testQueryParserIsNull() |
void |
testQueryParserKeyword() |
void |
testQueryParserLe() |
void |
testQueryParserLike() |
void |
testQueryParserLowerCaseSearch() |
void |
testQueryParserNotew() |
void |
testQueryParserNotsw() |
void |
testQueryParserOnTree() |
void |
testQueryParserOr() |
void |
testQueryParserSelect()
Test avec des requettes imbriquées.
|
void |
testQueryParserSimpleQuote()
Test de ' comme chaine de caractere
|
void |
testQueryParserUnlike() |
void |
testQueryParserWilcardEquals() |
void |
testQueryParseTrue() |
void |
testReindexWithAttachement()
Test que lors de la reindexation les noeuds indexés le sont
correctement si leur attachement ne sont pas encore
présent dans l'index.
|
void |
testReindexWithAttachementOrdering()
Test que lors de la reindexation les noeuds indexés le sont
correctement si leur attachement ne sont pas encore
présent dans l'index.
|
void |
testRestoreStoreWithPreload() |
void |
testSearchByExampleFacet() |
void |
testSearchEngineCountAttachment()
Test le nombre d'attachment (fichiers attachés) au noeud des arbres.
|
void |
testSearchEngineCountAttachmentAfterDeletion()
Test le nombre d'attachment (fichiers attachés) au noeud des arbres.
|
void |
testSearchEngineCountAttachmentFiltered()
Test le nombre d'attachment (fichiers attachés) au noeud des arbres
avec un filtre cette fois.
|
void |
testSearchEngineCountAttachmentMultipleSameNode()
Test le nombre d'attachment (fichiers attachés) au noeud des arbres.
|
void |
testSearchEngineCountAttachmentNodeMove()
Test le nombre d'attachment (fichiers attachés) au noeud des arbres.
|
void |
testSearchEngineFullTextSearch()
Test la recherche full text.
|
void |
testSearchExtensionFacet() |
void |
testSearchExtensionFacetExplicitly() |
void |
testSearchFacetSingleField() |
void |
testSearchWithAccent()
Test les recherches avec les accents et les charactères spéciaux.
|
void |
testSearchWithSort1()
Test sort on wildcard fields.
|
void |
testSearchWithSort2()
Creer une nouvelle extension avec des données non ordonnées et fait
une recherche triée dessus.
|
void |
testSearchWithSortTestData()
Test sort on test data.
|
void |
testSolrDeleteDocument()
Test que lorsqu'un document solr est supprimé, il l'est réelement
car le proxy gere les retours null pour des documents qui n'existe
plus dans le base, mais les recherches continue de les trouver.
|
void |
testSolrDeleteMoreThan10Documents()
Test que lorsque plus de 10 documents solr sont supprimés, il le sont
réelement car par défault, solr limte les resultats à 10.
|
void |
testStorageAndClassification() |
void |
testStorageAndLabel() |
void |
testStorageBinaryField() |
void |
testStorageCastTo()
Test de la methode cast du wikitty client.
|
void |
testStorageExtensionDelete()
Test que la suppression d'une extension est possible.
|
void |
testStorageExtensionDeleteUsed()
Test que la suppression echoue si l'extension est utilisee.
|
void |
testStorageExtensionMethod() |
void |
testStorageExtensionRequires() |
void |
testStorageFindDelete()
Test qu'une recherche fonctionne et que la même recherche apres
suppression ne trouve plus l'element.
|
void |
testStoragePreviouslyDeleted()
Test qu'une sauvegarde de wikitty précédemment supprimé fonctionne.
|
void |
testStorageRestoreBasics() |
void |
testStorageRestoreLists()
Test seulement la methode restore().
|
void |
testStorageRestoreNull() |
void |
testStorageRestoreSingle() |
void |
testStorageVersionForce()
Test les differents cas du forcage de version lors du store.
|
void |
testStoreUnmodifiedEntity() |
void |
testTimeQuery()
Test time query duration
|
addTestDataInClient, assumeTrueSearchEngineCanRunTest, getWikittyClient, importBooks, importClients, setUpConfig, setUpTestDatapublic void testStorageRestoreBasics()
public void testStorageExtensionMethod()
public void testStorageExtensionDelete()
public void testStorageExtensionDeleteUsed()
public void testStorageExtensionRequires()
public void testStorageRestoreLists()
throws ParseException
ParseExceptionpublic void testSearchExtensionFacetExplicitly()
throws Exception
Exceptionpublic void testStorageFindDelete()
throws ParseException
ParseExceptionpublic void testStorageAndClassification()
throws Exception
Exception@Deprecated protected void assign(org.nuiton.wikitty.entities.Wikitty wikitty, WikittyTreeNodeImpl root, String path)
public void testStorageCastTo()
public void testStorageVersionForce()
public void testStoragePreviouslyDeleted()
public void testStorageBinaryField()
public void testStoreUnmodifiedEntity()
public void testFindByQueryMaker()
public void testFindByQueryMakerNoneFound()
public void testFindByQueryMakerMuliple()
public void testFindQueryParser()
public void testFindQueryParserMuliple()
public void testFindQueryOnMovies()
public void testExportXml()
public void testImportXml()
throws IOException
WikittyClientAbstractTest.importClients().IOExceptionpublic void testExportCSV()
public void testImportCSVBooks()
throws IOException
IOExceptionpublic void testImportCSVBooksLinks()
throws IOException
IOExceptionpublic void testImportClients()
throws IOException
IOExceptionpublic void testImportTwice()
throws IOException
IOExceptionpublic void testI18n()
public void testFindAllByLabel()
public void testQueryParserSimpleQuote()
throws IOException
IOExceptionpublic void testQueryParseOffsetAndLimit()
public void testQueryMakerEq()
public void testQueryMakerEqFqf()
public void testQueryMakerNeq()
public void testQueryMakerBw()
public void testQueryMakerLt()
public void testQueryParserLe()
public void testQueryMakerGt()
public void testQueryParserGe()
public void testQueryMakerContainsAll()
throws IOException
IOExceptionpublic void testQueryParserContainsAll()
throws IOException
IOExceptionpublic void testQueryMakerContainsOne()
throws IOException
IOExceptionpublic void testQueryParserContainsOne()
throws IOException
IOExceptionpublic void testQueryParserExteq()
throws IOException
IOExceptionpublic void testQueryMakerIdeq()
throws IOException
IOExceptionpublic void testQueryParserIdeq()
throws IOException
IOExceptionpublic void testQueryMakerIdneq()
throws IOException
IOExceptionpublic void testQueryParserIdneq()
throws IOException
IOExceptionpublic void testQueryMakerUnlike()
throws IOException
IOExceptionpublic void testQueryParserUnlike()
throws IOException
IOExceptionpublic void testQueryMakerLike()
throws IOException
IOExceptionpublic void testQueryParserLike()
throws IOException
IOExceptionpublic void testQueryMakerSw()
throws IOException
IOExceptionpublic void testQueryParserEw()
throws IOException
IOExceptionpublic void testQueryMakerNotsw()
throws IOException
IOExceptionpublic void testQueryParserNotsw()
throws IOException
IOExceptionpublic void testQueryMakerNotew()
throws IOException
IOExceptionpublic void testQueryParserNotew()
throws IOException
IOExceptionpublic void testQueryMakerKeyword()
throws IOException
IOExceptionpublic void testQueryParserKeyword()
throws IOException
IOExceptionpublic void testQueryMakerIsNull()
throws IOException
IOExceptionpublic void testQueryParserIsNull()
throws IOException
IOExceptionpublic void testQueryMakerIsNotNull()
throws IOException
IOExceptionpublic void testQueryParserIsNotNull()
throws IOException
IOExceptionpublic void testQueryMakerFalse()
public void testQueryMakerTrue()
public void testQueryParseTrue()
public void testQueryParseFalse()
public void testQueryMakerAnd()
throws IOException
IOExceptionpublic void testQueryParserAnd()
throws IOException
IOExceptionpublic void testQueryMakerOr()
throws IOException
IOExceptionpublic void testQueryParserOr()
throws IOException
IOExceptionpublic void testQueryMakerNot()
public void testQueryMakerSelect()
throws IOException
IOExceptionpublic void testQueryParserSelect()
throws IOException
IOExceptionpublic void testSearchFacetSingleField()
throws Exception
Exceptionpublic void testQueryMarkerWilcardEquals()
public void testQueryParserWilcardEquals()
public void testQueryMakerLowerCaseSearch()
public void testQueryParserLowerCaseSearch()
public void testSearchWithSort1()
public void testSearchWithSort2()
public void testSearchWithSortTestData()
public void testSearchWithAccent()
public void testPaginedSearchSelect()
throws IOException
IOExceptionpublic void testQueryMarkerSelectSortAndAggregate()
throws Exception
Exceptionpublic void testQueryMakerFacetOnGroup()
throws Exception
Exceptionpublic void testSearchEngineFullTextSearch()
public void testReindexWithAttachement()
public void testReindexWithAttachementOrdering()
public void testSolrDeleteDocument()
public void testSolrDeleteMoreThan10Documents()
public void testSearchEngineCountAttachment()
public void testSearchEngineCountAttachmentFiltered()
public void testSearchEngineCountAttachmentAfterDeletion()
public void testSearchEngineCountAttachmentMultipleSameNode()
throws IOException
IOExceptionpublic void testSearchEngineCountAttachmentNodeMove()
throws IOException
IOExceptionpublic void testTimeQuery()
Copyright © 2009–2014 CodeLutin. All rights reserved.