- 09 2月, 2014 1 次提交
-
-
由 Sam Brannen 提交于
-
- 06 2月, 2014 1 次提交
-
-
由 Sam Brannen 提交于
This commit introduces static verify() and reset() methods in AnnotationDrivenStaticEntityMockingControl for programmatic control on the mock. Issue: SPR-11395
-
- 05 2月, 2014 2 次提交
-
-
由 Sam Brannen 提交于
This commit improves the test coverage for AbstractMethodMockingControl by introducing tests that verify expected behavior for: - reentrant method invocations via public methods - reentrant method invocations via private methods - test methods that do not set expectations or invoke playback() - test methods that throw exceptions For a more complete discussion of "after" vs. "after returning" advice within AbstractMethodMockingControl, see the Javadoc in the tests.
-
由 Sam Brannen 提交于
This commit fixes the off-by-one regression accidentally introduced in commit 55961544. Specifically, this fix ensures that the correct recorded call is indexed in the 'calls' list in the implementation of AbstractMethodMockingControl.Expectations.nextCall(). In addition, this commit improves the Javadoc for AbstractMethodMockingControl, @MockStaticEntityMethods, and AnnotationDrivenStaticEntityMockingControl and introduces a proper toString() implementation for the internal Expectations.Call class in AbstractMethodMockingControl. Furthermore, code from the obsolete Delegate test class has been inlined in AnnotationDrivenStaticEntityMockingControlTests. Issue: SPR-11385, SPR-10885
-
- 04 2月, 2014 1 次提交
-
-
由 Sam Brannen 提交于
Prior to this commit several test classes named "*Test" were not recognized as tests by the Gradle build. This is due to the configured inclusion of '**/*Tests.*' which follows Spring's naming convention for test classes. This commit addresses this issue by: - Renaming real test classes consistently to "*Tests". - Renaming internal test classes to "*TestCase". - Renaming @WebTest to @WebTestStereotype. - Disabling broken tests in AnnoDrivenStaticEntityMockingControlTest. - Modifying the Gradle build configuration so that classes ending in either "*Tests" or "*Test" are considered test classes. Issue: SPR-11384
-
- 27 11月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Update code to have a consistent number of new-line characters after import statements.
-
- 02 1月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Fix deprecation compiler warnings by refactoring code or applying @SuppressWarnings("deprecation") annotations. JUnit tests of internally deprecated classes are now themselves marked as @Deprecated. Numerous EasyMock deprecation warnings will remain until the migration to mockito can be completed.
-
- 29 12月, 2012 2 次提交
-
-
由 Chris Beams 提交于
-
由 Phillip Webb 提交于
find . -type f -name "*.java" -or -name "*.aj" | \ xargs perl -p -i -e "s/[ \t]*$//g" {} \; Issue: SPR-10127
-
- 31 1月, 2012 1 次提交
-
-
由 Chris Beams 提交于
This renaming more intuitively expresses the relationship between subprojects and the JAR artifacts they produce. Tracking history across these renames is possible, but it requires use of the --follow flag to `git log`, for example $ git log spring-aop/src/main/java/org/springframework/aop/Advisor.java will show history up until the renaming event, where $ git log --follow spring-aop/src/main/java/org/springframework/aop/Advisor.java will show history for all changes to the file, before and after the renaming. See http://chrisbeams.com/git-diff-across-renamed-directories
-
- 21 12月, 2011 2 次提交
-
-
由 Chris Beams 提交于
Prior to this change, roughly 5% (~300 out of 6000+) of files under the source tree had CRLF line endings as opposed to the majority which have LF endings. This change normalizes these files to LF for consistency going forward. Command used: $ git ls-files | xargs file | grep CRLF | cut -d":" -f1 | xargs dos2unix Issue: SPR-5608
-
由 Chris Beams 提交于
Prior to this change, roughly 5% (~300 out of 6000+) of files under the source tree had CRLF line endings as opposed to the majority which have LF endings. This change normalizes these files to LF for consistency going forward. Command used: $ git ls-files | xargs file | grep CRLF | cut -d":" -f1 | xargs dos2unix Issue: SPR-5608
-
- 20 10月, 2010 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 03 11月, 2009 1 次提交
-
-
由 Ramnivas Laddad 提交于
Modified staticmethod mocking to remove compile-time dependency on JUnit (see ROO-314 and related issues)
-
- 28 10月, 2009 3 次提交
-
-
由 Ramnivas Laddad 提交于
-
由 Ramnivas Laddad 提交于
-
由 Ramnivas Laddad 提交于
-