上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 42 下一页
摘要: Test Driven Development 1.什么是测试驱动开发?2.使用“测试驱动开发”过程?3.测试驱动开发的好处是什么?4.一个好的unit test的特征5.通过一个简单实例了解“测试驱动开发”的过程6.参考资料1.什么是测试驱动开发?简单的讲“测试驱动开发”就是说在编写代码之前,首先编写测试用例,编写完成的代码需要能够通过测试用例的验证,也就是相当于首先明确要编写的代码的功能需求,然后开始编写代码,最终需要满足上述的功能需求。下面这幅漫画生动的解释了tdd是如 阅读全文
posted @ 2011-01-18 21:17 qiang.xu 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 1.也说说软件测试2.vs2008软件测试实战的主要内容1.也说说软件测试上学期刚刚上完软件测试的课程,实验课上讲解了不少测试工具的使用(例如ibm function tester、load runner等),但是却是缺少了对vs test的讲解,只能自己补上,就也是这系列博文产生的原因吧。该系列博文中将不包含软件测试的最核心的思想的讲解(如何认识软件测试,如何设计测试用例,这些其实是软件测试的"内功心法"),而主要是了解怎么使用vs这个相当powerful的工具,也就是说这里仅仅是描述如何使用工具。2.vs2008软件测试实战的主要内容vs对test driven dev 阅读全文
posted @ 2011-01-18 20:27 qiang.xu 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 今年过年回到家中,突然发现家里那只狗(我们叫他小黑)死掉了,好是伤心。 阅读全文
posted @ 2011-01-18 16:42 qiang.xu 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 委托和事件 1.通过简单的实例查看委托的代码结构 2.事件event 3.调用异步方法 阅读全文
posted @ 2011-01-09 15:52 qiang.xu 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 首先下载该patch(点击下载) 运行后界面如下: 直接按照上面的说明对vs2008进行注册即可。 阅读全文
posted @ 2011-01-09 05:35 qiang.xu 阅读(947) 评论(0) 推荐(0) 编辑
摘要: getPropertiesDetermines the current system properties.First, if there is a security manager, itscheckPropertiesAccessmethod is called with no arguments. This may result in a security exception.The current set of system properties for use by thegetProperty(String)method is returned as aPropertiesobje 阅读全文
posted @ 2011-01-08 10:10 qiang.xu 阅读(2786) 评论(0) 推荐(0) 编辑
摘要: jsp报表页面生成报表详解1.思路2.实现实例1.思路首先用户点击“生成按钮”,将请求发送到后台处理controller上,controller通过查询数据库得到报表中的数据,然后将这个request dispatch到现实报表的页面上,在报表的页面上上,首先得到通过request得到的数据对象(一般是一个bean的形式),然后将该对象中的数据现实到页面上。2.实现实例2.1 报表页面的实现如果存在报表的原始word文档的话,这里存在一个简单的实现将word报表转换成html的方法:http://blog.csdn.net/xuqianghit/arch 阅读全文
posted @ 2011-01-06 09:48 qiang.xu 阅读(5247) 评论(0) 推荐(0) 编辑
摘要: 查看服务中对应服务是否启动。 阅读全文
posted @ 2011-01-06 09:17 qiang.xu 阅读(349) 评论(0) 推荐(0) 编辑
摘要: Hi,How can i add wait message in ajax request.I used the waitMsg config option , but is not showing the wait message while submitting the data.How can i add the wait message while submitting the data using the Ext.Ajx.requestPlease help methis is my codeCode:You could use:Code:just before your reque 阅读全文
posted @ 2011-01-05 15:32 qiang.xu 阅读(504) 评论(0) 推荐(0) 编辑
摘要: jsp下载文件demo1.前台2.后台1.前台http://www.javaeye.com/topic/446631为什么要选择js方式下载文件?因为下载地址需要根据你的点击,及选择来动态计算的。如果直接 ajax 请求下载地址,总会出现些问题...具体表现为文件直接以字符串形式返回。首先方案一,使用window.open(url),这样会有一个问题,因为会打开一个窗口!虽然这个窗口会在点击下载时关闭,但看起来确实不美观!方案二,使用Iframe ,具体见代码:Javascript代码functiondownloadFile(url){varelemIF=document.createElem 阅读全文
posted @ 2011-01-05 15:30 qiang.xu 阅读(13580) 评论(0) 推荐(0) 编辑
摘要: 1.String和string再c#中的有什么不同?2.datatype alias1.String和string再c#中的有什么不同?As others have noted,stringis an alias forSystem.String. They compile to the same code, so at execution time there is no difference whatsoever. This is just one of the aliases in C#. The complete list is:object: System.Objectstring: 阅读全文
posted @ 2011-01-04 21:11 qiang.xu 阅读(422) 评论(0) 推荐(0) 编辑
摘要: http://word2cleanhtml.com/,貌似用python做的,有时间还是需要好好看看python,文本处理太强大了 。 阅读全文
posted @ 2011-01-04 21:02 qiang.xu 阅读(288) 评论(0) 推荐(0) 编辑
摘要: private void button1_Click(object sender, System.EventArgs e){ Stream myStream = null; OpenFileDialog openFileDialog1 = new OpenFileDialog(); openFileDialog1.InitialDirectory = "c:\\" ; openFileDialog1.Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*" ; openFileDialog1.Filte 阅读全文
posted @ 2011-01-04 11:07 qiang.xu 阅读(596) 评论(0) 推荐(0) 编辑
摘要: wpf + irrKlang :源码下载地址 阅读全文
posted @ 2011-01-04 10:57 qiang.xu 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 使用iText中的Cell和Table,添加类型如上,设置colums和row属性。 阅读全文
posted @ 2011-01-02 16:38 qiang.xu 阅读(2015) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 42 下一页