- 09 8月, 2018 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 08 8月, 2018 1 次提交
-
-
由 Kazuhiro Sera 提交于
-
- 30 6月, 2018 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-16987
-
- 28 6月, 2018 1 次提交
-
-
由 Phillip Webb 提交于
Update tests to ensure that tabs are used instead of spaces. Also consistently apply a new line at the end of each file. Issue: SPR-16968
-
- 15 6月, 2018 1 次提交
-
-
由 Stephane Nicoll 提交于
Issue: SPR-12458
-
- 31 5月, 2017 1 次提交
-
-
由 Sebastien Deleuze 提交于
Issue: SPR-15540
-
- 30 12月, 2016 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-14692 Issue: SPR-15067
-
- 26 7月, 2016 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 19 7月, 2016 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-13515
-
- 05 7月, 2016 2 次提交
-
-
由 Stephane Nicoll 提交于
Issue: SPR-13188
-
由 Juergen Hoeller 提交于
This commit also removes the corresponding deprecated Servlet MVC variant and updates DispatcherServlet.properties to point to RequestMappingHandlerMapping/Adapter by default. Issue: SPR-14129
-
- 04 5月, 2016 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 25 3月, 2016 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 01 3月, 2016 1 次提交
-
-
由 Sam Brannen 提交于
This commit introduces the following common composed annotations for web scopes. - @RequestScope - @SessionScope - @ApplicationScope Issue: SPR-13993
-
- 24 12月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-13816
-
- 28 9月, 2015 1 次提交
-
-
由 Sam Brannen 提交于
This is in preparation for a migration from JUnit 3 to JUnit 4. Issue: SPR-13514, SPR-13515
-
- 06 5月, 2015 1 次提交
-
-
由 Sam Brannen 提交于
-
- 28 2月, 2015 1 次提交
-
-
由 Stephane Nicoll 提交于
Issue: SPR-12766
-
- 31 12月, 2014 1 次提交
-
-
由 Sam Brannen 提交于
This commit suppresses warnings in test classes that were polluting the Gradle build output.
-
- 04 9月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 03 9月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 23 1月, 2014 1 次提交
-
-
由 Sam Brannen 提交于
-
- 23 4月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
In particular, avoid accidental usage of ASM for core JDK types - which will fail in case of a new bytecode version in the JDK, even if the application itself has been compiled with an earlier bytecode target. Issue: SPR-10292
-
- 07 3月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Issue: SPR-10126
-
- 26 1月, 2013 2 次提交
-
-
由 Phillip Webb 提交于
-
由 Phillip Webb 提交于
-
- 04 1月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Prior to this commit many test utility classes and sample beans were duplicated across projects. This was previously necessary due to the fact that dependent test sources were not shared during a gradle build. Since the introduction of the 'test-source-set-dependencies' gradle plugin this is no longer the case. This commit attempts to remove as much duplicate code as possible, co-locating test utilities and beans in the most suitable project. For example, test beans are now located in the 'spring-beans' project. Some of the duplicated code had started to drift apart when modifications made in one project where not ported to others. All changes have now been consolidated and when necessary existing tests have been refactored to account for the differences. Conflicts: spring-beans/src/test/java/org/springframework/beans/factory/ConcurrentBeanFactoryTests.java spring-beans/src/test/java/org/springframework/beans/factory/support/BeanFactoryGenericsTests.java spring-beans/src/test/java/org/springframework/beans/support/PagedListHolderTests.java
-
- 02 1月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Move code from spring-build-junit into spring-core/src/test along with several other test utility classes. This commit removes the temporary spring-build-junit project introduced in commit b083bbde.
-
- 29 12月, 2012 5 次提交
-
-
由 Chris Beams 提交于
-
由 Phillip Webb 提交于
Make use of the new JUnit functionality introduced in the previous commit to 'Assume' that perfomance- and timing-sensitive tests should run only when TestGroup.PERFORMANCE is selected, i.e. when -PtestGroups="performance" has been provided at the Gradle command line. The net effect is that these tests are now ignored by default, which will result in far fewer false-negative CI build failures due to resource contention and other external factors that cause slowdowns. We will set up a dedicated performance CI build to run these tests on an isolated machine, etc. Issue: SPR-9984
-
由 Chris Beams 提交于
Issue: SPR-10129
-
由 Phillip Webb 提交于
Fix serialization warnings by applying @SuppressWarnings("serial") when appropriate. In certain cases and for unknown reasons, a correctly-placed @SuppressWarnings("serial") annotation will fix the warning at the javac level (i.e. the Gradle command-line), but will produce an "unnecessary @SuppressWarnings" warning within Eclipse. In these cases, a private static final serialVersionUID field has been added with the default value of 1L.
-
由 Phillip Webb 提交于
find . -type f -name "*.java" -or -name "*.aj" | \ xargs perl -p -i -e "s/[ \t]*$//g" {} \; Issue: SPR-10127
-
- 26 11月, 2012 1 次提交
-
-
由 Juergen Hoeller 提交于
Allow for more async running time in succeedsWhenSubclassProxyAndScheduledMethodNotPresentOnInterface After all, this test fails quite often as part of the CI build...
-
- 07 11月, 2012 1 次提交
-
-
由 Sam Brannen 提交于
This commit increases the sleep time in ScheduledAndTransactionalAnnotationIntegrationTests with the hope of improving the robustness of the test suite on the CI build server.
-
- 26 10月, 2012 1 次提交
-
-
由 Chris Beams 提交于
Moving @EnableMBeanExport and its MBeanExportConfiguration @Configuration class into context.annotation caused a side effect with ComponentScanningWithLTWTests, which component scans context.annotation in order to test LTW behavior. Picking up MBeanExportConfiguration without proper MBean configuration resulted in a NullPointerException during test execution. This commit simply filters out all @Configuration classes from the LTW test's component-scanning directive. Issue: SPR-8943
-
- 11 9月, 2012 2 次提交
-
-
由 Chris Beams 提交于
Class#getDeclaredMembers returns arbitrary results under JDK7. This results in non-deterministic execution of JUnit test methods, often revealing unintended dependencies between methods that rely on a specific order to succeed. JUnit 4.11 contains support for predictable test ordering [1], but at the time of this commit, JUnit 4.11 has not yet been released. Therefore we are testing against a snapshot version [2], which has been uploaded to repo.springsource.org [3] for easy access. Note that this artifact may be removed when JUnit 4.11 goes GA. - Care has been taken to ensure that spring-test's compile-time dependency on JUnit remains at 4.10. This means that the spring-test pom.xml will continue to have an optional <dependency> on JUnit 4.10, instead of the 4.11 snapshot. - For reasons not fully understood, the upgrade to the 4.11 snapshot of junit-dep caused NoSuchMethodErrors around certain Hamcrest types, particularly CoreMatchers and Matchers. import statements have been updated accordingly throughout affected test cases. - Runtime errors also occurred around uses of JUnit @Rule and ExpectedException. These have been reverted to use simpler mechanisms like @test(expected) in the meantime. - Some test methods with order-based dependencies on one another have been renamed in order to fall in line with JUnit 4.11's new method ordering (as opposed to actually fixing the inter-test dependencies). In other areas, the fix was as simple as adding a tearDown method and cleaning up state. - For no apparent reason, the timeout in AspectJAutoProxyCreatorTests' testAspectsAndAdvisorNotAppliedToPrototypeIsFastEnough method begins to be exceeded. Prior to this commit the timeout value was 3000 ms; on the CI server under Linux/JDK6 and JDK7, the test begins taking anywhere from 3500-5500 ms with this commit. It is presumed that this is an incidental artifact of the upgrade to JUnit 4.11. In any case, there are no changes to src/main in this commit, so this should not actually represent a performance risk for Spring Framework users. The timeout has been increased to 6000 ms to accommodate this situation. [1]: https://github.com/KentBeck/junit/pull/293 [2]: https://github.com/downloads/KentBeck/junit/junit-dep-4.11-SNAPSHOT-20120805-1225.jar [3]: https://repo.springsource.org/simple/ext-release-local/junit/junit-dep/4.11.20120805.1225 Issue: SPR-9783
-
由 Phillip Webb 提交于
- Increase max heap size in gradle wrapper. - Use MockProperties implementation to protect against security exceptions. - Replace windows CRLF with LF in various tests. - Increase Thread.sleep times to account for lack of precision on Windows. Issue: SPR-9717
-
- 29 7月, 2012 1 次提交
-
-
由 Sam Brannen 提交于
For legacy reasons, a MockEnvironment implementation already exists in multiple places within Spring's test suite; however, it is not available to the general public. This commit promotes MockEnvironment to a first-class citizen in the spring-test module, alongside the existing MockPropertySource. In addition, the following house cleaning has been performed. - deleted MockPropertySource from the spring-expression module - deleted MockEnvironment from the "spring" integration testing module - updated test copies of MockPropertySource and MockEnvironment - documented MockEnvironment and MockPropertySource in the testing chapter of the reference manual Issue: SPR-9492
-