Change in ovirt-engine[master]: Allow @Spy annotations in Arquillian tests

rgolan at redhat.com rgolan at redhat.com
Mon Aug 10 04:16:16 UTC 2015


Roy Golan has submitted this change and it was merged.

Change subject: Allow @Spy annotations in Arquillian tests
......................................................................


Allow @Spy annotations in Arquillian tests

Add a spi extension which hooks into the bean creation process and
wraps with @Spy annotated fields with a Mockito spy

Change-Id: I6b214b806942d6b5212bb262d45eb277aa6dbc44
Signed-off-by: Roman Mohr <rmohr at redhat.com>
---
A backend/manager/modules/bll/src/test/java/org/ovirt/engine/arquillian/mockito/SpyAnnotation.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/scheduling/SchedulingManagerTest.java
A backend/manager/modules/bll/src/test/resources/META-INF/services/javax.enterprise.inject.spi.Extension
3 files changed, 87 insertions(+), 1 deletion(-)

Approvals:
  Roman Mohr: Verified
  Jenkins CI: Passed CI tests
  Roy Golan: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6b214b806942d6b5212bb262d45eb277aa6dbc44
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liran Zelkha <lzelkha at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list