51 instantiations of TestJSRuntime
Microsoft.JSInterop.Tests (51)
Infrastructure\DotNetDispatcherTest.cs (51)
22() => DotNetDispatcher.Invoke(new TestJSRuntime(), new DotNetInvocationInfo(assemblyName, "SomeMethod", default, default), "[]"),
34() => DotNetDispatcher.Invoke(new TestJSRuntime(), new DotNetInvocationInfo("SomeAssembly", methodIdentifier, default, default), "[]"),
45DotNetDispatcher.Invoke(new TestJSRuntime(), new DotNetInvocationInfo(assemblyName, "SomeMethod", default, default), null);
67DotNetDispatcher.Invoke(new TestJSRuntime(), new DotNetInvocationInfo(thisAssemblyName, methodIdentifier, default, default), null);
77var jsRuntime = new TestJSRuntime();
90var jsRuntime = new TestJSRuntime();
103var jsRuntime = new TestJSRuntime();
116var jsRuntime = new TestJSRuntime();
155var jsRuntime = new TestJSRuntime();
179var jsRuntime = new TestJSRuntime();
196var jsRuntime = new TestJSRuntime();
213var jsRuntime = new TestJSRuntime();
232var jsRuntime = new TestJSRuntime();
251var jsRuntime = new TestJSRuntime();
267var jsRuntime = new TestJSRuntime();
288var jsRuntime = new TestJSRuntime();
305var jsRuntime = new TestJSRuntime();
321var jsRuntime = new TestJSRuntime();
342var jsRuntime = new TestJSRuntime();
353var jsRuntime = new TestJSRuntime();
364var jsRuntime = new TestJSRuntime();
375var jsRuntime = new TestJSRuntime();
386var jsRuntime = new TestJSRuntime();
405var jsRuntime = new TestJSRuntime();
421var jsRuntime = new TestJSRuntime();
435var jsRuntime = new TestJSRuntime();
450var jsRuntime = new TestJSRuntime();
471var jsRuntime = new TestJSRuntime();
487var jsRuntime = new TestJSRuntime();
503var jsRuntime = new TestJSRuntime();
521var jsRuntime = new TestJSRuntime();
540var jsRuntime = new TestJSRuntime();
552var jsRuntime = new TestJSRuntime();
565var jsRuntime = new TestJSRuntime();
580var jsRuntime = new TestJSRuntime();
600var jsRuntime = new TestJSRuntime();
623var jsRuntime = new TestJSRuntime();
662var jsRuntime = new TestJSRuntime();
692var jsRuntime = new TestJSRuntime();
716var jsRuntime = new TestJSRuntime();
738var jsRuntime = new TestJSRuntime();
760var jsRuntime = new TestJSRuntime();
778var jsRuntime = new TestJSRuntime();
795Assert.ThrowsAny<JsonException>(() => DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string) }));
804Assert.ThrowsAny<JsonException>(() => DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string) }));
813Assert.ThrowsAny<JsonException>(() => DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string) }));
823var result = DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string), typeof(int), });
836var result = DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(TestDTO), });
851var result = DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(int), typeof(TestDTO), });
868var ex = Assert.Throws<InvalidOperationException>(() => DotNetDispatcher.ParseArguments(new TestJSRuntime(), method, arguments, new[] { typeof(int), typeof(TestDTO), }));
878var jsRuntime = new TestJSRuntime();
40 references to TestJSRuntime
Microsoft.JSInterop.Tests (40)