The Trunk: SUnit-jr.106.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: SUnit-jr.106.mcz

commits-2
David T. Lewis uploaded a new version of SUnit to project The Trunk:
http://source.squeak.org/trunk/SUnit-jr.106.mcz

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

Name: SUnit-jr.106
Author: jr
Time: 2 March 2017, 11:07:55.282687 pm
UUID: 675e77ab-782e-2c47-a754-a9d1ca6f9c03
Ancestors: SUnit-mt.105

make ClassTestCase>targetClass work in other environments

=============== Diff against SUnit-mt.105 ===============

Item was changed:
  ----- Method: ClassTestCase>>targetClass (in category 'private') -----
  targetClass
    |className|
 
    className := self class name asText copyFrom: 0 to: self class name size - 4.
+   ^ self class environment valueOf: (className asString asSymbol).
-   ^ Smalltalk at: (className asString asSymbol).
  !