Sam Brannen
71396ac07b
Polishing JavaDoc
2011-10-09 23:29:59 +00:00
Sam Brannen
5db7cca9a7
[SPR-8240] polishing the "Context management and caching" section of the reference manual and related Javadoc.
2011-09-29 21:36:06 +00:00
Sam Brannen
f6483cad3c
[SPR-8222] Suppressing deprecation warnings for org.junit.internal.runners.model.MultipleFailureException, which has been deprecated in JUnit 4.9.
2011-09-26 11:13:59 +00:00
Sam Brannen
1a34f6459d
[SPR-8644][SPR-8633] introduced failing (ignored) test regarding support for invoking methods that accept var-args.
2011-08-30 14:20:12 +00:00
Sam Brannen
1de71c6e37
[SPR-8222] Upgraded to JUnit 4.9.
2011-08-30 13:16:12 +00:00
Sam Brannen
4d99ddba8a
[SPR-8633] Introduced generic invokeMethod() in ReflectionTestUtils.
2011-08-24 17:26:59 +00:00
Sam Brannen
72da569aa3
[SPR-8386][SPR-8387] Revised Javadoc in the TestContext framework regarding changes in 3.1.
2011-08-20 23:14:20 +00:00
Sam Brannen
381ab6fcc2
[SPR-8627] Deprecated @ExpectedException.
2011-08-20 18:32:37 +00:00
Sam Brannen
960082dbb0
[SPR-8541] Oops! Fixed a minor logic error in DelegatingSmartContextLoader.
2011-08-20 17:52:04 +00:00
Sam Brannen
8ccedd452e
[SPR-8541] Documented DelegatingSmartContextLoader.
2011-08-20 17:45:14 +00:00
Sam Brannen
466c3b4b2a
[SPR-8541] Documented DelegatingSmartContextLoader.
2011-08-20 17:41:29 +00:00
Sam Brannen
87dad65ff0
[SPR-8622] Upgraded to JUnit 4.8.2
2011-08-18 16:06:31 +00:00
Sam Brannen
e16e3a9f60
Fixed source attachments in Eclipse classpath; sorted classpath entries.
2011-08-18 14:17:44 +00:00
Sam Brannen
9a40021f18
[SPR-8386][SPR-8387] Refined logging regarding detection of default resource locations and default configuration classes.
2011-08-13 15:38:45 +00:00
Sam Brannen
a298c2dde8
[SPR-8386][SPR-8387] Redesign of DelegatingSmartContextLoader and the SmartContextLoader SPI:
...
- Removed generatesDefaults() and supports() from the SmartContextLoader SPI and modified the DelegatingSmartContextLoader algorithm accordingly.
- DelegatingSmartContextLoader no longer operates on a list of candidate loaders but rather on explicit instances of GenericXmlContextLoader and AnnotationConfigContextLoader.
- Updated Javadoc regarding DelegatingSmartContextLoader as the new default loader.
- Updated and polished Javadoc regarding changes in 3.1.
- Now enforcing @ContextConfiguration's restriction on declaring locations or classes but not both.
2011-08-13 14:31:00 +00:00
Sam Brannen
367dcf13ce
Suppressing deprecation warnings in MockPageContext.
2011-08-12 15:29:56 +00:00
Juergen Hoeller
8745024969
added getContentAsByteArray() and getContentAsString() methods (SPR-8575); actually implemented forward, include and handlePageException methods
2011-08-02 23:52:54 +00:00
Sam Brannen
672fed621b
Cleaning up unused imports.
2011-07-23 15:23:41 +00:00
Sam Brannen
d0cd678089
[SPR-8387] Added TODO.
2011-07-20 22:22:03 +00:00
Sam Brannen
072271d9e9
[SPR-8549] Documented the equals() method implementation in MergedContextConfiguration.
2011-07-20 22:18:55 +00:00
Sam Brannen
461119973b
[SPR-8387] deleted resolved TODO.
2011-07-20 22:14:23 +00:00
Sam Brannen
8224af1938
[SPR-8549] ContextCache is now keyed by MergedContextConfiguration instead of String; MergedContextConfiguration now implements custom hashCode() and equals() methods and no longer generates a context cache key.
2011-07-20 22:06:05 +00:00
Juergen Hoeller
571535352b
revised Servlet 3.0 based StandardServletMultipartResolver for correct param/file distinction; added multipart content type and headers access to MultipartRequest (dropping the previous header access solution on MultipartFile); MultipartFilter uses a Servlet 3.0 based StandardServletMultipartResolver by default
2011-07-20 20:46:53 +00:00
Sam Brannen
21f3f59cb7
[SPR-8387] Log messages now refer to default detection instead of default generation.
2011-07-20 20:38:02 +00:00
Juergen Hoeller
94ac883eb1
polishing
2011-07-18 21:37:24 +00:00
Sam Brannen
f874ed9790
[SPR-8387] Fleshed out the implementation of DelegatingSmartContextLoader and corresponding tests.
2011-07-17 17:16:12 +00:00
Sam Brannen
e7298a88d6
[SPR-8387] Fixed logic errors in DelegatingSmartContextLoader.processContextConfiguration() and ContextConfigurationAttributes.hasResources().
2011-07-15 20:01:18 +00:00
Sam Brannen
e34fa6abb1
[SPR-8387] Fixed logic error in DelegatingSmartContextLoader.processContextConfiguration().
2011-07-15 19:19:29 +00:00
Sam Brannen
b8624b470c
[SPR-8387] Introduced hasResources() in ContextConfigurationAttributes; plus minor polishing.
2011-07-15 19:03:16 +00:00
Sam Brannen
d2e6f82aa3
[SPR-8387] Fleshing out the implementation of processContextConfiguration() in DelegatingSmartContextLoader.
2011-07-15 17:15:45 +00:00
Sam Brannen
12eb9d7ed6
[SPR-8387] Fleshing out unit tests for DelegatingSmartContextLoader.
2011-07-15 16:12:34 +00:00
Juergen Hoeller
cc725d7e5c
extended Servlet API mocks for Servlet 3.0 forward compatibility as far as possible; made MockHttpServletResponse compatible with Servlet 3.0 getHeader(s) method returning Strings (SPR-8529); added getHeaderValue(s) method to MockHttpServletResponse for raw value access
2011-07-15 14:51:01 +00:00
Juergen Hoeller
18ab057e90
extended Servlet API mocks for Servlet 3.0 forward compatibility as far as possible; made MockHttpServletResponse compatible with Servlet 3.0 getHeader(s) method returning Strings (SPR-8529); added getHeaderValue(s) method to MockHttpServletResponse for raw value access
2011-07-15 14:16:31 +00:00
Juergen Hoeller
3bbefb3e65
fixed getHeaderNames signature
2011-06-28 14:08:47 +00:00
Juergen Hoeller
0371f569ec
added headers support to MultipartFile abstraction
2011-06-27 23:02:13 +00:00
Sam Brannen
8e497d9627
[SPR-8387] polishing
2011-06-26 17:13:09 +00:00
Sam Brannen
4aed64ea4b
[SPR-8387] skeleton for DelegatingSmartContextLoaderTests.
2011-06-26 17:01:32 +00:00
Sam Brannen
4cbe2ae00a
[SPR-8387] Introduced supports(MergedContextConfiguration) method in the SmartContextLoader SPI; updated existing loaders accordingly; and fleshed out implementation of and tests for the new DelegatingSmartContextLoader.
2011-06-26 16:46:18 +00:00
Sam Brannen
19fc2004f5
[SPR-8387] refined logging.
2011-06-26 15:47:30 +00:00
Sam Brannen
4ef895a018
[SPR-8387] Initial draft of the new DelegatingSmartContextLoader.
2011-06-26 15:39:58 +00:00
Sam Brannen
b49d11f84a
[SPR-8387] refined logging for failed generation of defaults; polishing JavaDoc.
2011-06-26 15:36:07 +00:00
Sam Brannen
6fa451733e
[SPR-8386] polishing
2011-06-22 13:21:11 +00:00
Sam Brannen
2b5d2e5a0a
[SPR-8386] ContextLoader resolution once again ignores the inheritLocations flag on @ContextConfiguration.
2011-06-20 21:49:44 +00:00
Sam Brannen
102674be20
[SPR-8386] Completed JavaDoc for ContextLoaderUtils regarding the SmartContextLoader SPI.
2011-06-20 19:44:30 +00:00
Sam Brannen
82d09d432e
[SPR-8386] Completed JavaDoc for AnnotationConfigContextLoader regarding the SmartContextLoader SPI.
2011-06-20 17:30:52 +00:00
Sam Brannen
f7a849f9f4
[SPR-8386] AbstractContextLoader now adheres to the SmartContextLoader contract by verifying the existence of generated default resource locations.
2011-06-20 16:20:14 +00:00
Sam Brannen
b00a6ccea5
[SPR-8386] polishing JavaDoc.
2011-06-20 14:33:08 +00:00
Sam Brannen
4b026756ae
[SPR-7960] Documented inheritProfiles attribute of @ActiveProfiles.
2011-06-20 14:32:39 +00:00
Sam Brannen
95ae6344c5
[SPR-8386] refining JavaDoc for MergedContextConfiguration and related classes.
2011-06-20 01:17:25 +00:00
Sam Brannen
4d27cde6b7
[SPR-8386] fleshing out JavaDoc for SmartContextLoader and related classes.
2011-06-19 22:41:18 +00:00