01: // Copyright © 2002-2005 Canoo Engineering AG, Switzerland.
02: package com.canoo.webtest.self;
03:
04: import com.canoo.webtest.steps.request.AbstractTargetAction;
05: import com.gargoylesoftware.htmlunit.Page;
06: import org.jaxen.JaxenException;
07: import org.xml.sax.SAXException;
08:
09: import java.io.IOException;
10:
11: public class StepStub extends AbstractTargetAction {
12: private int fCallCount;
13:
14: public void doExecute() {
15: fCallCount++;
16: }
17:
18: protected Page findTarget() throws JaxenException, IOException,
19: SAXException {
20: return null;
21: }
22:
23: protected String getLogMessageForTarget() {
24: return "by stepStub";
25: }
26:
27: public int getCallCount() {
28: return fCallCount;
29: }
30: }
|