This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FYI: Patch: javax.print.attribute.standard - more missing classes.


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()); 
  }

}


__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]