org.test4j.hamcrest.iassert.object.impl
类 FileAssert

java.lang.Object
  继承者 ext.test4j.hamcrest.BaseMatcher<T>
      继承者 org.test4j.hamcrest.iassert.common.impl.Assert<T,E>
          继承者 org.test4j.hamcrest.iassert.common.impl.BaseAssert<File,IFileAssert>
              继承者 org.test4j.hamcrest.iassert.object.impl.FileAssert
所有已实现的接口:
Matcher<File>, SelfDescribing, IAssert<File,IFileAssert>, IBaseAssert<File,IFileAssert>, IFileAssert

public class FileAssert
extends BaseAssert<File,IFileAssert>
implements IFileAssert


嵌套类摘要
 
从类 org.test4j.hamcrest.iassert.common.impl.Assert 继承的嵌套类/接口
Assert.AssertType
 
字段摘要
 
从类 org.test4j.hamcrest.iassert.common.impl.Assert 继承的字段
assertClaz, link, the, type, value, valueClaz
 
构造方法摘要
FileAssert()
           
FileAssert(File file)
           
 
方法摘要
 IFileAssert isExists()
          断言指定的文件已经存在
 IFileAssert nameContain(String expected)
          断言文件名称包含期望值
 IFileAssert nameEq(String expected)
          断言文件名称等于期望值
 IFileAssert unExists()
          断言指定的文件不存在
 
从类 org.test4j.hamcrest.iassert.common.impl.BaseAssert 继承的方法
all, any, any, clazIs, clazIsSubFrom, eq, eqToString, eqToString, in, isEqualTo, isEqualTo, isNull, isNull, not, notAll, notAny, notEqualTo, notIn, notNull, notNull, same, toStringAssert
 
从类 org.test4j.hamcrest.iassert.common.impl.Assert 继承的方法
assertThat, assertThat, describeTo, equals, getValueClaz, hashCode, matches, toString, wanted, wanted
 
从类 ext.test4j.hamcrest.BaseMatcher 继承的方法
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
从接口 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
 

构造方法详细信息

FileAssert

public FileAssert()

FileAssert

public FileAssert(File file)
方法详细信息

isExists

public IFileAssert isExists()
从接口 IFileAssert 复制的描述
断言指定的文件已经存在

指定者:
接口 IFileAssert 中的 isExists
返回:

unExists

public IFileAssert unExists()
从接口 IFileAssert 复制的描述
断言指定的文件不存在

指定者:
接口 IFileAssert 中的 unExists
返回:

nameContain

public IFileAssert nameContain(String expected)
从接口 IFileAssert 复制的描述
断言文件名称包含期望值

指定者:
接口 IFileAssert 中的 nameContain
返回:

nameEq

public IFileAssert nameEq(String expected)
从接口 IFileAssert 复制的描述
断言文件名称等于期望值

指定者:
接口 IFileAssert 中的 nameEq
返回:


Copyright © 2013. All rights reserved.