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 C8CBC200C77 for ; Mon, 1 May 2017 11:42:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C75AC160BB9; Mon, 1 May 2017 09:42: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 1B6DF160BAE for ; Mon, 1 May 2017 11:42:08 +0200 (CEST) Received: (qmail 17581 invoked by uid 500); 1 May 2017 09:42:08 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 17570 invoked by uid 99); 1 May 2017 09:42:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2017 09:42:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id AC82E1B1353 for ; Mon, 1 May 2017 09:42:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id RN06FP6gmhjk for ; Mon, 1 May 2017 09:42:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 555955FB29 for ; Mon, 1 May 2017 09:42:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6A262E0630 for ; Mon, 1 May 2017 09:42:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7B1C721DE2 for ; Mon, 1 May 2017 09:42:04 +0000 (UTC) Date: Mon, 1 May 2017 09:42:04 +0000 (UTC) From: "Bruno P. Kinoshita (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (LANG-1325) Increase test coverage of ToStringBuilder class to 100% MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 01 May 2017 09:42:10 -0000 [ https://issues.apache.org/jira/browse/LANG-1325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated LANG-1325: ------------------------------------- Assignee: Bruno P. Kinoshita > Increase test coverage of ToStringBuilder class to 100% > ------------------------------------------------------- > > Key: LANG-1325 > URL: https://issues.apache.org/jira/browse/LANG-1325 > Project: Commons Lang > Issue Type: Test > Reporter: Arshad Basha > Assignee: Bruno P. Kinoshita > Priority: Minor > > Adding test cases to test the following methods of ToStringBuilder, with this, the code coverage stands at 100%. > 1) append(final String fieldName, final boolean[] array) > 2) append(final String fieldName, final boolean[] array, final boolean fullDetail) > 3) append(final String fieldName, final byte[] array) > 4) append(final String fieldName, final byte[] array, final boolean fullDetail) > 5) append(final String fieldName, final char[] array) > 6) append(final String fieldName, final char[] array, final boolean fullDetail) > 7) append(final String fieldName, final double[] array) > 8) append(final String fieldName, final double[] array, final boolean fullDetail) > 9) append(final String fieldName, final float[] array) > 10) append(final String fieldName, final float[] array, final boolean fullDetail) > 11) append(final String fieldName, final int[] array) > 12) append(final String fieldName, final int[] array, final boolean fullDetail) > 13) append(final String fieldName, final long[] array) > 14) append(final String fieldName, final long[] array, final boolean fullDetail) > 15) append(final String fieldName, final Object[] array) > 16) append(final String fieldName, final Object[] array, final boolean fullDetail) > 17) append(final String fieldName, final short[] array) > 18) append(final String fieldName, final short[] array, final boolean fullDetail) > 19) appendAsObjectToString(final Object srcObject) -- This message was sent by Atlassian JIRA (v6.3.15#6346)