Java Doc for NodeFactoryTest.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.NodeFactoryTest

NodeFactoryTest
public class NodeFactoryTest extends XOMTestCase (Code)

Tests that subclasses of NodeFactory can filter on building in various ways.


author:
   Elliotte Rusty Harold
version:
   1.1b2

Inner Class :static class CommentFilter extends NodeFactory
Inner Class :static class CFactory extends NodeFactory
Inner Class :static class CallsMakeRoot extends NodeFactory
Inner Class :static class ProcessingInstructionFilter extends NodeFactory
Inner Class :static class BFilter extends NodeFactory
Inner Class :static class MinimizingFactory extends NodeFactory
Inner Class :static class NullElementFactory extends NodeFactory
Inner Class :static class NullDocumentFactory extends NodeFactory
Inner Class :static class TripleElementFilter extends NodeFactory
Inner Class :static class UncommentFilter extends NodeFactory
Inner Class :static class DocumentFilter extends NodeFactory

Field Summary
 intnumNodesInExternalDTDSubset
    

Constructor Summary
public  NodeFactoryTest(String name)
    

Method Summary
protected  voidsetUp()
    
public  voidtestCDATASectionsCanBeOverridden()
    
public  voidtestCanAddAroundExistingRootElementFromFinishMakingElement()
    
public  voidtestCanReplaceRootElementFromFinishMakingElement()
    
public  voidtestCantAddDocument()
    
public  voidtestCantAddOneAttributeMultipleTimes()
    
public  voidtestCantAddOneElementMultipleTimes()
    
public  voidtestCantAddTwoDoctypes()
    
public  voidtestCantBypassMultipleParentChecks()
    
public  voidtestCantBypassMultipleParentChecksFromFinishMakingElement()
    
public  voidtestCantReplaceRootElementWithNoElement()
    
public  voidtestCantReplaceRootElementWithNothing()
    
public  voidtestCantReplaceRootElementWithTwoElements()
    
public  voidtestChangeAttributesToElements()
    
public  voidtestChangeDefaultNamespaceFromBeginning()
    
public  voidtestChangeDefaultNamespaceFromEnd()
    
public  voidtestChangeElementsToAttributes()
    
public  voidtestChangePrefixedNamespaceFromBeginning()
    
public  voidtestChangePrefixedNamespaceFromEnd()
    
public  voidtestChangeRootElementsToAttribute()
    
public  voidtestChangeTextToAttributes()
    
public  voidtestChangingElementName()
    
public  voidtestDontCoalesceTextNodes()
    
public  voidtestDontReportCommentsAndProcessingInstructionsInExternalDTDSubset()
    
public  voidtestFinishMakingElementDetachesItsArgument()
    
public  voidtestFinishMakingElementIsCalledForRootElement()
    
public  voidtestInsertElementsInInternalDTDSubsetViaComment()
    
public  voidtestInsertElementsInInternalDTDSubsetViaProcessingInstruction()
    
public  voidtestMakeRoot()
    
public  voidtestMinimalizedDocument()
    
public  voidtestNullDocumentNotAllowed()
    
public  voidtestNullRootNotAllowed()
    
public  voidtestOrderOfCalls()
    
public  voidtestOrderOfCallsWithPI()
    
public  voidtestReplaceCommentWithAttribute()
    
public  voidtestReplaceProcessingInstructionWithAttribute()
    
public  voidtestReplaceProcessingInstructionWithText()
    
public  voidtestSkipping()
    
public  voidtestSkipping2()
    
public  voidtestSkippingComment()
    
public  voidtestSkippingProcessingInstruction()
    
public  voidtestTriple()
    
public  voidtestUncomment()
    
public  voidtestValidateWithFactory()
    

Field Detail
numNodesInExternalDTDSubset
int numNodesInExternalDTDSubset(Code)




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




Method Detail
setUp
protected void setUp()(Code)



testCDATASectionsCanBeOverridden
public void testCDATASectionsCanBeOverridden() throws ValidityException, ParsingException, IOException(Code)



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



testValidateWithFactory
public void testValidateWithFactory() throws ParsingException, IOException(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.