-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
[BUGS#1251] FindMatches always search separate segment match without penalty: add regression test, fix it, make configurable, show where comes from in FuzzyMatch pane, and refactor #963
base: master
Are you sure you want to change the base?
Conversation
bc9c2cd
to
e42b6d3
Compare
This comment was marked as outdated.
This comment was marked as outdated.
2 similar comments
❌ Run Gradle test failed: |
❌ Run Gradle test failed: |
bc92bea
to
4665a8e
Compare
A topic branch here waiting a realization of GUI behavior acceptance test #964 is accepted. |
GUI testing is not stable to be integrated. So we should merge it now. |
#1172 enables acceptance test. |
- Add FindMatchesThreadTest to reproduce BUGS#1251 - Add a test case to test FindMatches with the case of BUGS#1251. Signed-off-by: Hiroshi Miura <[email protected]>
- add internal search method to handle normal and segmented search conditions, also use for test purpose - drop threshold arguments for CalcMatchStatistics usage - FindMatchesThread.finderSearch to take threshold argument for testing. - update search() callers accordingly. Signed-off-by: Hiroshi Miura <[email protected]>
1e4afdb
to
f049239
Compare
This comment was marked as resolved.
This comment was marked as resolved.
- update expectation not affected by OS path delimiter Signed-off-by: Hiroshi Miura <[email protected]>
This comment was marked as outdated.
This comment was marked as outdated.
- Change default fuzzy match pane template with matchSource - Add method MatchesVarExpansion#expandMatchSource - Extend NearString.MATCH_SOURCE to have TM_SUBSEG - Update test expectations of MatchesTextAreaTest, and FindMatchesTest - FindMatches to handle FuzzyMark of segmented match - FindMatches to store tmx file path of segmented matches - Fix MatchesVarExpansionTest which causes NPE - Add human-readable names of MATCH_SOURCE in Bundle.properties Signed-off-by: Hiroshi Miura <[email protected]>
❌ Quality checks failed. Please look a Gradle Scan page for details: |
- Improve javadoc - Improve switch syntax style - Improve indentation Signed-off-by: Hiroshi Miura <[email protected]>
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Signed-off-by: Hiroshi Miura <[email protected]>
ebb7da2
to
0878d1b
Compare
@t-cordonnier now plans to propose further improvements, I would like to merge here then go to his proposal when ready. |
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.
Documentation modifications need review.
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.
@Kazephil we need your review in the 3 documentation files below. Thank you in advance.
/** From files */ | ||
FILES, | ||
/** From sub-segmented match */ | ||
TM_SUBSEG; |
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.
TM_SUBSEG; | |
TM_SUBSEG |
no need semicolon
As discussed in dev-ML, I split changes to a handful of PRs. |
Pull request type
Please mark GitHub LABEL of the type of change your PR introduces:
Which ticket is resolved?
What does this PR change?
FindMatches
andFindMatchesThread
classes, that is failed by the bug reported.FindMatches#search
method which change behavior by argument flag, segmentation support, and removeboolean allowSeparateSegmentMatch
argument from constructor.Other information