Moti Asayag has uploaded a new change for review.

Change subject: core: Clear  NPEs from unit-tests
......................................................................

core: Clear  NPEs from unit-tests

The patch replaces a direct call in AuditLogableBase to
DbFacade.getInstance() called on members initialization so mocking
DbFacage will not be required for each command class creation.

Change-Id: I42b9391c350ebfb943052038d90d997373dd141d
Signed-off-by: Moti Asayag <[email protected]>
---
M 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/AddVmCommandTest.java
M 
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogableBase.java
2 files changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/76/4276/1
--
To view, visit http://gerrit.ovirt.org/4276
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I42b9391c350ebfb943052038d90d997373dd141d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to