Esempio n. 1
0
 private void CopyFrom(WebTest newTestInstance)
 {
     this._invoker  = newTestInstance._invoker;
     this._request  = newTestInstance._request;
     this._response = newTestInstance._response;
     this._userData = newTestInstance._userData;
 }
Esempio n. 2
0
		/// <summary>
		/// Create a new instance, initializing <see cref="Invoker"/> with the given
		/// value, and the <see cref="Request"/> with <see cref="BaseRequest"/>.
		/// </summary>
		/// <param name="invoker">The invoker used for this test.</param>
		/// <seealso cref="Invoker"/>
		/// <seealso cref="Request"/>
		/// <seealso cref="BaseRequest"/>
		public WebTest (BaseInvoker invoker)
			: this ()
		{
			Invoker = invoker;
		}
Esempio n. 3
0
		/// <summary>
		/// Default constructor. Initializes <see cref="Invoker"/> with a new
		/// <see cref="BaseInvoker"/> and <see cref="Request"/> with an empty
		/// <see cref="BaseRequest"/>.
		/// </summary>
		/// <seealso cref="Invoker"/>
		/// <seealso cref="BaseInvoker"/>
		/// <seealso cref="Request"/>
		/// <seealso cref="BaseRequest"/>
		public WebTest ()
		{
			Invoker = new BaseInvoker ();
			Request = new BaseRequest ();
		}
Esempio n. 4
0
		private void CopyFrom (WebTest newTestInstance)
		{
			this._invoker = newTestInstance._invoker;
			this._request = newTestInstance._request;
			this._response = newTestInstance._response;
			this._userData = newTestInstance._userData;
		}
Esempio n. 5
0
 /// <summary>
 /// Create a new instance, initializing <see cref="Invoker"/> with the given
 /// value, and the <see cref="Request"/> with <see cref="BaseRequest"/>.
 /// </summary>
 /// <param name="invoker">The invoker used for this test.</param>
 /// <seealso cref="Invoker"/>
 /// <seealso cref="Request"/>
 /// <seealso cref="BaseRequest"/>
 public WebTest(BaseInvoker invoker)
     : this()
 {
     Invoker = invoker;
 }
Esempio n. 6
0
 /// <summary>
 /// Default constructor. Initializes <see cref="Invoker"/> with a new
 /// <see cref="BaseInvoker"/> and <see cref="Request"/> with an empty
 /// <see cref="BaseRequest"/>.
 /// </summary>
 /// <seealso cref="Invoker"/>
 /// <seealso cref="BaseInvoker"/>
 /// <seealso cref="Request"/>
 /// <seealso cref="BaseRequest"/>
 public WebTest()
 {
     Invoker = new BaseInvoker();
     Request = new BaseRequest();
 }