- 29 12月, 2012 27 次提交
-
-
由 Chris Beams 提交于
-
由 Chris Beams 提交于
* SPR-9984: Ignore performance-sensitive tests by default Introduce 'spring-build-junit' subproject
-
由 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
-
由 Phillip Webb 提交于
Introduce new 'spring-build-junit' subproject containing shared JUnit utilities and classes to be used by other test cases. This project is for internal use within the framework, and therefore creates no artifacts to be published to any repository. The initial code includes support for JUnit Assumptions that can be used to determine when a test should run. Tests can be skipped based on the running JDK version, logging level or based on specific 'groups' that have activated via a Gradle property. It is intended that sources within the spring-build-junit project be folded into spring-core/src/test/java, pending some Gradle work that will facilitate sharing test output across subprojects; therefore this commit should be seen as a temporary solution. Issue: SPR-9984
-
由 Chris Beams 提交于
* SPR-10126: Replace EasyMock with Mockito in test sources
-
由 Phillip Webb 提交于
Issue: SPR-10126
-
由 Chris Beams 提交于
* SPR-10129: Add @Override annotations to test sources Update test source and target JDK compatibility
-
由 Chris Beams 提交于
Issue: SPR-10129
-
由 Chris Beams 提交于
"test" source and target compatibility has been upgraded to 1.7 except where noted, allowing us to use 1.7 language features such as diamond-style (<>) generics declarations, automatic resource management and multi-catch. More importantly, we will be able to upgrade to 1.8 once it is available in order to make use of lambda expressions, etc in our test cases. IDE configurations must be relaxed to allow 1.7 across the board, as neither Eclipse nor IDEA are clever enough to allow for different language levels across production and test resources. See [1] for a feature request on that front. spring-oxm is a special case here, and has been pinned at 1.6 compatibility even for its test sources in order to avoid a class verification error that JibX throws when encountering 1.7-level bytecode [2]. Likewise with spring-orm, toplink encounters a similar class verification error, so has been pinned to 1.6 for the time being. When we remove the (already deprecated since 3.2) Toplink support we can restore compatibility to 1.7. [1]: http://youtrack.jetbrains.com/issue/IDEA-97814 [2]: http://jira.codehaus.org/browse/JIBX-465 Issue: SPR-10129
-
由 Chris Beams 提交于
* SPR-9431: Update -Xlint compiler warning output Fix various compiler warnings in spring-context Fix "unnecessary @SuppressWarnings" warnings Fix [rawtypes] compiler warnings Fix [dep-ann] warnings with @Deprecated Fix [cast] compiler warnings Fix [serial] compiler warnings Fix [varargs] compiler warnings Fix warnings due to unused import statements
-
由 Phillip Webb 提交于
Enable output for the compiler warnings that have been eliminated so far. 'rawtypes', 'deprecation', and 'unchecked' remain suppressed until these warnings can be fully eliminated as well.
-
由 Chris Beams 提交于
All warning types other than [deprecation] and [unchecked] are now fixed in spring-context/src/test
-
由 Chris Beams 提交于
-
由 Chris Beams 提交于
- Suppress rawtypes warnings for src/main - Enable rawtypes warnings for src/test This commit attempts to to resolve all rawtypes problems across tests as aggressively as possible, i.e. without regard for binary compatibility, whereas main sources must be treated much more cautiously with an eye toward compatibility.
-
由 Chris Beams 提交于
-
由 Phillip Webb 提交于
-
由 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 提交于
Remove unnecessary 'null' argument from calls to vararg supported methods and fix cast in ValidationUtils.invokeValidator().
-
由 Phillip Webb 提交于
-
由 Chris Beams 提交于
* SPR-10128: Replace <code> with {@code} throughout Javadoc Fix various Javadoc warnings
-
由 Chris Beams 提交于
Issue: SPR-10128
-
由 Chris Beams 提交于
Issue: SPR-10128
-
由 Chris Beams 提交于
* SPR-10127: Replace space indentation with tabs Remove trailing whitespace in source files
-
由 Phillip Webb 提交于
Issue: SPR-10127
-
由 Phillip Webb 提交于
find . -type f -name "*.java" -or -name "*.aj" | \ xargs perl -p -i -e "s/[ \t]*$//g" {} \; Issue: SPR-10127
-
由 Chris Beams 提交于
Remove the 'final' modifier from SingletonBeanFactoryLocatorTests to work around the "cannot extend final class" error issued when running all tests. The error was due to confusion with IDEA between the two variants of SingletonBeanFactoryLocatorTests across spring-context and spring-beans. Rename one of the GroovyMessenger classes to GroovyMessenger2. Previously there were multiple Groovy classes named 'GroovyMessenger', causing a compilation error in certain IDE arrangements. Update import-into-idea.md documentation Add various IDEA artifacts to .gitignore - ignore derby.log wherever it is written - ignore IDEA's test-output directory - ignore IDEA's Atlassian connector config file
-
由 Chris Beams 提交于
* SPR-10124: Support snapshot versions qualified by branch name
-
- 28 12月, 2012 2 次提交
-
-
由 Chris Beams 提交于
-
由 Chris Beams 提交于
-
- 26 12月, 2012 1 次提交
-
-
由 Chris Beams 提交于
Issue: SPR-10121
-
- 23 12月, 2012 1 次提交
-
-
由 Phillip Webb 提交于
Previously the algorithm used by GenericConversionService to find converters incorrectly searched for interfaces working up from the base class. This caused particular problems with custom List converters as as the Collection interface would be considered before the List interface giving CollectionToObjectConverter precedence over the custom converter. The updated algorithm restores the class search order to behave in the same way as Spring 3.1. Issue: SPR-10116 Backport-Issue: SPR-10117 Backport-Commit: aa914497
-
- 21 12月, 2012 3 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-10107
-
由 Juergen Hoeller 提交于
Issue: SPR-10108
-
- 20 12月, 2012 2 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-10109
-
由 Juergen Hoeller 提交于
Issue: SPR-10099
-
- 19 12月, 2012 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-10102
-
- 18 12月, 2012 1 次提交
-
-
由 Sam Brannen 提交于
- @WebApplicationContext --> @WebAppConfiguration Backport-Commit: 62e9d6b1
-
- 14 12月, 2012 2 次提交
-
-
由 Craig Walls 提交于
-
由 Chris Beams 提交于
-