Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Environment withName: aName
Last updated at 7:58 am UTC on 11 October 2017
[squeak-dev] The Trunk: Tests-nice.359.mcz

Squeak 
commits@source.squeak.org
<commits@source.squeak.org>	Fri, Oct 28, 2016 at 9:26 AM
Reply-To: squeak-dev@lists.squeakfoundation.org
To: squeak-dev@lists.squeakfoundation.org, packages@lists.squeakfoundation.org

Nicolas Cellier uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-nice.359.mcz

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

Name: Tests-nice.359
Author: nice
Time: 28 October 2016, 9:26:33.240881 am
UUID: 61d2f0a4-ad88-9541-82fc-ce97c7939b23
Ancestors: Tests-nice.358

Fix yet another missing Environment clean-up.

Use Environment withName: rather than named:, because the later registers the Environment and prevent it to be garbageCollected.

=============== Diff against Tests-nice.358 ===============

Item was changed:
  ----- Method: MethodReferenceTest>>setUp (in category 'running') -----
  setUp
        | g p |
+       env := Environment withName: 'test'.
-       env := Environment named: 'test'.
        g := self createClass: #Griffle.
        p := self createClass: #Plonk.
        g compile: 'foo ^ 1'.
        g organization classify: #foo under: #accessing.
        g class compile: 'classFoo ^ 1'.
        g compile: 'bar ^ 1'.
        p compile: 'foo ^ 2'.
        self createClass: #Unused.!

Item was added:
+ ----- Method: MethodReferenceTest>>tearDown (in category 'running') -----
+ tearDown
+       env destroy.
+       env := nil!




[squeak-dev] The Trunk: Tests-nice.358.mcz
   Squeak 
Add star 
commits@source.squeak.org
<commits@source.squeak.org>	Fri, Oct 28, 2016 at 9:13 AM
Reply-To: squeak-dev@lists.squeakfoundation.org
To: squeak-dev@lists.squeakfoundation.org, packages@lists.squeakfoundation.org
Reply | Reply to all | Forward | Print | Delete | Show original
Nicolas Cellier uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-nice.358.mcz

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

Name: Tests-nice.358
Author: nice
Time: 28 October 2016, 9:13:29.479881 am
UUID: b7aafe46-1358-dd4c-af73-3883b11d37f8
Ancestors: Tests-nice.357

Clean-up RecentMessagesTest once finished.

Currently it accumulates Victim classes and a bunch of associated environments

=============== Diff against Tests-nice.357 ===============

Item was added:
+ ----- Method: RecentMessagesTest>>tearDown (in category 'running') -----
+ tearDown
+       env destroy.
+       env := nil!