org.nuiton.wikitty.api
Class AbstractSearchTest

java.lang.Object
  extended by org.nuiton.wikitty.api.AbstractSearchTest
Direct Known Subclasses:
InMemorySearchTest

public abstract class AbstractSearchTest
extends Object

User: couteau Date: 05/04/11


Field Summary
static String CATEGORY_NAME
           
static String EXT_CATEGORY
           
static String EXT_PRODUCT
           
protected static org.apache.commons.logging.Log log
           
static String PRODUCT_CATEGORY
           
static String PRODUCT_COLOR
           
static String PRODUCT_NAME
           
static String PRODUCT_PRICE
           
protected  org.nuiton.wikitty.WikittyProxy proxy
           
static String VERSION
           
static String W_ENTITY_ID
           
static String W_ID
           
 
Constructor Summary
AbstractSearchTest()
           
 
Method Summary
protected  void assertPagedResultSizeEquals(int expected, org.nuiton.wikitty.search.PagedResult result)
           
protected  void assertPaginedPagedResultSizeEquals(int expected, int expectedNumFound, org.nuiton.wikitty.search.PagedResult result)
           
protected  void assumeNotYetImplementedInMemory()
           
abstract  org.nuiton.wikitty.WikittyService getWikittyService()
           
 void initData()
           
 void testAnd()
           
 void testAssociated()
           
 void testBw()
           
 void testComplexQueries()
           
 void testContains()
           
 void testEntitiesAnd()
           
 void testEntitiesAssociated()
           
 void testEntitiesBw()
           
 void testEntitiesContains()
           
 void testEntitiesEq()
           
 void testEntitiesEw()
           
 void testEntitiesExteq()
           
 void testEntitiesFalse()
           
 void testEntitiesGe()
           
 void testEntitiesGt()
           
 void testEntitiesIdeq()
           
 void testEntitiesIdneq()
           
 void testEntitiesIn()
           
 void testEntitiesIsNotNull()
           
 void testEntitiesIsNull()
           
 void testEntitiesKeyword()
           
 void testEntitiesLe()
           
 void testEntitiesLike()
           
 void testEntitiesLt()
           
 void testEntitiesNeq()
           
 void testEntitiesNot()
           
 void testEntitiesNotew()
           
 void testEntitiesNsw()
           
 void testEntitiesOr()
           
 void testEntitiesSearchAllContains()
           monext.monfield *.monfield monext.monfield.NUMERIC *.monfield.NUMERIC
 void testEntitiesSearchAllEquals()
           monext.monfield *.monfield monext.monfield.NUMERIC *.monfield.NUMERIC
 void testEntitiesSearchAllLike()
           monext.monfield *.monfield monext.monfield.NUMERIC *.monfield.NUMERIC
 void testEntitiesSearchAllLowerCase()
           
 void testEntitiesSelect()
           
 void testEntitiesSw()
           
 void testEntitiesTrue()
           
 void testEntitiesUnlike()
           
 void testEq()
           
 void testEw()
           
 void testExteq()
           
 void testExtneq()
           
 void testFalse()
           
 void testGe()
           
 void testGt()
           
 void testIdeq()
           
 void testIdneq()
           
 void testIn()
           
 void testIsNotNull()
           
 void testIsNull()
           
 void testKeyword()
           
 void testLe()
           
 void testLike()
           
 void testLt()
           
 void testNeq()
           
 void testNot()
           
 void testNotew()
           
 void testNsw()
           
 void testOr()
           
 void testPaginedEntitiesSelect()
           
 void testPaginedSelect()
           
 void testSearchAllContains()
           monext.monfield *.monfield monext.monfield.NUMERIC *.monfield.NUMERIC
 void testSearchAllEquals()
           monext.monfield *.monfield monext.monfield.NUMERIC *.monfield.NUMERIC
 void testSearchAllLike()
           monext.monfield *.monfield monext.monfield.NUMERIC *.monfield.NUMERIC
 void testSearchAllLowerCase()
           
 void testSearchWithSort()
           
 void testSelect()
           
 void testSw()
           
 void testTrue()
           
 void testUnlike()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.commons.logging.Log log

EXT_PRODUCT

