com.canoo.webtest.engine
Class RegExStringVerifier
java.lang.Object
com.canoo.webtest.engine.RegExStringVerifier
- All Implemented Interfaces:
- IStringVerifier
public class RegExStringVerifier
- extends Object
- implements IStringVerifier
Compares string evaluating the expected value as a regular expression
- Author:
- Carsten Seibert, Dierk Koenig, Marc Guillemot
- See Also:
Pattern
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final IStringVerifier INSTANCE
RegExStringVerifier
public RegExStringVerifier()
verifyStrings
public boolean verifyStrings(String pattern,
String actualValue)
- Specified by:
verifyStrings in interface IStringVerifier
- Parameters:
pattern - the pattern to search foractualValue - The actual value of the string
- Returns:
true if the pattern can be found in the actual value- See Also:
IStringVerifier.verifyStrings(java.lang.String, java.lang.String)