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
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.