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

lhornyak at redhat.com lhornyak at redhat.com
Mon May 14 07:40:26 UTC 2012


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 at 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 at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list