Skip to content

Commit b5b20c6

Browse files
committed
fix tests
1 parent def37d6 commit b5b20c6

File tree

3 files changed

+1
-119
lines changed

3 files changed

+1
-119
lines changed

test/DocumentFormat.OpenXml.Framework.Tests/ElementChildren.json

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -22331,42 +22331,6 @@
2233122331
"Element": "DocumentFormat.OpenXml.Office.PowerPoint.Y2021.M06.Main.UnasgnAllEmpty",
2233222332
"Children": []
2233322333
},
22334-
{
22335-
"Element": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.ExtensionList",
22336-
"Children": [
22337-
{
22338-
"Name": "ext",
22339-
"Namespace": "http://schemas.openxmlformats.org/presentationml/2006/main"
22340-
}
22341-
]
22342-
},
22343-
{
22344-
"Element": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.Reaction",
22345-
"Children": [
22346-
{
22347-
"Name": "instance",
22348-
"Namespace": "http://schemas.microsoft.com/office/powerpoint/2022/03/main"
22349-
}
22350-
]
22351-
},
22352-
{
22353-
"Element": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.ReactionInstance",
22354-
"Children": [
22355-
{
22356-
"Name": "extLst",
22357-
"Namespace": "http://schemas.microsoft.com/office/powerpoint/2022/03/main"
22358-
}
22359-
]
22360-
},
22361-
{
22362-
"Element": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.Reactions",
22363-
"Children": [
22364-
{
22365-
"Name": "rxn",
22366-
"Namespace": "http://schemas.microsoft.com/office/powerpoint/2022/03/main"
22367-
}
22368-
]
22369-
},
2237022334
{
2237122335
"Element": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2021.ExtLinks2021.AbsoluteUrlAlternateUrl",
2237222336
"Children": []

test/DocumentFormat.OpenXml.Framework.Tests/OpenXmlNamespaceTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class OpenXmlNamespaceTests
1212
public void NamespaceCount()
1313
{
1414
var resolver = new OpenXmlNamespaceResolver();
15-
Assert.Equal(149, resolver.GetNamespacesInScope(System.Xml.XmlNamespaceScope.All).Count);
15+
Assert.Equal(148, resolver.GetNamespacesInScope(System.Xml.XmlNamespaceScope.All).Count);
1616
}
1717

1818
[InlineData("", "", FileFormatVersions.Office2007, 0)]

test/DocumentFormat.OpenXml.Packaging.Tests/data/Particles.json

Lines changed: 0 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -33506,88 +33506,6 @@
3350633506
}
3350733507
]
3350833508
},
33509-
{
33510-
"Key": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.ExtensionList",
33511-
"Value": [
33512-
{
33513-
"Key": "Microsoft365",
33514-
"Value": {
33515-
"ChildrenParticles": [
33516-
{
33517-
"ChildrenParticles": [
33518-
{
33519-
"ChildrenParticles": [
33520-
{
33521-
"ElementType": "DocumentFormat.OpenXml.Presentation.Extension",
33522-
"MaxOccurs": 0,
33523-
"MinOccurs": 0
33524-
}
33525-
],
33526-
"ParticleType": "Sequence"
33527-
}
33528-
],
33529-
"MinOccurs": 0,
33530-
"ParticleType": "Group"
33531-
}
33532-
],
33533-
"ParticleType": "Sequence"
33534-
}
33535-
}
33536-
]
33537-
},
33538-
{
33539-
"Key": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.Reaction",
33540-
"Value": [
33541-
{
33542-
"Key": "Microsoft365",
33543-
"Value": {
33544-
"ChildrenParticles": [
33545-
{
33546-
"ElementType": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.ReactionInstance",
33547-
"MaxOccurs": 0,
33548-
"MinOccurs": 0
33549-
}
33550-
],
33551-
"ParticleType": "Sequence"
33552-
}
33553-
}
33554-
]
33555-
},
33556-
{
33557-
"Key": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.ReactionInstance",
33558-
"Value": [
33559-
{
33560-
"Key": "Microsoft365",
33561-
"Value": {
33562-
"ChildrenParticles": [
33563-
{
33564-
"ElementType": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.ExtensionList",
33565-
"MinOccurs": 0
33566-
}
33567-
],
33568-
"ParticleType": "Sequence"
33569-
}
33570-
}
33571-
]
33572-
},
33573-
{
33574-
"Key": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.Reactions",
33575-
"Value": [
33576-
{
33577-
"Key": "Microsoft365",
33578-
"Value": {
33579-
"ChildrenParticles": [
33580-
{
33581-
"ElementType": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.Reaction",
33582-
"MaxOccurs": 0,
33583-
"MinOccurs": 0
33584-
}
33585-
],
33586-
"ParticleType": "Sequence"
33587-
}
33588-
}
33589-
]
33590-
},
3359133509
{
3359233510
"Key": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2021.ExtLinks2021.ExternalBookAlternateUrls",
3359333511
"Value": [

0 commit comments

Comments
 (0)