org.exist.xquery.test
Class ValueIndexTest

java.lang.Object
  extended byTestCase
      extended byorg.exist.xquery.test.ValueIndexTest
Direct Known Subclasses:
ValueIndexByQNameTest

public class ValueIndexTest
extends TestCase

Author:
wolf
See Also:
Serialized Form

Constructor Summary
ValueIndexTest()
           
 
Method Summary
protected  void configureCollection()
           
protected  java.lang.String getCollectionConfig()
           
static void main(java.lang.String[] args)
           
protected  ResourceSet queryResource(XPathQueryService service, java.lang.String resource, java.lang.String query, int expected)
           
protected  void setCollectionConfig(java.lang.String cONFIG)
           
protected  void setUp()
           
protected  XPathQueryService storeXMLFileAndGetQueryService(java.lang.String documentName, java.lang.String path)
           
protected  void tearDown()
           
 void testStrings()
           
 void testUpdates()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueIndexTest

public ValueIndexTest()
Method Detail

setUp

protected void setUp()

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

configureCollection

protected void configureCollection()
                            throws XMLDBException
Throws:
XMLDBException

testStrings

public void testStrings()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testUpdates

public void testUpdates()
                 throws java.lang.Exception
Throws:
java.lang.Exception

queryResource

protected ResourceSet queryResource(XPathQueryService service,
                                    java.lang.String resource,
                                    java.lang.String query,
                                    int expected)
                             throws XMLDBException
Throws:
XMLDBException

storeXMLFileAndGetQueryService

protected XPathQueryService storeXMLFileAndGetQueryService(java.lang.String documentName,
                                                           java.lang.String path)
                                                    throws XMLDBException
Returns:
Throws:
XMLDBException

main

public static void main(java.lang.String[] args)

setCollectionConfig

protected void setCollectionConfig(java.lang.String cONFIG)
Parameters:
cONFIG - The cONFIG to set.

getCollectionConfig

protected java.lang.String getCollectionConfig()
Returns:
Returns the cONFIG.


<oXygen/> XML Editor provides support for editing and debugging XQuery expressions against the eXist XML Database.