From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4990 invoked by alias); 20 Sep 2004 16:03:09 -0000 Mailing-List: contact mauve-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-discuss-owner@sources.redhat.com Received: (qmail 4980 invoked from network); 20 Sep 2004 16:03:08 -0000 Received: from unknown (HELO johanna.resare.com) (193.14.119.138) by sourceware.org with SMTP; 20 Sep 2004 16:03:08 -0000 Received: from molly.resare.com (c-2f1f72d5.01-60-6c6b701.cust.bredbandsbolaget.se [213.114.31.47]) by johanna.resare.com (Postfix) with ESMTP id 47799D6D09 for ; Mon, 20 Sep 2004 18:02:19 +0200 (CEST) Received: from [192.168.110.42] (marit [192.168.110.42]) by molly.resare.com (Postfix) with ESMTP id DD4D2D33B7 for ; Mon, 20 Sep 2004 18:03:06 +0200 (CEST) Subject: tests impossible to pass with class library written using only spec? From: Noa Resare To: mauve-discuss@sources.redhat.com Content-Type: text/plain Date: Mon, 20 Sep 2004 16:03:00 -0000 Message-Id: <1095696186.25818.33.camel@c-351f72d5.01-60-6c6b701.cust.bredbandsbolaget.se> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SW-Source: 2004-q3/txt/msg00024.txt.bz2 I looking around in some java.io mauve failures i found some failing test code in gnu/testlet/java/io/OutputStreamWriter/jdk11.java reading // Note that for java.io the canonical name as returned by // getEncoding() must be the "historical" name. ISO8859_1. harness.check(osw2.getEncoding(), "ISO8859_1", "OutputStreamWriter(writer, encoding)"); osw2.close (); osw2 = new OutputStreamWriter(baos2, "latin1"); harness.check(osw2.getEncoding(), "ISO8859_1", "OutputStreamWriter(writer, encoding) // alias"); osw2.close (); Ah, simple I thought. It must be a list in the java class library specification that tells what the historical names are. Now i know there is no such list. That leads me to a more general question: is it ok for mauve to test functionality that there is no way to implement using only the class library spec (or looking at the code of the of the tests preformed and just returning what is asked for)? cheers/noa -- And the lions ate the christians and the christians burned the witches, and even I am out of explanations -- Ola Salo gpg fingerprint: F3C4 AC90 B885 FE15 344B 4D05 220B 7662 A190 6F09