Change in ovirt-engine[master]: test: Injecting CpuFlagsManagerHandler into DAO tests

ofrenkel at redhat.com ofrenkel at redhat.com
Wed Aug 5 08:54:01 UTC 2015


Omer Frenkel has submitted this change and it was merged.

Change subject: test: Injecting CpuFlagsManagerHandler into DAO tests
......................................................................


test: Injecting CpuFlagsManagerHandler into DAO tests

Fixed DAO tests that call VmHandler.init(). VmHandler.init() uses
CpuFlagsManagerHandler that is no more static, so must be mocked and
injected into VmHandler.

Change-Id: Idc3a7d54756782651a4bc57914964e4f2950f82e
Signed-off-by: Shmuel Melamud <smelamud at redhat.com>
---
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetVmChangedFieldsForNextRunQueryTest.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/VmHandlerTest.java
2 files changed, 21 insertions(+), 0 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Shmuel Leib Melamud: Verified
  Omer Frenkel: Verified; Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/44372
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Idc3a7d54756782651a4bc57914964e4f2950f82e
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shmuel Leib Melamud <smelamud at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Shmuel Leib Melamud <smelamud at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list