Java Doc for SitemapComponentTestCase.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » cocoon » 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 » Content Management System » apache lenya 2.0 » org.apache.cocoon 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.cocoon.core.container.ContainerTestCase
   org.apache.cocoon.SitemapComponentTestCase

All known Subclasses:   org.apache.cocoon.transformation.CIncludeTransformerTestCase,  org.apache.cocoon.selection.HostSelectorTestCase,  org.apache.cocoon.selection.ExceptionSelectorTestCase,  org.apache.cocoon.selection.RegexpRequestParameterSelectorTestCase,  org.apache.cocoon.selection.RequestAttributeSelectorTestCase,  org.apache.cocoon.serialization.XMidiSerializerTestCase,  org.apache.cocoon.acting.LocaleActionTestCase,  org.apache.cocoon.acting.ResourceExistsActionTestCase,  org.apache.cocoon.generation.TextGeneratorTestCase,  org.apache.cocoon.generation.FileGeneratorTestCase,  org.apache.cocoon.selection.RequestParameterSelectorTestCase,  org.apache.cocoon.transformation.ParserTransformerTestCase,  org.apache.cocoon.selection.BrowserSelectorTestCase,  org.apache.cocoon.acting.RequestParamActionTestCase,  org.apache.cocoon.selection.ResourceExistsSelectorTestCase,  org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolverTestCase,  org.apache.cocoon.transformation.PatternTransformerTestCase,  org.apache.cocoon.transformation.I18NTransformerTestCase,  org.apache.cocoon.selection.ParameterSelectorTestCase,  org.apache.cocoon.transformation.FilterTransformerTestCase,  org.apache.cocoon.transformation.LexicalTransformerTestCase,  org.apache.cocoon.selection.SimpleSelectorTestCase,  org.apache.cocoon.transformation.TraxTransformerTestCase,  org.apache.cocoon.generation.XMidiGeneratorTestCase,  org.apache.cocoon.selection.CookieSelectorTestCase,  org.apache.cocoon.selection.SessionAttributeSelectorTestCase,  org.apache.cocoon.matching.WildcardURIMatcherTestCase,  org.apache.cocoon.selection.RegexpHeaderSelectorTestCase,  org.apache.cocoon.selection.RequestMethodSelectorTestCase,  org.apache.cocoon.selection.HeaderSelectorTestCase,  org.apache.cocoon.transformation.XIncludeTransformerTestCase,
SitemapComponentTestCase
abstract public class SitemapComponentTestCase extends ContainerTestCase (Code)
Testcase for actions, generators, transformers and serializer components.
author:
   Stephan Michels
author:
   Mark Leicester
version:
   CVS $Id: SitemapComponentTestCase.java 433543 2006-08-22 06:22:54Z crossley $


Field Summary
final public static  ParametersEMPTY_PARAMS
    


Method Summary
final public  Mapact(String type, String source, Parameters parameters)
     Perform the action component.
Parameters:
  type - Hint of the action.
protected  voidaddContext(DefaultContext context)
    
final public  voidassertEqual(String msg, Document expected, Document actual)
     Assert that the result of an XML comparison is similar.
final public  voidassertEqual(Document expected, Document actual)
     Assert that the result of an XML comparison is similar.
final public  voidassertIdentical(String msg, Document expected, Document actual)
     Assert that the result of an XML comparison is identical.
final public  voidassertIdentical(Document expected, Document actual)
     Assert that the result of an XML comparison is identical.
final public  voidassertIdentical(byte[] expected, byte[] actual)
     Assert that the result of a byte comparison is identical.
public  StringcallContinuation(String type, String source, String id, Map params)
    
public  StringcallFunction(String type, String source, String function, Map params)
    
final public  DiffcompareXML(Document control, Document test)
    
final public  Documentgenerate(String type, String source, Parameters parameters)
     Generate the generator output.
Parameters:
  type - Hint of the generator.
final public  MockContextgetContext()
    
public  ObjectgetFlowContextObject()
    
final public  MapgetObjectModel()
    
final public  MockRedirectorgetRedirector()
    
final public  MockRequestgetRequest()
    
final public  MockResponsegetResponse()
    
final public  Documentload(String source)
    
final public  byte[]loadByteArray(String source)
     Load a binary document.
Parameters:
  source - Source location.
final public  Mapmatch(String type, String pattern, Parameters parameters)
     Match with a pattern.
Parameters:
  type - Hint of the matcher.
final public  voidprint(Document document)
    
final public  booleanselect(String type, String expression, Parameters parameters)
     Select with a pattern.
Parameters:
  type - Hint of the matcher.
final public  byte[]serialize(String type, Parameters parameters, Document input)
     Serialize a document by a serializer
Parameters:
  type - Hint of the serializer.
Parameters:
  parameters - Serializer parameters.
Parameters:
  input - Input document.
