上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页
摘要: Automated Testing Detail Test PlanAutomated Testing DTP OverviewThis Automated Testing Detail Test Plan (ADTP) will identify the specific tests that are to be performed to ensure the quality of the delivered product. System/Integration Test ensures the product functions as designed and all parts wor 阅读全文
posted @ 2014-01-07 18:49 卜海清 阅读(396) 评论(0) 推荐(0)
摘要: 下面是一个在Maven使用Scala的pom.xml 4.0.0 Utilities (Scala) com.hp.sw.sm.client Utilities module (Scala) utilities-scala org.scala-lang scala-library ${scala.version} org.scala-lang scala-compiler ${scala.version} org.apache.commons commons-l... 阅读全文
posted @ 2014-01-06 14:54 卜海清 阅读(5942) 评论(1) 推荐(1)
摘要: 最近更换了笔记本,当时TouchPad总是不能用,有个指示灯总是亮着;同事同型号的就没有这样的问题。Google了好久终于找到了一篇帖子能解决我的问题。分享给朋友们。Link:http://h30499.www3.hp.com/t5/Notebook-HP-ProBook-EliteBook/HP-EliteBook-8570p/m-p/5926499#.UsYuufQW1zc 阅读全文
posted @ 2014-01-03 11:34 卜海清 阅读(296) 评论(0) 推荐(0)
摘要: 代码片段// Create transformer TransformerFactory tff = TransformerFactory.newInstance(); Transformer tf = tff.newTransformer(); // Get reply content Source source = soapMessage.getSOAPPart().getContent(); ByteArrayOutputStream bos = new ByteArrayOutputStream(length); Stream... 阅读全文
posted @ 2013-12-31 07:19 卜海清 阅读(2528) 评论(0) 推荐(0)
摘要: Link:http://stackoverflow.com/questions/11571923/instanceof-string-not-behaving-as-expected-in-google-apps-script这里描述的是instanceof和typeof关键字的区别,值得引起注意 阅读全文
posted @ 2013-12-23 17:56 卜海清 阅读(213) 评论(0) 推荐(0)
摘要: 下面是一个Common的Solution'use strict'; // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js, // Rhino, and plain browser loading. if (typeof define === 'function' && define.amd) { ... } else if (typeof exports !== 'undefined') { ... } else { ... } 阅读全文
posted @ 2013-12-23 17:26 卜海清 阅读(887) 评论(0) 推荐(0)
摘要: 在Ruby里只有false 和nil表示falseylink:https://gist.github.com/jfarmer/2647362 阅读全文
posted @ 2013-12-13 06:30 卜海清 阅读(224) 评论(0) 推荐(0)
摘要: 已经在项目里使用Groovy/Spock做测试框架了,感觉和Maven结合在一起还是挺好用的。在Maven的pom.xml里引入他们还是挺方便的,第一先要在dependency 里引入 org.codehaus.groovy groovy-all 1.8.1 provided org.spockframework spock-core 0.6-groovy-1.8 test... 阅读全文
posted @ 2013-11-12 20:39 卜海清 阅读(1794) 评论(0) 推荐(0)
摘要: JavaScript相对于其他的编程语言是比较简单的,只要吃透了Prototype和Closure(闭包),基本上就可以说精通JavaScript了。JavaScript里如何实现向Java语言的OO的一下概念。下面列举了继承的三种写法:// 这种写法只能复制base里的静态方法, 连base.prototype也不会复制function extend(base, dest) { for (var i in base) { dest[i] = base[i]; }}// 这种写法只能复制Prototype,静态函数和变量是不会被复制的function extend1(base, dest) . 阅读全文
posted @ 2013-10-13 09:28 卜海清 阅读(378) 评论(0) 推荐(0)
摘要: function User (name, password) { var self = this instanceof User ? this : new User(); if (name != null) { self.name = name; self.password = password; } return self;};var obj1 = User("andy","");var obj2 = new User("andy","");console.log(obj1.name === obj2.name) 阅读全文
posted @ 2013-10-05 19:26 卜海清 阅读(234) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页