Change in ovirt-engine[master]: core: StorageDeviceSyncJobTest mockito initialization

Code Review gerrit at ovirt.org
Wed Mar 1 10:23:09 UTC 2017


>From Allon Mureinik <amureini at redhat.com>:

Allon Mureinik has submitted this change and it was merged.

Change subject: core: StorageDeviceSyncJobTest mockito initialization
......................................................................


core: StorageDeviceSyncJobTest mockito initialization

StorageDeviceSyncJobTest uses the MockitoJUnitRunner, which already
initialized mock. Thus, explicitly calling
MockitoAnnotations.initMocks, is at best redundant and at worse wrong.

This patch removes this call.

Change-Id: I59748b8f1684c5c7ab575800f7161ef04012c8a7
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/gluster/StorageDeviceSyncJobTest.java
1 file changed, 0 insertions(+), 2 deletions(-)

Approvals:
  Denis Chaplygin: Looks good to me, but someone else must approve
  Tal Nisan: Looks good to me, approved
  Allon Mureinik: Verified; Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I59748b8f1684c5c7ab575800f7161ef04012c8a7
Gerrit-PatchSet: 9
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Ala Hino <ahino at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Denis Chaplygin <dchaplyg at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Sahina Bose <sabose 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