Alissa Bonas has uploaded a new change for review. Change subject: core: fix typos in CanDoActionTestUtils ......................................................................
core: fix typos in CanDoActionTestUtils Fixed typos in messages of CanDoActionTestUtils class. Change-Id: Ic85f211c57df6febd6f79c5127a6eb97d38d2710 Signed-off-by: Alissa Bonas <abo...@redhat.com> --- M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/CanDoActionTestUtils.java 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/70/15270/1 diff --git a/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/CanDoActionTestUtils.java b/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/CanDoActionTestUtils.java index 10947a9..e3753be 100644 --- a/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/CanDoActionTestUtils.java +++ b/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/CanDoActionTestUtils.java @@ -28,8 +28,8 @@ boolean canDoAction = command.canDoAction(); List<String> canDoActionMessages = command.getReturnValue().getCanDoActionMessages(); - assertFalse("Command''s canDoAction expected to fail but succeed", canDoAction); - assertTrue(MessageFormat.format("canDoAction messages doesn''t contain expected message: {0}, messages are: {1}", + assertFalse("Command's canDoAction expected to fail, but succeeded", canDoAction); + assertTrue(MessageFormat.format("canDoAction messages doesn't contain expected message: {0}, messages are: {1}", message.name(), canDoActionMessages), canDoActionMessages.contains(message.name())); @@ -45,7 +45,7 @@ */ public static void runAndAssertCanDoActionSuccess(CommandBase<?> command) { boolean canDoAction = command.canDoAction(); - assertTrue(MessageFormat.format("Command''s canDoAction expected to succeed but failed, messages are: {0}", + assertTrue(MessageFormat.format("Command's canDoAction expected to succeed, but failed, messages are: {0}", command.getReturnValue().getCanDoActionMessages()), canDoAction); } } -- To view, visit http://gerrit.ovirt.org/15270 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic85f211c57df6febd6f79c5127a6eb97d38d2710 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alissa Bonas <abo...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches