Return-Path: X-Original-To: apmail-geode-commits-archive@minotaur.apache.org Delivered-To: apmail-geode-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A3DD518C1D for ; Mon, 14 Dec 2015 18:06:57 +0000 (UTC) Received: (qmail 66832 invoked by uid 500); 14 Dec 2015 18:06:57 -0000 Delivered-To: apmail-geode-commits-archive@geode.apache.org Received: (qmail 66805 invoked by uid 500); 14 Dec 2015 18:06:57 -0000 Mailing-List: contact commits-help@geode.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.incubator.apache.org Delivered-To: mailing list commits@geode.incubator.apache.org Received: (qmail 66782 invoked by uid 99); 14 Dec 2015 18:06:57 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2015 18:06:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 067DBC0D0B for ; Mon, 14 Dec 2015 18:06:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.227 X-Spam-Level: * X-Spam-Status: No, score=1.227 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.554, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id JzU5IMWGBaMe for ; Mon, 14 Dec 2015 18:06:45 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id 23CF5439D6 for ; Mon, 14 Dec 2015 18:06:36 +0000 (UTC) Received: (qmail 63915 invoked by uid 99); 14 Dec 2015 18:06:35 -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; Mon, 14 Dec 2015 18:06:35 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 93683E0985; Mon, 14 Dec 2015 18:06:35 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: klund@apache.org To: commits@geode.incubator.apache.org Date: Mon, 14 Dec 2015 18:06:58 -0000 Message-Id: <23edbf46620c452caaf94d8312e35dff@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [25/48] incubator-geode git commit: Revert "GEODE-647: Adding some test debugging output" 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/feature/GEODE-217 Commit: b0419b1884e5c12e6998f88357e1b41de21f9856 Parents: 412f241 Author: Jens Deppe Authored: Fri Dec 11 12:32:19 2015 -0800 Committer: Jens Deppe 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 completionCandidates = new ArrayList(); List completionValues = new ArrayList(); 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