Change in ovirt-engine[master]: core: InjectorRule for injecting members
amureini at redhat.com
amureini at redhat.com
Wed Oct 26 08:18:49 UTC 2016
Allon Mureinik has submitted this change and it was merged.
Change subject: core: InjectorRule for injecting members
......................................................................
core: InjectorRule for injecting members
This patch allows the mock Injector instance created by the
InjectorRule to return a mocked BeanManager, thus allowing it to run
injectMembers and do nothing instead of failing with a
NullPointerException.
Change-Id: Ibd01fa44bb78c32dc700031f756b1cb66cd16f2c
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/di/Injector.java
M backend/manager/modules/vdsbroker/src/test/java/org/ovirt/engine/core/di/InjectorRule.java
2 files changed, 18 insertions(+), 5 deletions(-)
Approvals:
Tal Nisan: Looks good to me, approved
Jenkins CI: Passed CI tests
Allon Mureinik: Verified
--
To view, visit https://gerrit.ovirt.org/65740
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibd01fa44bb78c32dc700031f756b1cb66cd16f2c
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 Betak <mbetak at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan 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