Change in ovirt-engine[master]: core: AddClusterCommandTest mocking

Code Review gerrit at ovirt.org
Mon May 22 10:42:31 UTC 2017


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

Allon Mureinik has submitted this change and it was merged.

Change subject: core: AddClusterCommandTest mocking
......................................................................


core: AddClusterCommandTest mocking

VdcReturnValueBase is a POJO with no interesting logic defined in the
common module.
As such, there's very little benefit in mocking it instead of just
returning a new instance in the test.

Besides cleaning up the code, this patch mainly lays some ground work
towards making VdcReturnValueBase final.

Change-Id: I2d2dee53766bf91da16c3fae63230fcfd703f5a1
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/AddClusterCommandTest.java
1 file changed, 1 insertion(+), 4 deletions(-)

Approvals:
  Allon Mureinik: Verified; Passed CI tests
  Vojtech Szocs: Looks good to me, but someone else must approve
  Moti Asayag: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2d2dee53766bf91da16c3fae63230fcfd703f5a1
Gerrit-PatchSet: 2
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: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list