Java Doc for StepResult.java in  » Testing » webtest » com » canoo » webtest » reporting » 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 » Testing » webtest » com.canoo.webtest.reporting 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.canoo.webtest.reporting.StepResult

All known Subclasses:   com.canoo.webtest.reporting.RootStepResult,
StepResult
public class StepResult (Code)
Result holder for the execution of a step (or task) and his children.
author:
   Marc Guillemot



Constructor Summary
protected  StepResult(RuntimeConfigurable taskWrapper)
     Constructs a result for a non executed task (and his children).
public  StepResult(String taskName)
    
 StepResult(Task task)
    

Method Summary
public  voidaddChild(StepResult result)
    
protected  voidaddLostChildren(Iterator iter)
    
protected  voidaddNotExecutedChildren(Task task)
     Tries to find the child tasks that haven't been executed and adds them to the current result.
 voidaddStepResults(Map results)
    
 StringgetAttribute(String key)
    
public  MapgetAttributes()
    
public  ListgetChildren()
    
public  longgetDuration()
     Gets the duration of the task execution.
public  DategetEndDate()
    
public  ListgetHtmlParserMessages()
    
public  LocationgetLocation()
    
 StepResultgetParent()
    
public  DategetStartDate()
    
public  StringgetTaskDescription()
    
public  StringgetTaskName()
    
public  booleanisCompleted()
    
public  booleanisSuccessful()
    
 voidpropertiesExpanded(String originalValue, String expanded)
    
protected  voidretrieveNestedText(RuntimeConfigurable taskWrapper)
    
 voidtaskFinished(Task task, Throwable throwable, List liHtmlParserMessages)
    


Constructor Detail
StepResult
protected StepResult(RuntimeConfigurable taskWrapper)(Code)
Constructs a result for a non executed task (and his children). This allows to present information in report about configured tasks that haven't been executed due to an error in a step before them.
Parameters:
  taskWrapper - the configurable for the task



StepResult
public StepResult(String taskName)(Code)



StepResult
StepResult(Task task)(Code)
Builds the result holder for the given task
Parameters:
  task - the task (probably a org.apache.tools.ant.UnknownElement




Method Detail
addChild
public void addChild(StepResult result)(Code)

Parameters:
  result - the child to add



addLostChildren
protected void addLostChildren(Iterator iter)(Code)
Adds report information for non executed child tasks
Parameters:
  iter - the iterator over RuntimeConfigurable child task



addNotExecutedChildren
protected void addNotExecutedChildren(Task task)(Code)
Tries to find the child tasks that haven't been executed and adds them to the current result.
Parameters:
  task - the failing task



addStepResults
void addStepResults(Map results)(Code)
Adds results of the step execution
Parameters:
  results -



getAttribute
String getAttribute(String key)(Code)
Gets the task attribute value
Parameters:
  key - the attribute name (case insensitive) the value, null if task doesn't have this attribute



getAttributes
public Map getAttributes()(Code)
Gets the attributes of the task the attributes



getChildren
public List getChildren()(Code)
the children.



getDuration
public long getDuration()(Code)
Gets the duration of the task execution. the task duration, -1 if the task hasn't beexecuted



getEndDate
public Date getEndDate()(Code)
Gets the date at which the execution of the task finished null if the task has not been completed



getHtmlParserMessages
public List getHtmlParserMessages()(Code)



getLocation
public Location getLocation()(Code)
Gets the location of the task null if unknown



getParent
StepResult getParent()(Code)
the parent result, null for the top most result



getStartDate
public Date getStartDate()(Code)
Gets the date at which the execution of the task started null if the task has not been started



getTaskDescription
public String getTaskDescription()(Code)
Gets the description of the task null if unknown or no description set



getTaskName
public String getTaskName()(Code)
the task name.



isCompleted
public boolean isCompleted()(Code)
Indicates if the step has been executed (may be successfull or failed) true if executed



isSuccessful
public boolean isSuccessful()(Code)
Indicates if the step has been successfully completed true if successful



propertiesExpanded
void propertiesExpanded(String originalValue, String expanded)(Code)
Receives notification that properties have been expanded in an attribute



retrieveNestedText
protected void retrieveNestedText(RuntimeConfigurable taskWrapper)(Code)
Retrieves the nested text configured within the task, if any, taking care to remove "noise" as Ant does
Parameters:
  taskWrapper - the current task wrapper



taskFinished
void taskFinished(Task task, Throwable throwable, List liHtmlParserMessages)(Code)
Informs the result that the task if finished, allowing to stop the timer
Parameters:
  throwable - the exception thrown by the task (if any)
Parameters:
  liHtmlParserMessages - the list of html parser messages associated to the just finished task



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.