IocObject和NutDao中的小问题

0 views
Skip to first unread message

blue_rain

unread,
Nov 20, 2009, 7:09:48 AM11/20/09
to nutzam
IocObject的hasArgs有错,应该是:args.size()>0 。
NutDao中的count未设置Entity。
两个小问题,跟踪了好半天才找到的。
昊哥,是不是应该再多加点自测试?^_^

Peter Zhang

unread,
Nov 20, 2009, 10:24:21 AM11/20/09
to nut...@googlegroups.com
呃。。。。。惭愧惭愧。
我加了两个测试,专门针对这两种情况:

1. SimpleJsonIocTest.test_create_by_args
2. SimpleDaoTest.test_count_with_entity

2009/11/20 blue_rain <bigca...@gmail.com>



--
    Best Regard

zozoh @ 2009
-----------------------------------------
Reply all
Reply to author
Forward
0 new messages