Allon Mureinik has submitted this change and it was merged.

Change subject: core: ImportVm test cleanup: property generation
......................................................................


core: ImportVm test cleanup: property generation

Added new functionality to RandomUtils to randomly generate Strings that
are valid property strings (i.e., may contain the characters a-z, A-Z,
0-9,"_" and "."), and used it in the test instead of the hard coded
string100 and string5000 variables.

A RandomUtilsSeedingRule was also added to the test to make this
pseudo-random output predictable, or at least reproducible.

Change-Id: I1f04e067e8bce2c6cd1010f83a44809a3c8c464c
Signed-off-by: Allon Mureinik <[email protected]>
---
M 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/ImportVmCommandTest.java
M 
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/RandomUtils.java
2 files changed, 42 insertions(+), 30 deletions(-)

Approvals:
  Allon Mureinik: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/9619
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1f04e067e8bce2c6cd1010f83a44809a3c8c464c
Gerrit-PatchSet: 12
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Alissa Bonas <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Aravot <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Vered Volansky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to