Re: [precis] Precis Java Implementation

Tom Worster <fsb@thefsb.org> Mon, 21 December 2015 22:27 UTC

Return-Path: <fsb@thefsb.org>
X-Original-To: precis@ietfa.amsl.com
Delivered-To: precis@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CF4811ACDF0 for <precis@ietfa.amsl.com>; Mon, 21 Dec 2015 14:27:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iyMQd6eetd2d for <precis@ietfa.amsl.com>; Mon, 21 Dec 2015 14:27:18 -0800 (PST)
Received: from smtp90.iad3a.emailsrvr.com (smtp90.iad3a.emailsrvr.com [173.203.187.90]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 073B11ACDF2 for <precis@ietf.org>; Mon, 21 Dec 2015 14:27:18 -0800 (PST)
Received: from smtp12.relay.iad3a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp12.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 2E44838018D; Mon, 21 Dec 2015 17:27:17 -0500 (EST)
X-Auth-ID: fsb@thefsb.org
Received: by smtp12.relay.iad3a.emailsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id E6CAD3800DA; Mon, 21 Dec 2015 17:27:16 -0500 (EST)
X-Sender-Id: fsb@thefsb.org
Received: from [10.0.1.2] (c-73-4-147-142.hsd1.ma.comcast.net [73.4.147.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:465 (trex/5.5.4); Mon, 21 Dec 2015 17:27:17 -0500
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
From: Tom Worster <fsb@thefsb.org>
In-Reply-To: <698458F4-6E4A-4FA4-9FC7-AA66DA648E91@gmx.de>
Date: Mon, 21 Dec 2015 17:27:16 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <959A6A94-0A8C-4CF4-A5F2-C44F737C699E@thefsb.org>
References: <3012FFC8-1FAD-4C30-8D85-175F4180BC02@gmx.de> <AB5B9D1E-2DA6-4BC5-AAED-A8FDA4E4D66B@thefsb.org> <698458F4-6E4A-4FA4-9FC7-AA66DA648E91@gmx.de>
To: Christian Schudt <christian.schudt@gmx.de>
X-Mailer: Apple Mail (2.2104)
Archived-At: <http://mailarchive.ietf.org/arch/msg/precis/IDE2uyy_sQ_tC-um-m9KNKJ6e2g>
Cc: precis@ietf.org
Subject: Re: [precis] Precis Java Implementation
X-BeenThere: precis@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Preparation and Comparison of Internationalized Strings <precis.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/precis>, <mailto:precis-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/precis/>
List-Post: <mailto:precis@ietf.org>
List-Help: <mailto:precis-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/precis>, <mailto:precis-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Dec 2015 22:27:20 -0000

On Dec 21, 2015, at 5:17 PM, Christian Schudt <christian.schudt@gmx.de> wrote:
> 
> 
>> Am 21.12.2015 um 22:05 schrieb Tom Worster <fsb@thefsb.org>rg>:
>> 
>> To what extent do you think we could combine our efforts on unit tests? Standard (or at least shared) test vectors would really help, given how hard it is for programers to decode the RFC texts.
>> 
> 
> Well… if there’s some XML (or other language-independent format) defining input and expected output for different Precis profiles, I think this would be nice. But still not too sure, if it’s worth the effort. Often I rely on Java internal methods (e.g. for NFC normalization) and I guess they are already well-tested.

I had the idea noticing that your unit tests have hard-coded test ins, expects and asserts, just like mine do. Alternatively I can copy from your tests to get better coverage in mine.

Tom