|
1 | 1 | /*
|
2 |
| - * Copyright 2002-2014 the original author or authors. |
| 2 | + * Copyright 2002-2015 the original author or authors. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
@@ -111,6 +111,8 @@ private void doTestWithApplicationContext(boolean lazy) throws Exception {
|
111 | 111 | doTestFiles(request);
|
112 | 112 |
|
113 | 113 | doTestBinding(resolver, originalRequest, request);
|
| 114 | + |
| 115 | + wac.close(); |
114 | 116 | }
|
115 | 117 |
|
116 | 118 | private void doTestParameters(MultipartHttpServletRequest request) {
|
@@ -381,9 +383,9 @@ public List<FileItem> parseRequest(HttpServletRequest request) {
|
381 | 383 | MockFileItem fileItem1x = new MockFileItem(
|
382 | 384 | "field1", "type1", empty ? "" : "field1.txt", empty ? "" : "text1");
|
383 | 385 | MockFileItem fileItem2 = new MockFileItem(
|
384 |
| - "field2", "type2", empty ? "" : "C:/field2.txt", empty ? "" : "text2"); |
| 386 | + "field2", "type2", empty ? "" : "C:\\mypath/field2.txt", empty ? "" : "text2"); |
385 | 387 | MockFileItem fileItem2x = new MockFileItem(
|
386 |
| - "field2x", "type2", empty ? "" : "C:\\field2x.txt", empty ? "" : "text2"); |
| 388 | + "field2x", "type2", empty ? "" : "C:/mypath\\field2x.txt", empty ? "" : "text2"); |
387 | 389 | MockFileItem fileItem3 = new MockFileItem("field3", null, null, "value3");
|
388 | 390 | MockFileItem fileItem4 = new MockFileItem("field4", "text/html; charset=iso-8859-1", null, "value4");
|
389 | 391 | MockFileItem fileItem5 = new MockFileItem("field4", null, null, "value5");
|
|
0 commit comments