Hi:
I collected the following list of known SUnit 3.0 anomalies For Dolphin. If anyone has discovered any others, or notice any known I left off, please let me know. I'm putting together fixed Dolphin 3.0 & 4.0 versions. Reported anomalies: 1. Evaluating 'TestRunner open' brings up version with 2.7 instead of 3.0. Date: Thu, 15 Feb 2001 13:09:28 -0500 From: Donald MacQueen <[hidden email]> 2. Running *any* test gets the dnu ExampleSetTest class #sunitAllSelectors. Date: Thu, 15 Feb 2001 13:09:28 -0500 From: Donald MacQueen <[hidden email]> (already fixed in SourceForge version d. l.) 3. Dolphin (all versions) assertions appear as "Unknown" errors. Date: Mon, 19 Feb 2001 23:07:05 -0000 From: "Blair McGlashan" <[hidden email]> 4. Bold fonts on the buttons instead of normal fonts. Date: Wed, 21 Feb 2001 08:10:41 -0500 From: "Jarvis, Robert P. (Contingent)" <[hidden email]> 5. The 'Refresh' button color #default caused the color to shift unexpectedly when the 'Refresh' button was hit. Date: Wed, 21 Feb 2001 08:10:41 -0500 6. Test #testRepeat reports three errors instead of one error. SUnitTest>>#testRepeat self error. self error. self error. Date: Sat, 24 Feb 2001 23:10:02 -0500 From: Ron Jeffries <[hidden email]> Fixes: 1. The fix is: !TestRunner methodsFor! updateCaption "Private - The receiver is initially displayed or has changed in such a way that the caption may need to be refreshed." "2001/02/16 Harmon, R.A. Added and set caption to empty string in view." self caption: 'SUnit Camp Smalltalk 3.0 TestRunner' ! ! !TestRunner categoriesFor: #updateCaption!private!Updating! ! The TestRunner browser resource no longer need be changed with each new version, but just change the #updateCaption method. I also edited the TestRunner browser view to set "caption" to an empty string. 2. The fix is to add a new Behavior>>#sunitAllSelectors method. !Behavior methodsFor! sunitAllSelectors "2001/02/16 Harmon, R.A. Added." ^self allSelectors asSortedCollection asOrderedCollection ! ! !Behavior categoriesFor: #sunitAllSelectors!Camp Smalltalk!public! ! 3. Fix: Using #signal: (rather than #signalWith:) should be correct for any Smalltalk with an ANSI standard exception implementation. !Exception class methodsFor! sunitSignalWith: aString "2001/02/16 Harmon, R.A. Changed as per Blair McGlashan's suggestion." ^self signal: aString! ! !Exception class categoriesFor: #sunitSignalWith:!Camp Smalltalk!public! ! 4. Using ViewComposer changed the all button fonts to use a non-bolded 'Default' font(select the #font aspect and use the workspace to set its value to nil). 5. Changed TestRunner>>#displayClear (color used when the 'Refresh' button is pressed) to #gray (was #default). 6. Use #return: instead of exit: to get rid of multiple errors. Also added SUnitTest>>#testRepeat. Exception>>#sunitExitWith: aValue sunitExitWith: aValue "2001/02/16 Harmon, R.A. Changed to use #return: instead of exit: to get rid of multiple errors." self return: aValue SUnitTest>>#testRepeat self error. self error. self error. -- Richard A. Harmon "The only good zombie is a dead zombie" [hidden email] E. G. McCarthy |
Free forum by Nabble | Edit this page |