MCPcopy Index your code
hub / github.com/castello/spring_basic / selectUserTest

Method selectUserTest

ch3/DBConnectionTest2Test.java:35–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 }
34
35 @Test
36 public void selectUserTest() throws Exception {
37 deleteAll();
38 User user = new User("asdf2", "1234", "abc", "aaaa@aaa.com", new Date(), "fb", new Date());
39 int rowCnt = insertUser(user);
40 User user2 = selectUser("asdf2");
41
42 assertTrue(user.getId().equals("asdf2"));
43 }
44
45 @Test
46 public void deleteUserTest() throws Exception {

Callers

nothing calls this directly

Calls 5

deleteAllMethod · 0.95
insertUserMethod · 0.95
selectUserMethod · 0.95
getIdMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected