上一页 1 ··· 3 4 5 6 7
  2008年5月15日
摘要: oracle中的常用字符串函数如下: concat(string1,string2) instr(string1,string2) lpad(string1,x[,string2]) ltrim(string1,[string2]) nls_initcap(string[,nlsparams]) nlslower(string[,nlpa... 阅读全文
posted @ 2008-05-15 23:41 AFH 阅读(432) 评论(0) 推荐(0) 编辑
  2008年4月29日
摘要: http://www.microsoft.com/china/community/Column/59.mspx http://www.cnblogs.com/HQT/archive/2005/07/21/197517.html 阅读全文
posted @ 2008-04-29 23:03 AFH 阅读(136) 评论(1) 推荐(0) 编辑
  2008年4月24日
摘要: 如何使用单元测试 测试WEB组件方法中的含有Session、Cookie等HttpContext功能调用的方法? 摘要:先说场景。为了保证业务逻辑跟页面展示分开。我们在开发WEB项目的时候,一般应用逻辑跟ASPX页面是分离的项目。应用逻辑一般会是一个DLL组件项目。如果这个组件项目中A方法使用了Session、Cookie等信息的读写,则这个方法就很难写单元测试。但并不是写不出来,要写出来大致思路... 阅读全文
posted @ 2008-04-24 19:59 AFH 阅读(615) 评论(0) 推荐(0) 编辑
  2008年4月23日
摘要: 推荐一个不错的VS.NET集成单元测试工具TestDriven.NET http://www.cnblogs.com/dudu/archive/2004/12/18/78838.html TestDriven.NET 2.0——单元测试的好助手 http://www.cnblogs.com/Terrylee/archive/2007/01/19/testdriven_net_overview.h... 阅读全文
posted @ 2008-04-23 23:26 AFH 阅读(148) 评论(0) 推荐(0) 编辑
摘要: Assert class提供了一系列的static methods,让你可以用来验证主要程序的结果与预期的是否一样。 常用的assert断言有: 1. Assert.AreEqual(object expected,object actual[string message]):验证两个对象是否相等,如Assert.AreEqual(2,1+1); ... 阅读全文
posted @ 2008-04-23 21:07 AFH 阅读(268) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7