Alon Bar-Lev has posted comments on this change.
Change subject: core: broken unit test
......................................................................
Patch Set 1:
testSendFile_PNGNoMime(org.ovirt.engine.core.utils.ServletUtilsTest) Time
elapsed: 0.009 sec <<< FAILURE!
Wanted but not invoked:
httpServletResponse.setContentType(
"image/png"
);
-> at
org.ovirt.engine.core.utils.ServletUtilsTest.testSendFile_PNGNoMime(ServletUtilsTest.java:219)
However, there were other interactions with this mock:
-> at org.ovirt.engine.core.utils.ServletUtils.sendFile(ServletUtils.java:62)
at
org.ovirt.engine.core.utils.ServletUtilsTest.testSendFile_PNGNoMime(ServletUtilsTest.java:219)
--
To view, visit http://gerrit.ovirt.org/14327
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I9d0627ea770a3194515b22b6d6cc5df5fe8df829
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alexander Wels <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches