Java Doc for XMLModelTestCase.java in  » Library » Apache-commons-jxpath-1.2-src » org » apache » commons » jxpath » ri » model » 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 » Library » Apache commons jxpath 1.2 src » org.apache.commons.jxpath.ri.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.commons.jxpath.JXPathTestCase
   org.apache.commons.jxpath.ri.model.XMLModelTestCase

All known Subclasses:   org.apache.commons.jxpath.ri.model.dom.DOMModelTest,  org.apache.commons.jxpath.ri.model.jdom.JDOMModelTest,
XMLModelTestCase
abstract public class XMLModelTestCase extends JXPathTestCase (Code)
Abstract superclass for pure XPath 1.0. Subclasses apply the same XPaths to contexts using different models: DOM, JDOM etc.
author:
   Dmitri Plotnikov
version:
   $Revision: 1.23 $ $Date: 2004/06/30 00:29:13 $


Field Summary
protected  JXPathContextcontext
    

Constructor Summary
public  XMLModelTestCase(String name)
     Construct a new instance of this test case.

Method Summary
protected  voidassertXMLSignature(JXPathContext context, String path, String signature, boolean elements, boolean attributes, boolean text, boolean pi)
    
protected  JXPathContextcreateContext()
    
protected  DocumentContainercreateDocumentContainer()
    
abstract protected  AbstractFactorygetAbstractFactory()
    
abstract protected  StringgetModel()
    
abstract protected  StringgetXMLSignature(Object node, boolean elements, boolean attributes, boolean text, boolean pi)
     An XML signature is used to determine if we have the right result after a modification of XML by JXPath.
public  voidsetUp()
    
public  voidtestAxisAncestor()
    
public  voidtestAxisAncestorOrSelf()
    
public  voidtestAxisAttribute()
    
public  voidtestAxisChild()
    
public  voidtestAxisChildIndexPredicate()
    
public  voidtestAxisDescendant()
    
public  voidtestAxisFollowing()
    
public  voidtestAxisFollowingSibling()
    
public  voidtestAxisNamespace()
    
public  voidtestAxisParent()
    
public  voidtestAxisPrecedingSibling()
    
public  voidtestAxisSelf()
    
public  voidtestBooleanFunction()
    
public  voidtestContainer()
    
public  voidtestCreatePath()
    
public  voidtestCreatePathAndSetValue()
    
public  voidtestDocument()
    
public  voidtestDocumentOrder()
    
public  voidtestElementInVariable()
    
public  voidtestFunctionsLastAndPosition()
    
public  voidtestID()
    
public  voidtestLang()
    
public  voidtestNamespaceMapping()
    
public  voidtestNodeTypeComment()
    
public  voidtestNodeTypeProcessingInstruction()
    
public  voidtestNodeTypeText()
    
public  voidtestRemovePath()
    
public  voidtestSetValue()
    
public  voidtestTypeConversions()
    

Field Detail
context
protected JXPathContext context(Code)




Constructor Detail
XMLModelTestCase
public XMLModelTestCase(String name)(Code)
Construct a new instance of this test case.
Parameters:
  name - Name of the test case




Method Detail
assertXMLSignature
protected void assertXMLSignature(JXPathContext context, String path, String signature, boolean elements, boolean attributes, boolean text, boolean pi)(Code)



createContext
protected JXPathContext createContext()(Code)



createDocumentContainer
protected DocumentContainer createDocumentContainer()(Code)



getAbstractFactory
abstract protected AbstractFactory getAbstractFactory()(Code)



getModel
abstract protected String getModel()(Code)



getXMLSignature
abstract protected String getXMLSignature(Object node, boolean elements, boolean attributes, boolean text, boolean pi)(Code)
An XML signature is used to determine if we have the right result after a modification of XML by JXPath. It is basically a piece of simplified XML.



setUp
public void setUp()(Code)



testAxisAncestor
public void testAxisAncestor()(Code)



testAxisAncestorOrSelf
public void testAxisAncestorOrSelf()(Code)



testAxisAttribute
public void testAxisAttribute()(Code)



testAxisChild
public void testAxisChild()(Code)



testAxisChildIndexPredicate
public void testAxisChildIndexPredicate()(Code)



testAxisDescendant
public void testAxisDescendant()(Code)



testAxisFollowing
public void testAxisFollowing()(Code)



testAxisFollowingSibling
public void testAxisFollowingSibling()(Code)



