A new version of TraitsTests was added to project The Inbox:
http://source.squeak.org/inbox/TraitsTests-ul.7.mcz==================== Summary ====================
Name: TraitsTests-ul.7
Author: ul
Time: 21 March 2010, 6:06:55.133 pm
UUID: f5f26119-922a-f74f-b279-eba6b5e43565
Ancestors: TraitsTests-ar.6
- Use Smalltalk globals as environment
=============== Diff against TraitsTests-ar.6 ===============
Item was changed:
----- Method: TraitsResource>>createTraitNamed:uses: (in category 'as yet unclassified') -----
createTraitNamed: aSymbol uses: aTraitComposition
| trait |
trait := Trait
named: aSymbol
uses: aTraitComposition
category: self categoryName
+ env: Smalltalk globals.
- env: Smalltalk.
self createdClassesAndTraits add: trait.
^trait!
Item was changed:
----- Method: TraitsTestCase>>createTraitNamed:uses: (in category 'utility') -----
createTraitNamed: aSymbol uses: aTraitComposition
| trait |
trait := Trait
named: aSymbol
uses: aTraitComposition
category: self categoryName
+ env: Smalltalk globals.
- env: Smalltalk.
self createdClassesAndTraits add: trait.
^trait!