Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test SlideNumber_Font_Size_Setter #561

Merged
merged 109 commits into from
Nov 20, 2023
Merged

Add test SlideNumber_Font_Size_Setter #561

merged 109 commits into from
Nov 20, 2023

Conversation

ashahabov
Copy link
Member

@ashahabov ashahabov commented Aug 1, 2023

PR-Codex overview

Detailed summary

  • Deleted multiple files and namespaces related to shapes, tables, texts, charts, media, auto shapes, placeholders, etc.
  • Renamed some enums and classes related to logging, fill type, geometry, audio type, bullet type, chart type, shape type, text alignment, slide layout type, placeholder type, and autofit type.
  • Added new interfaces for font, removeable shape, and root shape.
  • Added a new record for validation error.
  • Updated the test project dependencies.

The following files were skipped due to too many changes: test/ShapeCrawler.Tests.Unit.xUnit/Helpers/Attributes/LayoutShapeDataAttribute.cs, src/ShapeCrawler/Drawing/ISlideBgImage.cs, src/ShapeCrawler/Fonts/IFontSize.cs, test/ShapeCrawler.Tests.Unit.xUnit/Helpers/TestHelper.cs, test/ShapeCrawler.Tests.Unit.xUnit/Helpers/Attributes/SlideDataAttribute.cs, src/ShapeCrawler/Extensions/TextCharacterPropertiesTypeExtensions.cs, test/ShapeCrawler.Tests.Unit.xUnit/LineShapeTests.cs, src/ShapeCrawler/Extensions/OpenXmlElementExtensions.cs, test/ShapeCrawler.Tests.Unit.xUnit/Helpers/Attributes/MasterShapeDataAttribute.cs, test/ShapeCrawler.Tests.Unit.xUnit/Helpers/Attributes/SlideShapeDataAttribute.cs, src/ShapeCrawler/Shared/Emus.cs, src/ShapeCrawler/Shared/Pixels.cs, src/ShapeCrawler/Positions/IPosition.cs, src/ShapeCrawler/Drawing/SCColorTranslator.cs, src/ShapeCrawler/Extensions/ATableExtensions.cs, src/ShapeCrawler/Wrappers/PSlideMasterWrap.cs, test/ShapeCrawler.Tests.Unit.xUnit/Helpers/Attributes/SlideParagraphDataAttribute.cs, src/ShapeCrawler/Presentations/IPresentation.cs, src/ShapeCrawler/Drawing/IShapeOutline.cs, src/ShapeCrawler/Extensions/IEnumerableExtensions.cs, src/ShapeCrawler/Colors/IFontColor.cs, src/ShapeCrawler/Texts/PortionText.cs, src/ShapeCrawler/Presentations/IValidateable.cs, src/ShapeCrawler/AutoShapes/ISpacing.cs, src/ShapeCrawler/Charts/MultiCategory.cs, test/ShapeCrawler.Tests.Unit.xUnit/PresentationTests.cs, src/ShapeCrawler/Sections/ISections.cs, src/ShapeCrawler/Charts/IAxesManager.cs, src/ShapeCrawler/Shared/Assets.cs, src/ShapeCrawler/Wrappers/AParagraphWrap.cs, src/ShapeCrawler/Drawing/SCColorType.cs, src/ShapeCrawler/ShapeCollection/CopyableShape.cs, src/ShapeCrawler/Charts/NullCategories.cs, src/ShapeCrawler/Shapes/SCPoint.cs, src/ShapeCrawler/Shared/ResetAbleLazy.cs, src/ShapeCrawler/ShapeCollection/ShapeId.cs, src/ShapeCrawler/ShapeCollection/IShapes.cs, src/ShapeCrawler/Charts/Category.cs, test/ShapeCrawler.Tests.Unit/Helpers/TestMasterPortionQuery.cs, src/ShapeCrawler/Exceptions/ExceptionMessages.cs, src/ShapeCrawler/Texts/IParagraphPortion.cs, src/ShapeCrawler/Extensions/GraphicFrameExtensions.cs, src/ShapeCrawler/Texts/MasterSlideNumberSize.cs, test/ShapeCrawler.Tests.Unit.xUnit/Helpers/PptxValidator.cs, src/ShapeCrawler/Texts/ParagraphLineBreak.cs, src/ShapeCrawler/ShapeCrawler.csproj.DotSettings, test/ShapeCrawler.Tests.Unit/AutoShapeTests.cs, src/ShapeCrawler/Presentations/SlideSize.cs, src/ShapeCrawler/Services/FontData.cs, test/ShapeCrawler.Tests.Unit.xUnit/Helpers/TestCase.cs, src/ShapeCrawler/Resources/new-line.xml, test/ShapeCrawler.Tests.Unit/Helpers/PresentationDataAttribute.cs, src/ShapeCrawler/Presentations/IPresentationProperties.cs, src/ShapeCrawler/Presentations/ISlides.cs, src/ShapeCrawler/Extensions/ShapePropertiesExtensions.cs, src/ShapeCrawler/Texts/NullTextFrame.cs, src/ShapeCrawler/Charts/IAxis.cs, src/ShapeCrawler/Drawing/IShapeFill.cs, src/ShapeCrawler/Logger/SCLogger.cs, src/ShapeCrawler/Extensions/RunPropertiesExtensions.cs, src/ShapeCrawler/SlideMasters/ITheme.cs, src/ShapeCrawler/ShapeCollection/OLEObject.cs, src/ShapeCrawler/Resources/new-rectangle.xml, src/ShapeCrawler/Sections/ISection.cs, test/ShapeCrawler.Tests.Unit/Helpers/MasterPortionAttribute.cs, test/ShapeCrawler.Tests.Unit/Helpers/TestSlidePortionQuery.cs, src/ShapeCrawler/Fonts/ITextPortionFont.cs, test/ShapeCrawler.Tests.Unit/SlideMasterTests.cs, src/ShapeCrawler/Charts/SheetCategory.cs, src/ShapeCrawler/Presentations/PathPresentation.cs, src/ShapeCrawler/Texts/LayoutSlideNumberSize.cs, src/ShapeCrawler/Wrappers/ATextWrap.cs, src/ShapeCrawler/SlideMasters/IMasterSlideNumber.cs, src/ShapeCrawler/Charts/ChartPoint.cs, src/ShapeCrawler/Resources/new-rectangle-rounded-corners.xml, src/ShapeCrawler/ShapeCollection/ShapeSize.cs, src/ShapeCrawler/ShapeCrawler.csproj, src/ShapeCrawler/Positions/Position.cs, src/ShapeCrawler/SlideMasters/SlideLayouts.cs, src/ShapeCrawler/Presentations/StreamPresentation.cs, src/ShapeCrawler/Extensions/TypedOpenXmlPartExtensions.cs, src/ShapeCrawler/Services/FontService.cs, src/ShapeCrawler/Tables/ITableCell.cs, src/ShapeCrawler/ShapeCollection/GroupShape.cs, src/ShapeCrawler/Drawing/ShapeFillImage.cs, src/ShapeCrawler/Presentations/ReadOnlySlides.cs, test/ShapeCrawler.Tests.Unit.xUnit/Helpers/SCTest.cs, src/ShapeCrawler/Colors/ShapeColor.cs, src/ShapeCrawler/Wrappers/PShapeTreeWrap.cs, src/ShapeCrawler/Sections/Sections.cs, src/ShapeCrawler/Sections/SectionSlides.cs, test/ShapeCrawler.Tests.Unit/Helpers/SlidePortionAttribute.cs, src/ShapeCrawler/SlideMasters/ISlideNumberFont.cs, src/ShapeCrawler/Extensions/CompositeElementExtensions.cs, test/ShapeCrawler.Tests.Unit/Helpers/SlideQueryPortionAttribute.cs, test/ShapeCrawler.Tests.Unit/Helpers/SlideShapeAttribute.cs, src/ShapeCrawler/Presentation/ISlide.cs, src/ShapeCrawler/SlideMasters/ISlideMasterCollection.cs, src/ShapeCrawler/Texts/IParagraphs.cs, src/ShapeCrawler/Drawing/SlidePictureImage.cs, src/ShapeCrawler/Charts/ISeriesList.cs, ShapeCrawler.sln.DotSettings, src/ShapeCrawler/Drawing/SCColor.cs, src/ShapeCrawler/Presentations/Presentation.cs, src/ShapeCrawler/Charts/IChart.cs, src/ShapeCrawler/ShapeCollection/ISlideShapes.cs, src/ShapeCrawler/Presentation/IHeaderAndFooter.cs, src/ShapeCrawler/ShapeCollection/RootShape.cs, src/ShapeCrawler/Charts/ICategory.cs, src/ShapeCrawler/Charts/IChartPoint.cs, src/ShapeCrawler/ShapeCollection/IMediaShape.cs, test/ShapeCrawler.Tests.Unit.xUnit/Helpers/TestElementQuery.cs, src/ShapeCrawler/Tables/ITableRows.cs, src/ShapeCrawler/Excel/ExcelBook.cs, src/ShapeCrawler/Excel/ExcelSheet.cs, test/ShapeCrawler.Tests.Unit.xUnit/TableTests.cs, src/ShapeCrawler/ShapeCollection/GroupedShapes.cs, src/ShapeCrawler/ShapeCollection/AutoShape.cs, src/ShapeCrawler/ShapeCollection/ILine.cs, src/ShapeCrawler/ShapeCollection/SlideShapeOutline.cs, src/ShapeCrawler/Charts/ChartPoints.cs, src/ShapeCrawler/Charts/ISeries.cs, src/ShapeCrawler/Services/Factories/ChartGraphicFrameHandler.cs, src/ShapeCrawler/ShapeCollection/IShape.cs, src/ShapeCrawler/Drawing/Picture.cs, src/ShapeCrawler/Drawing/SlideBgImage.cs, src/ShapeCrawler/Tables/ITableRow.cs, test/ShapeCrawler.Tests.Unit.xUnit/ShapeOutlineTests.cs, src/ShapeCrawler/Drawing/IPicture.cs, src/ShapeCrawler/Texts/Field.cs, src/ShapeCrawler/Texts/TextParagraphPortion.cs, src/ShapeCrawler/Presentations/PresentationCore.cs, src/ShapeCrawler/Charts/CellsRangeParser.cs, src/ShapeCrawler/Drawing/HexParser.cs, src/ShapeCrawler/Fonts/IndentFonts.cs, src/ShapeCrawler/Drawing/TableCellFill.cs, src/ShapeCrawler/Charts/ICategories.cs, src/ShapeCrawler/Fonts/PortionFontSize.cs, src/ShapeCrawler/SlideMasters/IThemeFontScheme.cs, src/ShapeCrawler/ShapeCollection/ReferencedPShape.cs, src/ShapeCrawler/Drawing/IImage.cs, src/ShapeCrawler/Texts/SCBullet.cs, test/ShapeCrawler.Tests.Unit.xUnit/ShapeFillTests.cs, test/ShapeCrawler.Tests.Unit.xUnit/ParagraphTests.cs, test/ShapeCrawler.Tests.Integration/PresentationITests.cs, test/ShapeCrawler.Tests.Unit.xUnit/FontTests.cs, src/ShapeCrawler/ShapeCollection/GroupedShape.cs, src/ShapeCrawler/ShapeCollection/Shape.cs, src/ShapeCrawler/Colors/PresentationColor.cs, src/ShapeCrawler/Charts/Chart.cs, src/ShapeCrawler/SlideMasters/ISlideMaster.cs, test/ShapeCrawler.Tests.Unit/BulletTests.cs, test/ShapeCrawler.Tests.Unit.xUnit/SlideCollectionTests.cs, src/ShapeCrawler/Texts/IPortionCollection.cs, test/ShapeCrawler.Tests.Unit/PictureTests.cs, src/ShapeCrawler/Colors/FontColor.cs, test/ShapeCrawler.Tests.Unit/SlideTests.cs, test/ShapeCrawler.Tests.Unit/ChartPointTests.cs, test/ShapeCrawler.Tests.Unit/FontColorTests.cs, src/ShapeCrawler/ShapeCollection/Shapes.cs, src/ShapeCrawler/Fonts/TextPortionFont.cs, test/ShapeCrawler.Tests.Unit.xUnit/ParagraphPortionTests.cs, src/ShapeCrawler/SlideMasters/ISlideLayout.cs, src/ShapeCrawler/Drawing/ShapeFill.cs, test/ShapeCrawler.Tests.Unit/ShapeFillTests.cs, test/ShapeCrawler.Tests.Unit.xUnit/TextFrameTests.cs, test/ShapeCrawler.Tests.Unit.xUnit/ShapeTests.cs, src/ShapeCrawler/Texts/IParagraph.cs, test/ShapeCrawler.Tests.Unit/ParagraphTests.cs, src/ShapeCrawler/Texts/ITextFrame.cs, test/ShapeCrawler.Tests.Unit.xUnit/SlideMasterTests.cs, src/ShapeCrawler/Presentation/SCSlide.cs, src/ShapeCrawler/Texts/TextFrame.cs, test/ShapeCrawler.Tests.Unit/FontTests.cs, test/ShapeCrawler.Tests.Unit/TextFrameTests.cs, src/ShapeCrawler/Tables/ITable.cs, test/ShapeCrawler.Tests.Unit/PresentationTests.cs, src/ShapeCrawler/Presentation/ISlideCollection.cs, test/ShapeCrawler.Tests.Unit/ChartTests.cs, test/ShapeCrawler.Tests.Unit/ShapeCollectionTests.cs, src/ShapeCrawler/ShapeCollection/SlideShapes.cs, src/ShapeCrawler/ShapeCollection/ReferencedIndent.cs, test/ShapeCrawler.Tests.Unit/ShapeTests.cs, test/ShapeCrawler.Tests.Unit/TableTests.cs

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

sonarcloud bot commented Nov 20, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 426 Code Smells

No Coverage information No Coverage information
2.0% 2.0% Duplication

@ashahabov ashahabov merged commit 5325069 into master Nov 20, 2023
4 checks passed
@ashahabov ashahabov deleted the 540-add-slide-number branch November 20, 2023 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant