Mike Kolesnik has posted comments on this change.

Change subject: core: MacPool related Commands
......................................................................


Patch Set 33: Code-Review-1

(3 comments)

http://gerrit.ovirt.org/#/c/28705/33/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/UpdateMacPoolCommandTest.java
File 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/UpdateMacPoolCommandTest.java:

Line 11: public class UpdateMacPoolCommandTest {
Line 12: 
Line 13: 
Line 14:     @Test(expected = IllegalArgumentException.class)
Line 15:     public void testNullCannotBePassedToConstructor() throws Exception 
{
You should update the test name
Line 16:         UpdateMacPoolCommand.validateDefaultFlagIsNotChanged(null, new 
MacPool());
Line 17:     }
Line 18: 
Line 19:     @Test(expected = IllegalArgumentException.class)


Line 16:         UpdateMacPoolCommand.validateDefaultFlagIsNotChanged(null, new 
MacPool());
Line 17:     }
Line 18: 
Line 19:     @Test(expected = IllegalArgumentException.class)
Line 20:     public void testNullCannotBePassedToConstructor2() throws 
Exception {
Same here.. Also 2 is not a really good indication, a better one would be by 
calling first test "testNullPoolFromDbCannot..." and second test 
"testNullNewPoolCannot...", or something among those lines..
Line 21:         UpdateMacPoolCommand.validateDefaultFlagIsNotChanged(new 
MacPool(), null);
Line 22:     }
Line 23: 
Line 24:     @Test


http://gerrit.ovirt.org/#/c/28705/33/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java
File 
frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java:

Line 57: 
Line 58:     @DefaultStringValue("Mac pool cannot be removed. Either it's used 
or it's default mac pool.")
Line 59:     String MAC_POOL_CANNOT_BE_REMOVED();
Line 60: 
Line 61:     @DefaultStringValue("Cannot ${action} ${type}. ${type} does not 
exist.")
This is synced but most (if not all) of the other messages aren't.

Please make sure to sync all other messages you've added to this file.
Line 62:     String MAC_POOL_DOES_NOT_EXIST();
Line 63: 
Line 64:     @DefaultStringValue("Mac pool cannot be created. Shared MAC pools 
must have names.")
Line 65:     String MAC_POOL_MUST_HAVE_NAME();


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I9c0c3657e3e53699bcafa375befdce848b01a2f3
Gerrit-PatchSet: 33
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Mucha <[email protected]>
Gerrit-Reviewer: Lior Vernia <[email protected]>
Gerrit-Reviewer: Martin Mucha <[email protected]>
Gerrit-Reviewer: Mike Kolesnik <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to