1 33 34 package edu.rice.cs.drjava.model; 35 36 import edu.rice.cs.drjava.DrJavaTestCase; 37 38 import java.io.File ; 39 import java.io.IOException ; 40 41 42 47 public class TestDocGetterTest extends DrJavaTestCase { 48 49 53 public void testGetDocumentForFile() throws IOException { 54 TestDocGetter testDocGetter = new TestDocGetter(new File [0], new String [0]); 55 try { testDocGetter.getDocumentForFile(new File ("")); } 56 catch (IllegalStateException e) { 57 assertTrue(true); 58 return; 59 } 60 fail("should throw IllegalStateException"); 61 } 62 } 63 | Popular Tags |