From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16201 invoked by alias); 24 Jul 2006 15:42:02 -0000 Received: (qmail 16193 invoked by uid 22791); 24 Jul 2006 15:42:01 -0000 X-Spam-Check-By: sourceware.org Received: from outmail128163.authsmtp.net (HELO outmail128163.authsmtp.net) (62.13.128.163) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 24 Jul 2006 15:41:58 +0000 Received: from [192.168.1.32] (host217-37-65-246.in-addr.btopenworld.com [217.37.65.246]) (authenticated bits=0) by squirrel.dmpriest.net.uk (8.13.6/8.13.6/Kp) with ESMTP id k6OFfnsF059259; Mon, 24 Jul 2006 16:41:49 +0100 (BST) Message-ID: <44C4EA69.1080609@object-refinery.com> Date: Mon, 24 Jul 2006 15:42:00 -0000 From: David Gilbert User-Agent: Mozilla Thunderbird 1.0.8 (X11/20060502) MIME-Version: 1.0 To: David Gilbert CC: GNU Classpath , mauve-discuss@sourceware.org Subject: Re: Intel's AWT/Swing test suite References: <44982D85.9080200@object-refinery.com> In-Reply-To: <44982D85.9080200@object-refinery.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Server-Quench: ec23cfa7-1b2a-11db-b770-001185d377ca X-AuthRoute: OCdyYgsUB1ZZRRob BmULDStKRB85DhpG AxIIMU5ALVQIUwlL IwBRKV9FNUAYWVBB XzMTWE0aUlluIyYp dAhRbQNNY0xEWwRg VUgHQFNVCgZvHxoE GBwaVAZwchpGNiV2 GjA0ADMtXEFzd0N0 DE1VHGtIMDRiazNJ AUdFdlFWIR5Lf0sX dwJ4U3MQYWUGZ3Jl E1RsYDs4Kw9Semx0 RB0AKR0JCW80InkH WBEEEn0zEFYZDz4u LgArQmMx X-Authentic-SMTP: 61633132333134.squirrel.dmpriest.net.uk:1.56/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! X-IsSubscribed: yes Mailing-List: contact mauve-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-discuss-owner@sourceware.org X-SW-Source: 2006-q3/txt/msg00005.txt.bz2 Hi All, I've uploaded a new jar file containing modified test cases from the Intel test suite (the jar contains both .java and .class files, see below for more details). Compared to the jar I posted last month, this one contains around 900 additional tests. Most of the new tests are for the javax.swing.text.* package: http://www.object-refinery.com/classpath/htests-20060724.jar Instructions for running the tests are the same as in my previous message. Regards, Dave David Gilbert wrote: > Hi All, > > Last week Intel posted their AWT/Swing test suite at the Harmony > project site. I've been taking a look at it, to see what value there > is in it for GNU Classpath...and, in spite of a lot overlap with > Mauve, there are many new tests in there that are useful to us. > > Unfortunately they decided to write the tests in the java.awt.* and > javax.swing.* namespace, which makes it awkward to run the tests, both > against Sun's reference implementation (to verify the tests) and > against GNU Classpath (to find bugs in our implementation). However, > it has been relatively straightforward (though tedious) to refactor > the tests to move the tests into their own namespace (I used > test.java.awt.* and test.javax.swing.*). > > You can find a jar file containing both the (JUnit-based) tests and > corresponding source code (for around 2,600 tests so far) here: > > http://www.object-refinery.com/classpath/htests-20060620.jar > > To run the tests, use the following command line: > > jamvm -classpath .:lib/junit.jar junit.textui.TestRunner > test.java.awt.PackageTestSuite > > ...replacing the class name with the name of any test class, or the > package level test suites: > > test.java.awt.PackageTestSuite > test.java.awt.datatransfer.PackageTestSuite > test.java.awt.event.PackageTestSuite > test.java.awt.font.PackageTestSuite > test.java.awt.image.PackageTestSuite > test.javax.swing.PackageTestSuite > test.javax.swing.border.PackageTestSuite > test.javax.swing.colorchooser.PackageTestSuite > test.javax.swing.event.PackageTestSuite > test.javax.swing.plaf.PackageTestSuite > test.javax.swing.table.PackageTestSuite > test.javax.swing.tree.PackageTestSuite > test.javax.swing.undo.PackageTestSuite > > There is also a test suite that will run all tests: > > test.AWTSwingTestSuite (runs all tests) > > There are still many tests that I haven't extracted from > javax.swing.*, javax.swing.plaf.basic.*, javax.swing.plaf.metal.* and > javax.swing.text.*. I'll post a revised test jar file when I've > completed those. > > Regards, > > Dave