49 instantiations of TestJSRuntime
Microsoft.JSInterop.Tests (49)
Infrastructure\DotNetDispatcherTest.cs (49)
21() => DotNetDispatcher.Invoke(new TestJSRuntime(), new DotNetInvocationInfo(assemblyName, "SomeMethod", default, default), "[]"),
33() => DotNetDispatcher.Invoke(new TestJSRuntime(), new DotNetInvocationInfo("SomeAssembly", methodIdentifier, default, default), "[]"),
44DotNetDispatcher.Invoke(new TestJSRuntime(), new DotNetInvocationInfo(assemblyName, "SomeMethod", default, default), null);
66DotNetDispatcher.Invoke(new TestJSRuntime(), new DotNetInvocationInfo(thisAssemblyName, methodIdentifier, default, default), null);
76var jsRuntime = new TestJSRuntime();
89var jsRuntime = new TestJSRuntime();
102var jsRuntime = new TestJSRuntime();
115var jsRuntime = new TestJSRuntime();
154var jsRuntime = new TestJSRuntime();
178var jsRuntime = new TestJSRuntime();
195var jsRuntime = new TestJSRuntime();
212var jsRuntime = new TestJSRuntime();
231var jsRuntime = new TestJSRuntime();
250var jsRuntime = new TestJSRuntime();
266var jsRuntime = new TestJSRuntime();
285var jsRuntime = new TestJSRuntime();
302var jsRuntime = new TestJSRuntime();
318var jsRuntime = new TestJSRuntime();
339var jsRuntime = new TestJSRuntime();
350var jsRuntime = new TestJSRuntime();
361var jsRuntime = new TestJSRuntime();
372var jsRuntime = new TestJSRuntime();
383var jsRuntime = new TestJSRuntime();
402var jsRuntime = new TestJSRuntime();
416var jsRuntime = new TestJSRuntime();
428var jsRuntime = new TestJSRuntime();
441var jsRuntime = new TestJSRuntime();
462var jsRuntime = new TestJSRuntime();
478var jsRuntime = new TestJSRuntime();
495var jsRuntime = new TestJSRuntime();
507var jsRuntime = new TestJSRuntime();
520var jsRuntime = new TestJSRuntime();
535var jsRuntime = new TestJSRuntime();
555var jsRuntime = new TestJSRuntime();
578var jsRuntime = new TestJSRuntime();
617var jsRuntime = new TestJSRuntime();
647var jsRuntime = new TestJSRuntime();
671var jsRuntime = new TestJSRuntime();
693var jsRuntime = new TestJSRuntime();
715var jsRuntime = new TestJSRuntime();
733var jsRuntime = new TestJSRuntime();
750Assert.ThrowsAny<JsonException>(() => DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string) }));
759Assert.ThrowsAny<JsonException>(() => DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string) }));
768Assert.ThrowsAny<JsonException>(() => DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string) }));
778var result = DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string), typeof(int), });
791var result = DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(TestDTO), });
806var result = DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(int), typeof(TestDTO), });
823var ex = Assert.Throws<InvalidOperationException>(() => DotNetDispatcher.ParseArguments(new TestJSRuntime(), method, arguments, new[] { typeof(int), typeof(TestDTO), }));
833var jsRuntime = new TestJSRuntime();
38 references to TestJSRuntime
Microsoft.JSInterop.Tests (38)