接口 org.test4j.hamcrest.iassert.object.intf.IFileAssert
的使用

使用 IFileAssert 的软件包
org.test4j.hamcrest   
org.test4j.hamcrest.iassert.object.impl   
org.test4j.hamcrest.iassert.object.intf   
 

org.test4j.hamcrestIFileAssert 的使用
 

返回 IFileAssertorg.test4j.hamcrest 中的方法
 IFileAssert TheStyleAssertion.file()
          a parameter file will be asserted
 IFileAssert WantStyleAssertion.file(File file)
          文件变量断言
 IFileAssert WantStyleAssertion.file(String filename)
          a file argument asserter
 

org.test4j.hamcrest.iassert.object.implIFileAssert 的使用
 

实现 IFileAssertorg.test4j.hamcrest.iassert.object.impl 中的类
 class FileAssert
           
 

返回 IFileAssertorg.test4j.hamcrest.iassert.object.impl 中的方法
 IFileAssert FileAssert.isExists()
           
 IFileAssert FileAssert.nameContain(String expected)
           
 IFileAssert FileAssert.nameEq(String expected)
           
 IFileAssert FileAssert.unExists()
           
 

org.test4j.hamcrest.iassert.object.intfIFileAssert 的使用
 

返回 IFileAssertorg.test4j.hamcrest.iassert.object.intf 中的方法
 IFileAssert IFileAssert.isExists()
          断言指定的文件已经存在
 IFileAssert IFileAssert.nameContain(String expected)
          断言文件名称包含期望值
 IFileAssert IFileAssert.nameEq(String expected)
          断言文件名称等于期望值
 IFileAssert IFileAssert.unExists()
          断言指定的文件不存在
 



Copyright © 2013. All rights reserved.