51 instantiations of TestJSRuntime
Microsoft.JSInterop.Tests (51)
Infrastructure\DotNetDispatcherTest.cs (51)
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();
287var jsRuntime = new TestJSRuntime();
304var jsRuntime = new TestJSRuntime();
320var jsRuntime = new TestJSRuntime();
341var jsRuntime = new TestJSRuntime();
352var jsRuntime = new TestJSRuntime();
363var jsRuntime = new TestJSRuntime();
374var jsRuntime = new TestJSRuntime();
385var jsRuntime = new TestJSRuntime();
404var jsRuntime = new TestJSRuntime();
420var jsRuntime = new TestJSRuntime();
434var jsRuntime = new TestJSRuntime();
449var jsRuntime = new TestJSRuntime();
470var jsRuntime = new TestJSRuntime();
486var jsRuntime = new TestJSRuntime();
502var jsRuntime = new TestJSRuntime();
520var jsRuntime = new TestJSRuntime();
539var jsRuntime = new TestJSRuntime();
551var jsRuntime = new TestJSRuntime();
564var jsRuntime = new TestJSRuntime();
579var jsRuntime = new TestJSRuntime();
599var jsRuntime = new TestJSRuntime();
622var jsRuntime = new TestJSRuntime();
661var jsRuntime = new TestJSRuntime();
691var jsRuntime = new TestJSRuntime();
715var jsRuntime = new TestJSRuntime();
737var jsRuntime = new TestJSRuntime();
759var jsRuntime = new TestJSRuntime();
777var jsRuntime = new TestJSRuntime();
794Assert.ThrowsAny<JsonException>(() => DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string) }));
803Assert.ThrowsAny<JsonException>(() => DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string) }));
812Assert.ThrowsAny<JsonException>(() => DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string) }));
822var result = DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string), typeof(int), });
835var result = DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(TestDTO), });
850var result = DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(int), typeof(TestDTO), });
867var ex = Assert.Throws<InvalidOperationException>(() => DotNetDispatcher.ParseArguments(new TestJSRuntime(), method, arguments, new[] { typeof(int), typeof(TestDTO), }));
877var jsRuntime = new TestJSRuntime();
40 references to TestJSRuntime
Microsoft.JSInterop.Tests (40)