11 instantiations of TestJSRuntime
Aspire.Dashboard.Tests (11)
LocalBrowserStorageTests.cs (10)
34
var testJsonRuntime = new
TestJSRuntime
();
65
var testJsonRuntime = new
TestJSRuntime
();
91
var testJsonRuntime = new
TestJSRuntime
();
116
var testJsonRuntime = new
TestJSRuntime
();
137
var testJsonRuntime = new
TestJSRuntime
156
var testJsonRuntime = new
TestJSRuntime
175
var testJsonRuntime = new
TestJSRuntime
();
190
var testJsonRuntime = new
TestJSRuntime
{ OnInvoke = _ => throw exception };
209
var testJsonRuntime = new
TestJSRuntime
{ OnInvoke = _ => throw exception };
227
var localStorage = CreateBrowserLocalStorage(new
TestJSRuntime
(), circuitOptions);
Shared\InMemoryBrowserLocalStorage.cs (1)
25
var jsRuntime = new
TestJSRuntime
{ OnInvoke = HandleLocalStorageCall };
14 references to TestJSRuntime
Aspire.Dashboard.Tests (14)
LocalBrowserStorageTests.cs (11)
34
var
testJsonRuntime = new TestJSRuntime();
65
var
testJsonRuntime = new TestJSRuntime();
91
var
testJsonRuntime = new TestJSRuntime();
116
var
testJsonRuntime = new TestJSRuntime();
137
var
testJsonRuntime = new TestJSRuntime
156
var
testJsonRuntime = new TestJSRuntime
175
var
testJsonRuntime = new TestJSRuntime();
190
var
testJsonRuntime = new TestJSRuntime { OnInvoke = _ => throw exception };
209
var
testJsonRuntime = new TestJSRuntime { OnInvoke = _ => throw exception };
235
TestJSRuntime
testJsonRuntime,
248
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)
25
var
jsRuntime = new TestJSRuntime { OnInvoke = HandleLocalStorageCall };
tests\Shared\TestDialogService.cs (1)
60
services.AddSingleton<IJSRuntime,
TestJSRuntime
>();