public void addMisMatch ( String name , String expected , String actual ) { result = "NOK" ; Mismatch mismatch = new Mismatch ( ) ; mismatch . name = name ; mismatch . expected = expected ; mismatch . actual = actual ; mismatches . add ( mismatch ) ; }
Adds a mismatch to this result .