org.test4j.hamcrest.matcher.string
类 StringEqualMatcher

java.lang.Object
  继承者 ext.test4j.hamcrest.BaseMatcher<T>
      继承者 ext.test4j.hamcrest.TypeSafeMatcher<String>
          继承者 org.test4j.hamcrest.matcher.string.StringMatcher
              继承者 org.test4j.hamcrest.matcher.string.StringEqualMatcher
所有已实现的接口:
Matcher<String>, SelfDescribing

public class StringEqualMatcher
extends StringMatcher

按照模式来判断2个string是否相同

作者:
darui.wudr

字段摘要
 
从类 org.test4j.hamcrest.matcher.string.StringMatcher 继承的字段
expected, modes
 
构造方法摘要
StringEqualMatcher(String expected)
           
 
方法摘要
protected  boolean match(String expected, String actual)
           
protected  String relationship()
           
 
从类 org.test4j.hamcrest.matcher.string.StringMatcher 继承的方法
describeTo, matchesSafely, setStringModes
 
从类 ext.test4j.hamcrest.TypeSafeMatcher 继承的方法
describeMismatch, describeMismatchSafely, matches
 
从类 ext.test4j.hamcrest.BaseMatcher 继承的方法
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

StringEqualMatcher

public StringEqualMatcher(String expected)
方法详细信息

match

protected boolean match(String expected,
                        String actual)
指定者:
StringMatcher 中的 match

relationship

protected String relationship()
指定者:
StringMatcher 中的 relationship


Copyright © 2013. All rights reserved.