Skip to content

Commit

Permalink
更新:单元测试添加了 logback 日志实现
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzhqiang committed Feb 12, 2020
1 parent fe8bca0 commit 52213f9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public StandaloneRedis() {

jedisPool = Util.create(() ->
new JedisPool(poolConfig, host, port, timeout, password, database));
log.info("Redis create successful.");
log.info("Jedis drive create successful.");
Boolean status = find(jedis -> "PONG".equalsIgnoreCase(jedis.ping())).orElse(false);
log.debug("Redis connect status: {}", status);
}
Expand Down
5 changes: 5 additions & 0 deletions helper-javafx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
<groupId>org.testfx</groupId>
<artifactId>testfx-junit</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions helper-jre/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand Down

0 comments on commit 52213f9

Please sign in to comment.