View Javadoc

1   /*
2    *  soapUI, copyright (C) 2004-2009 eviware.com 
3    *
4    *  soapUI is free software; you can redistribute it and/or modify it under the 
5    *  terms of version 2.1 of the GNU Lesser General Public License as published by 
6    *  the Free Software Foundation.
7    *
8    *  soapUI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without 
9    *  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.impl.wsdl.testcase;
14  
15  import com.eviware.soapui.impl.wsdl.WsdlProject;
16  import com.eviware.soapui.model.support.AbstractSubmitContext;
17  import com.eviware.soapui.model.testsuite.ProjectRunContext;
18  import com.eviware.soapui.model.testsuite.ProjectRunner;
19  import com.eviware.soapui.model.testsuite.TestRunner;
20  import com.eviware.soapui.support.types.StringToObjectMap;
21  
22  public class WsdlProjectRunContext extends AbstractSubmitContext<WsdlProject> implements
23  		ProjectRunContext
24  {
25  	private final WsdlProjectRunner testScenarioRunner;
26  
27  	public WsdlProjectRunContext( WsdlProjectRunner testScenarioRunner, StringToObjectMap properties )
28  	{
29  		super( testScenarioRunner.getTestRunnable(), properties );
30  		this.testScenarioRunner = testScenarioRunner;
31  	}
32  
33  	public WsdlProject getProject()
34  	{
35  		return getModelItem();
36  	}
37  
38  	public ProjectRunner getProjectRunner()
39  	{
40  		return testScenarioRunner;
41  	}
42  
43  	public TestRunner getTestRunner()
44  	{
45  		// TODO Auto-generated method stub
46  		return null;
47  	}
48  
49  	public Object getProperty( String name )
50  	{
51  		// TODO Auto-generated method stub
52  		return null;
53  	}
54  
55  }