The Trunk: CollectionsTests-fbs.191.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: CollectionsTests-fbs.191.mcz

commits-2
Frank Shearar uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-fbs.191.mcz

==================== Summary ====================

Name: CollectionsTests-fbs.191
Author: fbs
Time: 26 August 2012, 8:46:27.18 pm
UUID: c18b22a5-133c-453f-aaef-7afb0d29847a
Ancestors: CollectionsTests-ul.189

Symbol >> #isBinary returns true if that Symbol is a valid binary message - something like #+, #>>=, and so on. It returns false for all other kinds of Symbols.

=============== Diff against CollectionsTests-ul.189 ===============

Item was added:
+ ----- Method: SymbolTest>>testIsBinaryReturnsFalseForKeywordSelectors (in category 'testing - testing') -----
+ testIsBinaryReturnsFalseForKeywordSelectors
+ self deny: #do: isBinary.
+ self deny: #ifTrue:ifFalse: isBinary.
+ self deny: #with:with:with:with: isBinary.!

Item was added:
+ ----- Method: SymbolTest>>testIsBinaryReturnsFalseForUnarySelectors (in category 'testing - testing') -----
+ testIsBinaryReturnsFalseForUnarySelectors
+ self deny: #timesRepeat isBinary.
+ self deny: #once isBinary.
+ self deny: #isBinary isBinary.!

Item was added:
+ ----- Method: SymbolTest>>testIsBinaryReturnsTrueForOperatorLikeSymbols (in category 'testing - testing') -----
+ testIsBinaryReturnsTrueForOperatorLikeSymbols
+ self assert: #+ isBinary.
+ self assert: #>>= isBinary.
+ self assert: #| isBinary.!