+ fix test

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2917 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Costin Leau 2010-02-04 11:33:58 +00:00
parent f04ef6a5f1
commit ece44a3ff7
1 changed files with 2 additions and 2 deletions

View File

@ -71,8 +71,8 @@ public class ResourceScriptSourceTests extends TestCase {
resource.lastModified();
mock.setReturnValue(100, 2);
// does not support File-based reading; delegates to InputStream-style reading...
resource.getFile();
mock.setThrowable(new FileNotFoundException());
//resource.getFile();
//mock.setThrowable(new FileNotFoundException());
resource.getInputStream();
mock.setReturnValue(new ByteArrayInputStream(new byte[0]));
// And then mock the file changing; i.e. the File says it has been modified