omegat
omegat copied to clipboard
WIP: refactor: modular filters
This is topic development branch to demonstrate how filters can be modules.
Pull request type
- Other (describe below) refactor
Which ticket is resolved?
What does this PR change?
- All of #931 changes
- Split filters into three modules,
filters2
,staxfilters
(from filters4) andxmlfilters
(from filters3). - Refactor tests into each modules.
Other information
❌ Run Gradle test failed:
❌ Run Gradle test failed:
Now modularization of filters have been almost done.
What I have done is...
- Change all filters to be OmegaT 3.1 interface that have
loadPlugin
method. - Refactor source and test code under sub project,
filters2
andxmlfilters
-
xmlfilters
project hasfilters3
andfilters4
filters - Move test data under
<subproject>/src/test/resources/
- Put
.gitattributes
for some test data which EoL is important - Introduce testFixtures stub filters that are used in core test codes, which requires htmlparser and jackson dependency.
- Tweak dependency for filters. remove stax and PDF library from core and put in filters sub project
- Update checkstyle suppression configuration
- Update test cases to point new path of test data
❌ Run Gradle test failed:
❌ Run Gradle test failed:
❌ Run Gradle test failed:
❌ Run Gradle test failed: