Quick Search:

jump to detailed chart Line History

line history graph

View Mode

Logical Physical

Show Arbitrary Diff

From to

Supports revisions and tags.

Watches and RSS

History

MAIN 1.28 1.1

latest revision download Branch MAIN

1.28 annotated / raw | Diffs: previous, other | Lines: 283 ( +27, -63 )

Created: 2008-10-30 12:00:24 -0500 (2 months 9 days ago) | Author: jhoeller | Changeset: MAIN:jhoeller:20081030170024

TestContext accesses internal fields directly

Tags: release-2-5-6

1.27 annotated / raw | Diffs: previous, other | Lines: 319 ( +94, -154 )

Created: 2008-03-31 02:15:40 -0500 (9 months ago) | Author: jhoeller | Changeset: MAIN:jhoeller:20080331071540

revised ContextCache

Tags: release-2-5-3 release-2-5-4 release-2-5-5

1.26 annotated / raw | Diffs: previous, other | Lines: 379 ( +8, -11 )

Created: 2007-11-07 18:07:12 -0600 (14 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20071108000712

SPR-4056: Revised TestContext's API by changing protected methods to 'package
private' or private in order to avoid any confusion regarding possible extension.

Tags: release-2-5-rc2 release-2-5 release-2-5-1 release-2-5-2

1.25 annotated / raw | Diffs: previous, other | Lines: 382 ( +46, -50 )

Created: 2007-10-14 17:04:38 -0500 (14 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20071014220438

SPR-3960: The Spring TestContext Framework now allows 'before' and 'after' methods of
TestExecutionListeners as well as @BeforeTransaction @AfterTransaction methods to fail a test.

Tags: release-2-5-rc1

1.24 annotated / raw | Diffs: previous, other | Lines: 386 ( +26, -23 )

Created: 2007-10-11 10:53:46 -0500 (14 months ago) | Author: jhoeller | Changeset: MAIN:jhoeller:20071011155346

revised annotation defaulting in order to avoid package dependency cycles

1.23 annotated / raw | Diffs: previous, other | Lines: 383 ( +9, -3 )

Created: 2007-09-30 10:50:22 -0500 (15 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070930155022

SPR-3945: TestContext.buildApplicationContext() now omits more descriptive error messages, for example:
"Can not build an ApplicationContext with a NULL 'contextLoader'. Consider annotating your test class
with @ContextConfiguration."

1.22 annotated / raw | Diffs: previous, other | Lines: 377 ( +5, -1 )

Created: 2007-09-24 11:57:41 -0500 (15 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070924165741

SPR-3880: refactoring the Spring TestContext framework support for dependency
injection of test instances and handling of @DirtiesContext:

- TestContext now extends AttributeAccessorSupport in order to support generic
 passing and retrieving of attributes between clients of a TestContext.
- DependencyInjectionTestExecutionListener now declares a REINJECT_DEPENDENCIES_ATTRIBUTE
 constant which allows other listeners and clients of a TestContext to denote
 that dependencies should be reinjected into a test instance.
- DirtiesContextTestExecutionListener appropriately sets REINJECT_DEPENDENCIES_ATTRIBUTE
 to true as a TestContext attribute, so that DependencyInjectionTestExecutionListener
 can react accordingly.
- SpringRunnerContextCacheTests has been updated to reflect the new behavior
 resulting from the above changes.

1.21 annotated / raw | Diffs: previous, other | Lines: 373 ( +3, -2 )

Created: 2007-09-21 16:28:16 -0500 (15 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070921212816

Added missing "the" in JavaDoc.

1.20 annotated / raw | Diffs: previous, other | Lines: 372 ( +103, -59 )

Created: 2007-09-20 18:08:56 -0500 (15 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070920230855

SPR-3896: the TestContext framework now supports a new boolean 'inheritLocations'
attribute in @ContextConfiguration. This allows for 'extending' configuration
for resource locations defined by superclasses, bean overriding, etc.

1.19 annotated / raw | Diffs: previous, other | Lines: 328 ( +1, -1 )

Created: 2007-09-10 08:26:42 -0500 (15 months ago) | Author: jhoeller | Changeset: MAIN:jhoeller:20070910132625

version 2.1 turns into version 2.5

1.18 annotated / raw | Diffs: previous, other | Lines: 328 ( +7, -8 )

Created: 2007-09-06 18:13:45 -0500 (16 months ago) | Author: jhoeller | Changeset: MAIN:jhoeller:20070906231345

reformatted @return tags

Tags: release-2-1-m4

1.17 annotated / raw | Diffs: previous, other | Lines: 329 ( +35, -98 )

Created: 2007-09-06 09:36:17 -0500 (16 months ago) | Author: jhoeller | Changeset: MAIN:jhoeller:20070906143613

revised formatting; removed Commons Lang dependencies; moved SimpleJdbcTestUtils to dedicated "jdbc" subpackage

1.16 annotated / raw | Diffs: previous, other | Lines: 392 ( +2, -2 )

Created: 2007-08-28 11:03:19 -0500 (16 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070828160319

Revised JavaDoc to reflect the changes in the latest refactoring of the Spring Test Context Framework.

1.15 annotated / raw | Diffs: previous, other | Lines: 392 ( +102, -78 )

Created: 2007-08-28 09:42:23 -0500 (16 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070828144223

Refactoring:
1) ContextConfigurationAttributes has been removed.
2) @ContextConfiguration no longer includes generateDefaultLocations and resourceSuffix.
3) It is no longer required to declare @ContextConfiguration on test classes that not need an ApplicationContext.
4) ContextLoader now works directly with locations and is also responsible for processing locations.
5) TestContext and TestContextManager now use a String as the context cache key instead of ContextConfigurationAttributes.
6) AbstractContextLoader is now responsible for processing locations including generating default locations.
7) GenericPropertiesContextLoader and GenericXmlContextLoader are now responsible for specifying a resource suffix.

1.14 annotated / raw | Diffs: previous, other | Lines: 368 ( +1, -18 )

Created: 2007-08-25 09:05:52 -0500 (16 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070825140552

Updated JavaDoc with regard to annotation configuration processors to reflect changes to the expected behavior.

1.13 annotated / raw | Diffs: previous, other | Lines: 385 ( +5, -25 )

Created: 2007-08-25 08:53:16 -0500 (16 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070825135316

Simplified internals by inlining the createContextLoader() method.

1.12 annotated / raw | Diffs: previous, other | Lines: 405 ( +6, -8 )

Created: 2007-08-25 08:00:46 -0500 (16 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070825130046

Refactoring:
1) Removed listeners package; moved listeners to support and the new transaction package.
2) Created a new transaction-specific package.
3) Moved junit* packages to context.junit*.
4) Moved Test Context specific annotations to the context package and related subpackages.
5) Now adding all three TestExecutionListeners by default.
6) Public interfaces and now expose ApplicationContext instead of ConfigurableApplicationContext.
7) Removed usage of the generic type T from test context related classes; now using Object instead.

