{"id":18937402,"url":"https://github.com/verifytests/verify.syncfusion","last_synced_at":"2026-03-07T00:33:14.912Z","repository":{"id":42575930,"uuid":"428491568","full_name":"VerifyTests/Verify.Syncfusion","owner":"VerifyTests","description":"Extends Verify to allow verification of documents via Syncfusion File Formats.","archived":false,"fork":false,"pushed_at":"2024-10-29T14:07:26.000Z","size":4305,"stargazers_count":3,"open_issues_count":7,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-29T21:11:19.490Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VerifyTests.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"license.txt","code_of_conduct":"code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"VerifyTests"}},"created_at":"2021-11-16T02:34:17.000Z","updated_at":"2024-10-15T07:38:29.000Z","dependencies_parsed_at":"2023-02-10T19:46:14.369Z","dependency_job_id":"6db22e2c-563a-4d7d-837a-5b21369f1e93","html_url":"https://github.com/VerifyTests/Verify.Syncfusion","commit_stats":null,"previous_names":["simoncropp/verify.syncfusion"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.Syncfusion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.Syncfusion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.Syncfusion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VerifyTests%2FVerify.Syncfusion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VerifyTests","download_url":"https://codeload.github.com/VerifyTests/Verify.Syncfusion/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249129224,"owners_count":21217307,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T12:11:02.612Z","updated_at":"2026-03-07T00:33:14.853Z","avatar_url":"https://github.com/VerifyTests.png","language":"C#","funding_links":["https://github.com/sponsors/VerifyTests"],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"/src/icon.png\" height=\"30px\"\u003e Verify.Syncfusion\n\n[![Discussions](https://img.shields.io/badge/Verify-Discussions-yellow?svg=true\u0026label=)](https://github.com/orgs/VerifyTests/discussions)\n[![Build status](https://ci.appveyor.com/api/projects/status/hkr80o3jgok632nw?svg=true)](https://ci.appveyor.com/project/SimonCropp/Verify-Syncfusion)\n[![NuGet Status](https://img.shields.io/nuget/v/Verify.Syncfusion.svg)](https://www.nuget.org/packages/Verify.Syncfusion/)\n\nExtends [Verify](https://github.com/VerifyTests/Verify) to allow verification of documents via [Syncfusion File Formats](https://help.syncfusion.com/file-formats/introduction/).\n\nConverts documents (pdf, docx, xlsx, and pptx) to png/csv/text for verification.\n\n**See [Milestones](../../milestones?state=closed) for release notes.**\n\nAn [Syncfusion License](https://www.syncfusion.com/sales/licensing) is required to use this tool.\n\n\n## NuGet package\n\nhttps://nuget.org/packages/Verify.Syncfusion/\n\n\n## Usage\n\n\u003c!-- snippet: enable --\u003e\n\u003ca id='snippet-enable'\u003e\u003c/a\u003e\n```cs\n[ModuleInitializer]\npublic static void Initialize() =\u003e\n    VerifySyncfusion.Initialize();\n```\n\u003csup\u003e\u003ca href='/src/Tests/ModuleInitializer.cs#L3-L9' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-enable' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n### PDF\n\n\n#### Verify a file\n\n\u003c!-- snippet: VerifyPdf --\u003e\n\u003ca id='snippet-VerifyPdf'\u003e\u003c/a\u003e\n```cs\n[Test]\npublic Task VerifyPdf() =\u003e\n    VerifyFile(\"sample.pdf\");\n```\n\u003csup\u003e\u003ca href='/src/Tests/Samples.cs#L4-L10' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-VerifyPdf' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n#### Verify a Stream\n\n\u003c!-- snippet: VerifyPdfStream --\u003e\n\u003ca id='snippet-VerifyPdfStream'\u003e\u003c/a\u003e\n```cs\n[Test]\npublic Task VerifyPdfStream()\n{\n    var stream = new MemoryStream(File.ReadAllBytes(\"sample.pdf\"));\n    return Verify(stream, \"pdf\");\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/Samples.cs#L21-L30' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-VerifyPdfStream' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n#### Result\n\n\u003c!-- snippet: Samples.VerifyPdf#00.verified.txt --\u003e\n\u003ca id='snippet-Samples.VerifyPdf#00.verified.txt'\u003e\u003c/a\u003e\n```txt\n{\n  PageCount: 2,\n  Author: ,\n  CreationDate: DateTime_1,\n  Creator: RAD PDF,\n  CustomMetadata: [],\n  Keywords: ,\n  ModificationDate: DateTime_2,\n  Producer: RAD PDF 3.9.0.0 - http://www.radpdf.com,\n  Subject: ,\n  Title: \n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/Samples.VerifyPdf#00.verified.txt#L1-L12' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-Samples.VerifyPdf#00.verified.txt' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n[Samples.VerifyPdf.01.verified.png](/src/Tests/Samples.VerifyPdf.01.verified.png):\n\n\u003cimg src=\"https://raw.githubusercontent.com/SimonCropp/Verify.Syncfusion/main/src/Tests/Samples.VerifyPdf.01.verified.png\" width=\"200px\"\u003e\n\n\n### Excel\n\n\n#### Verify a file\n\n\u003c!-- snippet: VerifyExcel --\u003e\n\u003ca id='snippet-VerifyExcel'\u003e\u003c/a\u003e\n```cs\n[Test]\npublic Task VerifyExcel() =\u003e\n    VerifyFile(\"sample.xlsx\");\n```\n\u003csup\u003e\u003ca href='/src/Tests/Samples.cs#L55-L61' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-VerifyExcel' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n#### Verify a Stream\n\n\u003c!-- snippet: VerifyExcelStream --\u003e\n\u003ca id='snippet-VerifyExcelStream'\u003e\u003c/a\u003e\n```cs\n[Test]\npublic Task VerifyExcelStream()\n{\n    var stream = new MemoryStream(File.ReadAllBytes(\"sample.xlsx\"));\n    return Verify(stream, \"xlsx\");\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/Samples.cs#L63-L72' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-VerifyExcelStream' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n#### Result\n\n\u003c!-- snippet: Samples.VerifyExcel.verified.txt --\u003e\n\u003ca id='snippet-Samples.VerifyExcel.verified.txt'\u003e\u003c/a\u003e\n```txt\n{\n  CodeName: ThisWorkbook,\n  Date1904: false,\n  HasMacros: false,\n  DisableMacrosStart: false,\n  DetectDateTimeInValue: true,\n  ArgumentsSeparator: ,,\n  DisplayWorkbookTabs: true,\n  IsRightToLeft: false,\n  IsWindowProtection: false,\n  Version: Xlsx,\n  IsCellProtection: false,\n  ReadOnly: false,\n  ReadOnlyRecommended: false,\n  StandardFont: Arial,\n  StandardFontSize: 10.0\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/Samples.VerifyExcel.verified.txt#L1-L17' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-Samples.VerifyExcel.verified.txt' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\u003c!-- snippet: Samples.VerifyExcel.verified.csv --\u003e\n\u003ca id='snippet-Samples.VerifyExcel.verified.csv'\u003e\u003c/a\u003e\n```csv\nCreated with a trial version of Syncfusion Excel library or registered the wrong key in your application. Go to www.syncfusion.com/account/claim-license-key to obtain the valid key.\n0, First Name, Last Name, Gender, Country, Age, Date, Id\n1, Dulce, Abril, Female, United States, 32, 15/10/2017, 1562\n2, Mara, Hashimoto, Female, Great Britain, 25, 16/08/2016, 1582\n3, Philip, Gent, Male, France, 36, 21/05/2015, 2587\n4, Kathleen, Hanner, Female, United States, 25, 15/10/2017, 3549\n5, Nereida, Magwood, Female, United States, 58, 16/08/2016, 2468\n6, Gaston, Brumm, Male, United States, 24, 21/05/2015, 2554\nCreated with a trial version of Syncfusion Excel library or registered the wrong key in your application. Go to www.syncfusion.com/account/claim-license-key to obtain the valid key.\n```\n\u003csup\u003e\u003ca href='/src/Tests/Samples.VerifyExcel.verified.csv#L1-L9' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-Samples.VerifyExcel.verified.csv' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n### Word\n\nWhen verifying a Word file or stream, both the textual content of the Word file as well as a png export of the pages in the Word file are verified.\n\n#### Verify a file\n\n\u003c!-- snippet: VerifyWord --\u003e\n\u003ca id='snippet-VerifyWord'\u003e\u003c/a\u003e\n```cs\n[Test]\npublic Task VerifyWord() =\u003e\n    VerifyFile(\"sample.docx\");\n```\n\u003csup\u003e\u003ca href='/src/Tests/Samples.cs#L74-L80' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-VerifyWord' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n#### Verify a Stream\n\n\u003c!-- snippet: VerifyWordStream --\u003e\n\u003ca id='snippet-VerifyWordStream'\u003e\u003c/a\u003e\n```cs\n[Test]\npublic Task VerifyWordStream()\n{\n    var stream = new MemoryStream(File.ReadAllBytes(\"sample.docx\"));\n    return Verify(stream, \"docx\");\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/Samples.cs#L82-L91' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-VerifyWordStream' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n#### Result\n\n\u003c!-- snippet: Samples.VerifyWord#00.verified.txt --\u003e\n\u003ca id='snippet-Samples.VerifyWord#00.verified.txt'\u003e\u003c/a\u003e\n```txt\n{\n  LastAuthor: Simon Cropp,\n  Company: ,\n  LinesCount: 9,\n  ParagraphCount: 10,\n  WordCount: 178,\n  PageCount: 1,\n  ApplicationName: Microsoft Office Word,\n  CreateDate: DateTime_1,\n  RevisionNumber: 3\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/Samples.VerifyWord#00.verified.txt#L1-L11' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-Samples.VerifyWord#00.verified.txt' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\u003c!-- snippet: Samples.VerifyWord#01.verified.txt --\u003e\n\u003ca id='snippet-Samples.VerifyWord#01.verified.txt'\u003e\u003c/a\u003e\n```txt\nCreated with a trial version of Syncfusion Word library or registered the wrong key in your application. Go to \"www.syncfusion.com/account/claim-license-key\" to obtain the valid key.\nLorem ipsum \n\n  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc ac faucibus odio. \n\nVestibulum neque massa, scelerisque sit amet ligula eu, congue molestie mi. Praesent ut varius sem. Nullam at porttitor arcu, nec lacinia nisi. Ut ac dolor vitae odio interdum condimentum. Vivamus dapibus sodales ex, vitae malesuada ipsum cursus convallis. Maecenas sed egestas nulla, ac condimentum orci. Mauris diam felis, vulputate ac suscipit et, iaculis non est. Curabitur semper arcu ac ligula semper, nec luctus nisl blandit. Integer lacinia ante ac libero lobortis imperdiet. Nullam mollis convallis ipsum, ac accumsan nunc vehicula vitae. Nulla eget justo in felis tristique fringilla. Morbi sit amet tortor quis risus auctor condimentum. Morbi in ullamcorper elit. Nulla iaculis tellus sit amet mauris tempus fringilla.\nMaecenas mauris lectus, lobortis et purus mattis, blandit dictum tellus.\n* Maecenas non lorem quis tellus placerat varius. \n* Nulla facilisi. \n* Aenean congue fringilla justo ut aliquam. \n* Mauris id ex erat. Nunc vulputate neque vitae justo facilisis, non condimentum ante sagittis. \n* Morbi viverra semper lorem nec molestie. \n* Maecenas tincidunt est efficitur ligula euismod, sit amet ornare est vulputate.\n\nCreated with a trial version of Syncfusion Word library or registered the wrong key in your application. Go to \"www.syncfusion.com/account/claim-license-key\" to obtain the valid key.\n```\n\u003csup\u003e\u003ca href='/src/Tests/Samples.VerifyWord#01.verified.txt#L1-L15' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-Samples.VerifyWord#01.verified.txt' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n[Samples.VerifyWord#00.verified.png](/src/Tests/Samples.VerifyWord#00.verified.png):\n\u003cimg src=\"/src/Tests/Samples.VerifyWord%2300.verified.png\" width=\"200px\"\u003e\n\n[Samples.VerifyWord#01.verified.png](/src/Tests/Samples.VerifyWord#01.verified.png):\n\u003cimg src=\"/src/Tests/Samples.VerifyWord%2301.verified.png\" width=\"200px\"\u003e\n\n### PowerPoint\n\n\n#### Verify a file\n\n\u003c!-- snippet: VerifyPowerPoint --\u003e\n\u003ca id='snippet-VerifyPowerPoint'\u003e\u003c/a\u003e\n```cs\n[Test]\npublic Task VerifyPowerPoint() =\u003e\n    VerifyFile(\"sample.pptx\");\n```\n\u003csup\u003e\u003ca href='/src/Tests/Samples.cs#L34-L40' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-VerifyPowerPoint' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n#### Verify a Stream\n\n\u003c!-- snippet: VerifyPowerPointStream --\u003e\n\u003ca id='snippet-VerifyPowerPointStream'\u003e\u003c/a\u003e\n```cs\n[Test]\npublic Task VerifyPowerPointStream()\n{\n    var stream = new MemoryStream(File.ReadAllBytes(\"sample.pptx\"));\n    return Verify(stream, \"pptx\");\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/Samples.cs#L42-L51' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-VerifyPowerPointStream' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n#### Result\n\n\u003c!-- snippet: Samples.VerifyPowerPoint.verified.txt --\u003e\n\u003ca id='snippet-Samples.VerifyPowerPoint.verified.txt'\u003e\u003c/a\u003e\n```txt\n{\n  Title: Lorem ipsum,\n  Subject: ,\n  Author: Simon Cropp,\n  Keywords: ,\n  Comments: ,\n  Template: ,\n  LastAuthor: Simon Cropp,\n  RevisionNumber: 1,\n  LastPrinted: DateTime_1,\n  CreationDate: DateTime_2,\n  LastSaveDate: DateTime_3,\n  WordCount: 231,\n  PresentationTarget: Custom,\n  ParagraphCount: 14,\n  SlideCount: 3,\n  NoteCount: 3,\n  ScaleCrop: false,\n  LinksDirty: false,\n  ApplicationName: Microsoft Office PowerPoint\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/Samples.VerifyPowerPoint.verified.txt#L1-L21' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-Samples.VerifyPowerPoint.verified.txt' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n[Samples.VerifyPowerPoint.01.verified.png](/src/Tests/Samples.VerifyPowerPoint.01.verified.png):\n\n\u003cimg src=\"https://raw.githubusercontent.com/SimonCropp/Verify.Syncfusion/main/src/Tests/Samples.VerifyPowerPoint.01.verified.png\" width=\"200px\"\u003e\n\n\n## File Samples\n\nhttp://file-examples.com/\n\n\n## Icon\n\n[Boxes](https://thenounproject.com/term/boxes/1526666/) designed by [Amelia](https://thenounproject.com/langonsivani/) from [The Noun Project](https://thenounproject.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverifytests%2Fverify.syncfusion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fverifytests%2Fverify.syncfusion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverifytests%2Fverify.syncfusion/lists"}