* make tests pass on JDK 16 and 17
replace deprecated mockito-all by mockito-core, and updated to latest 3.x
replace deprecated org.mockito.Matchers
* code cleanup from IDE suggestions
* add oracle jdk 16 and 17 to Travis
* moved the system-property-evaluation to static-block for more
reliability
* updated impacted existing tests (which relied on external-resources) to
leverage the new API
* set the value of system-property controlling external-resource-access
to true in the test JVM for the sake of existing tests using
SVGImageReader APIs not backed by SVRReadParams (.getWidth/.getHeight
and such)
* renaming accessors
* changing the default to disallow external resources
* introduced system-property for backwards compatibility
* honor system-property (if present) and SVGReadParams.isAllowExternalResources hasn't been called
(as against ignoring system-property and reverting to 'block-by-default' if SVGReadParams.isAllowExternalResources invoked)
* added + updated test cases
- Removed JMock dependency, tests rewritten to use Mockito for stub/mock
- All test should now be using JUnit annotation-style tests
- All modules should now depend on same JUnit version
- Rewrote a few tests to better utilize JUnit annotations
- Fixed a few broken tests
- Code style changes