请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

JUnit测试不通过

2019-03-20 16:19:15.211 [main] DEBUG com.hanting.o2o.dao.ProductDao.queryProductList - ==> Preparing: SELECT product_id, product_name, product_desc, img_addr, normal_price, promotion_price, priority, create_time, last_edit_time, enable_status, product_category_id, shop_id FROM tb_product ORDER BY priority DESC LIMIT ?,?;
2019-03-20 16:19:15.295 [main] DEBUG com.hanting.o2o.dao.ProductDao.queryProductList - > Parameters: 0(Integer), 3(Integer)
2019-03-20 16:19:15.335 [main] DEBUG com.hanting.o2o.dao.ProductDao.queryProductList - < Total: 3
2019-03-20 16:19:15.346 [main] DEBUG com.hanting.o2o.dao.ProductDao.queryProductCount - ==> Preparing: SELECT count(1) FROM tb_product
2019-03-20 16:19:15.346 [main] DEBUG com.hanting.o2o.dao.ProductDao.queryProductCount - > Parameters:
2019-03-20 16:19:15.348 [main] DEBUG com.hanting.o2o.dao.ProductDao.queryProductCount - < Total: 1
三月 20, 2019 4:19:15 下午 org.springframework.context.support.GenericApplicationContext doClose
信息: Closing org.springframework.context.support.GenericApplicationContext@2133814f: startup date [Wed Mar 20 16:19:12 CST 2019]; root of context hierarchy

正在回答 回答被采纳积分+3

1回答

翔仔 2019-03-21 00:13:14

同学好,没看到啥错误信息呀,同学提供下junit 里的failure trace相关的信息,或者可以依据里面信息的错误信息,百度下试试,提前锻炼下解决问题的能力

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号