* fixed some deprecated warnings of mockito methods and minor cleanup
* Update core/src/test/java/hudson/cli/handlers/ViewOptionHandlerTest.java
Co-authored-by: Basil Crow <me@basilcrow.com>
* store autoclosable mock and close it in tear_down method
* store autoclosable mock and close it in tear_down method
Co-authored-by: Basil Crow <me@basilcrow.com>
* Unforking XStream
* Some overrides missing from MapperDelegate
* [XSTR-762] writeReplace & readResolve must be accessible to be used from subclasses
* DomElement.click overloads changed incompatibly
* Giving up on ToolInstallation being Serializable.
Fixing MavenInstallation accordingly.
AntInstallation was already fixed: https://github.com/jenkinsci/ant-plugin/commit/c957dca4cd7789e3918e90ae020687aeaeea998e
* Relaxing message assertion in RobustReflectionConverter.randomExceptionsReported
* Picking up https://github.com/jenkinsci/matrix-auth-plugin/pull/89 caught via JobTest
* https://github.com/jenkinsci/jenkins-test-harness/pull/243 released
* Another case forgotten in 0e5aeec4cc
* XStream has SecurityMapper, but we have our own system already, so suppress warning
* GetMavenVersion was also serializing its outer class
* Trying to make ToolInstallation serializable compatible
* Avoid throwing IOException from PersistedList.inModified for common cases covered by https://github.com/jenkinsci/jenkins-test-harness/pull/243
* Found a way to avoid looking up XStream.converterRegistry by reflection
* XStream2Test.crashXstream now throwing ConversionException, not ForbiddenClassException
* Noting which version of the parent POM has https://github.com/jenkinsci/jenkins-test-harness/pull/243
* Refreshed Javadoc for XStream2
* The simplest solution to JENKINS-19561 seems to be to stop using autodetectAnnotations
* Fixing some deprecations in Robust*Converter
* Display OldDataMonitor errors from RobustReflectionConverter during functional tests
* Stray digit in test name
* Added XStream2AnnotationTest to clearly document incompatibility
* Picking up release of https://github.com/jenkinsci/matrix-auth-plugin/pull/89
Co-authored-by: Basil Crow <me@basilcrow.com>
Co-authored-by: Basil Crow <me@basilcrow.com>
* Do not render parts of serialized a ConsoleNote if output begins in the middle of it. Generalize finding pre/postamble
* Do not render parts of serialized a ConsoleNote while writing non-html output as well. Test sample script output.
* Add positive scenario test case. Fine-tune implementation
* Render progressive output with explicitly set no preBuffer. Ensure only the relevant lines get processed
* Revert pre-buffer functionality.
Keep tests in adjusted form.
* Push offset forward to start writing log on line beginning
* Move and fine-tune tests. Avoid rendering no output in case offset falls on last line
* Dont render whole log on offset on the last line. It might be problematic for really large logs
* Style adjustments
* started converting tests to junit5
* replaced TempFolder with JUnit TempDir
* migrated some test classes to JUnit5
* migrated a parameterized testclass to junit5
* Update core/pom.xml
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
* replaced junit4 with junit5-vintage engine
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
It will now deal with final/abstract methods appropriately.
It will also clearly report bad arguments (base not base of derived, or base does not declare the method).
Added a unit test for interface cases.
Small gap to be looked into: overrides provided via default implementation of a (derived) interface.