Spring Framwork Testing v5.3.36 SNAPSHOT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.1. Mock Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.1.3. Servlet API. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . objects instantiated by using the new operator, without Spring or any other container. You can use mock objects (in conjunction with other valuable testing techniques) to test your code in isolation. If0 码力 | 193 页 | 2.53 MB | 1 年前3
Spring Framework 2.5.6 Changelogcloses the InputStream that it uses for "mime.types" resource reading Package org.springframework.mock * SimpleNamingContextBuilder supports "deactivate()"+"activate()", with the standard JNDI provider org.springframework.jms * SingleConnectionFactory and TransactionAwareConnectionFactoryProxy use JMS API ClassLoader for proxy generation * JmsTemplate properly allows for overriding "getDefaultDestination()" exposes the bean ClassLoader as thread context ClassLoader (if necessary) Package org.springframework.mock * MockHttpServletResponse's "encodeURL" allows for central overriding in subclasses (affecting "encodeRedirectURL"0 码力 | 106 页 | 302.13 KB | 1 年前3
Spring Framework 2.5.6 Changelogcloses the InputStream that it uses for "mime.types" resource reading Package org.springframework.mock * SimpleNamingContextBuilder supports "deactivate()"+"activate()", with the standard JNDI provider org.springframework.jms * SingleConnectionFactory and TransactionAwareConnectionFactoryProxy use JMS API ClassLoader for proxy generation * JmsTemplate properly allows for overriding "getDefaultDestination()" exposes the bean ClassLoader as thread context ClassLoader (if necessary) Package org.springframework.mock * MockHttpServletResponse's "encodeURL" allows for central overriding in subclasses (affecting "encodeRedirectURL"0 码力 | 106 页 | 305.07 KB | 1 年前3
Spring Framework 2.5.5 Changelogorg.springframework.jms * SingleConnectionFactory and TransactionAwareConnectionFactoryProxy use JMS API ClassLoader for proxy generation * JmsTemplate properly allows for overriding "getDefaultDestination()" exposes the bean ClassLoader as thread context ClassLoader (if necessary) Package org.springframework.mock * MockHttpServletResponse's "encodeURL" allows for central overriding in subclasses (affecting "encodeRedirectURL" ConfigurableMimeFileTypeMap's and thus MimeMessageHelper's default MIME mappings Package org.springframework.mock * added "getServletContext()" method to MockHttpServletRequest (not available in the HttpServletRequest0 码力 | 101 页 | 291.00 KB | 1 年前3
Spring Framework 2.5.3 Changelogexposes the bean ClassLoader as thread context ClassLoader (if necessary) Package org.springframework.mock * MockHttpServletResponse's "encodeURL" allows for central overriding in subclasses (affecting "encodeRedirectURL" ConfigurableMimeFileTypeMap's and thus MimeMessageHelper's default MIME mappings Package org.springframework.mock * added "getServletContext()" method to MockHttpServletRequest (not available in the HttpServletRequest Package org.springframework.mail * fixed potential NPE in MailSendException Package org.springframework.mock * MockRequestDispatcher stores forwarded/included URL in MockHttpServletResponse even in case of0 码力 | 95 页 | 274.89 KB | 1 年前3
Spring Framework 2.5.4 Changelogexposes the bean ClassLoader as thread context ClassLoader (if necessary) Package org.springframework.mock * MockHttpServletResponse's "encodeURL" allows for central overriding in subclasses (affecting "encodeRedirectURL" ConfigurableMimeFileTypeMap's and thus MimeMessageHelper's default MIME mappings Package org.springframework.mock * added "getServletContext()" method to MockHttpServletRequest (not available in the HttpServletRequest Package org.springframework.mail * fixed potential NPE in MailSendException Package org.springframework.mock * MockRequestDispatcher stores forwarded/included URL in MockHttpServletResponse even in case of0 码力 | 97 页 | 278.81 KB | 1 年前3
Spring Framework 2.5.2 ChangelogConfigurableMimeFileTypeMap's and thus MimeMessageHelper's default MIME mappings Package org.springframework.mock * added "getServletContext()" method to MockHttpServletRequest (not available in the HttpServletRequest Package org.springframework.mail * fixed potential NPE in MailSendException Package org.springframework.mock * MockRequestDispatcher stores forwarded/included URL in MockHttpServletResponse even in case of element as well * JmsNamespaceHandler registers class names only, allowing tools to run without the JMS API on the classpath Package org.springframework.jmx * MBeanExporter applies NotificationPublisherAware0 码力 | 91 页 | 260.30 KB | 1 年前3
Spring Framework 2.5.1 ChangelogPackage org.springframework.mail * fixed potential NPE in MailSendException Package org.springframework.mock * MockRequestDispatcher stores forwarded/included URL in MockHttpServletResponse even in case of element as well * JmsNamespaceHandler registers class names only, allowing tools to run without the JMS API on the classpath Package org.springframework.jmx * MBeanExporter applies NotificationPublisherAware JavaMailSenderImpl, allowing for convenient configuration of specific keys Package org.springframework.mock * MockServletContext supports "getContext" (allowing to register contexts through the new "registerContext"0 码力 | 84 页 | 239.53 KB | 1 年前3
Spring Framework 2.5.0 Changelogelement as well * JmsNamespaceHandler registers class names only, allowing tools to run without the JMS API on the classpath Package org.springframework.jmx * MBeanExporter applies NotificationPublisherAware JavaMailSenderImpl, allowing for convenient configuration of specific keys Package org.springframework.mock * MockServletContext supports "getContext" (allowing to register contexts through the new "registerContext" detach/attach/newNamedQuery hooks from JdoDialect, expecting providers to follow the final JDO 2.0 API * deprecated JdoTemplate's "attachCopy" methods in favor of revised "makePersistent" with a JDO2-style0 码力 | 78 页 | 221.83 KB | 1 年前3
Spring Framework 1.2.8 ChangeloggetInstance(Properties)" call, for compatibility with (old) JavaMail 1.1 Package org.springframework.mock * added overloaded constructors to MockFilterConfig, using a MockServletContext instead of a ServletContext in ManagedResource attribute (not just in ManagedResource annotation) Package org.springframework.mock * made "servletContextName" configurable in MockServletContext * MockServletContext's "getResourcePaths" for both Hibernate2 and Hibernate3 * updated Spring's JDO support to be compatible with JPOX JDO 2.0 API snapshot-9 (corresponding to JDO 2.0 final draft) * JdoTransactionManager does explicit "isActive()"0 码力 | 89 页 | 254.65 KB | 1 年前3
共 393 条
- 1
- 2
- 3
- 4
- 5
- 6
- 40













