|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jmock.core.constraint.SubstringConstraint
org.jmock.core.constraint.StringEndsWith
public class StringEndsWith
Tests if the argument is a string that contains a substring.
| Field Summary |
|---|
| Fields inherited from class org.jmock.core.constraint.SubstringConstraint |
|---|
substring |
| Constructor Summary | |
|---|---|
StringEndsWith(java.lang.String substring)
|
|
| Method Summary | |
|---|---|
protected boolean |
evalSubstringOf(java.lang.String s)
|
protected java.lang.String |
relationship()
|
| Methods inherited from class org.jmock.core.constraint.SubstringConstraint |
|---|
describeTo, eval |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringEndsWith(java.lang.String substring)
| Method Detail |
|---|
protected boolean evalSubstringOf(java.lang.String s)
evalSubstringOf in class SubstringConstraintprotected java.lang.String relationship()
relationship in class SubstringConstraint
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||