username
和 password
之外的值。同樣,在清單 10 中,verifyPassword()
方法用 DbUnit 的 createQueryTable()
方法構建 ITable
類型,以與清單 9 中定義的 XML 進行比較:
清單 10. 使用 DbUnit 查詢 API 的 verifyPassword 方法
private void verifyPassword(String fileName) throws Exception{
發布: 2008-6-20 14:19 | 作者: 不詳 | 來源: 領測軟件測試網編輯整理 | 查看: 37次 | 進入軟件測試論壇討論
username
和 password
之外的值。同樣,在清單 10 中,verifyPassword()
方法用 DbUnit 的 createQueryTable()
方法構建 ITable
類型,以與清單 9 中定義的 XML 進行比較:
清單 10. 使用 DbUnit 查詢 API 的 verifyPassword 方法
private void verifyPassword(String fileName) throws Exception{