abbot.finder.matchers
Class AbstractMatcher
java.lang.Object
abbot.finder.matchers.AbstractMatcher
- All Implemented Interfaces:
- Matcher
- Direct Known Subclasses:
- ClassMatcher, NameMatcher
public abstract class AbstractMatcher
- extends Object
- implements Matcher
Convenience abstract class to provide regexp-based matching of strings.
AbstractMatcher
public AbstractMatcher()
stringsMatch
protected boolean stringsMatch(String expected,
String actual)
- Provides direct or regexp matching. To match a regular expression,
bound the expected string with slashes, e.g. /regular expression/.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on