You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2026/09/01 09:21:43 UTC
(shardingsphere) branch master updated: Allow Mockito argument matcher static imports (#39681)
This is an automated email from the ASF dual-hosted git repository.
terrymanu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new dfa6c71e6f7 Allow Mockito argument matcher static imports (#39681)
dfa6c71e6f7 is described below
commit dfa6c71e6f7f4b9e34711774954bbeeef2cb4b29
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Tue Sep 1 17:21:37 2026 +0800
Allow Mockito argument matcher static imports (#39681)
---
src/resources/checkstyle.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/resources/checkstyle.xml b/src/resources/checkstyle.xml
index 9cff6ced31d..619e1985ac4 100644
--- a/src/resources/checkstyle.xml
+++ b/src/resources/checkstyle.xml
@@ -168,7 +168,7 @@
<!-- Imports -->
<module name="AvoidStarImport" />
<module name="AvoidStaticImport">
- <property name="excludes" value="org.junit.jupiter.api.Assertions.assertTrue,org.junit.jupiter.api.Assertions.assertFalse,org.junit.jupiter.api.Assertions.assertNull,org.junit.jupiter.api.Assertions.assertNotNull,org.junit.jupiter.api.Assertions.assertThrows,org.junit.jupiter.api.Assertions.assertDoesNotThrow,org.junit.jupiter.api.Assertions.assertTimeout,org.junit.jupiter.api.Assertions.assertTimeoutPreemptively,org.junit.jupiter.api.Assertions.fail,org.hamcrest.Matchers.arr [...]
+ <property name="excludes" value="org.junit.jupiter.api.Assertions.assertTrue,org.junit.jupiter.api.Assertions.assertFalse,org.junit.jupiter.api.Assertions.assertNull,org.junit.jupiter.api.Assertions.assertNotNull,org.junit.jupiter.api.Assertions.assertThrows,org.junit.jupiter.api.Assertions.assertDoesNotThrow,org.junit.jupiter.api.Assertions.assertTimeout,org.junit.jupiter.api.Assertions.assertTimeoutPreemptively,org.junit.jupiter.api.Assertions.fail,org.hamcrest.Matchers.arr [...]
</module>
<module name="RegexpSinglelineJava">
<property name="format" value="^\s*import\s+(org\.hamcrest\.(CoreMatchers|MatcherAssert|Matchers)|org\.junit\.jupiter\.api\.Assertions|org\.mockito\.(ArgumentMatchers|Mockito))\s*;" />