|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.canoo.webtest.engine.NOPBuildListener
com.canoo.webtest.reporting.StepExecutionListener
public class StepExecutionListener
Listens for task execution to extract StepResults to generate the report.
| Constructor Summary | |
|---|---|
StepExecutionListener(Context context)
|
|
| Method Summary | |
|---|---|
protected List |
getLastHtmlParserMessages()
Gets the html messages that have been catched since for the step beeing executed |
RootStepResult |
getRootResult()
|
protected boolean |
isEventForMe()
Test if event is intended for this listener. |
protected boolean |
isInteresting(Task task)
Indicates if report information should be captured for this task |
protected boolean |
isToIgnore(Task task)
|
void |
propertiesExpanded(String originalValue,
String expanded)
Notifies a property expansion |
void |
stepResults(Map results)
Called by Step to notify computed values
resulting of the execution of a step. |
void |
taskFinished(BuildEvent event)
Does nothing |
void |
taskStarted(BuildEvent event)
Called by Ant when a task is started. |
void |
webtestFinished()
Called when the test execution finished. |
| Methods inherited from class com.canoo.webtest.engine.NOPBuildListener |
|---|
buildFinished, buildStarted, messageLogged, targetFinished, targetStarted |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StepExecutionListener(Context context)
| Method Detail |
|---|
protected List getLastHtmlParserMessages()
HtmlParserMessagepublic RootStepResult getRootResult()
protected boolean isInteresting(Task task)
task - the task
true if report information should be capturedprotected boolean isToIgnore(Task task)
public void propertiesExpanded(String originalValue,
String expanded)
IPropertyExpansionListener
propertiesExpanded in interface IPropertyExpansionListeneroriginalValue - the original value (like "${myProp}")expanded - the expanded value (like "blabla")IPropertyExpansionListener.propertiesExpanded(java.lang.String,java.lang.String)public void stepResults(Map results)
Step to notify computed values
resulting of the execution of a step.
stepResults in interface IStepResultListenerIStepResultListener.stepResults(java.util.Map)public void taskFinished(BuildEvent event)
NOPBuildListener
taskFinished in interface BuildListenertaskFinished in class NOPBuildListenerBuildListener.taskFinished(org.apache.tools.ant.BuildEvent)public void taskStarted(BuildEvent event)
taskStarted in interface BuildListenertaskStarted in class NOPBuildListenerBuildListener.taskStarted(org.apache.tools.ant.BuildEvent)protected boolean isEventForMe()
public void webtestFinished()
|
Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||