heheng
2025-03-27 5d2cfd4562f74496a5263db3451c1e78ff53aead
assess-admin/src/test/java/com/gkhy/admin/RegionTest.java
@@ -6,16 +6,12 @@
import com.gkhy.assess.admin.GkhyAdminApplication;
import com.gkhy.assess.system.domain.SysRegion;
import com.gkhy.assess.system.service.SysRegionService;
import com.gkhy.assess.system.service.impl.SysRegionServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.junit4.SpringRunner;
import sun.swing.plaf.GTKKeybindings;
import java.io.BufferedReader;
import java.io.File;
@@ -109,8 +105,14 @@
            }
        }
    }
    @Test
    public void testLog(){
        try {
            int i = 1 / 0;
        }catch (Exception e){
            log.error("error=",e);
        }
    }
}