org.test4j.hamcrest.matcher.string
类 StringMatcher
java.lang.Object
ext.test4j.hamcrest.BaseMatcher<T>
ext.test4j.hamcrest.TypeSafeMatcher<String>
org.test4j.hamcrest.matcher.string.StringMatcher
- 所有已实现的接口:
- Matcher<String>, SelfDescribing
- 直接已知子类:
- StringEndWithMatcher, StringEqualMatcher, StringStartWithMatcher
public abstract class StringMatcher
- extends TypeSafeMatcher<String>
modes
protected StringMode[] modes
expected
protected String expected
StringMatcher
public StringMatcher(String expected)
setStringModes
public void setStringModes(StringMode... modes)
matchesSafely
protected boolean matchesSafely(String item)
- 指定者:
- 类
TypeSafeMatcher<String> 中的 matchesSafely
match
protected abstract boolean match(String expected,
String actual)
relationship
protected abstract String relationship()
describeTo
public void describeTo(Description description)
Copyright © 2013. All rights reserved.