恩,主要是我们自动扫描类的那部分功能在 Maven Test 环境中工作有点不正常有时间我们深入搞搞你如果在 IDE 里直接运行到应该是木有啥问题zozoh--On Sun, Jun 3, 2012 at 1:19 PM, ryan lee <rye...@gmail.com> wrote:
打算在项目中引入nutz,开始研究。
没想到跑单元测试就报错了。。。。
b43版(github上的1.b.43 tag)(ubuntu下用maven test 跑的)
Failed tests:
createTableInMySQL(org.nutz.dao.test.normal.CreateTableWithCommentTest)
test_simple(org.nutz.mvc.testapp.views.ServerRedirectViewTest):
expected:<200> but was:<500>
test_raw(org.nutz.mvc.testapp.views.RawViewTest): expected:<3> but
was:<0>
test_simple(org.nutz.mvc.testapp.views.JspViewTest): expected:<[null]>
but was:<[]>
test_simple(org.nutz.mvc.testapp.views.ForwardViewTest):
expected:<200> but was:<500>
test_base(org.nutz.mvc.testapp.BaseTest): expected:<200> but
was:<500>
test_req_param(org.nutz.mvc.testapp.BaseTest): expected:<[/nutztest]>
but was:<[]>
test_req_param2(org.nutz.mvc.testapp.BaseTest): expected:<[base]> but
was:<[]>
createTableInMySQL(org.nutz.dao.test.normal.CreateTableWithCommentTest)
test_in_normal_file(org.nutz.resource.ScansTest): expected:<4> but
was:<0>
test_base(org.nutz.mvc.testapp.BaseTest): expected:<200> but
was:<500>
test_req_param(org.nutz.mvc.testapp.BaseTest): expected:<[/nutztest]>
but was:<[]>
test_req_param2(org.nutz.mvc.testapp.BaseTest): expected:<[base]> but
was:<[]>
test_simple(org.nutz.mvc.testapp.views.ForwardViewTest):
expected:<200> but was:<500>
test_simple(org.nutz.mvc.testapp.views.JspViewTest): expected:<[null]>
but was:<[]>
test_simple(org.nutz.mvc.testapp.views.ServerRedirectViewTest):
expected:<200> but was:<500>
Tests in error:
test_c(org.nutz.img.ImagesTest): Unkown img info!! --> null
test_clipScale_url(org.nutz.img.ImagesTest)
test_find_file_in_chinese_path(org.nutz.lang.FilesTest)
test_find_file_in_jar(org.nutz.lang.FilesTest): org.nutz.lang.XXXX
test_at_map(org.nutz.mvc.init.AtMapInitTest)
test_upload_chinese_filename(org.nutz.mvc.upload.unit.UploadingUnitTest)
test_find_file_in_chinese_path(org.nutz.lang.FilesTest)
test_find_file_in_jar(org.nutz.lang.FilesTest): org.nutz.lang.XXXX
test_upload_chinese_filename(org.nutz.mvc.upload.unit.UploadingUnitTest)
Tests run: 1615, Failures: 16, Errors: 9, Skipped: 6
Best Regard
zozoh @ 2010
-----------------------------------------
--
来自 Nutz 讨论组:
发起话题,发送邮件至: nut...@googlegroups.com
取消订阅,发送邮件至: nutzam+un...@googlegroups.com
Nutz 项目地址:http://nutz.googlecode.com
本讨论组地址:https://groups.google.com/forum/?fromgroups#!forum/nutzam