Releases
3.0.3
Compare
Sorry, something went wrong.
No results found
[3.0.3] - 2021-01-01
Added
Util method Parameters.isPositiveInteger returning Predicate used to check for positive numeric integers.
Proxy objects now support an additional path component.
Changed
Method APIUtil.prettyPrint(JsonNode) now wraps lines with a fix Unix-style (LF) line separator.
Reduced visibility of some JUnit test util classes and constructors.
Reduced visibility of some public methods which were only used internally.
Declared several util and factory classes as being final.
The body of POST requests is now fix UTF-8 encoded.
Made several methods static that did not reference any non-static content are were not overwritten in a sub class.
Enhanced some test classes to use static inner classes instead of anonymous classes to avoid possible memory leaks.
The methods APISession.isInitialized, APISession.userAuthentication and QueryResource.isValidQueryParameter now return primitive types.
Method JSONDeserializer.mapDataObject(...) now accepts general TypeReference<T> objects.
JsonResource.getJsonString now uses fix UTF-8 encoding when loading JSON content from resource files.
Test util MockServerUtil.contentLength now accepts a more general CharSequence.
Method usingExtendedLayout in TestTheTVDBAPICallAssert.java has been renamed to isUsingExtendedLayout.
Method usingJsonLayout in TestTheTVDBAPICallAssert.java has been renamed to isUsingJsonLayout.
Replace usage of anonymous classes in QueryParametersImpl to avoid the risk of memory leaks.
Changed names of system properties used for running integration tests.
Updated multiple maven dependencies to latest version:
org.mockito:mockito-core : 3.6.0 -> 3.6.28
com.fasterxml.jackson.core:jackson-databind : 2.11.3 -> 2.12.0
Removed
Method MockServerUtil.defaultAPIHttpHeaders(boolean) has been replaced by two more convenient ones.
MockServerUtil.defaultAPIHttpHeaders() includes matchers to check for absence of auth fields.
MockServerUtil.defaultAPIHttpHeadersWithAuthorization() includes matchers to check for presence of auth fields.
Constructor from ParametersTest.QueryParametersWithDisabledValueChecks inner class.
You can’t perform that action at this time.