public  voidsetUp()
    
final public  Documenttransform(String type, String source, Parameters parameters, Document input)
     Trannsform a document by a transformer
Parameters:
  type - Hint of the transformer.

Field Detail
EMPTY_PARAMS
final public static Parameters EMPTY_PARAMS(Code)





Method Detail
act
final public Map act(String type, String source, Parameters parameters) throws Exception(Code)
Perform the action component.
Parameters:
  type - Hint of the action.
Parameters:
  source - Source for the action.
Parameters:
  parameters - Action parameters.



addContext
protected void addContext(DefaultContext context)(Code)



assertEqual
final public void assertEqual(String msg, Document expected, Document actual)(Code)
Assert that the result of an XML comparison is similar.
Parameters:
  msg - The assertion message
Parameters:
  expected - The expected XML document
Parameters:
  actual - The actual XML Document



assertEqual
final public void assertEqual(Document expected, Document actual)(Code)
Assert that the result of an XML comparison is similar.
Parameters:
  expected - The expected XML document
Parameters:
  actual - The actual XML Document



assertIdentical
final public void assertIdentical(String msg, Document expected, Document actual)(Code)
Assert that the result of an XML comparison is identical.
Parameters:
  msg - The assertion message
Parameters:
  expected - The expected XML document
Parameters:
  actual - The actual XML Document



assertIdentical
final public void assertIdentical(Document expected, Document actual)(Code)
Assert that the result of an XML comparison is identical.
Parameters:
  expected - The expected XML document
Parameters:
  actual - The actual XML Document



assertIdentical
final public void assertIdentical(byte[] expected, byte[] actual)(Code)
Assert that the result of a byte comparison is identical.
Parameters:
  expected - The expected byte array
Parameters:
  actual - The actual byte array



callContinuation
public String callContinuation(String type, String source, String id, Map params) throws Exception(Code)



callFunction
public String callFunction(String type, String source, String function, Map params) throws Exception(Code)



compareXML
final public Diff compareXML(Document control, Document test)(Code)
Compare two XML documents provided as strings
Parameters:
  control - Control document
Parameters:
  test - Document to test Diff object describing differences in documents



generate
final public Document generate(String type, String source, Parameters parameters) throws IOException, SAXException, ProcessingException(Code)
Generate the generator output.
Parameters:
  type - Hint of the generator.
Parameters:
  source - Source for the generator.
Parameters:
  parameters - Generator parameters.



getContext
final public MockContext getContext()(Code)



getFlowContextObject
public Object getFlowContextObject()(Code)



getObjectModel
final public Map getObjectModel()(Code)



getRedirector
final public MockRedirector getRedirector()(Code)



getRequest
final public MockRequest getRequest()(Code)



getResponse
final public MockResponse getResponse()(Code)



load
final public Document load(String source)(Code)



loadByteArray
final public byte[] loadByteArray(String source)(Code)
Load a binary document.
Parameters:
  source - Source location. Binary data.



match
final public Map match(String type, String pattern, Parameters parameters) throws PatternException(Code)
Match with a pattern.
Parameters:
  type - Hint of the matcher.
Parameters:
  pattern - Pattern for the matcher.
Parameters:
  parameters - Matcher parameters.



print
final public void print(Document document)(Code)



select
final public boolean select(String type, String expression, Parameters parameters)(Code)
Select with a pattern.
Parameters:
  type - Hint of the matcher.
Parameters:
  expression - Expression for the selector.
Parameters:
  parameters - Matcher parameters.



serialize
final public byte[] serialize(String type, Parameters parameters, Document input) throws SAXException, IOException(Code)
Serialize a document by a serializer
Parameters:
  type - Hint of the serializer.
Parameters:
  parameters - Serializer parameters.
Parameters:
  input - Input document. Serialized data.



setUp
public void setUp() throws Exception(Code)



transform
final public Document transform(String type, String source, Parameters parameters, Document input) throws SAXException, ProcessingException, IOException(Code)
Trannsform a document by a transformer
Parameters:
  type - Hint of the transformer.
Parameters:
  source - Source for the transformer.
Parameters:
  parameters - Generator parameters.
Parameters:
  input - Input document.



Methods inherited from org.apache.cocoon.core.container.ContainerTestCase
protected void addContext(DefaultContext context)(Code)(Java Doc)
protected Logger getLogger()(Code)(Java Doc)
protected ServiceManager getManager()(Code)(Java Doc)
final protected Object lookup(String key) throws ServiceException(Code)(Java Doc)
protected void prepare() throws Exception(Code)(Java Doc)
final protected void prepare(InputStream testconf) throws Exception(Code)(Java Doc)
final protected void release(Object object)(Code)(Java Doc)
protected void setUp() throws Exception(Code)(Java Doc)
protected void tearDown() throws Exception(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.