11 instantiations of TestJSRuntime
Aspire.Dashboard.Tests (11)
LocalBrowserStorageTests.cs (10)
125
var testJsonRuntime = new
TestJSRuntime
();
156
var testJsonRuntime = new
TestJSRuntime
();
182
var testJsonRuntime = new
TestJSRuntime
();
207
var testJsonRuntime = new
TestJSRuntime
();
228
var testJsonRuntime = new
TestJSRuntime
247
var testJsonRuntime = new
TestJSRuntime
266
var testJsonRuntime = new
TestJSRuntime
();
281
var testJsonRuntime = new
TestJSRuntime
{ OnInvoke = _ => throw exception };
300
var testJsonRuntime = new
TestJSRuntime
{ OnInvoke = _ => throw exception };
318
var localStorage = CreateBrowserLocalStorage(new
TestJSRuntime
(), circuitOptions);
Shared\InMemoryBrowserLocalStorage.cs (1)
28
var jsRuntime = new
TestJSRuntime
{ OnInvoke = HandleLocalStorageCall };
14 references to TestJSRuntime
Aspire.Dashboard.Tests (14)
LocalBrowserStorageTests.cs (11)
125
var
testJsonRuntime = new TestJSRuntime();
156
var
testJsonRuntime = new TestJSRuntime();
182
var
testJsonRuntime = new TestJSRuntime();
207
var
testJsonRuntime = new TestJSRuntime();
228
var
testJsonRuntime = new TestJSRuntime
247
var
testJsonRuntime = new TestJSRuntime
266
var
testJsonRuntime = new TestJSRuntime();
281
var
testJsonRuntime = new TestJSRuntime { OnInvoke = _ => throw exception };
300
var
testJsonRuntime = new TestJSRuntime { OnInvoke = _ => throw exception };
326
TestJSRuntime
testJsonRuntime,
340
private static IBrowserStorage CreateBrowserStorage(
TestJSRuntime
testJsonRuntime, TestLoggerFactory loggerFactory, bool useSessionStorage)
Model\DashboardCommandExecutorTests.cs (1)
413
services.AddSingleton<Microsoft.JSInterop.IJSRuntime,
TestJSRuntime
>();
Shared\InMemoryBrowserLocalStorage.cs (1)
28
var
jsRuntime = new TestJSRuntime { OnInvoke = HandleLocalStorageCall };
tests\Shared\TestDialogService.cs (1)
60
services.AddSingleton<IJSRuntime,
TestJSRuntime
>();