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();
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();
503var jsRuntime = new TestJSRuntime();
515var jsRuntime = new TestJSRuntime();
528var jsRuntime = new TestJSRuntime();
543var jsRuntime = new TestJSRuntime();
563var jsRuntime = new TestJSRuntime();
586var jsRuntime = new TestJSRuntime();
625var jsRuntime = new TestJSRuntime();
655var jsRuntime = new TestJSRuntime();
679var jsRuntime = new TestJSRuntime();
701var jsRuntime = new TestJSRuntime();
723var jsRuntime = new TestJSRuntime();
741var jsRuntime = new TestJSRuntime();
758Assert.ThrowsAny<JsonException>(() => DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string) }));
767Assert.ThrowsAny<JsonException>(() => DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string) }));
776Assert.ThrowsAny<JsonException>(() => DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string) }));
786var result = DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(string), typeof(int), });
799var result = DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(TestDTO), });
814var result = DotNetDispatcher.ParseArguments(new TestJSRuntime(), "SomeMethod", arguments, new[] { typeof(int), typeof(TestDTO), });
831var ex = Assert.Throws<InvalidOperationException>(() => DotNetDispatcher.ParseArguments(new TestJSRuntime(), method, arguments, new[] { typeof(int), typeof(TestDTO), }));
841var jsRuntime = new TestJSRuntime();
38 references to TestJSRuntime
Microsoft.JSInterop.Tests (38)