1.11 annotated / raw | Diffs: previous, other | Lines: 407 ( +2, -27 )

Created: 2007-08-24 08:11:12 -0500 (16 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070824131112

1) Pushed context configuration to the ContextLoader
2) Now using AnnotationConfigUtils.registerAnnotationConfigProcessors() instead of manually instantiating BeanPostProcessors.

1.10 annotated / raw | Diffs: previous, other | Lines: 432 ( +4, -13 )

Created: 2007-08-24 07:35:39 -0500 (16 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070824123539

1) The ContextLoader interface no longer requires concrete implementations to declare a public constructor which accepts a single ContextConfigurationAttributes argument: the configuration attributes are now passed to loadContext().
2) AbstractContextLoader is no longer necessary due to the above changes to the ContextLoader interface.

1.9 annotated / raw | Diffs: previous, other | Lines: 441 ( +2, -2 )

Created: 2007-08-22 18:13:54 -0500 (16 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070822231354

Changed the visibility of retrieveContextConfigurationAttributes() to protected.

1.8 annotated / raw | Diffs: previous, other | Lines: 441 ( +38, -18 )

Created: 2007-08-21 18:23:53 -0500 (16 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070821232353

DefaultContextConfigurationAttributes has been pulled up into ContextConfigurationAttributes which is now a concrete class instead of an interface.

1.7 annotated / raw | Diffs: previous, other | Lines: 421 ( +38, -30 )

Created: 2007-08-21 17:58:41 -0500 (16 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070821225841

The new annotation based "test context" testing support now exposes ApplicationContexts in public APIs instead of ConfigurableApplicationContexts.

1.6 annotated / raw | Diffs: previous, other | Lines: 413 ( +8, -6 )

Created: 2007-08-20 10:03:11 -0500 (16 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070820150311

JavaDoc

1.5 annotated / raw | Diffs: previous, other | Lines: 411 ( +10, -9 )

Created: 2007-08-18 11:59:41 -0500 (16 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070818165941

JavaDoc and logging

1.4 annotated / raw | Diffs: previous, other | Lines: 410 ( +46, -39 )

Created: 2007-08-16 07:48:31 -0500 (16 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070816124831

- TestContext now offers a single method for updating mutable state: updateState(...).
- SpringJUnit4ClassRunner and TestContextManager now more thoroughly support generic T instead of Object.
- TestExecutionListener's afterTestMethod() no longer accepts a Throwable, since the exception is accessible via the TestContext.
- Refactored calls to TestContextManager's afterTestMethod() and beforeTestMethod() methods within SpringMethodRoadie.

1.3 annotated / raw | Diffs: previous, other | Lines: 403 ( +29, -1 )

Created: 2007-08-16 06:04:49 -0500 (16 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070816110449

Work In Progress:
- introduced custom SpringMethodRoadie and SpringTestMethod
- passing thrown exceptions to listeners

1.2 annotated / raw | Diffs: previous, other | Lines: 375 ( +8, -8 )

Created: 2007-08-14 07:04:49 -0500 (16 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070814120449

Renamed parse* to retrieve*

1.1 new annotated / raw | Lines: 375 ( +375, -0 )

Created: 2007-08-10 12:03:31 -0500 (16 months ago) | Author: sbrannen | Changeset: MAIN:sbrannen:20070810170331

Refactoring the new context based test support:
1) introduced TestContext and TestExecutionListener abstractions.
2) created new support and listeners subpackages.
3) moved some existing implementations to the new support subpackage.

Crucible: Open Source License registered to Atlassian.
Atlassian FishEye, Subversion, CVS & Perforce analysis. (Version:1.5.4 Build:build-308 2008-07-31 ) - Administration - Page generated 2009-01-09 01:07 -0600