1 write to LastCompletionResult
Microsoft.JSInterop.Tests (1)
Infrastructure\DotNetDispatcherTest.cs (1)
1104
LastCompletionResult
= invocationResult;
12 references to LastCompletionResult
Microsoft.JSInterop.Tests (12)
Infrastructure\DotNetDispatcherTest.cs (12)
644
Assert.True(jsRuntime.
LastCompletionResult
.Success);
645
var resultJson = Assert.IsType<string>(jsRuntime.
LastCompletionResult
.ResultJson);
684
Assert.True(jsRuntime.
LastCompletionResult
.Success);
708
Assert.True(jsRuntime.
LastCompletionResult
.Success);
726
Assert.False(jsRuntime.
LastCompletionResult
.Success); // Fails
730
Assert.Contains(nameof(ThrowingClass.ThrowingMethod), jsRuntime.
LastCompletionResult
.Exception.ToString());
748
Assert.False(jsRuntime.
LastCompletionResult
.Success); // Fails
752
Assert.Contains(nameof(ThrowingClass.AsyncThrowingMethod), jsRuntime.
LastCompletionResult
.Exception.ToString());
768
Assert.False(jsRuntime.
LastCompletionResult
.Success); // Fails
769
var exception = jsRuntime.
LastCompletionResult
.Exception;
784
Assert.False(jsRuntime.
LastCompletionResult
.Success); // Fails
785
var exception = jsRuntime.
LastCompletionResult
.Exception;