`
文章列表
From: http://stackoverflow.com/questions/34571/how-to-test-a-class-that-has-private-methods-fields-or-inner-classes   If you have somewhat of a legacy application, and you're not allowed to change the visibility of your methods, the best way to test private methods is to use reflection. Internal ...
 From: http://blog.csdn.net/buyaore_wo/article/details/8119577  //将applicationContext转换为ConfigurableApplicationContext ConfigurableApplicationContext configurableApplicationContext = (ConfigurableApplicationContext) applicationContext; // 获取bean工厂并转换为DefaultListableBeanFactory Defaul ...
From: http://blog.csdn.net/jungle0127/article/details/7302120 JaCoCo是基於ANT的單元測試覆蓋率報告自動生成工具,它可用來針對整個專案的單元測試用例生成覆蓋率報告。 JaCoCo的下載 至頁面下載最新版本的JaCoCo壓縮包,解壓縮後找到Lib資料夾下的jacocoant.jar文件備用。 JaCoCo工具是與ANT工具結合使用,用來完成自動化單元測試的覆蓋率報告生成工作。在ANT的腳本裡設置步驟如下所示: 1.        在根節點裡添加屬性 basedir=”.” 和xmlns:jacoco="a ...
  From: http://www.jroller.com/alessiopace/entry/partial_mocks_with_easymock  
SELECT username,count(username) FROM v$session WHERE username is not null group by username; SELECT sid, serial# FROM v$session;   ALTER SYSTEM KILL SESSION 'sid,serial#';   From: http://oracle-base.com/articles/misc/killing-oracle-sessions.php
Markit Training Summary: 1. Generate XML and Java based on XSD   <?xml version="1.0" encoding="UTF-8"?> <project> <modelVersion>4.0.0</modelVersion> <parent> <groupId>quartetfs.fin</groupId> <artifactId>fpml-loans< ...
Global site tag (gtag.js) - Google Analytics