From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13261 invoked by alias); 22 May 2003 20:18:25 -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 13212 invoked from network); 22 May 2003 20:18:22 -0000 Received: from unknown (HELO bonniot.dyndns.org) (81.182.68.184) by sources.redhat.com with SMTP; 22 May 2003 20:18:22 -0000 Received: from bonniot.dyndns.org ([127.0.0.1] helo=inria.fr ident=daniel) by bonniot.dyndns.org with esmtp (Exim 3.36 #1 (Debian)) id 19IwW4-0000PB-00 for ; Thu, 22 May 2003 22:18:20 +0200 Message-ID: <3ECD308A.5040201@inria.fr> Date: Thu, 22 May 2003 20:18:00 -0000 From: Daniel Bonniot User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030430 Debian/1.3-5 X-Accept-Language: en MIME-Version: 1.0 To: mauve-discuss@sources.redhat.com Subject: [patch] java/awt/color/ColorSpace Content-Type: multipart/mixed; boundary="------------080903020103000808060901" X-SW-Source: 2003-q2/txt/msg00024.txt.bz2 This is a multi-part message in MIME format. --------------080903020103000808060901 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 684 Hi, I send a new testcae some time ago to mauve-patches, but nobody picked it up. It was suggested that muve-patches is not very active, so may it is worth to resend it here. This case concerns java.awt, but it does not require a display to run. It fails on all free vms I tried (it did one month ago, at least), but passes on Blackdown. This is my first patch, so please check it conforms to Mauve's standards. I did my best to ensure that, and it seems to work. 2003-04-10 Daniel Bonniot * gnu/testlet/java/awt/color/ColorSpace/isCS_sRGB.java: New file. I have at least two other tests to contribute. Should I send them to this list? Daniel --------------080903020103000808060901 Content-Type: text/x-java; name="isCS_sRGB.java" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="isCS_sRGB.java" Content-length: 1193 // Tags: JDK1.2 // Copyright (C) 2003 Daniel Bonniot // This file is part of Mauve. // Mauve is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2, or (at your option) // any later version. // Mauve is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License // along with Mauve; see the file COPYING. If not, write to // the Free Software Foundation, 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. */ package gnu.testlet.java.awt.color.ColorSpace; import gnu.testlet.Testlet; import gnu.testlet.TestHarness; import java.awt.color.ColorSpace; /** * Checks that isCS_sRGB returns true for ColorSpace.CS_sRGB. */ public class isCS_sRGB implements Testlet { public void test (TestHarness harness) { harness.check(ColorSpace.getInstance(ColorSpace.CS_sRGB).isCS_sRGB()); } } --------------080903020103000808060901--