Gilad Chaplik has posted comments on this change.

Change subject: engine: test for AddVdsCommand
......................................................................


Patch Set 5: (2 inline comments)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVdsCommand.java
Line 188:             }
Line 189:         }
Line 190:     }
Line 191: 
Line 192:     boolean isGlusterSupportEnabled() {
use protected access modifier instead of default (all-over)
Line 193:         return getVdsGroup().supportsGlusterService() && 
getParameters().isGlusterPeerProbeNeeded();
Line 194:     }
Line 195: 
Line 196:     /**


....................................................
File 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/AddVdsCommandTest.java
Line 13: import org.ovirt.engine.core.dao.VdsGroupDAO;
Line 14: import org.ovirt.engine.core.utils.MockConfigRule;
Line 15: 
Line 16: public class AddVdsCommandTest {
Line 17:     private VDS makeTestVds(Guid vdsId) {
why static?
Line 18:         VDS newVdsData = new VDS();
Line 19:         newVdsData.setHostName("BUZZ");
Line 20:         newVdsData.setVdsName("BAR");
Line 21:         newVdsData.setVdsGroupCompatibilityVersion(new 
Version("1.2.3"));


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Iaa8b31e3bb4f96e34d7ea7e97ec8c4c5b1f19984
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Laszlo Hornyak <lhorn...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchap...@redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhorn...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to