We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a8d6c1 commit 2727717Copy full SHA for 2727717
day02_exam/src/cn/itcast/test/StudentDom4JDaoTest.java
@@ -3,8 +3,8 @@
3
import cn.itcast.dao.IStudentDao;
4
import cn.itcast.dao.StudentDom4JDao;
5
import cn.itcast.domain.Student;
6
-import junit.framework.Assert;
7
import org.junit.AfterClass;
+import org.junit.Assert;
8
import org.junit.BeforeClass;
9
import org.junit.Test;
10
@@ -27,7 +27,7 @@ public void testCreateStudent() {
27
s.setLocation("ÈÕ±¾");
28
s.setGrade(100);
29
boolean b = dao.createStudent(s);
30
- Assert.assertTrue(b);
+ Assert.assertTrue(b);
31
}
32
@Test
33
public void testFindStudent() {
0 commit comments