org.exist.collections.triggers.test
Class XQueryTriggerTest

java.lang.Object
  extended byXMLTestCase
      extended byorg.exist.collections.triggers.test.XQueryTriggerTest

public class XQueryTriggerTest
extends XMLTestCase

class under test : XQueryTrigger

Author:
Pierrick Brihaye
See Also:
Serialized Form

Constructor Summary
XQueryTriggerTest()
           
 
Method Summary
 void bugtestUpdateDocument()
          test a trigger fired by a Document Update
static void main(java.lang.String[] args)
           
protected  void setUp()
          just start the DB and create the test collection
 void testDeleteDocument()
          test a trigger fired by a Document Delete
 void testStoreDocument()
          test a trigger fired by storing a Document
 void testStorePreliminaryDocuments()
          create "log" document that will be updated by the trigger, and store the XQuery module implementing the trigger under test
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XQueryTriggerTest

public XQueryTriggerTest()
Method Detail

setUp

protected void setUp()
just start the DB and create the test collection


testStorePreliminaryDocuments

public void testStorePreliminaryDocuments()
create "log" document that will be updated by the trigger, and store the XQuery module implementing the trigger under test


testStoreDocument

public void testStoreDocument()
test a trigger fired by storing a Document


bugtestUpdateDocument

public void bugtestUpdateDocument()
test a trigger fired by a Document Update


testDeleteDocument

public void testDeleteDocument()
test a trigger fired by a Document Delete


main

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


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