public static final String EXT_PRODUCT
See Also:
Constant Field Values

EXT_CATEGORY

public static final String EXT_CATEGORY
See Also:
Constant Field Values

PRODUCT_PRICE

public static final String PRODUCT_PRICE
See Also:
Constant Field Values

PRODUCT_NAME

public static final String PRODUCT_NAME
See Also:
Constant Field Values

PRODUCT_CATEGORY

public static final String PRODUCT_CATEGORY
See Also:
Constant Field Values

PRODUCT_COLOR

public static final String PRODUCT_COLOR
See Also:
Constant Field Values

CATEGORY_NAME

public static final String CATEGORY_NAME
See Also:
Constant Field Values

VERSION

public static final String VERSION
See Also:
Constant Field Values

W_ID

public static String W_ID

W_ENTITY_ID

public static String W_ENTITY_ID

proxy

protected org.nuiton.wikitty.WikittyProxy proxy
Constructor Detail

AbstractSearchTest

public AbstractSearchTest()
Method Detail

initData

public void initData()

assumeNotYetImplementedInMemory

protected void assumeNotYetImplementedInMemory()

testEq

public void testEq()
            throws Exception
Throws:
Exception

testEntitiesEq

public void testEntitiesEq()
                    throws Exception
Throws:
Exception

testNeq

public void testNeq()
             throws Exception
Throws:
Exception

testEntitiesNeq

public void testEntitiesNeq()
                     throws Exception
Throws:
Exception

testBw

public void testBw()
            throws Exception
Throws:
Exception

testEntitiesBw

public void testEntitiesBw()
                    throws Exception
Throws:
Exception

testLt

public void testLt()
            throws Exception
Throws:
Exception

testEntitiesLt

public void testEntitiesLt()
                    throws Exception
Throws:
Exception

testLe

public void testLe()
            throws Exception
Throws:
Exception

testEntitiesLe

public void testEntitiesLe()
                    throws Exception
Throws:
Exception

testGt

public void testGt()
            throws Exception
Throws:
Exception

testEntitiesGt

public void testEntitiesGt()
                    throws Exception
Throws:
Exception

testGe

public void testGe()
            throws Exception
Throws:
Exception

testEntitiesGe

public void testEntitiesGe()
                    throws Exception
Throws:
Exception

testContains

public void testContains()
                  throws Exception
Throws:
Exception

testEntitiesContains

public void testEntitiesContains()
                          throws Exception
Throws:
Exception

testIn

public void testIn()
            throws Exception
Throws:
Exception

testEntitiesIn

public void testEntitiesIn()
                    throws Exception
Throws:
Exception

testExteq

public void testExteq()
               throws Exception
Throws:
Exception

testEntitiesExteq

public void testEntitiesExteq()
                       throws Exception
Throws:
Exception

testExtneq

public void testExtneq()
                throws Exception
Throws:
Exception

testIdeq

public void testIdeq()
              throws Exception
Throws:
Exception

testEntitiesIdeq

public void testEntitiesIdeq()
                      throws Exception
Throws:
Exception

testIdneq

public void testIdneq()
               throws Exception
Throws:
Exception

testEntitiesIdneq

public void testEntitiesIdneq()
                       throws Exception
Throws:
Exception

testUnlike

public void testUnlike()
                throws Exception
Throws:
Exception

testEntitiesUnlike

public void testEntitiesUnlike()
                        throws Exception
Throws:
Exception

testLike

public void testLike()
              throws Exception
Throws:
Exception

testEntitiesLike

public void testEntitiesLike()
                      throws Exception
Throws:
Exception

testSw

public void testSw()
            throws Exception
Throws:
Exception

testEntitiesSw

public void testEntitiesSw()
                    throws Exception
Throws:
Exception

testNsw

public void testNsw()
             throws Exception
Throws:
Exception

testEntitiesNsw

public void testEntitiesNsw()
                     throws Exception
Throws:
Exception

testEw

public void testEw()
            throws Exception
Throws:
Exception

testEntitiesEw

public void testEntitiesEw()
                    throws Exception
Throws:
Exception

testNotew

public void testNotew()
               throws Exception
Throws:
Exception

testEntitiesNotew

