From commits-return-1300-archive-asf-public=cust-asf.ponee.io@fineract.apache.org Mon Jan 22 16:13:12 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 0CEC31807B4 for ; Mon, 22 Jan 2018 16:13:10 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EFC19160C3A; Mon, 22 Jan 2018 15:13:09 +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 669A4160C5D for ; Mon, 22 Jan 2018 16:13:08 +0100 (CET) Received: (qmail 73928 invoked by uid 500); 22 Jan 2018 15:13:07 -0000 Mailing-List: contact commits-help@fineract.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@fineract.apache.org Delivered-To: mailing list commits@fineract.apache.org Received: (qmail 73587 invoked by uid 99); 22 Jan 2018 15:13:07 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jan 2018 15:13:07 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 594598200A; Mon, 22 Jan 2018 15:13:06 +0000 (UTC) Date: Mon, 22 Jan 2018 15:13:27 +0000 To: "commits@fineract.apache.org" Subject: [fineract-cn-test] 22/32: correct output in log file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: myrle@apache.org In-Reply-To: <151663398526.27360.16528159839894525528@gitbox.apache.org> References: <151663398526.27360.16528159839894525528@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: fineract-cn-test X-Git-Refname: refs/heads/develop X-Git-Reftype: branch X-Git-Rev: 926d03acd8197d832bf11d3e7801f54edd23e889 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20180122151306.594598200A@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. myrle pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/fineract-cn-test.git commit 926d03acd8197d832bf11d3e7801f54edd23e889 Author: myrle-krantz AuthorDate: Wed May 24 10:35:10 2017 +0200 correct output in log file --- .../io/mifos/core/test/listener/InMemoryEventRecorder.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/main/java/io/mifos/core/test/listener/InMemoryEventRecorder.java b/src/main/java/io/mifos/core/test/listener/InMemoryEventRecorder.java index 7455b70..662e4a9 100644 --- a/src/main/java/io/mifos/core/test/listener/InMemoryEventRecorder.java +++ b/src/main/java/io/mifos/core/test/listener/InMemoryEventRecorder.java @@ -46,7 +46,17 @@ class InMemoryEventRecorder implements EventRecorder { @Override public boolean wait(final String operation, final T payloadMatcher) throws InterruptedException { - return waitForMatch(operation, x -> x.equals(payloadMatcher)); + return waitForMatch(operation, new Function() { + @Override + public Object apply(Object x) { + return x.equals(payloadMatcher); + } + + @Override + public String toString() { + return payloadMatcher.toString(); + } + }); } @Override -- To stop receiving notification emails like this one, please contact myrle@apache.org.