- 博客(10)
- 资源 (26)
- 收藏
- 关注
原创 hamcrest test
import static org.hamcrest.MatcherAssert.*;import static org.hamcrest.Matchers.*;number test@Test public void mytest(){ int num = 50; /**数值匹配**/ //测试变量是否大于指定值 ...
2019-12-27 18:07:50 236
原创 idea生成uml图,带属性和方法
1. 鼠标右键 -> Diagrams -> Show Diagram...这里生成的图是没有属性和方法2. 设置属性 File -> Settings 选中Fields、Methods这样类的属性和方法,就在图上展示了...
2019-12-25 14:39:40 2844 1
原创 maven 忽略错误,忽略单元测试
单元测试报错,不影响打包 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> ...
2019-12-20 15:53:48 2108
原创 jacoco单元测试覆盖率
https://www.eclemma.org/jacoco/https://www.jacoco.org/https://www.jacoco.org/jacoco/trunk/doc/单模块maven配置<plugin> <groupId>org.jacoco</groupId> ...
2019-12-19 16:34:54 414
原创 jacoco多模块配置
test是一个projectjunit-test-a 是test下面的一个modulejunit-test-b是test下面的一个modulejunit-test-common是test下面的一个module,用于测试其他module,这里主要是测试junit-test-a,junit-test-btest module的pom ...
2019-12-19 15:33:51 3850 2
原创 git revert git checkout
本地未提交的文件git status -s现在要回退 AbstractApplicationContext 文件git checkout -- AbstractApplicationContext.javaAbstractApplicationContext 文件 已经回退了...
2019-12-11 14:35:17 357
原创 PathMatchingResourcePatternResolver 读取所有class文件
PathMatchingResourcePatternResolver 根据包路径得到所有匹配的类路径protected Set<Resource> doFindAllClassPathResources(String path) throws IOException { Set<Resource> result = new LinkedHashSet...
2019-12-10 18:20:45 1481
原创 避免idea自动导入* 的问题
File->settings->Editor->Code Style->java->imports设置 Class count to use import with '*' 值为500设置 Names count to use static import with '*' 值为300除了java.util.Date...
2019-12-10 15:59:25 1835
原创 gc日志可视化分析工具(jvm)
https://gceasy.io/https://github.com/chewiebug/GCViewer# 在target目录下会看到jar包,双击打开即可mvn clean install
2019-12-08 00:18:15 310
翻译 BaseSubscriber
import org.reactivestreams.Subscription;import reactor.core.publisher.BaseSubscriber;public class SampleSubscriber<T> extends BaseSubscriber<T> { public void hookOnSubscribe(S...
2019-12-02 19:27:04 835
canal.1.1.5包
2022-05-08
seata-server-1.2.0.tar.gz
2020-06-29
navicat_premium12
2019-02-25
how to learn bash third edition
2009-03-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人