01: /*
02: * soapUI, copyright (C) 2004-2007 eviware.com
03: *
04: * soapUI is free software; you can redistribute it and/or modify it under the
05: * terms of version 2.1 of the GNU Lesser General Public License as published by
06: * the Free Software Foundation.
07: *
08: * soapUI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
09: * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10: * See the GNU Lesser General Public License for more details at gnu.org.
11: */
12:
13: package com.eviware.soapui.model.testsuite;
14:
15: import com.eviware.soapui.model.ModelItem;
16:
17: /**
18: * A TestStep in a TestCase
19: *
20: * @author Ole.Matzura
21: */
22:
23: public interface TestStep extends ModelItem {
24: public final static String DISABLED_PROPERTY = TestStep.class
25: .getName()
26: + "@disabled";
27:
28: public TestCase getTestCase();
29:
30: public void prepare(TestRunner testRunner,
31: TestRunContext testRunContext) throws Exception;
32:
33: public void finish(TestRunner testRunner,
34: TestRunContext testRunContext);
35:
36: public boolean cancel();
37:
38: public TestStepResult run(TestRunner testRunner,
39: TestRunContext testRunContext);
40:
41: public String[] getPropertyNames();
42:
43: public void setPropertyValue(String name, String value);
44:
45: public String getPropertyValue(String name);
46:
47: public TestStepProperty getProperty(String name);
48:
49: public boolean isDisabled();
50: }
|