public void testEntitiesNotew()
                       throws Exception
Throws:
Exception

testKeyword

public void testKeyword()
                 throws Exception
Throws:
Exception

testEntitiesKeyword

public void testEntitiesKeyword()
                         throws Exception
Throws:
Exception

testIsNull

public void testIsNull()
                throws Exception
Throws:
Exception

testEntitiesIsNull

public void testEntitiesIsNull()
                        throws Exception
Throws:
Exception

testIsNotNull

public void testIsNotNull()
                   throws Exception
Throws:
Exception

testEntitiesIsNotNull

public void testEntitiesIsNotNull()
                           throws Exception
Throws:
Exception

testFalse

public void testFalse()
               throws Exception
Throws:
Exception

testEntitiesFalse

public void testEntitiesFalse()
                       throws Exception
Throws:
Exception

testTrue

public void testTrue()
              throws Exception
Throws:
Exception

testEntitiesTrue

public void testEntitiesTrue()
                      throws Exception
Throws:
Exception

testAnd

public void testAnd()
             throws Exception
Throws:
Exception

testEntitiesAnd

public void testEntitiesAnd()
                     throws Exception
Throws:
Exception

testOr

public void testOr()
            throws Exception
Throws:
Exception

testEntitiesOr

public void testEntitiesOr()
                    throws Exception
Throws:
Exception

testNot

public void testNot()
             throws Exception
Throws:
Exception

testEntitiesNot

public void testEntitiesNot()
                     throws Exception
Throws:
Exception

testAssociated

public void testAssociated()
                    throws Exception
Throws:
Exception

testEntitiesAssociated

public void testEntitiesAssociated()
                            throws Exception
Throws:
Exception

testSearchAllEquals

public void testSearchAllEquals()
  • monext.monfield
  • *.monfield
  • monext.monfield.NUMERIC
  • *.monfield.NUMERIC


  • testEntitiesSearchAllEquals

    public void testEntitiesSearchAllEquals()
  • monext.monfield
  • *.monfield
  • monext.monfield.NUMERIC
  • *.monfield.NUMERIC


  • testSearchAllContains

    public void testSearchAllContains()
  • monext.monfield
  • *.monfield
  • monext.monfield.NUMERIC
  • *.monfield.NUMERIC


  • testEntitiesSearchAllContains

    public void testEntitiesSearchAllContains()
  • monext.monfield
  • *.monfield
  • monext.monfield.NUMERIC
  • *.monfield.NUMERIC


  • testSearchAllLike

    public void testSearchAllLike()
  • monext.monfield
  • *.monfield
  • monext.monfield.NUMERIC
  • *.monfield.NUMERIC


  • testEntitiesSearchAllLike

    public void testEntitiesSearchAllLike()
  • monext.monfield
  • *.monfield
  • monext.monfield.NUMERIC
  • *.monfield.NUMERIC


  • testSearchAllLowerCase

    public void testSearchAllLowerCase()

    testEntitiesSearchAllLowerCase

    public void testEntitiesSearchAllLowerCase()

    testSearchWithSort

    public void testSearchWithSort()

    testSelect

    public void testSelect()
                    throws Exception
    Throws:
    Exception

    testEntitiesSelect

    public void testEntitiesSelect()
                            throws Exception
    Throws:
    Exception

    testPaginedSelect

    public void testPaginedSelect()
                           throws Exception
    Throws:
    Exception

    testPaginedEntitiesSelect

    public void testPaginedEntitiesSelect()
                                   throws Exception
    Throws:
    Exception

    testComplexQueries

    public void testComplexQueries()
                            throws Exception
    Throws:
    Exception

    assertPagedResultSizeEquals

    protected void assertPagedResultSizeEquals(int expected,
                                               org.nuiton.wikitty.search.PagedResult result)

    assertPaginedPagedResultSizeEquals

    protected void assertPaginedPagedResultSizeEquals(int expected,
                                                      int expectedNumFound,
                                                      org.nuiton.wikitty.search.PagedResult result)

    getWikittyService

    public abstract org.nuiton.wikitty.WikittyService getWikittyService()


    Copyright © 2009-2012 CodeLutin. All Rights Reserved.