1. 17 8月, 2019 1 次提交
    • P
      Add SpringJUnit5 checkstyle rule · f8a93ee4
      Phillip Webb 提交于
      Add `SpringJUnit5` checkstyle rule to ensure that JUnit 4 annotations
      aren't accidentally used in new tests.
      
      The "must not be public" rule has been suppressed since there are
      quite a few tests that extend base tests from other packages.
      f8a93ee4
  2. 05 7月, 2019 1 次提交
  3. 28 5月, 2019 1 次提交
    • S
      Clean up Mockito usage · 141ef908
      Sam Brannen 提交于
      This commit migrates to the MockitoJUnitRunner where sensible, which
      will later allow for an easier migration to Mockito's extension for
      JUnit Jupiter.
      
      In addition, this commit deletes unnecessary stubbing for various mocks
      and polishes test fixture setup in various test classes.
      141ef908
  4. 27 5月, 2019 1 次提交
  5. 25 5月, 2019 1 次提交
  6. 24 5月, 2019 2 次提交
  7. 21 5月, 2019 1 次提交
  8. 12 5月, 2019 2 次提交
  9. 09 5月, 2019 1 次提交
    • P
      Migrate to BDD Mockito · 798b51f4
      Phillip Webb 提交于
      Migrate all tests to consistently use BDD Mockito. Also add
      checksyle rule to enforce going forwards.
      798b51f4
  10. 08 5月, 2019 1 次提交
    • P
      Migrate away from ExpectedException (#22922) · d7320de8
      Phil Webb 提交于
      * Add limited checkstyles to test code
      
      Add a limited set of checkstyle rules to the test codebase to improve
      code consistency.
      
      * Fix checksyle violations in test code
      
      * Organize imports to fix checkstyle for test code
      
      * Migrate to assertThatExceptionOfType
      
      Migrate aware from ExpectedException rules to AssertJ exception
      assertions. Also include a checkstyle rules to ensure that the
      the ExpectedException is not accidentally used in the future.
      
      See gh-22894
      d7320de8
  11. 23 3月, 2019 1 次提交
  12. 15 3月, 2019 1 次提交
  13. 28 6月, 2018 1 次提交
    • P
      Add checkstyle to build · 032096d6
      Phillip Webb 提交于
      Add checkstyle to the build to enforce Spring Framework coding
      conventions. Rule suppressions are used for several classes where
      relaxing the rules makes more sense than fixing them.
      
      Issue: SPR-16968
      032096d6