[squeak-dev] Re: The Inbox: Kernel-mtf.528.mcz

Andreas Raab andreas.raab at gmx.de
Thu Dec 16 16:23:46 UTC 2010


On 12/16/2010 4:58 AM, Matthew Fulmer wrote:
>> Indeed. This is crazy. We need a concerted effort. We need to change
>> both the in-image preference and the VM preference (in the .ini file).
>
> I had no idea there were vm settings. I just thought the windows
> vm always got it backward for historical reasons.

See http://squeakvm.org/win32/settings.html

>> If you want to make sure this happens for the next release, then write a
>> test in ReleaseTests ensuring that the in-image preference is set
>> properly. This will act as a reminder and force the issue.
>
> I'll look into this vm settings thing and see if I can come up
> with a test case to ensure that the VM is sending right clicks
> as blue buttons, and another to ensure swapMouseButtons is set

All you need is a test that says:

testSwapButtonPreference
	"Swap mouse buttons should be enabled on all platforms"
	self assert: Preferences swapMouseButtons.

Cheers,
   - Andreas



More information about the Squeak-dev mailing list