Laszlo Hornyak has submitted this change and it was merged.
Change subject: core: Introducing RandomUtilsSeedingRule
......................................................................
core: Introducing RandomUtilsSeedingRule
The first revision of RandomUtilsSeedingRule, intended to allow logging
and overriding RandomUtils' seed for unit tests.
This patch includes the new @Rule itself and a usage example.
If this approched is accepted by the community and the patch is
merged, I'll submit further patches that utilize this rules in tests
that use RandomUtils.
Change-Id: I9b61902aca7986752e61530dc4afb1b9a9293c2d
Signed-off-by: Allon Mureinik <amureini(a)redhat.com>
---
M
backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/MultiValueMapUtilsTest.java
A
backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/RandomUtilsSeedingRule.java
2 files changed, 41 insertions(+), 0 deletions(-)
Approvals:
Laszlo Hornyak: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/4357
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9b61902aca7986752e61530dc4afb1b9a9293c2d
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak(a)redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>