mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
update to junit5
This commit is contained in:
@@ -9,7 +9,7 @@ import cn.hutool.log.dialect.log4j2.Log4j2LogFactory;
|
||||
import cn.hutool.log.dialect.slf4j.Slf4jLogFactory;
|
||||
import cn.hutool.log.dialect.tinylog.TinyLog2Factory;
|
||||
import cn.hutool.log.dialect.tinylog.TinyLogFactory;
|
||||
import org.junit.Test;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
/**
|
||||
* 日志门面单元测试
|
||||
|
@@ -1,8 +1,8 @@
|
||||
package cn.hutool.log;
|
||||
|
||||
import cn.hutool.log.level.Level;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
/**
|
||||
* 日志门面单元测试
|
||||
@@ -25,7 +25,7 @@ public class LogTest {
|
||||
* 兼容slf4j日志消息格式测试,即第二个参数是异常对象时正常输出异常信息
|
||||
*/
|
||||
@Test
|
||||
@Ignore
|
||||
@Disabled
|
||||
public void logWithExceptionTest() {
|
||||
final Log log = LogFactory.get();
|
||||
final Exception e = new Exception("test Exception");
|
||||
|
@@ -1,7 +1,7 @@
|
||||
package cn.hutool.log;
|
||||
|
||||
import cn.hutool.log.dialect.logtube.LogTubeLogFactory;
|
||||
import org.junit.Test;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class LogTubeTest {
|
||||
|
||||
|
@@ -2,7 +2,7 @@ package cn.hutool.log;
|
||||
|
||||
import cn.hutool.log.dialect.console.ConsoleColorLogFactory;
|
||||
import cn.hutool.log.dialect.console.ConsoleLogFactory;
|
||||
import org.junit.Test;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class StaticLogTest {
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user