[squeak-dev] The Trunk: SUnit-cmm.97.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri Nov 8 16:25:10 UTC 2013
Chris Muller uploaded a new version of SUnit to project The Trunk:
http://source.squeak.org/trunk/SUnit-cmm.97.mcz
==================== Summary ====================
Name: SUnit-cmm.97
Author: cmm
Time: 8 November 2013, 10:24:49.44 am
UUID: d53f9dfb-5ea8-499e-bb2e-9b76450607cf
Ancestors: SUnit-fbs.96
Added a test for MessageSend>>#numArgs.
=============== Diff against SUnit-fbs.96 ===============
Item was added:
+ TestCase subclass: #MessageSendTest
+ instanceVariableNames: ''
+ classVariableNames: ''
+ poolDictionaries: ''
+ category: 'SUnit-Kernel'!
Item was added:
+ ----- Method: MessageSendTest>>testNumArgs (in category 'as yet unclassified') -----
+ testNumArgs
+ self
+ assert:
+ (MessageSend
+ receiver: Dictionary new
+ selector: #at:put:) numArgs = 2 ;
+ assert:
+ (MessageSend
+ receiver: 3
+ selector: #sqrt) numArgs = 0!
More information about the Squeak-dev
mailing list
|