[squeak-dev] [TEST PLANS] We need your support for making Squeak better

H. Hirzel hannes.hirzel at gmail.com
Mon Jul 2 18:43:53 UTC 2018


Develop and execute manual testcases for project saving / loading of
Squeak 5.2   *.pr files
(*.pr file see http://wiki.squeak.org/squeak/885)
Example file Project32b5d2.004.pr attached

Result: SUCCESS


On 7/2/18, H. Hirzel <hannes.hirzel at gmail.com> wrote:
> Test case copied from
> http://lists.squeakfoundation.org/pipermail/squeak-dev/2018-July/199422.html
>
> 1. Open a workspace, type some text in it.
> 2. Ctrl+left click on the text to open the morph menu of the
> TextMorphForEditView.
> 3. Choose "text properties..."
>
> Result: FAILURE
>
> On 7/2/18, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>> Project saving and loading has been made to work again: Test various
>> scenarios.
>>
>> On 7/2/18, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>>> NuScratch: If you click on 'full screen' you get
>>> Project>>#fullScreenOn has been deprecated.
>>>
>>>
>>> On 7/2/18, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>>>> On 7/2/18, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>>>>> NuScratch installation test in Squeak 5.2a
>>>>>
>>>>> Result OK
>>>>> Steps: http://wiki.squeak.org/squeak/1263
>>>>> Comment: Too many steps to do the installation.
>>>> Help call does not work
>>>>>
>>>>> On 6/28/18, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>>>>>> Note that the test code for the test in the previous mail is just
>>>>>>
>>>>>> s := SimpleButtonMorph new.
>>>>>> s target: [(EllipseMorph new extent: 50 at 50; color: Color red)
>>>>>> openInHand].
>>>>>> s label: 'Get a red dot'.
>>>>>> s actionSelector: #value.
>>>>>> s openInHand.
>>>>>>
>>>>>> It is to be pasted into a Workspace , executed and then the workspace
>>>>>> needs to be closed before the project is saved.
>>>>>>
>>>>>> On 6/28/18, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>>>>>>> A test case which tests project loading from Squeak 3.x projects - a
>>>>>>> project which includes a BlockContext object
>>>>>>>
>>>>>>> A minimal test case is
>>>>>>>
>>>>>>> a) Take a Squeak 3.10.2 image such as the
>>>>>>> http://folk.uio.no/trygver/assets/BabyIDE.zip version from Trygve
>>>>>>> Reenskaug
>>>>>>>
>>>>>>> use an interpreter VM to open it.
>>>>>>>
>>>>>>> b) open a new empty project (no flaps, no trash can): Label it
>>>>>>> 'SimplBtnMrphWthBlkAsTgt1'
>>>>>>>    (the name needs to be less than 24 characters, unfortunately)
>>>>>>>
>>>>>>> c) Use the second example of page http://wiki.squeak.org/squeak/6413
>>>>>>>     a SimpleButtonMorph with a block as target.
>>>>>>>
>>>>>>> d) Choose 'world menu' / 'projects' / 'save project on local file
>>>>>>> only'
>>>>>>>
>>>>>>> e)  Get the file 'SimplBtnMrphWthBlkAsTgt1.001.pr' from the
>>>>>>> Squeaklets
>>>>>>> folder
>>>>>>>
>>>>>>> f) Drop the project file onto the desktop of a Squeak5.2alpha latest
>>>>>>> update: #18117 image
>>>>>>>
>>>>>>>
>>>>>>> On 6/28/18, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>>>>>>>> Load and test
>>>>>>>>
>>>>>>>> SIXX - Smalltalk Instance eXchange in XML
>>>>>>>>
>>>>>>>> SIXX allows you to exchange nets of Smalltalk objects between
>>>>>>>> Squeak,
>>>>>>>> Pharo, Cuis, VW and Dolphin Smalltalk.
>>>>>>>>
>>>>>>>> http://wiki.squeak.org/squeak/84
>>>>>>>>
>>>>>>>> On 6/28/18, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>>>>>>>>> Page http://wiki.squeak.org/squeak/1183 shows the results of
>>>>>>>>> loading
>>>>>>>>> *.pr files from SqueakLand (Etoys project files). Currently 10
>>>>>>>>> project
>>>>>>>>> files load fine, 2 do not.
>>>>>>>>>
>>>>>>>>> On 6/9/18, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>>>>>>>>>> Test case: 'Unloading Etoys from Squeak 5.2'
>>>>>>>>>>
>>>>>>>>>> Description: http://wiki.squeak.org/squeak/1156
>>>>>>>>>>
>>>>>>>>>> ToDo: Do test and update wiki page with the result.
>>>>>>>>>>
>>>>>>>>>> On 6/6/18, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>>>>>>>>>>> A sketch of another manual test case (details will be provided
>>>>>>>>>>> in
>>>>>>>>>>> another thread)
>>>>>>>>>>>
>>>>>>>>>>> Use Etoys projects
>>>>>>>>>>> --------------------------
>>>>>>>>>>> 1. Download latest 5.2a
>>>>>>>>>>> 2. Load the Add-On which allows for Etoys projects
>>>>>>>>>>>     see thread 'MorphicProject subclass: #EtoysProject'
>>>>>>>>>>> 3. Find out what is possible to do and what is not possible.
>>>>>>>>>>>     Develop several test cases
>>>>>>>>>>>
>>>>>>>>>>> HH.
>>>>>>>>>>>
>>>>>>>>>>> On 6/2/18, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>>>>>>>>>>>> Hi Edgar
>>>>>>>>>>>>
>>>>>>>>>>>> On 5/26/18, Edgar J. De Cleene <edgardec2005 at gmail.com> wrote:
>>>>>>>>>>>>> Added.
>>>>>>>>>>>>> But you don't need go to 3.8.
>>>>>>>>>>>>> 3.10.2 should work and if not send mail to me.
>>>>>>>>>>>>
>>>>>>>>>>>> It works fine in 3.10.2 as well.
>>>>>>>>>>>>
>>>>>>>>>>>>> For a complete forensics, 4.5 could be updated almost to 4.6
>>>>>>>>>>>>> final,
>>>>>>>>>>>>> when
>>>>>>>>>>>>> Cog
>>>>>>>>>>>>> brings us speed and troubles :=)
>>>>>>>>>>>>
>>>>>>>>>>>> This probably does not work generally, see new test case below.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> A new test case is here
>>>>>>>>>>>> Load a small piece of 'active content' (a "slide"), together
>>>>>>>>>>>> with
>>>>>>>>>>>> construction code and instructions
>>>>>>>>>>>> http://wiki.squeak.org/squeak/2765
>>>>>>>>>>>>
>>>>>>>>>>>> Result
>>>>>>>>>>>> - 3.2 .morph file was created in Squeak 3.2
>>>>>>>>>>>> - 3.8.1 - loads fine
>>>>>>>>>>>> - 3.10.2 - loads fine
>>>>>>>>>>>> - 4.4 - does NOT load
>>>>>>>>>>>> - 5.1 - does NOT load
>>>>>>>>>>>> - Squeak6.0alpha #17233 - does NOT load
>>>>>>>>>>>> - 5.2a - loads fine
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ---------------------------------------------------------------
>>>>>>>>>>>>
>>>>>>>>>>>> Another test case from the VM-developer list
>>>>>>>>>>>>
>>>>>>>>>>>> 1. On macOS Sierra, version 10.12.6 (16G1314).
>>>>>>>>>>>> 2. Downloaded most recent Squeak5.2alpha -macOS.zip,
>>>>>>>>>>>> 3. extract it,
>>>>>>>>>>>> 4. copy it to a new folder and open it.
>>>>>>>>>>>> 5. Click on maximize button in the  Squeak window.
>>>>>>>>>>>>
>>>>>>>>>>>> EXPECTED RESULT
>>>>>>>>>>>> The Squeak window is maximized.
>>>>>>>>>>>>
>>>>>>>>>>>> CURRENT RESULT
>>>>>>>>>>>> Squeak crashes
>>>>>>>>>>>>
>>>>>>>>>>>> Might be difficult to reproduce
>>>>>>>>>>>>
>>>>>>>>>>>> -----------------------------
>>>>>>>>>>>> Regards
>>>>>>>>>>>> Hannes
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Project32b5d2.004.pr
Type: application/x-squeak-project
Size: 27034 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180702/e5d9f08f/attachment.bin>


More information about the Squeak-dev mailing list