Commit Graph
28 Commits
Author SHA1 Message Date
Sam Brannen 94b16a169b Added assertPersonCount() functionality for increased robustness.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1784 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-28 09:23:02 +00:00
Sam Brannen a3e99abeb7 [SPR-5315][SPR-5699] Reverted changes to TransactionalTestExecutionListener: transactions are no longer automatically flushed before rolling back.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1569 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-21 11:03:59 +00:00
Sam Brannen 2d1d61cb0f [SPR-5916] ContextLoader class is now inherited from class hierarchy if not specified explicitly via @ContextConfiguration's loader attribute on the current test class.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1561 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-20 09:35:33 +00:00
Sam Brannen b9f726f7aa [SPR-5916] polishing.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1550 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 13:50:54 +00:00
Sam Brannen 27b6c0d7cc [SPR-5699] Investigating issues surrounding automatic flushing of the underlying ORM tool's session via TransactionalTestExecutionListener.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1519 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-11 16:45:48 +00:00
Sam Brannen c4b5960c13 [SPR-5914] ProfileValueUtils now properly ensures that class-level usage of @IfProfileValue overrides method-level usage.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1507 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-10 11:45:31 +00:00
Andy Clement f4a52f32b3 SPR-5906: test and fix for using expressions in property list keys and values
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1485 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-07 20:13:18 +00:00
Sam Brannen bcc57cf59a [SPR-5640] polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1479 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-06 19:24:34 +00:00
Sam Brannen 4f9c1bf118 [SPR-5640] Added support for marking the test application context as 'dirty' after each test method within a given test class via the new DirtiesContext.classMode() attribute.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1477 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-06 19:17:16 +00:00
Sam Brannen aa84e3a83b [SPR-4702] Explicit tests for TestExecutionListener's new beforeTestClass() and afterTestClass()} lifecycle callback methods with TestNG support classes.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1474 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-06 15:08:06 +00:00
Sam Brannen a9c12b58bf [SPR-4702] Explicit tests for TestExecutionListener's new beforeTestClass() and afterTestClass()} lifecycle callback methods.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1473 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-06 14:48:27 +00:00
Sam Brannen edab801f88 [SPR-4702] Added support for @DirtiesContext at the test class level.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1471 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-06 12:58:56 +00:00
Sam Brannen 4ec91c47c3 Polishing: suppressing warnings.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1470 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-05 21:29:28 +00:00
Sam Brannen 5d53a1845b [SPR-5889] Renaming TestNG tests from *Tests_ back to *Tests, but keeping @org.junit.Ignore to exclude them from the JUnit test run.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1463 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-03 09:57:19 +00:00
Sam Brannen 753f2ed8cf Updated copyright.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1208 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-17 10:22:40 +00:00
Sam Brannen 227fe9afd4 Spring TestContext Framework autowiring tests now include an explicit test for the @Autowired-@Qualifier combination.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1207 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-17 10:22:03 +00:00
Sam Brannen 545a704833 [SPR-5713] Added 'value' alias for @ContextConfiguration's 'locations' attribute.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1088 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-05 07:37:14 +00:00
Sam Brannen 075c28f8e1 [SPR-5710] Subclasses of SpringJUnit4ClassRunner can now override the default ContextLoader class via the new getDefaultContextLoaderClassName(Class) method.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1086 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-02 23:24:48 +00:00
Sam Brannen 4da2be7e7a [SPR-5145] Improved test suite for SpringJUnit4ClassRunner: added specific unit tests for test timeouts, repeated tests, and expected exceptions.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1077 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-29 21:29:53 +00:00
Keith Donald f48f1a1222 deleted old test data source factory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1057 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 21:29:47 +00:00
Keith Donald 0898f09f97 test datasource factory initial commit; needs review from Juergen on how to best make DataSource available as a Spring bean when desired
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1042 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-21 21:31:16 +00:00
Juergen Hoeller 458996fdc3 got rid of Commons Collections dependency
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@470 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-18 19:14:49 +00:00
Chris Beams b2f575b032 moving unit tests from .testsuite -> .test, .web.servlet
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@451 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-17 16:28:56 +00:00
Chris Beams 761b389ad8 moving .test.* unit tests from .testsuite -> .test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@449 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-17 07:32:58 +00:00
Chris Beams 8ece02fe53 moving unit tests from .testsuite -> .orm
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@445 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-17 05:33:45 +00:00
Chris Beams f01b92fb17 moving .jndi, .mail and .mock.web unit tests from .testsuite to .context, .context.support, and .test bundles respectively
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@444 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-17 02:20:01 +00:00
Arjen Poutsma 7c66b1accd Moved tests over from testsuite to test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@188 50f2f4bb-b051-0410-bef5-90022cba6387
2008-10-29 13:58:15 +00:00
Arjen Poutsma 65821578e7 Initial import of test module
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@134 50f2f4bb-b051-0410-bef5-90022cba6387
2008-10-27 11:59:27 +00:00