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.


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


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