Change in ovirt-engine[master]: core: StartVdsCommandTest @InjectMocks

amureini at redhat.com amureini at redhat.com
Sat Oct 1 19:37:14 UTC 2016


Allon Mureinik has submitted this change and it was merged.

Change subject: core: StartVdsCommandTest @InjectMocks
......................................................................


core: StartVdsCommandTest @InjectMocks

Use the @InjectMocks annotation to inject mocks to the tested command
in order to save some boiler-plated code and make the test cleaner and
more concise.

Change-Id: I0be6bdb8ac8851c26cd7e27d9a6620364cde49a7
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/pm/StartVdsCommandTest.java
1 file changed, 6 insertions(+), 13 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0be6bdb8ac8851c26cd7e27d9a6620364cde49a7
Gerrit-PatchSet: 6
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: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list