Skip to content

Commit

Permalink
#3 允许包名中有下划线; link后必须是类全名(包括包名)
Browse files Browse the repository at this point in the history
  • Loading branch information
testacount1 committed Aug 17, 2017
1 parent 6ee2b41 commit f584cf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
import org.junit.runners.model.Statement;

/**
* 扩展 BlockJUnit4ClassRunner 令其能解析 {@link 测试}。 当 @Test 与 @测试 同时声明时,仅 @测试 有效.
* 扩展 BlockJUnit4ClassRunner 令其能解析 {@link com.github.program_in_chinese.junit4_in_chinese.测试}.
* 当 @Test 与 @测试 同时声明时,仅 @测试 有效.
*
* @author Azige
*/
Expand Down
2 changes: 1 addition & 1 deletion 格式检查.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
<property name="option" value="nl"/>
</module>
<module name="PackageName">
<property name="format" value="^[a-z\u4E00-\u9FA5]+(\.[a-z\u4E00-\u9FA5][a-z0-9\u4E00-\u9FA5]*)*$"/>
<property name="format" value="^[a-z\u4E00-\u9FA5]+(\.[a-z\u4E00-\u9FA5_][a-z0-9\u4E00-\u9FA5_]*)*$"/>
<message key="name.invalidPattern"
value="Package name ''{0}'' must match pattern ''{1}''."/>
</module>
Expand Down

0 comments on commit f584cf6

Please sign in to comment.