geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jensde...@apache.org
Subject [2/2] incubator-geode git commit: Revert "GEODE-647: Adding some test debugging output"
Date Fri, 11 Dec 2015 21:45:41 GMT
Revert "GEODE-647: Adding some test debugging output"

This reverts commit 9d047b4df4af8d60161cab95fc9a1af5e6d956ae.


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/b0419b18
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/b0419b18
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/b0419b18

Branch: refs/heads/develop
Commit: b0419b1884e5c12e6998f88357e1b41de21f9856
Parents: 412f241
Author: Jens Deppe <jdeppe@pivotal.io>
Authored: Fri Dec 11 12:32:19 2015 -0800
Committer: Jens Deppe <jdeppe@pivotal.io>
Committed: Fri Dec 11 13:45:01 2015 -0800

----------------------------------------------------------------------
 .../management/internal/cli/GfshParserJUnitTest.java   | 13 -------------
 1 file changed, 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/b0419b18/gemfire-core/src/test/java/com/gemstone/gemfire/management/internal/cli/GfshParserJUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/management/internal/cli/GfshParserJUnitTest.java
b/gemfire-core/src/test/java/com/gemstone/gemfire/management/internal/cli/GfshParserJUnitTest.java
index c536147..68fe251 100644
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/management/internal/cli/GfshParserJUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/management/internal/cli/GfshParserJUnitTest.java
@@ -150,11 +150,8 @@ public class GfshParserJUnitTest {
    */
   @Test
   public void testComplete() throws Exception {
-    StringBuilder debugger = new StringBuilder();
-
     // get a CommandManager, add sample commands
     CommandManager commandManager = CommandManager.getInstance(false);
-    debugger.append("cm1:").append(String.format("0x%x", commandManager.hashCode()));
     assertNotNull("CommandManager should not be null.", commandManager);
     commandManager.add(Commands.class.newInstance());
     commandManager.add(SimpleConverter.class.newInstance());
@@ -170,16 +167,6 @@ public class GfshParserJUnitTest {
     List<String> completionCandidates = new ArrayList<String>();
     List<String> completionValues = new ArrayList<String>();
     parser.complete(input, input.length(), completionCandidates);
-    debugger.append(" cm2:").append(String.format("0x%x", CommandManager.getExisting().hashCode()));
-    if (completionValues.size() != completionCandidates.size()) {
-      if (completionCandidates.size() > 0) {
-        for (String s : completionCandidates) {
-          debugger.append(" ").append(s);
-        }
-      }
-      assertEquals(debugger.toString(), completionValues.size(), completionCandidates.size());
-    }
-
     assertSimpleCompletionValues(completionValues, completionCandidates);
 
     // Input contains a string which is prefix


Mime
View raw message