31 references to HasCapability
Aspire.Hosting.RemoteHost.Tests (31)
CapabilityDispatcherTests.cs (31)
21
Assert.True(dispatcher.
HasCapability
("test/capability@1"));
29
Assert.False(dispatcher.
HasCapability
("nonexistent/capability@1"));
160
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/testMethod"));
208
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestContextType.name"));
209
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestContextType.count"));
210
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestContextType.isEnabled"));
219
Assert.False(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestContextType.nonAtsProperty"));
286
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/VersionedContextType.value"));
300
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestParentContextType.nestedContext"),
302
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestParentContextType.name"),
306
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestNestedContextType.operation"),
308
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestNestedContextType.isPublishMode"),
364
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.ApplicationModel/EnvironmentCallbackContext.executionContext"),
368
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.ApplicationModel/EnvironmentCallbackContext.environmentVariables"),
372
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting/DistributedApplicationExecutionContext.operation"),
374
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting/DistributedApplicationExecutionContext.isPublishMode"),
376
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting/DistributedApplicationExecutionContext.isRunMode"),
388
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestContextType.setName"));
389
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestContextType.setCount"));
390
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestContextType.setIsEnabled"));
481
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.doSomething"));
482
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.calculateSum"));
483
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.processAsync"));
551
Assert.False(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.privateMethod"));
562
Assert.False(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.toString"));
563
Assert.False(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.getHashCode"));
564
Assert.False(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.equals"));
565
Assert.False(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.getType"));
683
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/asyncVoid"));
684
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/asyncWithResult"));
685
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/asyncThrows"));