[squeak-dev] The Trunk: EToys-topa.121.mcz

Tobias Pape Das.Linux at gmx.de
Thu Apr 2 22:52:43 UTC 2015


Hi,

On 03.04.2015, at 00:32, Levente Uzonyi <leves at elte.hu> wrote:

> I prefer to use Symbols instead of Strings for class names, because they make it easier to find potential users of the class.
> 

yes, but #hasClassNamed: is a String protocol.
What do you suggest? Smalltalk>>#at: ?

> Levente
> 
> On Thu, 2 Apr 2015, commits at source.squeak.org wrote:
> 
>> Tobias Pape uploaded a new version of EToys to project The Trunk:
>> http://source.squeak.org/trunk/EToys-topa.121.mcz
>> 
>> ==================== Summary ====================
>> 
>> Name: EToys-topa.121
>> Author: topa
>> Time: 3 April 2015, 12:20:38.114 am
>> UUID: d3f4e3f2-9ef0-4138-89d2-a88d122f9bc6
>> Ancestors: EToys-topa.120
>> 
>> As Etoys is not _per se_ dependent on Sound, be graceful about its presence in Etoys' tests.
>> 
>> =============== Diff against EToys-topa.120 ===============
>> 
>> Item was added:
>> + ----- Method: TileMorphTest>>expectedFailures (in category 'testing') -----
>> + expectedFailures
>> +
>> + 	^ super expectedFailures,
>> + 		((Smalltalk hasClassNamed: 'BaseSoundSystem')
>> + 			ifTrue: [#()]
>> + 			ifFalse: [#(testSoundTile) "Only this test depends on Sound"])!
>> 
>> Item was changed:
>> ----- Method: TileMorphTest>>setUp (in category 'running') -----
>> setUp
>> 
>> 	self soundSystemBackup: SoundService defaultOrNil.
>> + 	SoundService default: (Smalltalk classNamed: 'BaseSoundSystem').!
>> - 	SoundService default: BaseSoundSystem.!




More information about the Squeak-dev mailing list