Change in ovirt-engine[master]: core: Better syntax for MockConfigRule

Laszlo Hornyak has submitted this change and it was merged. Change subject: core: Better syntax for MockConfigRule ...................................................................... core: Better syntax for MockConfigRule Added the static mockConfig utility to allow handling all the mocking in a single line, when the rule is created. LdapSearchQueryTestBase was updated with the new syntax as an exmaple. Change-Id: Iace3e7735e3e30b99a0d597f08980874c6826ef5 Signed-off-by: Allon Mureinik <amureini@redhat.com> --- M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/LdapSearchQueryTestBase.java M backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/MockConfigRule.java 2 files changed, 71 insertions(+), 17 deletions(-) Approvals: Laszlo Hornyak: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/4260 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iace3e7735e3e30b99a0d597f08980874c6826ef5 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Laszlo Hornyak <lhornyak@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzaslavs@redhat.com>
participants (1)
-
lhornyak@redhat.com