[squeak-dev] The Trunk: SUnit-jr.106.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Mar 5 16:15:13 UTC 2017


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).
  !



More information about the Squeak-dev mailing list