Daniel Erez has posted comments on this change. Change subject: core: Fix unit bll unit test ......................................................................
Patch Set 1: Looks good to me, but someone else must approve (1 inline comment) .................................................... File backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/BackwardCompatibilityTaskCreationTest.java Line 73: public static void beforeClass() { Line 74: ejbRule.mockResource(ContainerManagedResourceType.DATA_SOURCE, mock(Connection.class)); Line 75: DbFacade dbFacade = spy(new DbFacade()); Line 76: DbFacadeLocator.setDbFacade(dbFacade); Line 77: AsyncTaskDAO asyncTaskDao= mock(AsyncTaskDAO.class); use formatter Line 78: when(asyncTaskDao.getAll()).thenReturn(Collections.EMPTY_LIST); Line 79: when(dbFacade.getAsyncTaskDao()).thenReturn(asyncTaskDao); Line 80: } Line 81: -- To view, visit http://gerrit.ovirt.org/12385 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: If70f5da87e1238f0a545496d6e9700151275d642 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yair Zaslavsky <yzasl...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Daniel Erez <de...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches