diff --git a/src/test/java/xyz/zhouxy/plusone/commons/EnumerationTests.java b/src/test/java/xyz/zhouxy/plusone/commons/EnumerationTests.java index 79ba044..1aaf835 100644 --- a/src/test/java/xyz/zhouxy/plusone/commons/EnumerationTests.java +++ b/src/test/java/xyz/zhouxy/plusone/commons/EnumerationTests.java @@ -3,17 +3,19 @@ package xyz.zhouxy.plusone.commons; import static org.junit.jupiter.api.Assertions.assertTrue; import com.google.common.collect.Lists; -import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.Test; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import xyz.zhouxy.plusone.commons.util.Enumeration; import javax.annotation.Nonnull; import java.util.Collection; -@Slf4j class EnumerationTests { + private static final Logger log = LoggerFactory.getLogger(EnumerationTests.class); + @Test void testEnumeration() { assertTrue(EntityStatus.AVAILABLE == EntityStatus.of(0)); diff --git a/src/test/java/xyz/zhouxy/plusone/commons/util/NumberUtilTest.java b/src/test/java/xyz/zhouxy/plusone/commons/util/NumberUtilTest.java index 3c42b12..1b71e08 100644 --- a/src/test/java/xyz/zhouxy/plusone/commons/util/NumberUtilTest.java +++ b/src/test/java/xyz/zhouxy/plusone/commons/util/NumberUtilTest.java @@ -3,11 +3,13 @@ package xyz.zhouxy.plusone.commons.util; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; -import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.Test; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; -@Slf4j class NumberUtilTest { + private static final Logger log = LoggerFactory.getLogger(NumberUtilTest.class); + @Test void testSum() { long result = 0;