Maor Lipchuk has posted comments on this change.

Change subject: core: Use storage helper to fetch (related to BZ882825)
......................................................................


Patch Set 3: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/storage/StorageHelperBaseTest.java
Line 16: 
Line 17:     @Test
Line 18:     public void getLunConnectionsForFC() {
Line 19:         LUNs lun = new LUNs();
Line 20:         ArrayList<StorageServerConnections> connections = new 
ArrayList<StorageServerConnections>();
We need to use ArrayList since setLunConnection is using ArrayList in the api. 
this is probably since it is business entities and GWT need the concrete 
classes for serialization.
Line 21:         lun.setLunConnections(connections);
Line 22:         Map<StorageType, List<StorageServerConnections>> 
connectionsByType =
Line 23:                 StorageHelperBase.filterLUNsByStorageType(lun);
Line 24:         assertTrue("Map of storage connections should be empty.", 
connectionsByType.isEmpty());


--
To view, visit http://gerrit.ovirt.org/10141
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ida526dd9e08bc9881e65a529cb1b00aee0786af1
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Liron Aravot <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to