Skip to content

Fix Excel info-sheet dropping the namespace-prefix row (#30)#68

Merged
samatstariongroup merged 1 commit into
developmentfrom
GH30
Jun 1, 2026
Merged

Fix Excel info-sheet dropping the namespace-prefix row (#30)#68
samatstariongroup merged 1 commit into
developmentfrom
GH30

Conversation

@samatstariongroup

Copy link
Copy Markdown
Member

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the EcoreNetto code style guidelines
  • I have provided test coverage for my change (where applicable)

Description

In XlReportGenerator.AddInfoSheet the "ns uri" pair was written to row 4, overwriting the "ns prefix" pair, so the namespace prefix was silently lost from the "Model Info" sheet. Moves the ns-uri pair to row 5 so both appear.

Adds XlReportGeneratorTestFixture (the generator had no dedicated tests): it generates the workbook from recipe.ecore, reopens it with ClosedXML, and asserts distinct ns-prefix (row 4) and ns-uri (row 5) rows, plus a basic IsValidReportExtension check.

@github-actions

Copy link
Copy Markdown
Contributor
Package Line Rate Branch Rate Complexity Health
ECoreNetto 84% 75% 401
ECoreNetto.Extensions 99% 93% 101
ECoreNetto.HandleBars 99% 98% 60
ECoreNetto.Reporting 83% 71% 181
ECoreNetto.Tools 94% 87% 59
Summary 88% (2109 / 2393) 80% (476 / 596) 802

@sonarqubecloud

Copy link
Copy Markdown

@samatstariongroup samatstariongroup merged commit 0c02c88 into development Jun 1, 2026
14 checks passed
@samatstariongroup samatstariongroup deleted the GH30 branch June 1, 2026 05:55
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.

1 participant