X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=result.lisp;h=28baaa5644a8f22fe1d85cffab02ec64a9473929;hb=274fc70849b8122372f0e114a917f23852ce7f20;hp=1b7fd35984c9e60905f59664a427a5265ab8b7ff;hpb=e6a0ad7329d3ce497ce8c9f3d0d37811b2da4811;p=xlunit.git diff --git a/result.lisp b/result.lisp index 1b7fd35..28baaa5 100644 --- a/result.lisp +++ b/result.lisp @@ -2,7 +2,7 @@ ;;;; ************************************************************************* ;;;; FILE IDENTIFICATION ;;;; -;;;; ID: $Id: result.lisp,v 1.5 2003/08/04 16:42:27 kevin Exp $ +;;;; ID: $Id: result.lisp,v 1.7 2003/08/05 22:56:25 kevin Exp $ ;;;; Purpose: Result functions for XLUnit ;;;; ;;;; ************************************************************************* @@ -35,7 +35,6 @@ res) (defmethod end-test ((tcase test) (res test-results)) - (incf (run-tests res)) (mapc (lambda (listener) (end-test listener tcase)) (listeners res)) res) @@ -57,7 +56,7 @@ (defmethod is-failure ((failure test-failure)) "Returns T if a failure was a test-failure condition" - (typep (thrown-condition failure) 'test-failure-condition)) + (typep (thrown-condition failure) 'assertion-failed)) (defmethod print-object ((obj test-failure) stream) (print-unreadable-object (obj stream :type t :identity nil)