41 references to Batches
Microsoft.AspNetCore.Components.Authorization.Tests (41)
AuthorizeRouteViewTest.cs (12)
61
var batch = _renderer.
Batches
.Single();
98
var batch = _renderer.
Batches
.Single();
136
var batch = _renderer.
Batches
.Single();
165
var batch = _renderer.
Batches
.Single();
193
var batch = _renderer.
Batches
.Single();
221
var batch = _renderer.
Batches
.Single();
234
batch = _renderer.
Batches
.Skip(1).Single();
265
var batch = _renderer.
Batches
.Single();
284
var batch = _renderer.
Batches
.Single();
313
var batch = _renderer.
Batches
.Single();
351
Assert.Equal(2, _renderer.
Batches
.Count);
352
var batch2 = _renderer.
Batches
[1];
AuthorizeViewTest.cs (20)
37
var diff = renderer.
Batches
.Single().GetComponentDiffs<AuthorizeView>().Single();
66
var diff = renderer.
Batches
.Single().GetComponentDiffs<AuthorizeView>().Single();
71
renderer.
Batches
.Single().ReferenceFrames[edit.ReferenceFrameIndex],
100
var diff = renderer.
Batches
.Single().GetComponentDiffs<AuthorizeView>().Single();
130
var diff = renderer.
Batches
.Single().GetComponentDiffs<AuthorizeView>().Single();
135
renderer.
Batches
.Single().ReferenceFrames[edit.ReferenceFrameIndex],
166
var diff = renderer.
Batches
.Single().GetComponentDiffs<AuthorizeView>().Single();
171
renderer.
Batches
.Single().ReferenceFrames[edit.ReferenceFrameIndex],
201
var authorizeViewComponentId = renderer.
Batches
.Single()
211
Assert.Equal(2, renderer.
Batches
.Count);
212
var batch = renderer.
Batches
.Last();
266
var batch1 = renderer.
Batches
.Single();
278
Assert.Equal(2, renderer.
Batches
.Count);
279
var batch2 = renderer.
Batches
[1];
309
var batch1 = Assert.Single(renderer.
Batches
);
327
Assert.Equal(2, renderer.
Batches
.Count);
328
var batch2 = renderer.
Batches
[1];
367
var batch1 = renderer.
Batches
.Single();
385
Assert.Equal(2, renderer.
Batches
.Count);
386
var batch2 = renderer.
Batches
[1];
CascadingAuthenticationStateTest.cs (8)
52
var batch = renderer.
Batches
.Single();
85
var batch1 = renderer.
Batches
.Single();
101
Assert.Single(renderer.
Batches
);
105
Assert.Equal(2, renderer.
Batches
.Count);
106
var batch2 = renderer.
Batches
.Last();
133
var receiveAuthStateId = renderer.
Batches
.Single()
141
Assert.Equal(2, renderer.
Batches
.Count);
142
var batch = renderer.
Batches
.Last();
src\Components\Shared\test\TestRenderer.cs (1)
116
Batches
.Add(capturedBatch);