[BUG][FIX] TestRunner (TestCase) openDebuggerOnFailingTestCase
pinkney_b at aircom.co.za
pinkney_b at aircom.co.za
Thu Dec 4 01:31:31 UTC 2003
Change Set: openDebuggerOnFailingTestCase-brp
Date: 3 December 2003
Author: Brent Pinkney
Not all SUnit test cases inherit directly from TestCase; the developer may
have introduced (possibly abstract) base classes in between.
If such a test case fails, the failing compiled method may well be in such
an inherited class.
To successfully open a debugger on such a failing method, #lookupSelector:
should be used instead of #compiledMethodAt: in
TestCase:>>#openDebuggerOnFailingTestMethod.
This was tested in a 3.7a-5595 image. i.e. with the new TestRunner."
This is a trivial fix.
Regards
B
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openDebuggerOnFailingTestCase-brp.2.cs.gz
Type: application/x-gzip
Size: 732 bytes
Desc: openDebuggerOnFailingTestCase-brp.2.cs.gz
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20031203/594c0ec5/openDebuggerOnFailingTestCase-brp.2.cs.bin
More information about the Squeak-dev
mailing list
|