|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.wikitty.WikittyClientAbstractTest
org.nuiton.wikitty.WikittyClientTest
public class WikittyClientTest
Wikitty client test to test for client use.
This test is designed to be overridden and change WikittyClient
implementation.
Test begin with 'testStorage' focus on store/restore.
Test begin with 'testFind' or 'testSearch' focus on search engine.
| Field Summary |
|---|
| Fields inherited from class org.nuiton.wikitty.WikittyClientAbstractTest |
|---|
df, MEDIA_EXTENSION, MEDIA_EXTENSION_NAME, MOVIE_EXTENSION, MOVIE_EXTENSION_NAME, wikittyClient, wikittyConfig |
| Constructor Summary | |
|---|---|
WikittyClientTest()
|
|
| Method Summary | |
|---|---|
protected void |
assign(org.nuiton.wikitty.entities.Wikitty wikitty,
org.nuiton.wikitty.entities.WikittyTreeNodeImpl root,
String path)
Deprecated. remove this undocumented method |
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 |
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()
FIXME echatellier 20120131 fix test (fails with solr analyzer) |
void |
testQueryParseFalse()
|
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 |
testQueryParserUnlike()
|
void |
testQueryParserWilcardEquals()
FIXME echatellier 20120131 fix test (fails with solr analyzer) |
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 |
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 |
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()
FIXME echatellier 20120131 fix test (fails with solr analyzer) |
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()
|
| Methods inherited from class org.nuiton.wikitty.WikittyClientAbstractTest |
|---|
addTestDataInClient, assumeTrueSearchEngineCanRunTest, getWikittyClient, importBooks, importClients, setUpConfig, setUpTestData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WikittyClientTest()
| Method Detail |
|---|
public void testStorageRestoreBasics()
public void testStorageExtensionMethod()
public void testStorageExtensionDelete()
public void testStorageExtensionDeleteUsed()
public void testStorageExtensionRequires()
public void testStorageRestoreLists()
throws ParseException
ParseException
public void testStorageRestoreSingle()
throws Exception
Exception
public void testStorageRestoreNull()
throws Exception
Exception
public void testFieldConstraint()
throws Exception
Exception
public void testSearchByExampleFacet()
throws Exception
Exception
public void testSearchExtensionFacet()
throws Exception
Exception
public void testStorageFindDelete()
throws ParseException
ParseException
public void testStorageAndLabel()
throws Exception
Exception
public void testStorageAndClassification()
throws Exception
Exception
@Deprecated
protected void assign(org.nuiton.wikitty.entities.Wikitty wikitty,
org.nuiton.wikitty.entities.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
IOException
public void testImportCSVBooksLinks()
throws IOException
IOException
public void testImportClients()
throws IOException
IOException
public void testImportTwice()
throws IOException
IOExceptionpublic void testI18n()
public void testFindAllByLabel()
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
IOException
public void testQueryParserContainsAll()
throws IOException
IOException
public void testQueryMakerContainsOne()
throws IOException
IOException
public void testQueryParserContainsOne()
throws IOException
IOException
public void testQueryParserExteq()
throws IOException
IOException
public void testQueryMakerIdeq()
throws IOException
IOException
public void testQueryParserIdeq()
throws IOException
IOException
public void testQueryMakerIdneq()
throws IOException
IOException
public void testQueryParserIdneq()
throws IOException
IOException
public void testQueryMakerUnlike()
throws IOException
IOException
public void testQueryParserUnlike()
throws IOException
IOException
public void testQueryMakerLike()
throws IOException
IOException
public void testQueryParserLike()
throws IOException
IOException
public void testQueryMakerSw()
throws IOException
IOException
public void testQueryParserEw()
throws IOException
IOException
public void testQueryMakerNotsw()
throws IOException
IOException
public void testQueryParserNotsw()
throws IOException
IOException
public void testQueryMakerNotew()
throws IOException
IOException
public void testQueryParserNotew()
throws IOException
IOException
public void testQueryMakerKeyword()
throws IOException
IOException
public void testQueryParserKeyword()
throws IOException
IOException
public void testQueryMakerIsNull()
throws IOException
IOException
public void testQueryParserIsNull()
throws IOException
IOException
public void testQueryMakerIsNotNull()
throws IOException
IOException
public void testQueryParserIsNotNull()
throws IOException
IOExceptionpublic void testQueryMakerFalse()
public void testQueryMakerTrue()
public void testQueryParseTrue()
public void testQueryParseFalse()
public void testQueryMakerAnd()
throws IOException
IOException
public void testQueryParserAnd()
throws IOException
IOException
public void testQueryMakerOr()
throws IOException
IOException
public void testQueryParserOr()
throws IOException
IOExceptionpublic void testQueryMakerNot()
public void testQueryMakerSelect()
throws IOException
IOException
public void testQueryParserSelect()
throws IOException
IOException
public 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
IOException
public void testQueryMarkerSelectSortAndAggregate()
throws Exception
Exception
public void testQueryMakerFacetOnGroup()
throws Exception
Exception
public void testQueryMakerEqOnGroup()
throws Exception
Exception
public void testQueryMarkerSelect()
throws Exception
Exception
public void testQueryParserOnTree()
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
IOException
public void testSearchEngineCountAttachmentNodeMove()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||