ignore test

This commit is contained in:
Looly 2021-05-25 11:29:42 +08:00
parent 09e2df8248
commit c45b6c4b8f
3 changed files with 4 additions and 2 deletions

View File

@ -110,6 +110,7 @@ public class CaptchaTest {
}
@Test
@Ignore
public void bgTest(){
LineCaptcha captcha = CaptchaUtil.createLineCaptcha(200, 100, 4, 1);
captcha.setBackground(Color.WHITE);

View File

@ -4,8 +4,9 @@ import cn.hutool.captcha.generator.MathGenerator;
import org.junit.Test;
public class GeneratorTest {
@Test
public void mathGeneratorTest(){
public void mathGeneratorTest() {
final MathGenerator mathGenerator = new MathGenerator();
for (int i = 0; i < 1000; i++) {
mathGenerator.verify(mathGenerator.generate(), "0");

View File

@ -425,7 +425,7 @@ public class ExcelWriteTest {
}
@Test
// @Ignore
@Ignore
public void addSelectTest2() {
ExcelWriter writer = ExcelUtil.getWriter("d:/test/select.xls");
writer.writeCellValue(0, 0, "请选择科目");