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:
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_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 javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateItemFromString

public void testCreateItemFromString()
                              throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateItemFromDocument_String

public void testCreateItemFromDocument_String()
                                       throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateItemFromDocument_Reader

public void testCreateItemFromDocument_Reader()
                                       throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateItemFromDocument_InputStream

public void testCreateItemFromDocument_InputStream()
                                            throws javax.xml.xquery.XQException,
                                                   UnsupportedEncodingException
Throws:
javax.xml.xquery.XQException
UnsupportedEncodingException

testCreateItemFromDocument_XMLStreamReader

public void testCreateItemFromDocument_XMLStreamReader()
                                                throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateItemFromDocument_Source

public void testCreateItemFromDocument_Source()
                                       throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateItemFromObject

public void testCreateItemFromObject()
                              throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateItemFromBoolean

public void testCreateItemFromBoolean()
                               throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateItemFromByte

public void testCreateItemFromByte()
                            throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateItemFromDouble

public void testCreateItemFromDouble()
                              throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateItemFromFloat

public void testCreateItemFromFloat()
                             throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateItemFromInt

public void testCreateItemFromInt()
                           throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateItemFromLong

public void testCreateItemFromLong()
                            throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateItemFromNode

public void testCreateItemFromNode()
                            throws javax.xml.xquery.XQException,
                                   IOException,
                                   SAXException,
                                   ParserConfigurationException
Throws:
javax.xml.xquery.XQException
IOException
SAXException
ParserConfigurationException

testCreateItemFromShort

public void testCreateItemFromShort()
                             throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateItem

public void testCreateItem()
                    throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateSequence_FromSequence

public void testCreateSequence_FromSequence()
                                     throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateSequence_FromIterator

public void testCreateSequence_FromIterator()
                                     throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateAtomicType

public void testCreateAtomicType()
                          throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateAttributeType

public void testCreateAttributeType()
                             throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateSchemaAttributeType

public void testCreateSchemaAttributeType()
                                   throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateCommentType

public void testCreateCommentType()
                           throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateDocumentElementType

public void testCreateDocumentElementType()
                                   throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateDocumentSchemaElementType

public void testCreateDocumentSchemaElementType()
                                         throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testDocumentType

public void testDocumentType()
                      throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateElementType

public void testCreateElementType()
                           throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateSchemaElementType

public void testCreateSchemaElementType()
                                 throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateItemType

public void testCreateItemType()
                        throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateNodeType

public void testCreateNodeType()
                        throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateProcessingInstructionType

public void testCreateProcessingInstructionType()
                                         throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateTextType

public void testCreateTextType()
                        throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

testCreateSequenceType

public void testCreateSequenceType()
                            throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException