From 883f541aa5774287c2c3201abfc6a67739bcb52a Mon Sep 17 00:00:00 2001 From: synchronized Date: Mon, 30 Jul 2018 13:11:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=AA=8C=E8=AF=81=E7=A0=81?= =?UTF-8?q?=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/java/com/wf/captcha/CaptchaTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/com/wf/captcha/CaptchaTest.java b/src/test/java/com/wf/captcha/CaptchaTest.java index 73c230c..be0ce8c 100644 --- a/src/test/java/com/wf/captcha/CaptchaTest.java +++ b/src/test/java/com/wf/captcha/CaptchaTest.java @@ -17,7 +17,7 @@ public class CaptchaTest { SpecCaptcha specCaptcha = new SpecCaptcha(); //specCaptcha.setCharType(Captcha.TYPE_ONLY_NUMBER); System.out.println(specCaptcha.text()); - specCaptcha.out(new FileOutputStream(new File("D:/Java/aa" + i + ".png"))); + //specCaptcha.out(new FileOutputStream(new File("D:/Java/aa" + i + ".png"))); } } @@ -26,7 +26,7 @@ public class CaptchaTest { for (int i = 0; i < 5; i++) { GifCaptcha gifCaptcha = new GifCaptcha(); System.out.println(gifCaptcha.text()); - gifCaptcha.out(new FileOutputStream(new File("D:/Java/aa" + i + ".gif"))); + //gifCaptcha.out(new FileOutputStream(new File("D:/Java/aa" + i + ".gif"))); } } @@ -35,7 +35,7 @@ public class CaptchaTest { ChineseCaptcha chineseCaptcha = new ChineseCaptcha(); //chineseCaptcha.setFont(new Font("微软雅黑", Font.PLAIN, 25)); System.out.println(chineseCaptcha.text()); - chineseCaptcha.out(new FileOutputStream(new File("D:/Java/aa.png"))); + //chineseCaptcha.out(new FileOutputStream(new File("D:/Java/aa.png"))); } @Test @@ -43,7 +43,7 @@ public class CaptchaTest { ChineseGifCaptcha chineseGifCaptcha = new ChineseGifCaptcha(); //chineseGifCaptcha.setFont(new Font("微软雅黑", Font.PLAIN, 30)); System.out.println(chineseGifCaptcha.text()); - chineseGifCaptcha.out(new FileOutputStream(new File("D:/Java/aa.gif"))); + //chineseGifCaptcha.out(new FileOutputStream(new File("D:/Java/aa.gif"))); } }