12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- using System;
- using System.Collections.Generic;
- using System.Threading;
- namespace Vinno.vCloud.Common.FIS.Test
- {
- public interface IVCloudServiceTest
- {
- /// <summary>
- /// Item test status changed
- /// </summary>
- event EventHandler<VCloudServiceTestResult> TestStatusChanged;
- /// <summary>
- /// raised when Test Finished
- /// </summary>
- event EventHandler TestFinished;
- /// <summary>
- /// Test items
- /// </summary>
- IList<VCloudTestItem> Items { get; }
- /// <summary>
- /// Execute vCloud test
- /// </summary>
- /// <param name="cancelTokenSource"></param>
- /// <param name="vCloudHost"></param>
- /// <param name="vCloudPort"></param>
- /// <param name="enableRemedicalService"></param>
- /// <param name="enableLiveUsService"></param>
- /// <param name="terminalName"></param>
- void Execute(CancellationTokenSource cancelTokenSource, bool enableRemedicalService, bool enableLiveUsService, string terminalName = null);
- /// <summary>
- /// Retry vcloud test
- /// </summary>
- /// <param name="cancelTokenSource"></param>
- void Retry(CancellationTokenSource cancelTokenSource);
- /// <summary>
- /// Skip current test item
- /// </summary>
- /// <param name="cancelTokenSource"></param>
- void Skip(CancellationTokenSource cancelTokenSource);
- /// <summary>
- /// Close test;
- /// </summary>
- void Close();
- }
- }
|