com.fatdog.xmlEngine.junitTest
Class TwoFileXPaths

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.fatdog.xmlEngine.junitTest.OneFileXPaths
              extended bycom.fatdog.xmlEngine.junitTest.TwoFileXPaths
All Implemented Interfaces:
junit.framework.Test

public class TwoFileXPaths
extends OneFileXPaths

Tests a variety of XQuery expressions that select nodes from a two-document collection.

Files referenced are "bib.xml" and "bib_2.xml". "bib_2" is identical to "bib", except that all element and attribute names have been prefixed by "xqe:". (This version of the query engine does not support proper namespace declarations.)

Version:
0.66
Author:
Howard Katz, howardk@fatdog.com

Constructor Summary
TwoFileXPaths()
           
 
Method Summary
static junit.framework.Test suite()
           
 void test_descendants_4()
           
 void test_filter_1()
           
 void test_filter_2_1()
           
 void test_filter_2_2()
           
 void test_filter_3()
           
 void test_filter_4_1()
           
 void test_filter_4_2()
           
 void test_filter_5_1()
           
 void test_filter_5_2()
           
 void test_filter_5_3()
           
 void test_filter_7()
           
 void test_filter_8()
           
 void test_getDocNameOutOfRange()
           
 void test_getDocNames()
           
 void test_getNodeCounts()
           
 void test_getNumDocs()
           
 void test_node_1()
           
 void test_node_2()
           
 void test_parent_1()
           
 void test_parent_2_2()
           
 void test_root_4()
           
 void test_subscripts_1()
           
 void test_subscripts_14()
           
 void test_text_1()
           
 void test_wildcard_1()
           
 
Methods inherited from class com.fatdog.xmlEngine.junitTest.OneFileXPaths
test_attributes_1, test_attributes_2, test_attributes_3, test_child_1, test_child_2, test_child_3, test_descendants_1, test_descendants_2, test_descendants_3, test_filter_0, test_filter_00, test_filter_2, test_filter_4, test_filter_5, test_filter_6, test_misc_nodeTypesAtLeaf_1, test_misc_nodeTypesAtLeaf_2, test_misc_nodeTypesAtLeaf_3, test_misc_nodeTypesAtLeaf_4, test_node_3, test_node_4, test_parent_2, test_parent_3, test_parent_4, test_protocolHandler_1, test_root_1, test_root_2, test_root_3, test_root_5, test_root_6, test_subscripts_10, test_subscripts_11, test_subscripts_12, test_subscripts_13, test_subscripts_15, test_subscripts_2, test_subscripts_3, test_subscripts_4, test_subscripts_5, test_subscripts_6, test_subscripts_7, test_subscripts_8, test_subscripts_9, test_text_2, test_text_3, test_text_4, test_wildcard_2
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TwoFileXPaths

public TwoFileXPaths()
Method Detail

test_descendants_4

public void test_descendants_4()
Overrides:
test_descendants_4 in class OneFileXPaths

test_filter_1

public void test_filter_1()
                   throws InvalidQueryException
Overrides:
test_filter_1 in class OneFileXPaths
Throws:
InvalidQueryException

test_filter_2_1

public void test_filter_2_1()
                     throws InvalidQueryException
Throws:
InvalidQueryException

test_filter_2_2

public void test_filter_2_2()
                     throws InvalidQueryException
Throws:
InvalidQueryException

test_filter_3

public void test_filter_3()
                   throws InvalidQueryException
Overrides:
test_filter_3 in class OneFileXPaths
Throws:
InvalidQueryException

test_filter_4_1

public void test_filter_4_1()
                     throws InvalidQueryException
Throws:
InvalidQueryException

test_filter_4_2

public void test_filter_4_2()
                     throws InvalidQueryException
Throws:
InvalidQueryException

test_filter_5_1

public void test_filter_5_1()
                     throws InvalidQueryException
Throws:
InvalidQueryException

test_filter_5_2

public void test_filter_5_2()
                     throws InvalidQueryException
Throws:
InvalidQueryException

test_filter_5_3

public void test_filter_5_3()
                     throws InvalidQueryException
Throws:
InvalidQueryException

test_filter_7

public void test_filter_7()
                   throws InvalidQueryException
Overrides:
test_filter_7 in class OneFileXPaths
Throws:
InvalidQueryException

test_filter_8

public void test_filter_8()
                   throws InvalidQueryException
Overrides:
test_filter_8 in class OneFileXPaths
Throws:
InvalidQueryException

test_getNumDocs

public void test_getNumDocs()
Overrides:
test_getNumDocs in class OneFileXPaths

test_getDocNames

public void test_getDocNames()
Overrides:
test_getDocNames in class OneFileXPaths

test_getDocNameOutOfRange

public void test_getDocNameOutOfRange()
Overrides:
test_getDocNameOutOfRange in class OneFileXPaths

test_getNodeCounts

public void test_getNodeCounts()
Overrides:
test_getNodeCounts in class OneFileXPaths

test_node_1

public void test_node_1()
                 throws InvalidQueryException
Overrides:
test_node_1 in class OneFileXPaths
Throws:
InvalidQueryException

test_node_2

public void test_node_2()
                 throws InvalidQueryException
Overrides:
test_node_2 in class OneFileXPaths
Throws:
InvalidQueryException

test_parent_1

public void test_parent_1()
                   throws InvalidQueryException
Overrides:
test_parent_1 in class OneFileXPaths
Throws:
InvalidQueryException

test_root_4

public void test_root_4()
                 throws InvalidQueryException
Overrides:
test_root_4 in class OneFileXPaths
Throws:
InvalidQueryException

test_subscripts_1

public void test_subscripts_1()
                       throws InvalidQueryException
Overrides:
test_subscripts_1 in class OneFileXPaths
Throws:
InvalidQueryException

test_subscripts_14

public void test_subscripts_14()
                        throws InvalidQueryException
Overrides:
test_subscripts_14 in class OneFileXPaths
Throws:
InvalidQueryException

test_parent_2_2

public void test_parent_2_2()
                     throws InvalidQueryException
Throws:
InvalidQueryException

test_text_1

public void test_text_1()
                 throws InvalidQueryException
Overrides:
test_text_1 in class OneFileXPaths
Throws:
InvalidQueryException

test_wildcard_1

public void test_wildcard_1()
                     throws InvalidQueryException
Overrides:
test_wildcard_1 in class OneFileXPaths
Throws:
InvalidQueryException

suite

public static junit.framework.Test suite()