Skip to content

Commit 3ef02e6

Browse files
committed
.
1 parent b05c03d commit 3ef02e6

25 files changed

+317
-288
lines changed

docs/intro.include.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Extends [Verify](https://github.com/VerifyTests/Verify) to allow verification of Excel documents via [OpenXML](https://github.com/dotnet/Open-XML-SDK/).
1+
Extends [Verify](https://github.com/VerifyTests/Verify) to allow verification of Excel documents via [ClosedXML](https://github.com/ClosedXML/ClosedXML).

docs/zzz.include.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
### Entity Framework Extensions
22

3-
[Entity Framework Extensions](https://entityframework-extensions.net/?utm_source=simoncropp&utm_medium=Verify.OpenXML) is a major sponsor and is proud to contribute to the development this project.
3+
[Entity Framework Extensions](https://entityframework-extensions.net/?utm_source=simoncropp&utm_medium=Verify.ClosedXml) is a major sponsor and is proud to contribute to the development this project.
44

5-
[![Entity Framework Extensions](https://raw.githubusercontent.com/VerifyTests/Verify.OpenXML/refs/heads/main/docs/zzz.png)](https://entityframework-extensions.net/?utm_source=simoncropp&utm_medium=Verify.OpenXML)
5+
[![Entity Framework Extensions](https://raw.githubusercontent.com/VerifyTests/Verify.ClosedXml/refs/heads/main/docs/zzz.png)](https://entityframework-extensions.net/?utm_source=simoncropp&utm_medium=Verify.ClosedXml)

readme.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# <img src="/src/icon.png" height="30px"> Verify.OpenXML
1+
# <img src="/src/icon.png" height="30px"> Verify.ClosedXml
22

33
[![Discussions](https://img.shields.io/badge/Verify-Discussions-yellow?svg=true&label=)](https://github.com/orgs/VerifyTests/discussions)
44
[![Build status](https://ci.appveyor.com/api/projects/status/q1eqcnbptyjl24hp?svg=true)](https://ci.appveyor.com/project/SimonCropp/verify-openxml)
5-
[![NuGet Status](https://img.shields.io/nuget/v/Verify.OpenXML.svg)](https://www.nuget.org/packages/Verify.OpenXML/)
5+
[![NuGet Status](https://img.shields.io/nuget/v/Verify.ClosedXml.svg)](https://www.nuget.org/packages/Verify.ClosedXml/)
66

7-
Extends [Verify](https://github.com/VerifyTests/Verify) to allow verification of Excel documents via [OpenXML](https://github.com/dotnet/Open-XML-SDK/).<!-- singleLineInclude: intro. path: /docs/intro.include.md -->
7+
Extends [Verify](https://github.com/VerifyTests/Verify) to allow verification of Excel documents via [ClosedXML](https://github.com/ClosedXML/ClosedXML).<!-- singleLineInclude: intro. path: /docs/intro.include.md -->
88

99
Converts Excel documents (xlsx) to csv for verification.
1010

@@ -17,14 +17,14 @@ Converts Excel documents (xlsx) to csv for verification.
1717

1818
### Entity Framework Extensions<!-- include: zzz. path: /docs/zzz.include.md -->
1919

20-
[Entity Framework Extensions](https://entityframework-extensions.net/?utm_source=simoncropp&utm_medium=Verify.OpenXML) is a major sponsor and is proud to contribute to the development this project.
20+
[Entity Framework Extensions](https://entityframework-extensions.net/?utm_source=simoncropp&utm_medium=Verify.ClosedXml) is a major sponsor and is proud to contribute to the development this project.
2121

22-
[![Entity Framework Extensions](https://raw.githubusercontent.com/VerifyTests/Verify.OpenXML/refs/heads/main/docs/zzz.png)](https://entityframework-extensions.net/?utm_source=simoncropp&utm_medium=Verify.OpenXML)<!-- endInclude -->
22+
[![Entity Framework Extensions](https://raw.githubusercontent.com/VerifyTests/Verify.ClosedXml/refs/heads/main/docs/zzz.png)](https://entityframework-extensions.net/?utm_source=simoncropp&utm_medium=Verify.ClosedXml)<!-- endInclude -->
2323

2424

2525
## NuGet
2626

27-
* https://nuget.org/packages/Verify.OpenXML
27+
* https://nuget.org/packages/Verify.ClosedXml
2828

2929

3030
## Usage
@@ -36,7 +36,7 @@ Converts Excel documents (xlsx) to csv for verification.
3636
```cs
3737
[ModuleInitializer]
3838
public static void Initialize() =>
39-
VerifyOpenXml.Initialize();
39+
VerifyClosedXml.Initialize();
4040
```
4141
<sup><a href='/src/Tests/ModuleInitializer.cs#L3-L9' title='Snippet source file'>snippet source</a> | <a href='#snippet-enable' title='Start of snippet'>anchor</a></sup>
4242
<!-- endSnippet -->
@@ -97,12 +97,12 @@ public Task XLWorkbook()
9797
<a id='snippet-Samples.VerifyExcel.verified.csv'></a>
9898
```csv
9999
0,First Name,Last Name,Gender,Country,Date,Age,Id,Formula
100-
1,Dulce,Abril,Female,United States,2017-10-15,32,1562,1594
101-
2,Mara,Hashimoto,Female,Great Britain,2016-08-16,25,1582,1607
102-
3,Philip,Gent,Male,France,2015-05-21,36,2587,2623
103-
4,Kathleen,Hanner,Female,United States,2017-10-15,25,3549,3574
104-
5,Nereida,Magwood,Female,United States,2016-08-16,58,2468,2526
105-
6,Gaston,Brumm,Male,United States,2015-05-21,24,2554,2578
100+
1,Dulce,Abril,Female,United States,2017-10-15,32,1562,1594 (G2+H2)
101+
2,Mara,Hashimoto,Female,Great Britain,2016-08-16,25,1582,1607 (G3+H3)
102+
3,Philip,Gent,Male,France,2015-05-21,36,2587,2623 (G4+H4)
103+
4,Kathleen,Hanner,Female,United States,2017-10-15,25,3549,3574 (G5+H5)
104+
5,Nereida,Magwood,Female,United States,2016-08-16,58,2468,2526 (G6+H6)
105+
6,Gaston,Brumm,Male,United States,2015-05-21,24,2554,2578 (G7+H7)
106106
```
107107
<sup><a href='/src/Tests/Samples.VerifyExcel.verified.csv#L1-L7' title='Snippet source file'>snippet source</a> | <a href='#snippet-Samples.VerifyExcel.verified.csv' title='Start of snippet'>anchor</a></sup>
108108
<!-- endSnippet -->

src/Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
<PackageVersion Include="ProjectDefaults" Version="1.0.158" />
1515
<PackageVersion Include="Sylvan.Data.Csv" Version="1.4.2" />
1616
<PackageVersion Include="Sylvan.Data.Excel" Version="0.4.30" />
17-
<PackageVersion Include="Verify" Version="30.15.0" />
17+
<PackageVersion Include="Verify" Version="30.16.0" />
1818
<PackageVersion Include="Verify.DiffPlex" Version="3.1.2" />
19-
<PackageVersion Include="Verify.NUnit" Version="30.15.0" />
19+
<PackageVersion Include="Verify.NUnit" Version="30.16.0" />
2020
<PackageVersion Include="Microsoft.Sbom.Targets" Version="4.1.2" />
2121
</ItemGroup>
2222
</Project>
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
0,First Name,Last Name,Gender,Country,Date,Age,Id,Formula
2-
1,Dulce,Abril,Female,United States,2017-10-15,32,1562,1594
3-
2,Mara,Hashimoto,Female,Great Britain,2016-08-16,25,1582,1607
4-
3,Philip,Gent,Male,France,2015-05-21,36,2587,2623
5-
4,Kathleen,Hanner,Female,United States,2017-10-15,25,3549,3574
6-
5,Nereida,Magwood,Female,United States,2016-08-16,58,2468,2526
7-
6,Gaston,Brumm,Male,United States,2015-05-21,24,2554,2578
2+
1,Dulce,Abril,Female,United States,2017-10-15,32,1562,1594 (G2+H2)
3+
2,Mara,Hashimoto,Female,Great Britain,2016-08-16,25,1582,1607 (G3+H3)
4+
3,Philip,Gent,Male,France,2015-05-21,36,2587,2623 (G4+H4)
5+
4,Kathleen,Hanner,Female,United States,2017-10-15,25,3549,3574 (G5+H5)
6+
5,Nereida,Magwood,Female,United States,2016-08-16,58,2468,2526 (G6+H6)
7+
6,Gaston,Brumm,Male,United States,2015-05-21,24,2554,2578 (G7+H7)

src/Tests/Samples.MultipleSheets.verified.txt

Lines changed: 2 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -3,87 +3,15 @@
33
Sheet1,
44
Sheet2
55
],
6-
Author: simon,
7-
ColumnWidth: 8.43,
86
Properties: {
9-
Title: The Title,
10-
Modified: DateTime_1,
11-
LastModifiedBy: Simon Cropp
7+
Title: The Title
128
},
139
WorksheetCount: 2,
14-
Theme: {
15-
Background1: Color [A=255, R=255, G=255, B=255],
16-
Text1: Color [Black],
17-
Background2: Color [A=255, R=231, G=230, B=230],
18-
Text2: Color [A=255, R=68, G=84, B=106],
19-
Accent1: Color [A=255, R=68, G=114, B=196],
20-
Accent2: Color [A=255, R=237, G=125, B=49],
21-
Accent3: Color [A=255, R=165, G=165, B=165],
22-
Accent4: Color [A=255, R=255, G=192, B=0],
23-
Accent5: Color [A=255, R=91, G=155, B=213],
24-
Accent6: Color [A=255, R=112, G=173, B=71],
25-
Hyperlink: Color [A=255, R=5, G=99, B=193],
26-
FollowedHyperlink: Color [A=255, R=149, G=79, B=114]
27-
},
28-
Use1904DateSystem: false,
2910
DefaultFont: Arial,
3011
CalculateMode: Default,
31-
ShowFormulas: false,
32-
ShowGridLines: true,
33-
ShowRowColHeaders: true,
34-
ShowOutlineSymbols: true,
35-
ShowZeros: true,
36-
ShowRuler: true,
37-
ShowWhiteSpace: true,
3812
Style: {
3913
Font: {
40-
Bold: false,
41-
Italic: false,
42-
Underline: None,
43-
Strikethrough: false,
44-
Shadow: false,
45-
FontSize: 10.0,
46-
FontColor: Color [Black],
47-
FontName: Arial,
48-
FontFamilyNumbering: Swiss,
49-
FontCharSet: Default
50-
},
51-
Alignment: {
52-
Horizontal: General,
53-
JustifyLastLine: false,
54-
ShrinkToFit: false,
55-
WrapText: false,
56-
TopToBottom: false
57-
},
58-
Border: {
59-
LeftBorder: None,
60-
LeftBorderColor: Color [Black],
61-
RightBorder: None,
62-
RightBorderColor: Color [Black],
63-
TopBorder: None,
64-
TopBorderColor: Color [Black],
65-
BottomBorder: None,
66-
BottomBorderColor: Color [Black],
67-
DiagonalBorder: None,
68-
DiagonalBorderColor: Color [Black],
69-
DiagonalUp: false,
70-
DiagonalDown: false
71-
},
72-
Fill: {
73-
BackgroundColor: Color [Transparent],
74-
PatternColor: Color [Transparent],
75-
PatternType: None
76-
},
77-
IncludeQuotePrefix: false,
78-
NumberFormat: {
79-
Format:
80-
},
81-
Protection: {
82-
Locked: true,
83-
Hidden: false
84-
},
85-
DateFormat: {
86-
Format:
14+
Name: Arial
8715
}
8816
}
8917
}
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
0,First Name,Last Name,Gender,Country,Date,Age,Id,Formula
2-
1,Dulce,Abril,Female,United States,2017-10-15,32,1562,1594
3-
2,Mara,Hashimoto,Female,Great Britain,2016-08-16,25,1582,1607
4-
3,Philip,Gent,Male,France,2015-05-21,36,2587,2623
5-
4,Kathleen,Hanner,Female,United States,2017-10-15,25,3549,3574
6-
5,Nereida,Magwood,Female,United States,2016-08-16,58,2468,2526
7-
6,Gaston,Brumm,Male,United States,2015-05-21,24,2554,2578
2+
1,Dulce,Abril,Female,United States,2017-10-15,32,1562,1594 (G2+H2)
3+
2,Mara,Hashimoto,Female,Great Britain,2016-08-16,25,1582,1607 (G3+H3)
4+
3,Philip,Gent,Male,France,2015-05-21,36,2587,2623 (G4+H4)
5+
4,Kathleen,Hanner,Female,United States,2017-10-15,25,3549,3574 (G5+H5)
6+
5,Nereida,Magwood,Female,United States,2016-08-16,58,2468,2526 (G6+H6)
7+
6,Gaston,Brumm,Male,United States,2015-05-21,24,2554,2578 (G7+H7)

src/Tests/Samples.VerifyExcel.verified.txt

Lines changed: 2 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -2,87 +2,15 @@
22
SheetNames: [
33
Sheet1
44
],
5-
Author: simon,
6-
ColumnWidth: 8.43,
75
Properties: {
8-
Title: The Title,
9-
Modified: DateTime_1,
10-
LastModifiedBy: Simon Cropp
6+
Title: The Title
117
},
128
WorksheetCount: 1,
13-
Theme: {
14-
Background1: Color [A=255, R=255, G=255, B=255],
15-
Text1: Color [Black],
16-
Background2: Color [A=255, R=231, G=230, B=230],
17-
Text2: Color [A=255, R=68, G=84, B=106],
18-
Accent1: Color [A=255, R=68, G=114, B=196],
19-
Accent2: Color [A=255, R=237, G=125, B=49],
20-
Accent3: Color [A=255, R=165, G=165, B=165],
21-
Accent4: Color [A=255, R=255, G=192, B=0],
22-
Accent5: Color [A=255, R=91, G=155, B=213],
23-
Accent6: Color [A=255, R=112, G=173, B=71],
24-
Hyperlink: Color [A=255, R=5, G=99, B=193],
25-
FollowedHyperlink: Color [A=255, R=149, G=79, B=114]
26-
},
27-
Use1904DateSystem: false,
289
DefaultFont: Arial,
2910
CalculateMode: Default,
30-
ShowFormulas: false,
31-
ShowGridLines: true,
32-
ShowRowColHeaders: true,
33-
ShowOutlineSymbols: true,
34-
ShowZeros: true,
35-
ShowRuler: true,
36-
ShowWhiteSpace: true,
3711
Style: {
3812
Font: {
39-
Bold: false,
40-
Italic: false,
41-
Underline: None,
42-
Strikethrough: false,
43-
Shadow: false,
44-
FontSize: 10.0,
45-
FontColor: Color [Black],
46-
FontName: Arial,
47-
FontFamilyNumbering: Swiss,
48-
FontCharSet: Default
49-
},
50-
Alignment: {
51-
Horizontal: General,
52-
JustifyLastLine: false,
53-
ShrinkToFit: false,
54-
WrapText: false,
55-
TopToBottom: false
56-
},
57-
Border: {
58-
LeftBorder: None,
59-
LeftBorderColor: Color [Black],
60-
RightBorder: None,
61-
RightBorderColor: Color [Black],
62-
TopBorder: None,
63-
TopBorderColor: Color [Black],
64-
BottomBorder: None,
65-
BottomBorderColor: Color [Black],
66-
DiagonalBorder: None,
67-
DiagonalBorderColor: Color [Black],
68-
DiagonalUp: false,
69-
DiagonalDown: false
70-
},
71-
Fill: {
72-
BackgroundColor: Color [Transparent],
73-
PatternColor: Color [Transparent],
74-
PatternType: None
75-
},
76-
IncludeQuotePrefix: false,
77-
NumberFormat: {
78-
Format:
79-
},
80-
Protection: {
81-
Locked: true,
82-
Hidden: false
83-
},
84-
DateFormat: {
85-
Format:
13+
Name: Arial
8614
}
8715
}
8816
}
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
0,First Name,Last Name,Gender,Country,Date,Age,Id,Formula
2-
1,Dulce,Abril,Female,United States,2017-10-15,32,1562,1594
3-
2,Mara,Hashimoto,Female,Great Britain,2016-08-16,25,1582,1607
4-
3,Philip,Gent,Male,France,2015-05-21,36,2587,2623
5-
4,Kathleen,Hanner,Female,United States,2017-10-15,25,3549,3574
6-
5,Nereida,Magwood,Female,United States,2016-08-16,58,2468,2526
7-
6,Gaston,Brumm,Male,United States,2015-05-21,24,2554,2578
2+
1,Dulce,Abril,Female,United States,2017-10-15,32,1562,1594 (G2+H2)
3+
2,Mara,Hashimoto,Female,Great Britain,2016-08-16,25,1582,1607 (G3+H3)
4+
3,Philip,Gent,Male,France,2015-05-21,36,2587,2623 (G4+H4)
5+
4,Kathleen,Hanner,Female,United States,2017-10-15,25,3549,3574 (G5+H5)
6+
5,Nereida,Magwood,Female,United States,2016-08-16,58,2468,2526 (G6+H6)
7+
6,Gaston,Brumm,Male,United States,2015-05-21,24,2554,2578 (G7+H7)

0 commit comments

Comments
 (0)