提交 ac93b81a 编写于 作者: C Costin Leau

SPR-6794

+ fix test
上级 2047b9b6
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册