From 7defc7e727c20c719ebca8d2c2f2b1406a739930 Mon Sep 17 00:00:00 2001 From: synchronized Date: Mon, 30 Jul 2018 13:36:52 +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 be0ce8c..e75818d 100644 --- a/src/test/java/com/wf/captcha/CaptchaTest.java +++ b/src/test/java/com/wf/captcha/CaptchaTest.java @@ -32,17 +32,17 @@ public class CaptchaTest { @Test public void testHan() throws Exception { - ChineseCaptcha chineseCaptcha = new ChineseCaptcha(); + // ChineseCaptcha chineseCaptcha = new ChineseCaptcha(); //chineseCaptcha.setFont(new Font("微软雅黑", Font.PLAIN, 25)); - System.out.println(chineseCaptcha.text()); + // System.out.println(chineseCaptcha.text()); //chineseCaptcha.out(new FileOutputStream(new File("D:/Java/aa.png"))); } @Test public void testGifHan() throws Exception { - ChineseGifCaptcha chineseGifCaptcha = new ChineseGifCaptcha(); + // ChineseGifCaptcha chineseGifCaptcha = new ChineseGifCaptcha(); //chineseGifCaptcha.setFont(new Font("微软雅黑", Font.PLAIN, 30)); - System.out.println(chineseGifCaptcha.text()); + // System.out.println(chineseGifCaptcha.text()); //chineseGifCaptcha.out(new FileOutputStream(new File("D:/Java/aa.gif"))); }