Real document samples used by the per-format [Theory] and per-tool tests.
The fixtures (SampleDocuments.CopyRealSamples) stage them into the
per-test temp storage folder; tests skip themselves when a sample is missing,
so this folder may be safely pruned.
All files are copied verbatim from the upstream
GroupDocs.Annotation for .NET examples repo,
under Examples/GroupDocs.Annotation.Examples.CSharp/Resources/SampleFiles/.
| File | Source path | Used by |
|---|---|---|
input.pdf |
SampleFiles/input.pdf |
AddAnnotation, GetDocumentInfo, GeneratePagesPreview |
input.docx |
SampleFiles/input.docx |
AddAnnotation, GetDocumentInfo |
input.xlsx |
SampleFiles/input.xlsx |
GetDocumentInfo |
annotated.pdf |
SampleFiles/annotated.pdf |
GetAnnotations, ExportAnnotations, UpdateAnnotation, RemoveAnnotations |
annotated.docx |
SampleFiles/annotated.docx |
GetAnnotations (DOCX path) |
annotated_with_replies.pdf |
SampleFiles/annotated_with_replies.pdf |
AddReply, RemoveReplies, GetAnnotations.replies |
annotation.xml |
SampleFiles/annotation.xml |
ImportAnnotations (XML route) |
Examples-repo content is published under the MIT license (see the upstream repo's LICENSE) — the same license as this Tests repo.
If you need a sample for a new format:
- Pick the smallest representative file from the upstream examples repo (or generate a minimal valid file).
- Drop it under
Files/. - Add a
public const string Sample…tosrc/GroupDocs.Annotation.Mcp.Tests/Fixtures/SampleDocuments.csand include it inRealSamples. - Reference it from the relevant per-tool test class.
- Update the provenance table above.