geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject geode git commit: fixup
Date Thu, 09 Feb 2017 22:02:05 GMT
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 <klund@apache.org>
Authored: Thu Feb 9 14:01:55 2017 -0800
Committer: Kirk Lund <klund@apache.org>
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);
   }
 


Mime
View raw message