31 references to HasCapability
Aspire.Hosting.RemoteHost.Tests (31)
CapabilityDispatcherTests.cs (31)
22
Assert.True(dispatcher.
HasCapability
("test/capability@1"));
30
Assert.False(dispatcher.
HasCapability
("nonexistent/capability@1"));
161
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/testMethod"));
209
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestContextType.name"));
210
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestContextType.count"));
211
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestContextType.isEnabled"));
220
Assert.False(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestContextType.nonAtsProperty"));
310
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/VersionedContextType.value"));
324
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestParentContextType.nestedContext"),
326
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestParentContextType.name"),
330
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestNestedContextType.operation"),
332
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestNestedContextType.isPublishMode"),
388
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.ApplicationModel/EnvironmentCallbackContext.executionContext"),
392
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.ApplicationModel/EnvironmentCallbackContext.environmentVariables"),
396
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting/DistributedApplicationExecutionContext.operation"),
398
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting/DistributedApplicationExecutionContext.isPublishMode"),
400
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting/DistributedApplicationExecutionContext.isRunMode"),
412
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestContextType.setName"));
413
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestContextType.setCount"));
414
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestContextType.setIsEnabled"));
505
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.doSomething"));
506
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.calculateSum"));
507
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.processAsync"));
607
Assert.False(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.privateMethod"));
618
Assert.False(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.toString"));
619
Assert.False(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.getHashCode"));
620
Assert.False(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.equals"));
621
Assert.False(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.getType"));
788
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/asyncVoid"));
789
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/asyncWithResult"));
790
Assert.True(dispatcher.
HasCapability
("Aspire.Hosting.RemoteHost.Tests/asyncThrows"));