@org.junit.Test public void testLogin() { CardDAO cd=new CardDAO(); if(cd.dengru("' or 1 = 1--","1456")) { System.out.println("登陆成功"); } else{ System.out.println("登录失败"); } }