testAxisNamespace
public void testAxisNamespace()(Code)



testAxisParent
public void testAxisParent()(Code)



testAxisPrecedingSibling
public void testAxisPrecedingSibling()(Code)



testAxisSelf
public void testAxisSelf()(Code)



testBooleanFunction
public void testBooleanFunction()(Code)



testContainer
public void testContainer()(Code)



testCreatePath
public void testCreatePath()(Code)
Test JXPathContext.createPath() with various arguments



testCreatePathAndSetValue
public void testCreatePathAndSetValue()(Code)
Test JXPath.createPathAndSetValue() with various arguments



testDocument
public void testDocument()(Code)



testDocumentOrder
public void testDocumentOrder()(Code)



testElementInVariable
public void testElementInVariable()(Code)



testFunctionsLastAndPosition
public void testFunctionsLastAndPosition()(Code)



testID
public void testID()(Code)



testLang
public void testLang()(Code)



testNamespaceMapping
public void testNamespaceMapping()(Code)



testNodeTypeComment
public void testNodeTypeComment()(Code)



testNodeTypeProcessingInstruction
public void testNodeTypeProcessingInstruction()(Code)



testNodeTypeText
public void testNodeTypeText()(Code)



testRemovePath
public void testRemovePath()(Code)
Test JXPathContext.removePath() with various arguments



testSetValue
public void testSetValue()(Code)



testTypeConversions
public void testTypeConversions()(Code)



Methods inherited from org.apache.commons.jxpath.JXPathTestCase
protected void assertDocumentOrder(JXPathContext context, String path1, String path2, int expected)(Code)(Java Doc)
protected void assertXPathCreatePath(JXPathContext ctx, String xpath, Object expectedValue, String expectedPath)(Code)(Java Doc)
protected void assertXPathCreatePathAndSetValue(JXPathContext ctx, String xpath, Object value, String expectedPath)(Code)(Java Doc)
protected void assertXPathNodeType(JXPathContext ctx, String xpath, Class clazz)(Code)(Java Doc)
protected void assertXPathPointer(JXPathContext ctx, String xpath, String expected)(Code)(Java Doc)
protected void assertXPathPointerIterator(JXPathContext ctx, String xpath, Collection expected)(Code)(Java Doc)
protected void assertXPathPointerLenient(JXPathContext ctx, String xpath, String expected)(Code)(Java Doc)
protected void assertXPathSetValue(JXPathContext ctx, String xpath, Object value)(Code)(Java Doc)
protected void assertXPathSetValue(JXPathContext ctx, String xpath, Object value, Object expected)(Code)(Java Doc)
protected void assertXPathValue(JXPathContext ctx, String xpath, Object expected)(Code)(Java Doc)
protected void assertXPathValue(JXPathContext ctx, String xpath, Object expected, Class resultType)(Code)(Java Doc)
protected void assertXPathValueAndPointer(JXPathContext ctx, String xpath, Object expectedValue, String expectedPointer)(Code)(Java Doc)
protected void assertXPathValueIterator(JXPathContext ctx, String xpath, Collection expected)(Code)(Java Doc)
protected void assertXPathValueLenient(JXPathContext ctx, String xpath, Object expected)(Code)(Java Doc)
protected void assertXPathValueType(JXPathContext ctx, String xpath, Class clazz)(Code)(Java Doc)
protected static List list()(Code)(Java Doc)
protected static List list(Object o1)(Code)(Java Doc)
protected static List list(Object o1, Object o2)(Code)(Java Doc)
protected static List list(Object o1, Object o2, Object o3)(Code)(Java Doc)
protected static List list(Object o1, Object o2, Object o3, Object o4)(Code)(Java Doc)
protected static List list(Object o1, Object o2, Object o3, Object o4, Object o5)(Code)(Java Doc)
protected static List list(Object o1, Object o2, Object o3, Object o4, Object o5, Object o6)(Code)(Java Doc)
protected static List list(Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7)(Code)(Java Doc)
protected static Set set(Object o1, Object o2, Object o3)(Code)(Java Doc)
protected static Set set(Object o1, Object o2, Object o3, Object o4)(Code)(Java Doc)
protected static Set set(Object o1, Object o2, Object o3, Object o4, Object o5)(Code)(Java Doc)
protected static Set set(Object o1, Object o2, Object o3, Object o4, Object o5, Object o6)(Code)(Java Doc)
protected static Set set(Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7)(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.