Java Doc for ElementTest.java in  » XML » xom » nu » xom » tests » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » XML » xom » nu.xom.tests 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


nu.xom.tests.XOMTestCase
   nu.xom.tests.ElementTest

ElementTest
public class ElementTest extends XOMTestCase (Code)

Tests for the Element class.


author:
   Elliotte Rusty Harold
version:
   1.1b2



Constructor Summary
public  ElementTest(String name)
    

Method Summary
public  voidappendNullChild()
    
protected  voidsetUp()
    
public  voidtestAddAttribute()
    
public  voidtestAddAttributesWithAdditionalNamespaces()
    
public  voidtestAddNamespaceToElementWithAttribute()
    
public  voidtestAllowEmptyNamespace()
    
public  voidtestAllowNullNamespace()
    
public  voidtestAttributes()
    
public  voidtestBadNameStartCharacter()
    
public  voidtestCantInsertDoctype()
    
public  voidtestChangePrefix()
    
public  voidtestConflictingDefaultNamespace()
    
public  voidtestConstructor1()
    
public  voidtestConstructor2()
    
public  voidtestConstructor3()
    
public  voidtestCopy()
    
public  voidtestCopyChildElementWithNoChildren()
    
public  voidtestCopyConstructorWithAdditionalNamespaces()
    
public  voidtestCopyElementWithAttributes()
    
public  voidtestCopyEmptyElement()
    
public  voidtestDeclareNamespacePrefix()
    
public  voidtestDeepCopy()
    
public  voidtestElementNamedXMLNS()
    
public  voidtestElementWithPrefixXMLNS()
    
public  voidtestEmptyElementAsRootElementCopy()
    
public  voidtestEmptyName()
    
public  voidtestGetAttribute()
    
public  voidtestGetAttributeValue()
    
public  voidtestGetChildElements()
    
public  voidtestGetChildElementsNull()
    
public  voidtestGetFirstChildElement()
    
public  voidtestGetNamespacePrefix()
    
public  voidtestGetNamespacePrefixInt()
    
public  voidtestGetValue()
    
public  voidtestInsertChild()
    
public  voidtestInsertChildUsingString()
    
public  voidtestInsertNull()
    
public  voidtestInsertString()
    
public  voidtestNamespaceMappings()
    
public  voidtestNullName()
    
public  voidtestRFC2396LegalRFC3986IllegalNamespaceURI()
    
public  voidtestRemoveAttributeFromElementWithDifferentAttributes()
    
public  voidtestRemoveAttributeFromElementWithNoAttributes()
    
public  voidtestRemoveChildren()
    
public  voidtestRemoveNonElementChildren()
    
public  voidtestRemoveNullAttribute()
    
public  voidtestRemovedChildrenInheritBaseURI()
    
public  voidtestSameNamespaceForElementAndAttribute()
    
public  voidtestSetLocalName()
    
public  voidtestSetNamespacePrefix()
    
public  voidtestSetNamespaceURI()
    
public  voidtestSetNamespaceURIConflictsWithAdditionalNamespaceDeclaration()
    
public  voidtestSetNamespaceURIConflictsWithAttributeNamespace()
    
public  voidtestSetNamespaceWithAttribute()
    
public  voidtestSimpleCopy()
    
public  voidtestToString()
    
public  voidtestToXML()
    
public  voidtestToXML2()
    
public  voidtestToXMLWithXMLAttributes()
    
public  voidtestToXMLWithXMLLangAttribute()
    
public  voidtestTriple()
    
public  voidtestUndeclareDefaultNamespace()
    
public  voidtestUnsetDefaultNamespaceWithAttribute()
    
public  voidtestUnsetNamespaceWhenPrefixed()
    
public  voidtestWrongPrefixNotAllowedWithXMLURI()
    
public  voidtestXMLNamespace()
    
public  voidtestXMLPrefixAllowed()
    
public  voidtestXMLPrefixNotAllowedWithWrongURI()
    
public  voidtestXMLPrefixOnElement()
    


Constructor Detail
ElementTest
public ElementTest(String name)(Code)




Method Detail
appendNullChild
public void appendNullChild()(Code)



setUp
protected void setUp()(Code)



testAddAttribute
public void testAddAttribute()(Code)



testAddAttributesWithAdditionalNamespaces
public void testAddAttributesWithAdditionalNamespaces()(Code)



testAddNamespaceToElementWithAttribute
public void testAddNamespaceToElementWithAttribute()(Code)



testAllowEmptyNamespace
public void testAllowEmptyNamespace()(Code)



testAllowNullNamespace
public void testAllowNullNamespace()(Code)



testAttributes
public void testAttributes()(Code)



testBadNameStartCharacter
public void testBadNameStartCharacter()(Code)



testCantInsertDoctype
public void testCantInsertDoctype()(Code)



testChangePrefix
public void testChangePrefix()(Code)



testConflictingDefaultNamespace
public void testConflictingDefaultNamespace()(Code)



testConstructor1
public void testConstructor1()(Code)



testConstructor2
public void testConstructor2()(Code)



testConstructor3
public void testConstructor3()(Code)



testCopy
public void testCopy()(Code)



testCopyChildElementWithNoChildren
public void testCopyChildElementWithNoChildren()(Code)



testCopyConstructorWithAdditionalNamespaces
public void testCopyConstructorWithAdditionalNamespaces()(Code)



testCopyElementWithAttributes
public void testCopyElementWithAttributes()(Code)



testCopyEmptyElement
public void testCopyEmptyElement()(Code)



testDeclareNamespacePrefix
public void testDeclareNamespacePrefix()(Code)



