Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 219B9200C16 for ; Thu, 9 Feb 2017 23:02:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2015C160B50; Thu, 9 Feb 2017 22:02:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6B447160B4B for ; Thu, 9 Feb 2017 23:02:06 +0100 (CET) Received: (qmail 15245 invoked by uid 500); 9 Feb 2017 22:02:05 -0000 Mailing-List: contact commits-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list commits@geode.apache.org Received: (qmail 15236 invoked by uid 99); 9 Feb 2017 22:02:05 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2017 22:02:05 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 65DD7DFBDB; Thu, 9 Feb 2017 22:02:05 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: klund@apache.org To: commits@geode.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: geode git commit: fixup Date: Thu, 9 Feb 2017 22:02:05 +0000 (UTC) archived-at: Thu, 09 Feb 2017 22:02:07 -0000 Repository: geode Updated Branches: refs/heads/feature/GEODE-2456 d6d734600 -> 4c82d156e fixup Project: http://git-wip-us.apache.org/repos/asf/geode/repo Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/4c82d156 Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/4c82d156 Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/4c82d156 Branch: refs/heads/feature/GEODE-2456 Commit: 4c82d156ea19457491c80a2b27d5e53462ff40b2 Parents: d6d7346 Author: Kirk Lund Authored: Thu Feb 9 14:01:55 2017 -0800 Committer: Kirk Lund Committed: Thu Feb 9 14:01:55 2017 -0800 ---------------------------------------------------------------------- .../DescribeDiskStoreFunctionJUnitTest.java | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/geode/blob/4c82d156/geode-core/src/test/java/org/apache/geode/management/internal/cli/functions/DescribeDiskStoreFunctionJUnitTest.java ---------------------------------------------------------------------- diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/functions/DescribeDiskStoreFunctionJUnitTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/cli/functions/DescribeDiskStoreFunctionJUnitTest.java index 1dd504a..e0038ef 100644 --- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/functions/DescribeDiskStoreFunctionJUnitTest.java +++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/functions/DescribeDiskStoreFunctionJUnitTest.java @@ -286,9 +286,9 @@ public class DescribeDiskStoreFunctionJUnitTest { @Test public void testAssertStateThrowsIllegalStateException() { - assertThatThrownBy(() -> - DescribeDiskStoreFunction.assertState(false, "Expected (%1$s) message!", "test")) - .isInstanceOf(IllegalStateException.class).hasMessage("Expected (test) message!"); + assertThatThrownBy( + () -> DescribeDiskStoreFunction.assertState(false, "Expected (%1$s) message!", "test")) + .isInstanceOf(IllegalStateException.class).hasMessage("Expected (test) message!"); } private void setupEmptyRegionsPdxGatewaysCacheServersAndAsyncEventQueues( @@ -644,9 +644,9 @@ public class DescribeDiskStoreFunctionJUnitTest { function.execute(mockFunctionContext); String expected = String.format("A disk store with name (%1$s) was not found on member (%2$s).", - diskStoreName, memberName); + diskStoreName, memberName); assertThatThrownBy(() -> testResultSender.getResults()) - .isInstanceOf(DiskStoreNotFoundException.class).hasMessage(expected); + .isInstanceOf(DiskStoreNotFoundException.class).hasMessage(expected); } @Test @@ -686,8 +686,8 @@ public class DescribeDiskStoreFunctionJUnitTest { function.execute(mockFunctionContext); - assertThatThrownBy(() -> testResultSender.getResults()) - .isInstanceOf(RuntimeException.class).hasMessage("ExpectedStrings"); + assertThatThrownBy(() -> testResultSender.getResults()).isInstanceOf(RuntimeException.class) + .hasMessage("ExpectedStrings"); } @Test @@ -744,7 +744,8 @@ public class DescribeDiskStoreFunctionJUnitTest { function.execute(mockFunctionContext); - String expected = "The number of disk directories with a specified size (0) does not match the number of disk directories (1)!"; + String expected = + "The number of disk directories with a specified size (0) does not match the number of disk directories (1)!"; assertThatThrownBy(() -> testResultSender.getResults()).hasMessage(expected); }