203 references to RemoteExecutor
Aspire.Azure.AI.OpenAI.Tests (6)
AzureOpenAISettingsTests.cs (4)
14RemoteExecutor.Invoke(() => EnsureMetricsIsEnabledWhenAzureSwitchIsSet(true)).Dispose(); 15RemoteExecutor.Invoke(() => EnsureMetricsIsEnabledWhenAzureSwitchIsSet(false), EnableTelemetry()).Dispose(); 21RemoteExecutor.Invoke(() => EnsureTracingIsEnabledWhenAzureSwitchIsSet(true)).Dispose(); 22RemoteExecutor.Invoke(() => EnsureTracingIsEnabledWhenAzureSwitchIsSet(false), EnableTelemetry()).Dispose();
ConformanceTests.cs (2)
87=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: null), EnableTelemetry()).Dispose(); 91=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: "key"), EnableTelemetry()).Dispose();
Aspire.Azure.Data.Tables.Tests (2)
ConformanceTests.cs (2)
115=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: null)).Dispose(); 119=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: "key")).Dispose();
Aspire.Azure.Messaging.EventHubs.Tests (2)
AzureMessagingEventHubsSettingsTests.cs (2)
14RemoteExecutor.Invoke(() => EnsureTracingIsEnabledWhenAzureSwitchIsSet(true)).Dispose(); 15RemoteExecutor.Invoke(() => EnsureTracingIsEnabledWhenAzureSwitchIsSet(false), EnableTracingForAzureSdk()).Dispose();
Aspire.Azure.Messaging.ServiceBus.Tests (6)
AzureMessagingServiceBusSettingsTests.cs (2)
14RemoteExecutor.Invoke(() => EnsureTracingIsEnabledWhenAzureSwitchIsSet(true)).Dispose(); 15RemoteExecutor.Invoke(() => EnsureTracingIsEnabledWhenAzureSwitchIsSet(false), ConformanceTests.EnableTracingForAzureSdk()).Dispose();
ConformanceTests_Queue.cs (2)
37=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: null), EnableTracingForAzureSdk()).Dispose(); 41=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: "key"), EnableTracingForAzureSdk()).Dispose();
ConformanceTests_Topic.cs (2)
38=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: null), EnableTracingForAzureSdk()).Dispose(); 42=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: "key"), EnableTracingForAzureSdk()).Dispose();
Aspire.Azure.Search.Documents.Tests (2)
ConformanceTests.cs (2)
87=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: null)).Dispose(); 91=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: "key")).Dispose();
Aspire.Azure.Security.KeyVault.Tests (2)
ConformanceTests.cs (2)
107=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: null)).Dispose(); 111=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: "key")).Dispose();
Aspire.Azure.Storage.Blobs.Tests (2)
ConformanceTests.cs (2)
116=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: null)).Dispose(); 120=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: "key")).Dispose();
Aspire.Azure.Storage.Queues.Tests (2)
ConformanceTests.cs (2)
118=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: null)).Dispose(); 122=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: "key")).Dispose();
Aspire.Elastic.Clients.Elasticsearch.Tests (1)
AspireElasticClientExtensionsTest.cs (1)
145RemoteExecutor.Invoke(async (connectionString) =>
Aspire.Microsoft.Data.SqlClient.Tests (2)
ConformanceTests.cs (2)
99=> RemoteExecutor.Invoke(static connectionStringToUse => RunWithConnectionString(connectionStringToUse, obj => obj.ActivitySourceTest(key: null)), 105=> RemoteExecutor.Invoke(static connectionStringToUse => RunWithConnectionString(connectionStringToUse, obj => obj.ActivitySourceTest(key: "key")),
Aspire.Microsoft.EntityFrameworkCore.Cosmos.Tests (1)
ConformanceTests.cs (1)
104RemoteExecutor.Invoke(() => ActivitySourceTest(key: null)).Dispose();
Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests (1)
ConformanceTests.cs (1)
120=> RemoteExecutor.Invoke(static connectionStringToUse => RunWithConnectionString(connectionStringToUse, obj => obj.ActivitySourceTest(key: null)),
Aspire.MySqlConnector.Tests (2)
ConformanceTests.cs (2)
129=> RemoteExecutor.Invoke(static connectionStringToUse => RunWithConnectionString(connectionStringToUse, obj => obj.ActivitySourceTest(key: null)), 135=> RemoteExecutor.Invoke(static connectionStringToUse => RunWithConnectionString(connectionStringToUse, obj => obj.ActivitySourceTest(key: "key")),
Aspire.NATS.Net.Tests (1)
AspireNatsClientExtensionsTests.cs (1)
211RemoteExecutor.Invoke(async (connectionString) =>
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (1)
ConformanceTests.cs (1)
137=> RemoteExecutor.Invoke(static connectionStringToUse => RunWithConnectionString(connectionStringToUse, obj => obj.ActivitySourceTest(key: null)),
Aspire.Npgsql.Tests (2)
ConformanceTests.cs (2)
131=> RemoteExecutor.Invoke(static connectionStringToUse => RunWithConnectionString(connectionStringToUse, obj => obj.ActivitySourceTest(key: null)), 137=> RemoteExecutor.Invoke(static connectionStringToUse => RunWithConnectionString(connectionStringToUse, obj => obj.ActivitySourceTest(key: "key")),
Aspire.OpenAI.Tests (6)
ConformanceTests.cs (2)
69=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: null), EnableTelemetry()).Dispose(); 73=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: "key"), EnableTelemetry()).Dispose();
OpenAISettingsTests.cs (4)
14RemoteExecutor.Invoke(() => EnsureMetricsIsEnabledWhenAzureSwitchIsSet(true)).Dispose(); 15RemoteExecutor.Invoke(() => EnsureMetricsIsEnabledWhenAzureSwitchIsSet(false), EnableTelemetry()).Dispose(); 21RemoteExecutor.Invoke(() => EnsureTracingIsEnabledWhenAzureSwitchIsSet(true)).Dispose(); 22RemoteExecutor.Invoke(() => EnsureTracingIsEnabledWhenAzureSwitchIsSet(false), EnableTelemetry()).Dispose();
Aspire.Oracle.EntityFrameworkCore.Tests (2)
ConformanceTests.cs (2)
134RemoteExecutor.Invoke(static connectionStringToUse => RunWithConnectionString(connectionStringToUse, obj => obj.ActivitySourceTest(key: null)), 142RemoteExecutor.Invoke(static connectionStringToUse => RunWithConnectionString(connectionStringToUse, obj => obj.ActivitySemanticsTest()),
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (1)
ConformanceTests.cs (1)
133=> RemoteExecutor.Invoke(static connectionStringToUse => RunWithConnectionString(connectionStringToUse, obj => obj.ActivitySourceTest(key: null)),
Aspire.StackExchange.Redis.DistributedCaching.Tests (1)
DistributedCacheConformanceTests.cs (1)
43RemoteExecutor.Invoke(async (connectionString) =>
Aspire.StackExchange.Redis.OutputCaching.Tests (1)
OutputCacheConformanceTests.cs (1)
43RemoteExecutor.Invoke(async (connectionString) =>
Aspire.StackExchange.Redis.Tests (1)
AspireRedisExtensionsTests.cs (1)
266RemoteExecutor.Invoke(async (connectionString) =>
Microsoft.AspNetCore.Components.Tests (1)
ParameterViewTest.Assignment.cs (1)
610using var remoteHandle = RemoteExecutor.Invoke(static () =>
Microsoft.AspNetCore.Http.Extensions.Tests (4)
JsonOptionsTests.cs (2)
20using var remoteHandle = RemoteExecutor.Invoke(static () => 38using var remoteHandle = RemoteExecutor.Invoke(static () =>
RequestDelegateFactoryTests.cs (2)
3225using var remoteHandle = RemoteExecutor.Invoke(static () => 3245using var remoteHandle = RemoteExecutor.Invoke(static () =>
Microsoft.AspNetCore.Http.Results.Tests (4)
ResultsOfTHelperTests.cs (4)
23using var remoteHandle = RemoteExecutor.Invoke(static () => 40using var remoteHandle = RemoteExecutor.Invoke(static () => 57using var remoteHandle = RemoteExecutor.Invoke(static () => 72using var remoteHandle = RemoteExecutor.Invoke(static () =>
Microsoft.AspNetCore.InternalTesting (1)
xunit\RemoteExecutionSupportedAttribute.cs (1)
18public bool IsMet => RemoteExecutor.IsSupported;
Microsoft.AspNetCore.Mvc.Abstractions.Test (2)
ModelBinding\ModelMetadataTest.cs (2)
416using var remoteHandle = RemoteExecutor.Invoke(static () => 433using var remoteHandle = RemoteExecutor.Invoke(static () =>
Microsoft.AspNetCore.Mvc.Core.Test (3)
Formatters\SystemTextJsonOutputFormatterTest.cs (1)
278using var remoteHandle = RemoteExecutor.Invoke(static () =>
JsonOptionsTest.cs (2)
19using var remoteHandle = RemoteExecutor.Invoke(static () => 37using var remoteHandle = RemoteExecutor.Invoke(static () =>
Microsoft.AspNetCore.SignalR.Tests (1)
NativeAotTests.cs (1)
166using var remoteHandle = RemoteExecutor.Invoke(test, options);
Microsoft.AspNetCore.Tests (3)
WebApplicationTests.cs (3)
644using var remoteHandle = RemoteExecutor.Invoke(static () => 669using var remoteHandle = RemoteExecutor.Invoke(static () => 1020using var remoteHandle = RemoteExecutor.Invoke(static () =>
Microsoft.DotNet.RemoteExecutor (5)
Program.cs (1)
44int exitCode = RemoteExecutor.SuccessExitCode;
RemoteExecutor.cs (2)
54Path = typeof(RemoteExecutor).Assembly.Location; 640Assembly currentAssembly = typeof(RemoteExecutor).Assembly;
RemoteInvokeOptions.cs (2)
30public int TimeOut { get; set; } = RemoteExecutor.FailWaitTimeoutMilliseconds; 35public int ExpectedExitCode { get; set; } = RemoteExecutor.SuccessExitCode;
Microsoft.DotNet.RemoteExecutor.Tests (15)
RemoteExecutorTests.cs (15)
16RemoteInvokeHandle h = RemoteExecutor.Invoke(() => { }, new RemoteInvokeOptions { RollForward = "Major" }); 19Assert.Equal(RemoteExecutor.SuccessExitCode, h.ExitCode); 27RemoteExecutor.Invoke(async () => 38RemoteInvokeHandle h = RemoteExecutor.Invoke(async () => 44Assert.Equal(RemoteExecutor.SuccessExitCode, h.ExitCode); 52RemoteExecutor.Invoke(async () => 65RemoteExecutor.Invoke(async (a, b, c, d, e) => 77RemoteExecutor.Invoke(async () => 88RemoteExecutor.Invoke(async () => 91return RemoteExecutor.SuccessExitCode; 100RemoteExecutor.Invoke(async () => 116RemoteExecutor.Invoke(async () => 129RemoteExecutor.Invoke(() => 141RemoteExecutor.Invoke(() => 152RemoteInvokeHandle h = RemoteExecutor.Invoke(
Microsoft.ML.CpuMath.UnitTests (50)
UnitTests.cs (50)
241RemoteExecutor.Invoke((arg0, arg1, arg2, arg3) => 264return RemoteExecutor.SuccessExitCode; 276RemoteExecutor.Invoke((arg0, arg1, arg2, arg3) => 298return RemoteExecutor.SuccessExitCode; 309RemoteExecutor.Invoke((arg0, arg1, arg2, arg3) => 334return RemoteExecutor.SuccessExitCode; 347RemoteExecutor.Invoke((arg0, arg1, arg2) => 362return RemoteExecutor.SuccessExitCode; 373RemoteExecutor.Invoke((arg0, arg1, arg2) => 388return RemoteExecutor.SuccessExitCode; 399RemoteExecutor.Invoke((arg0, arg1, arg2) => 415return RemoteExecutor.SuccessExitCode; 426RemoteExecutor.Invoke((arg0, arg1, arg2) => 441return RemoteExecutor.SuccessExitCode; 453RemoteExecutor.Invoke((arg0, arg1, arg2) => 469return RemoteExecutor.SuccessExitCode; 480RemoteExecutor.Invoke((arg0, arg1, arg2) => 498return RemoteExecutor.SuccessExitCode; 509RemoteExecutor.Invoke((arg0, arg1, arg2) => 526return RemoteExecutor.SuccessExitCode; 537RemoteExecutor.Invoke((arg0, arg1) => 558return RemoteExecutor.SuccessExitCode; 570RemoteExecutor.Invoke((arg0, arg1) => 588return RemoteExecutor.SuccessExitCode; 599RemoteExecutor.Invoke((arg0, arg1) => 622return RemoteExecutor.SuccessExitCode; 633RemoteExecutor.Invoke((arg0, arg1) => 645return RemoteExecutor.SuccessExitCode; 656RemoteExecutor.Invoke((arg0, arg1) => 668return RemoteExecutor.SuccessExitCode; 679RemoteExecutor.Invoke((arg0, arg1, arg2) => 693return RemoteExecutor.SuccessExitCode; 704RemoteExecutor.Invoke((arg0, arg1) => 716return RemoteExecutor.SuccessExitCode; 727RemoteExecutor.Invoke((arg0, arg1, arg2) => 741return RemoteExecutor.SuccessExitCode; 752RemoteExecutor.Invoke((arg0, arg1) => 769return RemoteExecutor.SuccessExitCode; 780RemoteExecutor.Invoke((arg0, arg1, arg2) => 797return RemoteExecutor.SuccessExitCode; 808RemoteExecutor.Invoke((arg0, arg1) => 827return RemoteExecutor.SuccessExitCode; 838RemoteExecutor.Invoke((arg0, arg1) => 861return RemoteExecutor.SuccessExitCode; 872RemoteExecutor.Invoke((arg0, arg1) => 893return RemoteExecutor.SuccessExitCode; 932RemoteExecutor.Invoke((arg0, arg1, arg2) => 950return RemoteExecutor.SuccessExitCode; 962RemoteExecutor.Invoke((arg0, arg1, arg2) => 983return RemoteExecutor.SuccessExitCode;
Microsoft.ML.Tokenizers.Tests (3)
TiktokenTests.cs (3)
502[ConditionalTheory(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))] 505RemoteExecutor.Invoke(static (name) =>
Microsoft.VisualBasic.Forms.Tests (3)
System\Windows\Forms\WindowsFormsApplicationBaseTests.vb (3)
102If (RemoteExecutor.IsSupported) Then 110Using handle As RemoteInvokeHandle = RemoteExecutor.Invoke(test) 111handle.ExitCode.Should.Be(RemoteExecutor.SuccessExitCode)
System.Drawing.Common.Tests (6)
System\Drawing\GdiPlusHandlesTests.cs (2)
16public static bool IsDrawingAndRemoteExecutorSupported => RemoteExecutor.IsSupported; 21RemoteExecutor.Invoke(() =>
System\Drawing\IconTests.cs (4)
572if (RemoteExecutor.IsSupported && (!AppContext.TryGetSwitch(DontSupportPngFramesInIcons, out bool isEnabled) || isEnabled)) 574RemoteExecutor.Invoke(() => 595if (RemoteExecutor.IsSupported && (!AppContext.TryGetSwitch(DontSupportPngFramesInIcons, out bool isEnabled) || !isEnabled)) 597RemoteExecutor.Invoke(() =>
System.Windows.Forms.Tests (55)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (2)
272using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke(() => 312Assert.Equal(RemoteExecutor.SuccessExitCode, invokerHandle.ExitCode);
System\Windows\Forms\Application.ParkingWindowTests.cs (2)
14using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke(() => 34Assert.Equal(RemoteExecutor.SuccessExitCode, invokerHandle.ExitCode);
System\Windows\Forms\ApplicationTests.cs (6)
38RemoteExecutor.Invoke(() => 78RemoteExecutor.Invoke(() => 92RemoteExecutor.Invoke(() => 125RemoteExecutor.Invoke((valueString) => 383RemoteExecutor.Invoke((mainMDIFormCountString, childFormCountString) => 519RemoteExecutor.Invoke((childFormCountString, removedFormCountString, addFormCountString, cancelString) =>
System\Windows\Forms\CommonDialogTests.cs (3)
125RemoteExecutor.Invoke((runDialogResultString, expectedDialogResultString) => 163RemoteExecutor.Invoke((runDialogResultString, expectedDialogResultString) => 199RemoteExecutor.Invoke((runDialogResultString, expectedDialogResultString) =>
System\Windows\Forms\DataGridViewHeaderCellTests.cs (9)
3869RemoteExecutor.Invoke(() => 4020RemoteExecutor.Invoke((enableHeadersVisualStylesString, rowIndexString, expectedButtonStateString) => 4059RemoteExecutor.Invoke(() => 4166RemoteExecutor.Invoke(() => 4198RemoteExecutor.Invoke(() => 4380RemoteExecutor.Invoke((enableHeadersVisualStylesString, rowIndexString) => 4411RemoteExecutor.Invoke((rowIndexString) => 4548RemoteExecutor.Invoke(() => 4581RemoteExecutor.Invoke(() =>
System\Windows\Forms\ListViewGroupTests.cs (16)
206using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke(() => 242Assert.Equal(RemoteExecutor.SuccessExitCode, invokerHandle.ExitCode); 347using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke(() => 382Assert.Equal(RemoteExecutor.SuccessExitCode, invokerHandle.ExitCode); 486using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke(() => 522Assert.Equal(RemoteExecutor.SuccessExitCode, invokerHandle.ExitCode); 600using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke(() => 635Assert.Equal(RemoteExecutor.SuccessExitCode, invokerHandle.ExitCode); 744RemoteExecutor.Invoke((footer, valueString, expectedAlignString) => 861using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke(() => 897Assert.Equal(RemoteExecutor.SuccessExitCode, invokerHandle.ExitCode); 996RemoteExecutor.Invoke((header, valueString, expectedAlignString) => 1122using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke(() => 1163Assert.Equal(RemoteExecutor.SuccessExitCode, invokerHandle.ExitCode); 1265using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke(() => 1300Assert.Equal(RemoteExecutor.SuccessExitCode, invokerHandle.ExitCode);
System\Windows\Forms\ListViewInsertionMarkTests.cs (5)
85RemoteExecutor.Invoke(() => 135RemoteExecutor.Invoke(() => 361RemoteExecutor.Invoke(() => 457RemoteExecutor.Invoke((indexString) => 511RemoteExecutor.Invoke((indexString) =>
System\Windows\Forms\ListViewTests.cs (4)
1898using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke(() => 1967Assert.Equal(RemoteExecutor.SuccessExitCode, invokerHandle.ExitCode); 4562using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke((key_s, expectedGroupIndex_s) => 4603Assert.Equal(RemoteExecutor.SuccessExitCode, invokerHandle.ExitCode);
System\Windows\Forms\ProfessionalColorTableTests.cs (2)
189using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke(() => 199Assert.Equal(RemoteExecutor.SuccessExitCode, invokerHandle.ExitCode);
System\Windows\Forms\TabPageTests.cs (2)
542RemoteExecutor.Invoke((useVisualStyleBackColorString) => 622RemoteExecutor.Invoke((useVisualStyleBackColorString, parentAppearanceString, expectedString) =>
System\Windows\Forms\TaskDialogTests.cs (4)
14using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke(() => 31Assert.Equal(RemoteExecutor.SuccessExitCode, invokerHandle.ExitCode); 38using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke(() => 57Assert.Equal(RemoteExecutor.SuccessExitCode, invokerHandle.ExitCode);