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