Change in ovirt-engine[master]: core: Remove AttachDomainValidatorForTesting

Allon Mureinik has submitted this change and it was merged. Change subject: core: Remove AttachDomainValidatorForTesting ...................................................................... core: Remove AttachDomainValidatorForTesting Removed AttachDomainValidatorForTesting and replaced the way it handled DAO mocks with direct mocking. This test was too "deep" - UpdateStoragePoolCommandTest should test the logic in UpdateStoragePoolCommand, not the logic in the validators it uses. Change-Id: I0e56d2963ec95453a34e3991714a5eb1f94b65c2 Signed-off-by: Allon Mureinik <amureini@redhat.com> --- M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/storage/UpdateStoragePoolCommandTest.java 1 file changed, 5 insertions(+), 18 deletions(-) Approvals: Tal Nisan: Looks good to me, approved Jenkins CI: Passed CI tests Allon Mureinik: Verified -- To view, visit https://gerrit.ovirt.org/45131 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I0e56d2963ec95453a34e3991714a5eb1f94b65c2 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: automation@ovirt.org
participants (1)
-
amureini@redhat.com