public FormsRunner(Assembly executionAssembly, IReadOnlyCollection <Assembly> testAssemblies, IResultChannel resultChannel) { this.executionAssembly = executionAssembly; this.testAssemblies = testAssemblies; this.resultChannel = resultChannel; MainPage = GetMainPage(); }
protected XunitTestSuiteInstrumentation(IntPtr handle, JniHandleOwnership transfer, IResultPath resultPath, IResultChannel resultChannel, IInstrumentationProgress progress) : base(handle, transfer) { _resultsPath = resultPath; _originalResultChannel = resultChannel; _progress = progress; _cachedResultChannel = new CachedResultChannel(); _instrumentDeviceRunner = new InstrumentationDeviceRunner(new List <Assembly>(), null, _cachedResultChannel); }
public InstrumentationDeviceRunner( IReadOnlyCollection <Assembly> testAssemblies, INavigation navigation, IResultChannel resultChannel) : base(testAssemblies, navigation, resultChannel) { _testAssemblies = testAssemblies; _navigation = navigation; _resultChannel = resultChannel; }
public DeviceRunner(IReadOnlyCollection <Assembly> testAssemblies, INavigation navigation, IResultChannel resultChannel) { this.navigation = navigation; TestAssemblies = testAssemblies; this.resultChannel = resultChannel; }
public static async Task SaveTo(this ICachedResultChannel cachedResultChannel, IResultChannel resultChannel, string message) { if (await resultChannel.OpenChannel(message)) { try { foreach (var testResult in cachedResultChannel.TestResults) { resultChannel.RecordResult(testResult); } } finally { await resultChannel.CloseChannel(); } } }
public DeviceRunner(IReadOnlyCollection<Assembly> testAssemblies, INavigation navigation, IResultChannel resultChannel) { this.navigation = navigation; TestAssemblies = testAssemblies; this.resultChannel = resultChannel; }
protected XunitTestSuiteInstrumentation(IntPtr handle, JniHandleOwnership transfer, IResultPath resultPath, IResultChannel resultChannel) : this(handle, transfer, resultPath, resultChannel, new InstrumentationProgress()) { }