testDeepCopy
public void testDeepCopy()(Code)



testElementNamedXMLNS
public void testElementNamedXMLNS()(Code)



testElementWithPrefixXMLNS
public void testElementWithPrefixXMLNS()(Code)



testEmptyElementAsRootElementCopy
public void testEmptyElementAsRootElementCopy()(Code)



testEmptyName
public void testEmptyName()(Code)



testGetAttribute
public void testGetAttribute()(Code)



testGetAttributeValue
public void testGetAttributeValue()(Code)



testGetChildElements
public void testGetChildElements()(Code)



testGetChildElementsNull
public void testGetChildElementsNull()(Code)



testGetFirstChildElement
public void testGetFirstChildElement()(Code)



testGetNamespacePrefix
public void testGetNamespacePrefix()(Code)



testGetNamespacePrefixInt
public void testGetNamespacePrefixInt()(Code)



testGetValue
public void testGetValue()(Code)



testInsertChild
public void testInsertChild()(Code)



testInsertChildUsingString
public void testInsertChildUsingString()(Code)



testInsertNull
public void testInsertNull()(Code)



testInsertString
public void testInsertString()(Code)



testNamespaceMappings
public void testNamespaceMappings()(Code)



testNullName
public void testNullName()(Code)



testRFC2396LegalRFC3986IllegalNamespaceURI
public void testRFC2396LegalRFC3986IllegalNamespaceURI()(Code)



testRemoveAttributeFromElementWithDifferentAttributes
public void testRemoveAttributeFromElementWithDifferentAttributes()(Code)



testRemoveAttributeFromElementWithNoAttributes
public void testRemoveAttributeFromElementWithNoAttributes()(Code)



testRemoveChildren
public void testRemoveChildren()(Code)



testRemoveNonElementChildren
public void testRemoveNonElementChildren()(Code)



testRemoveNullAttribute
public void testRemoveNullAttribute()(Code)



testRemovedChildrenInheritBaseURI
public void testRemovedChildrenInheritBaseURI()(Code)



testSameNamespaceForElementAndAttribute
public void testSameNamespaceForElementAndAttribute()(Code)



testSetLocalName
public void testSetLocalName()(Code)



testSetNamespacePrefix
public void testSetNamespacePrefix()(Code)



testSetNamespaceURI
public void testSetNamespaceURI()(Code)



testSetNamespaceURIConflictsWithAdditionalNamespaceDeclaration
public void testSetNamespaceURIConflictsWithAdditionalNamespaceDeclaration()(Code)



testSetNamespaceURIConflictsWithAttributeNamespace
public void testSetNamespaceURIConflictsWithAttributeNamespace()(Code)



testSetNamespaceWithAttribute
public void testSetNamespaceWithAttribute()(Code)



testSimpleCopy
public void testSimpleCopy()(Code)



testToString
public void testToString()(Code)



testToXML
public void testToXML()(Code)



testToXML2
public void testToXML2() throws ParsingException, IOException(Code)



testToXMLWithXMLAttributes
public void testToXMLWithXMLAttributes()(Code)



testToXMLWithXMLLangAttribute
public void testToXMLWithXMLLangAttribute()(Code)



testTriple
public void testTriple() throws IOException, ParsingException(Code)



testUndeclareDefaultNamespace
public void testUndeclareDefaultNamespace()(Code)



testUnsetDefaultNamespaceWithAttribute
public void testUnsetDefaultNamespaceWithAttribute()(Code)



testUnsetNamespaceWhenPrefixed
public void testUnsetNamespaceWhenPrefixed()(Code)



testWrongPrefixNotAllowedWithXMLURI
public void testWrongPrefixNotAllowedWithXMLURI()(Code)



testXMLNamespace
public void testXMLNamespace()(Code)



testXMLPrefixAllowed
public void testXMLPrefixAllowed()(Code)



testXMLPrefixNotAllowedWithWrongURI
public void testXMLPrefixNotAllowedWithWrongURI()(Code)



testXMLPrefixOnElement
public void testXMLPrefixOnElement()(Code)



Methods inherited from nu.xom.tests.XOMTestCase
public static void assertEquals(Text expected, Text actual)(Code)(Java Doc)
public static void assertEquals(String message, Text expected, Text actual)(Code)(Java Doc)
public static void assertEquals(Attribute expected, Attribute actual)(Code)(Java Doc)
public static void assertEquals(String message, Attribute expected, Attribute actual)(Code)(Java Doc)
public static void assertEquals(DocType expected, DocType actual)(Code)(Java Doc)
public static void assertEquals(String message, DocType expected, DocType actual)(Code)(Java Doc)
public static void assertEquals(Element expected, Element actual)(Code)(Java Doc)
public static void assertEquals(String message, Element expected, Element actual)(Code)(Java Doc)
public static void assertEquals(Document expected, Document actual)(Code)(Java Doc)
public static void assertEquals(String message, Document expected, Document actual)(Code)(Java Doc)
public static void assertEquals(Comment expected, Comment actual)(Code)(Java Doc)
public static void assertEquals(String message, Comment expected, Comment actual)(Code)(Java Doc)
public static void assertEquals(ProcessingInstruction expected, ProcessingInstruction actual)(Code)(Java Doc)
public static void assertEquals(String message, ProcessingInstruction expected, ProcessingInstruction actual)(Code)(Java Doc)
public static void assertEquals(String message, Namespace expected, Namespace actual)(Code)(Java Doc)
public static void assertEquals(Node expected, Node actual)(Code)(Java Doc)
public static void assertEquals(String message, Node expected, Node actual)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.