-
Notifications
You must be signed in to change notification settings - Fork 38.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate "Failing" test cases to regular tests
This commit replaces the use of EngineTestKit to test scenarios where bean override could not process the test class. There is no need to run an actual test for this as: 1. Regular integration tests are already validating that adding the annotation triggers the processing as part of executing the test. 2. The entry point is a ContextCustomizer that can easily be invoked in a regular test. As part of harmonizing this, AbstractTestBeanIntegrationTestCase can be nested, and BeanOverrideTestSuite serve no purpose. The tests can be executed in an IDE without any special setup.
- Loading branch information
Showing
18 changed files
with
433 additions
and
896 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 0 additions & 56 deletions
56
...t/src/test/java/org/springframework/test/context/bean/override/BeanOverrideTestSuite.java
This file was deleted.
Oops, something went wrong.
99 changes: 0 additions & 99 deletions
99
...gframework/test/context/bean/override/convention/AbstractTestBeanIntegrationTestCase.java
This file was deleted.
Oops, something went wrong.
121 changes: 0 additions & 121 deletions
121
...ramework/test/context/bean/override/convention/FailingTestBeanByTypeIntegrationTests.java
This file was deleted.
Oops, something went wrong.
80 changes: 0 additions & 80 deletions
80
...ork/test/context/bean/override/convention/FailingTestBeanInheritanceIntegrationTests.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.