Hello, Mirko
It seems to be impossible to just replace HtmlUnit with a new version,
because
org.jvnet.hudson.test.HudsonTestCase.WebClient.WebClient(HudsonTestCase) uses
field BrowserVersion.FIREFOX_2, which is no longer used in HtmlUnit.
Tests in error:
FailedTest.org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite »
NoSuchField
PreBuildMergeOptionsTest.exporting:48 » NoSuchField FIREFOX_2
GitSCMTest>HudsonTestCase.runBare:296->HudsonTestCase.runTest:440-
>testConfigRoundtripURLPreserved:1229->HudsonTestCase.configRoundtrip:888-
>HudsonTestCase.createWebClient:1617 » NoSuchField
GitSCMTest>HudsonTestCase.runBare:296->HudsonTestCase.runTest:440-
>testConfigRoundtrip:1240->HudsonTestCase.configRoundtrip:888-
>HudsonTestCase.createWebClient:1617 » NoSuchField
So, new HtmlUnit substitution should make some problems, and, of course,
should cause every existing test to fail.
--
Best regards,
Pavel Baranchikov
Tuesday 09 December 2014