会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
君子之行
夫君子之行,静以修身,俭以养德。非澹泊无以明志,非宁静无以致远。
博客园
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
13
下一页
2019年10月4日
Software_programming_TestNG
摘要: 2019-10-04 key points: ITestListner TestNG ITestListener ITestListener 接口继承自 ITestNGListener 接口,实际应用过程中,一般使用 TestListenerAdapter, 因为 ITestListener中的方法
阅读全文
posted @ 2019-10-04 15:37 君子之行
阅读(12)
评论(0)
推荐(0)
2019年10月2日
Software_programming_log4j2
摘要: 2019-10-02 1 slf4j 抽象日志框架 与 log4j2 的 组合 SLF4J 并不是一个日志框架,是一个允许用户在部署时以插件形式嵌入任何日志系统的抽象层。需要目标日志框架的核心库。 Log4j2 是一个日志框架。 1) slf4j 桥接 log4j-slf4j-impl 2) log
阅读全文
posted @ 2019-10-02 21:07 君子之行
阅读(13)
评论(0)
推荐(0)
2019年9月30日
Software_programming_GoodFormat
摘要: 2019-09-30 Effective Java 1 创建和销毁对象 1.用静态工厂方法代替构造器 2.遇到多个构造参数时使用构造器重构 3.用私有构造器或枚举类型强化SingleTon属性 4.通过私有构造器强化不可实例化的能力 5.优先考虑依赖注入来引用资源 6.避免创建不必要的对象 7.消除
阅读全文
posted @ 2019-09-30 08:33 君子之行
阅读(4)
评论(0)
推荐(0)
2019年9月22日
Soteware_programming_design_refactoringAndDesignPattern
摘要: 19:44:48 1. 使用 Builder 简化 Composite 模式 1 package com.srdc.tech.service.webConstructure; 2 3 4 5 import com.srdc.tech.service.seleniumAction.Execution.
阅读全文
posted @ 2019-09-22 19:48 君子之行
阅读(12)
评论(0)
推荐(0)
2019年9月18日
Software_programming_Java_xml_Dom4j
摘要: Dom4j 其内置了 Visitor 接口, VisitorSupport 是其实现类,有多个重载 visit 方法. Document.getRootElement().accept(myVisitorImpl) 注意,会自动遍历所有节点。 https://dom4j.github.io/java
阅读全文
posted @ 2019-09-18 15:06 君子之行
阅读(7)
评论(0)
推荐(0)
2019年9月13日
Software_programming_Tools_idea
摘要: 14:55:27 key map 1. Refactoring shift + F6 : 重命名 选中, F6 : move to Ctrl+w 选中某个单词 Shift + F9 : debug Shift + F10 : run 2. Test Ctrl + Shift + T : 跳转到 Te
阅读全文
posted @ 2019-09-13 14:56 君子之行
阅读(69)
评论(0)
推荐(0)
2019年9月12日
Software_programming_tools_sublime
摘要: 09:47:12 sublime 默认不显示文件编码格式。 打开操作如下 1.菜单 Perference -> settings -> user 在 user 添加
阅读全文
posted @ 2019-09-12 09:51 君子之行
阅读(6)
评论(0)
推荐(0)
2019年9月10日
Software_Work_Automation_Project
该文被密码保护。
阅读全文
posted @ 2019-09-10 19:03 君子之行
阅读(5)
评论(0)
推荐(0)
2019年9月8日
Software_programming_java_core_Files_Paths
摘要: 19:00:08 1 递归删除 FilsWalkTree , FileVisitorResult walkFileTree 方法需要 FileVisitor 接口的实例, file visitor 会得到通知的时机 1. 目录处理之前 FileVisitorResult preVisitDirect
阅读全文
posted @ 2019-09-08 19:24 君子之行
阅读(10)
评论(0)
推荐(0)
2019年9月3日
Software_programming_automation_selenium
摘要: 10:52:37 Table 获取 tr list 注意会无法正常遍历获取。 修正后正常 1 public SelectionCriteriaPage checkSpecifyTag(int count){ 2 String gridXpath = "//div[@id='NewSelectionP
阅读全文
posted @ 2019-09-03 10:54 君子之行
阅读(173)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
13
下一页