This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: FYI: Patch: javax.print.attribute.standard - more missing classes.
- From: Michael Koch <konqueror at gmx dot de>
- To: Joerg Brunsmann <joerg_brunsmann at yahoo dot de>
- Cc: konqueror at gmx dot de, java-patches at gcc dot gnu dot org
- Date: Fri, 9 Jan 2004 17:09:26 +0100
- Subject: Re: FYI: Patch: javax.print.attribute.standard - more missing classes.
- References: <20040109134502.15945.qmail@web41601.mail.yahoo.com>
On Fri, Jan 09, 2004 at 02:45:02PM +0100, Joerg Brunsmann wrote:
> Hi Michael,
>
> what happens if you execute the attached JUnit-Testcase?
>
> Jörg
>
> import java.util.Locale;
> import javax.print.attribute.standard.OutputDeviceAssigned;
> import junit.framework.TestCase;
>
> public class PrintTest extends TestCase {
>
> public PrintTest(String name) {
> super(name);
> }
>
> public void testOutputDeviceAssigned() {
> OutputDeviceAssigned a = new OutputDeviceAssigned("devicename", (Locale) null);
> assertEquals("output-device-assigned", a.getName());
> }
>
> }
Thx for pointing at my typo. Unfortunately we can't include this
testcase in out testsuite framework because Mauve doesnt support JUnit.
Michael