org.basex.test.xqj.testcases
Class XQDataFactoryTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.basex.test.xqj.testcases.XQJTestCase
              extended by org.basex.test.xqj.testcases.XQDataFactoryTest
All Implemented Interfaces:
junit.framework.Test

public class XQDataFactoryTest
extends XQJTestCase


Constructor Summary
XQDataFactoryTest()
           
 
Method Summary
 void testCreateAtomicType()
           
 void testCreateAttributeType()
           
 void testCreateCommentType()
           
 void testCreateDocumentElementType()
           
 void testCreateDocumentSchemaElementType()
           
 void testCreateElementType()
           
 void testCreateItem()
           
 void testCreateItemFromAtomicValue()
           
 void testCreateItemFromBoolean()
           
 void testCreateItemFromByte()
           
 void testCreateItemFromDocument_InputStream()
           
 void testCreateItemFromDocument_Reader()
           
 void testCreateItemFromDocument_Source()
           
 void testCreateItemFromDocument_String()
           
 void testCreateItemFromDocument_XMLReader()
           
 void testCreateItemFromDocument_XMLStreamReader()
           
 void testCreateItemFromDouble()
           
 void testCreateItemFromFloat()
           
 void testCreateItemFromInt()
           
 void testCreateItemFromLong()
           
 void testCreateItemFromNode()
           
 void testCreateItemFromObject()
           
 void testCreateItemFromShort()
           
 void testCreateItemFromString()
           
 void testCreateItemType()
           
 void testCreateNodeType()
           
 void testCreateProcessingInstructionType()
           
 void testCreateSchemaAttributeType()
           
 void testCreateSchemaElementType()
           
 void testCreateSequence_FromIterator()
           
 void testCreateSequence_FromSequence()
           
 void testCreateSequenceType()
           
 void testCreateTextType()
           
 void testDocumentType()
           
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XQDataFactoryTest

public XQDataFactoryTest()
Method Detail

testCreateItemFromAtomicValue

public void testCreateItemFromAtomicValue()
                                   throws XQException
Throws:
XQException

testCreateItemFromString

public void testCreateItemFromString()
                              throws XQException
Throws:
XQException

testCreateItemFromDocument_String

public void testCreateItemFromDocument_String()
                                       throws XQException
Throws:
XQException

testCreateItemFromDocument_Reader

public void testCreateItemFromDocument_Reader()
                                       throws XQException
Throws:
XQException

testCreateItemFromDocument_InputStream

public void testCreateItemFromDocument_InputStream()
                                            throws XQException,
                                                   java.io.UnsupportedEncodingException
Throws:
XQException
java.io.UnsupportedEncodingException

testCreateItemFromDocument_XMLReader

public void testCreateItemFromDocument_XMLReader()
                                          throws XQException,
                                                 org.xml.sax.SAXException
Throws:
XQException
org.xml.sax.SAXException

testCreateItemFromDocument_XMLStreamReader

public void testCreateItemFromDocument_XMLStreamReader()
                                                throws XQException
Throws:
XQException

testCreateItemFromDocument_Source

public void testCreateItemFromDocument_Source()
                                       throws XQException
Throws:
XQException

testCreateItemFromObject

public void testCreateItemFromObject()
                              throws XQException
Throws:
XQException

testCreateItemFromBoolean

public void testCreateItemFromBoolean()
                               throws XQException
Throws:
XQException

testCreateItemFromByte

public void testCreateItemFromByte()
                            throws XQException
Throws:
XQException

testCreateItemFromDouble

public void testCreateItemFromDouble()
                              throws XQException
Throws:
XQException

testCreateItemFromFloat

public void testCreateItemFromFloat()
                             throws XQException
Throws:
XQException

testCreateItemFromInt

public void testCreateItemFromInt()
                           throws XQException
Throws:
XQException

testCreateItemFromLong

public void testCreateItemFromLong()
                            throws XQException
Throws:
XQException

testCreateItemFromNode

public void testCreateItemFromNode()
                            throws XQException,
                                   java.io.IOException,
                                   org.xml.sax.SAXException,
                                   javax.xml.parsers.ParserConfigurationException
Throws:
XQException
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

testCreateItemFromShort

public void testCreateItemFromShort()
                             throws XQException
Throws:
XQException

testCreateItem

public void testCreateItem()
                    throws XQException
Throws:
XQException

testCreateSequence_FromSequence

public void testCreateSequence_FromSequence()
                                     throws XQException
Throws:
XQException

testCreateSequence_FromIterator

public void testCreateSequence_FromIterator()
                                     throws XQException
Throws:
XQException

testCreateAtomicType

public void testCreateAtomicType()
                          throws XQException
Throws:
XQException

testCreateAttributeType

public void testCreateAttributeType()
                             throws XQException
Throws:
XQException

testCreateSchemaAttributeType

public void testCreateSchemaAttributeType()
                                   throws XQException
Throws:
XQException

testCreateCommentType

public void testCreateCommentType()
                           throws XQException
Throws:
XQException

testCreateDocumentElementType

public void testCreateDocumentElementType()
                                   throws XQException
Throws:
XQException

testCreateDocumentSchemaElementType

public void testCreateDocumentSchemaElementType()
                                         throws XQException
Throws:
XQException

testDocumentType

public void testDocumentType()
                      throws XQException
Throws:
XQException

testCreateElementType

public void testCreateElementType()
                           throws XQException
Throws:
XQException

testCreateSchemaElementType

public void testCreateSchemaElementType()
                                 throws XQException
Throws:
XQException

testCreateItemType

public void testCreateItemType()
                        throws XQException
Throws:
XQException

testCreateNodeType

public void testCreateNodeType()
                        throws XQException
Throws:
XQException

testCreateProcessingInstructionType

public void testCreateProcessingInstructionType()
                                         throws XQException
Throws:
XQException

testCreateTextType

public void testCreateTextType()
                        throws XQException
Throws:
XQException

testCreateSequenceType

public void testCreateSequenceType()
                            throws XQException
Throws:
XQException