CapabilityDispatcherTests.cs (66)
56dispatcher.Invoke("test/capability@1", null);
72dispatcher.Invoke("test/capability@1", new JsonObject { ["name"] = "test-value" });
83var result = dispatcher.Invoke("test/capability@1", null);
95dispatcher.Invoke("nonexistent/capability@1", null));
113dispatcher.Invoke("test/capability@1", null));
132dispatcher.Invoke("test/capability@1", null));
150dispatcher.Invoke("test/capability@1", null));
169var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/testMethod", args);
181var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/withOptional", args);
193var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/withOptional", args);
234var nameResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestContextType.name", args);
235var countResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestContextType.count", args);
249dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestContextType.name", null));
262dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestContextType.name", args));
274dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestContextType.name", args));
328var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestParentContextType.nestedContext", args);
345var operationResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestNestedContextType.operation", nestedArgs);
409dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestContextType.setName", args);
429dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestContextType.setCount", args);
448dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestContextType.setIsEnabled", args);
468dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestContextType.setName", args));
499dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.doSomething", args);
519var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.calculateSum", args);
539var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/TestTypeWithMethods.processAsync", args);
584var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/withCallback", args);
606dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/invokeCallback", args);
627dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/invokeTypedCallback", args);
650var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/withAsyncCallback", args);
671dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/withCallback", args));
696dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/asyncVoid", args);
705var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/asyncWithResult", args);
718dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/asyncThrows", args));
734var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/sumArray", args);
746var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnArray", args);
766var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/acceptReadOnlyList", args);
779var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/acceptUnion", args);
791var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/acceptUnion", args);
804var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableList", null);
820var listResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableList", null);
831var result = dispatcher.Invoke("Aspire.Hosting/List.get", args);
844var listResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableList", null);
854var removeResult = dispatcher.Invoke("Aspire.Hosting/List.removeAt", removeArgs);
864var lengthResult = dispatcher.Invoke("Aspire.Hosting/List.length", lengthArgs);
877var listResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableList", null);
886var result = dispatcher.Invoke("Aspire.Hosting/List.length", args);
899var listResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableList", null);
908dispatcher.Invoke("Aspire.Hosting/List.clear", clearArgs);
915var lengthResult = dispatcher.Invoke("Aspire.Hosting/List.length", lengthArgs);
928var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableDict", null);
944var dictResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableDict", null);
955var result = dispatcher.Invoke("Aspire.Hosting/Dict.get", args);
968var dictResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableDict", null);
978var removeResult = dispatcher.Invoke("Aspire.Hosting/Dict.remove", removeArgs);
988var countResult = dispatcher.Invoke("Aspire.Hosting/Dict.count", countArgs);
1001var dictResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableDict", null);
1011var hasResult = dispatcher.Invoke("Aspire.Hosting/Dict.has", hasArgs);
1022var hasResult2 = dispatcher.Invoke("Aspire.Hosting/Dict.has", hasArgs2);
1035var dictResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableDict", null);
1044var result = dispatcher.Invoke("Aspire.Hosting/Dict.keys", args);
1061var dictResult = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnMutableDict", null);
1070var result = dispatcher.Invoke("Aspire.Hosting/Dict.count", args);
1087var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/acceptEnum", args);
1104var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/acceptEnum", args);
1121var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/returnEnum", args);
1138var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/acceptOptionalEnum", args);
1150var result = dispatcher.Invoke("Aspire.Hosting.RemoteHost.Tests/acceptOptionalEnum", new JsonObject());