Liron Aravot has posted comments on this change.
Change subject: core: Unit test ImagesHandler.getSuggestedAlias
......................................................................
Patch Set 8: I would prefer that you didn't submit this
(1 inline comment)
....................................................
File
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/ImagesHandlerTest.java
Line 21: }
Line 22:
Line 23: @Test
Line 24: public void testGetSuggestedDiskAliasNullDisk() {
Line 25: assertEquals("null disk does not give the default name",
can you make use here of the constants declared in images handler?
DISK/DefaultDriveName so changing the constants there wouldn't make us need to
change the test as well?
Line 26: prefix + "_Disk1",
Line 27: ImagesHandler.getSuggestedDiskAlias(null, prefix, 1));
Line 28: }
Line 29:
--
To view, visit http://gerrit.ovirt.org/9273
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Iaf2a1147c022f4cdb7c5658818667af4b51e6aac
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Aravot <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Sharad Mishra <[email protected]>
Gerrit-Reviewer: Vered Volansky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches