-
Notifications
You must be signed in to change notification settings - Fork 639
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
Test review E-I, #259 #1014
Test review E-I, #259 #1014
Conversation
…c to reduce review difficulty
54553bb
to
636cc32
Compare
@NightOwl888 Updated title to indicate the breaking changes of changing some static readonly fields to be const. This will affect any NuGet packages or custom binaries that use these fields, although it's generally not breaking from a source standpoint. We should probably do a sweep before beta 18 for other |
Looks like this only affects test classes except for the |
IndexWriter and ByteBlockPool have some public const changes. I can revert those if we'd rather do them as part of a separate sweep. |
I see 'em. I have 7 files left to review and those 2 are at the bottom. |
If these are made const, that means they will be compiled as metadata in the consuming assembly. So any changes to the values will not be seen unless the consuming app is recompiled. This may or may not be a problem, though. Technically, we should never update the values on these unless porting a new version of Lucene. It would be helpful to know if Lucene ever changes values during minor or patch version bumps, though, because we will eventually catch up with them. The safest bet without knowing that is to leave them |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
I found a few minor things to address. Please see my comments inline.
@NightOwl888 All feedback items should be addressed now. Thanks! |
Test review for core E-I tests
Partial #259
Description
This updates the tests in the E-I test assembly to match upstream Lucene for style, formatting, etc. Additionally, some minor bugs (including documentation bugs) have been fixed.