jdave
Class StringEqualsEqualityCheck

java.lang.Object
  extended by jdave.EqualityCheck
      extended by jdave.equality.EqualsEqualityCheck
          extended by jdave.StringEqualsEqualityCheck
All Implemented Interfaces:
IEqualityCheck

public class StringEqualsEqualityCheck
extends EqualsEqualityCheck

Author:
Joni Freeman

Field Summary
 
Fields inherited from class jdave.equality.EqualsEqualityCheck
expected
 
Constructor Summary
StringEqualsEqualityCheck(Specification<?> specification, java.lang.String expected)
           
 
Method Summary
 java.lang.String error(java.lang.Object actual)
           
 void verify(java.lang.Object actual)
           
 
Methods inherited from class jdave.equality.EqualsEqualityCheck
matches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringEqualsEqualityCheck

public StringEqualsEqualityCheck(Specification<?> specification,
                                 java.lang.String expected)
Method Detail

error

public java.lang.String error(java.lang.Object actual)
Specified by:
error in interface IEqualityCheck
Overrides:
error in class EqualsEqualityCheck

verify

public void verify(java.lang.Object actual)
Specified by:
verify in interface IEqualityCheck
Overrides:
verify in class EqualityCheck


Copyright © 2008. All Rights Reserved.