95 references to Sections
Microsoft.Extensions.DocumentExtraction.Abstractions.Tests (7)
DelegatingDocumentExtractionClientTests.cs (1)
69expected.Sections.Add(section);
DocumentExtractionCleanupTests.cs (1)
137Assert.Empty(partial.Sections);
DocumentExtractionDocumentBuilderTests.cs (5)
124expected.Sections.Add(root); 133Assert.Same(root, Assert.Single(actual.Sections)); 179expected.Sections.Add(section); 219result.Sections.Add(new()); 230Assert.Equal(hasSection ? 1 : 0, actual.Sections.Count);
Microsoft.Extensions.DocumentExtraction.Tests (3)
DocumentExtractionMiddlewareTests.cs (3)
252expected.Sections.Add(section); 376expected.Sections.Add(section); 529expected.Sections.Add(section);
Microsoft.Extensions.Documents.Abstractions (1)
ExtractionDocument.cs (1)
63foreach (ExtractionDocumentSection section in Sections)
Microsoft.Extensions.Documents.Abstractions.Tests (84)
DocumentElementTests.cs (9)
62document.Sections.Add(section); 98document.Sections.Add(section); 110document.Sections.Add(section); 128document.Sections.Add(section); 154document.Sections.Add(section); 172document.Sections.Add(section); 200document.Sections.Add(section); 224document.Sections.Add(section); 255document.Sections.Add(section);
DocumentExtensionElementTests.cs (1)
79document.Sections.Add(section);
DocumentImageElementTests.cs (2)
72document.Sections.Add(section); 103document.Sections.Add(section);
DocumentReferencesTests.cs (1)
216document.Sections.Add(section);
DocumentReviewFollowUpTests.cs (12)
20Assert.IsType<List<ExtractionDocumentSection>>(document.Sections); 51first.Sections.Add(section); 52second.Sections.Add(section); 57first.Sections.Clear(); 71document.Sections.Add(root); 88document.Sections.Add(root ? null! : section); 107document.Sections.Add(root); 114document.Sections.Add(root); 133document.Sections.Add(section); 156document.Sections.Add(section); 166document.Sections.Add(section); 193document.Sections.Insert(0, section);
DocumentSectionTests.cs (1)
48document.Sections.Add(root);
DocumentTableCellCollectionTests.cs (12)
45document.Sections.Add(section); 86document.Sections.Add(section); 134document.Sections.Add(root); 262document.Sections.Add(root); 320document.Sections.Add(section); 334document.Sections.Add(section); 363document.Sections.Add(section); 394document.Sections.Add(section); 425document.Sections.Add(section); 443document.Sections.Add(section); 481other.Sections.Add(otherSection); 514document.Sections.Add(section);
DocumentTableCellTests.cs (7)
23document.Sections.Add(section); 42document.Sections.Add(firstSection); 43document.Sections.Add(secondSection); 84document.Sections.Add(section); 124document.Sections.Add(section); 179document.Sections.Add(first); 180document.Sections.Add(second);
DocumentTableElementTests.cs (7)
61document.Sections.Add(section); 239document.Sections.Add(section); 264document.Sections.Add(section); 311document.Sections.Add(section); 344document.Sections.Add(section); 369document.Sections.Add(section); 395document.Sections.Add(section);
DocumentTests.Composition.cs (3)
51document.Sections.Add(section); 63document.Sections.Add(section); 99document.Sections.Add(section);
DocumentTests.cs (12)
22Assert.Empty(document.Sections); 62document.Sections.Add(section); 79document.Sections.Add(first); 80document.Sections.Add(second); 82Assert.Equal(new[] { first, second }, document.Sections); 129document.Sections.Add(first); 130document.Sections.Add(second); 147document.Sections.Add(root); 170document.Sections.Add(first); 171document.Sections.Add(second); 193document.Sections.Add(new ExtractionDocumentSection()); 234document.Sections.Add(section);
DocumentTests.StandardContent.cs (13)
55document.Sections.Add(outer); 78document.Sections.Add(section); 93document.Sections.Add(section); 112document.Sections.Add(section); 126document.Sections.Add(section); 151document.Sections.Add(section); 173document.Sections.Add(section); 195document.Sections.Add(section); 222document.Sections.Add(section); 241document.Sections.Add(section); 340document.Sections.Add(section); 374document.Sections.Add(section); 405document.Sections.Add(section);
DocumentTextElementTests.cs (2)
40document.Sections.Add(section); 123document.Sections.Add(section);
PreviewContractTests.cs (2)
62Assert.Empty(document.Sections); 95document.Sections.Add(section);