[squeak-dev] LocaleTest >> #testLocaleChanged

tim Rowledge tim at rowledge.org
Sun Jan 12 18:52:48 UTC 2014


On 12-01-2014, at 5:19 AM, Frank Shearar <frank.shearar at gmail.com> wrote:

> This test fails because there's a non-nil keyboardInterpreter.
> 
> It's never really worked. It's not at all clear why there's this code
> setup/assertion before the actual test, either:
> 
> Project current updateLocaleDependents.
> self assert: (ActiveHand instVarNamed: 'keyboardInterpreter') isNil
> description: 'non-nil keyboardInterpreter'.
> self assert: (Clipboard default instVarNamed: 'interpreter') isNil
> description: 'non-nil interpreter'.
> 
> Given that ActiveHand's class, HandMorph, lazily constructs the
> keyboardInterpreter instvar, I don't know why we bother to check it.

Maybe there was some issue with it not getting nilled out? That’s all I can work out from it so far.


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Fractured Idiom:- COGITO EGGO SUM - I think; therefore, I am a waffle




More information about the Squeak-dev mailing list