01: package org.jzonic.webtester.writer;
02:
03: import org.jzonic.webtester.WebTestResult;
04: import org.jzonic.webtester.WebTestSuiteResult;
05:
06: /**
07: * This interface defines all methods that any concrete implementation
08: * must implement. These writers are used to save the result of a testcase
09: * or an enrire testsuite.
10: *
11: * @author Mecky
12: */
13: public interface WebTestResultWriter {
14:
15: /**
16: * Generates the result for a WebTestResult representing a single testcase
17: *
18: * @param result the result of the testcase
19: */
20: public void generateResult(WebTestResult result);
21:
22: /**
23: * Generates the result of an entire testsuite.
24: *
25: * @param results The WebTestSuiteResult
26: */
27: public void generateResult(WebTestSuiteResult results);
28:
29: }
|