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

Method insertUserTest

ch3/DBConnectionTest2Test.java:26–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 DataSource ds;
25
26 @Test
27 public void insertUserTest() throws Exception {
28 User user = new User("asdf2", "1234", "abc", "aaaa@aaa.com", new Date(), "fb", new Date());
29 deleteAll();
30 int rowCnt = insertUser(user);
31
32 assertTrue(rowCnt==1);
33 }
34
35 @Test
36 public void selectUserTest() throws Exception {

Callers

nothing calls this directly

Calls 2

deleteAllMethod · 0.95
insertUserMethod · 0.95

Tested by

no test coverage detected