org.test4j.hamcrest.iassert.object.intf
接口 IFileAssert

所有超级接口:
IAssert<File,IFileAssert>, IBaseAssert<File,IFileAssert>, Matcher<File>, SelfDescribing
所有已知实现类:
FileAssert

public interface IFileAssert
extends IBaseAssert<File,IFileAssert>

文件类型对象断言接口

作者:
darui.wudr

方法摘要
 IFileAssert isExists()
          断言指定的文件已经存在
 IFileAssert nameContain(String expected)
          断言文件名称包含期望值
 IFileAssert nameEq(String expected)
          断言文件名称等于期望值
 IFileAssert unExists()
          断言指定的文件不存在
 
从接口 org.test4j.hamcrest.iassert.common.intf.IBaseAssert 继承的方法
all, any, any, clazIs, clazIsSubFrom, eq, eqToString, eqToString, in, isEqualTo, isEqualTo, isNull, isNull, not, notAll, notAny, notEqualTo, notIn, notNull, notNull, same
 
从接口 org.test4j.hamcrest.iassert.common.intf.IAssert 继承的方法
wanted, wanted
 
从接口 ext.test4j.hamcrest.Matcher 继承的方法
describeMismatch, matches
 
从接口 ext.test4j.hamcrest.SelfDescribing 继承的方法
describeTo
 

方法详细信息

isExists

IFileAssert isExists()
断言指定的文件已经存在

返回:

unExists

IFileAssert unExists()
断言指定的文件不存在

返回:

nameEq

IFileAssert nameEq(String expected)
断言文件名称等于期望值

参数:
expected -
返回:

nameContain

IFileAssert nameContain(String expected)
断言文件名称包含期望值

参数:
expected -
返回:


Copyright © 2013. All rights reserved.