17 references to Batches
Microsoft.AspNetCore.Components.Web.Tests (17)
Forms\EditFormTest.cs (4)
113var editFormComponentId = _testRenderer.Batches.Single() 144var editFormComponentId = _testRenderer.Batches.Single() 194var editFormComponentId = _testRenderer.Batches.Single() 218return FindEditFormComponent(_testRenderer.Batches.Single());
Forms\InputBaseTest.cs (8)
380var batch1 = renderer.Batches.Single(); 393var batch2 = renderer.Batches.Skip(1).Single(); 414var component = renderer.Batches.Single().GetComponentFrames<TestInputComponent<string>>().Single().Component; 423Assert.Empty(renderer.Batches.Skip(1)); 448var batch1 = renderer.Batches.Single(); 483var batch1 = renderer.Batches.Single(); 511var batch1 = renderer.Batches.Single(); 524var batch2 = renderer.Batches.Skip(1).Single();
Forms\InputNumberTest.cs (1)
100var batch = _testRenderer.Batches.Single();
Forms\InputRadioTest.cs (1)
116return FindInputRadioComponents(testRenderer.Batches.Single());
Forms\InputRenderer.cs (1)
17return FindComponent<TComponent>(testRenderer.Batches.Single());
Forms\Mapping\SupplyParameterFromFormTest.cs (1)
50var formComponentState = renderer.Batches.Single()
src\Components\Shared\test\TestRenderer.cs (1)
116Batches.Add(capturedBatch);