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

Recreate the USFM text updating issue in unit tests. #206

Merged
merged 1 commit into from
Jun 6, 2024
Merged

Conversation

johnml1135
Copy link
Collaborator

@johnml1135 johnml1135 commented Jun 3, 2024

Make USFM updating errors more explicit: sillsdev/serval#398

@ddaspit - can up finish resolving the USFM updating parse stack empty issue?


This change is Reviewable

@johnml1135 johnml1135 requested a review from ddaspit June 3, 2024 17:39
@codecov-commenter
Copy link

codecov-commenter commented Jun 5, 2024

Codecov Report

Attention: Patch coverage is 82.63889% with 25 lines in your changes missing coverage. Please review.

Project coverage is 67.37%. Comparing base (bf2b46d) to head (da949b9).

Files Patch % Lines
src/SIL.Machine/Corpora/UsfmTokenizer.cs 79.09% 23 Missing ⚠️
src/SIL.Machine/Corpora/UsfmTextBase.cs 50.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #206      +/-   ##
==========================================
+ Coverage   67.32%   67.37%   +0.04%     
==========================================
  Files         441      441              
  Lines       35021    35134     +113     
  Branches     4700     4702       +2     
==========================================
+ Hits        23579    23672      +93     
- Misses      10352    10372      +20     
  Partials     1090     1090              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator Author

@johnml1135 johnml1135 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 5 files at r1, 1 of 5 files at r2, 9 of 9 files at r4, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ddaspit)

- fixes sillsdev/serval#399
- fixes sillsdev/serval#398
- Line and column number with USFM errors.
Copy link
Collaborator Author

@johnml1135 johnml1135 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 4 of 4 files at r5, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ddaspit)

Copy link
Contributor

@ddaspit ddaspit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 5 files at r1, 1 of 5 files at r2, 5 of 9 files at r4, 4 of 4 files at r5, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @johnml1135)


.ignore line 1 at r5 (raw file):

!tests/SIL.Machine.Tests/Corpora/TestData/usfm/source/*

What is this file used for?

@johnml1135
Copy link
Collaborator Author

.ignore line 1 at r5 (raw file):

Previously, ddaspit (Damien Daspit) wrote…

What is this file used for?

These are where the manual tests can be run. By adding this file, the files put here will be searchable, but will not be added to git. https://stackoverflow.com/questions/55949132/vscode-how-to-get-file-search-not-content-to-include-git-ignored-files/55949239#55949239

@ddaspit ddaspit merged commit afc6328 into master Jun 6, 2024
4 checks passed
@ddaspit ddaspit deleted the usfm_gen_fix branch June 6, 2024 18:54
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.

3 participants