org.test4j.hamcrest.matcher.property
类 ReflectionEqualMatcher

java.lang.Object
  继承者 ext.test4j.hamcrest.BaseMatcher
      继承者 org.test4j.hamcrest.matcher.property.ReflectionEqualMatcher
所有已实现的接口:
Matcher, SelfDescribing

public class ReflectionEqualMatcher
extends BaseMatcher

以反射的方式验证2个对象是否相等

作者:
darui.wudr

构造方法摘要
ReflectionEqualMatcher(Collection expected, EqMode[] modes)
           
ReflectionEqualMatcher(List expected, EqMode[] modes)
           
ReflectionEqualMatcher(Object expected, EqMode[] modes)
           
ReflectionEqualMatcher(T[] expected, EqMode[] modes)
           
 
方法摘要
 void describeTo(Description description)
           
 boolean matches(Object actual)
           
 
从类 ext.test4j.hamcrest.BaseMatcher 继承的方法
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

ReflectionEqualMatcher

public ReflectionEqualMatcher(Object expected,
                              EqMode[] modes)

ReflectionEqualMatcher

public ReflectionEqualMatcher(Collection expected,
                              EqMode[] modes)

ReflectionEqualMatcher

public ReflectionEqualMatcher(T[] expected,
                              EqMode[] modes)

ReflectionEqualMatcher

public ReflectionEqualMatcher(List expected,
                              EqMode[] modes)
方法详细信息

matches

public boolean matches(Object actual)

describeTo

public void describeTo(Description description)


Copyright © 2013. All rights reserved.