The Trunk: Tests-mt.421.mcz

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

The Trunk: Tests-mt.421.mcz

commits-2
Marcel Taeumel uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-mt.421.mcz

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

Name: Tests-mt.421
Author: mt
Time: 18 November 2019, 2:08:40.134051 pm
UUID: 8a6b30cb-7d1d-4b4d-ae96-2620470c58fb
Ancestors: Tests-pre.420

More tests for #asSimpleSetter and #isSimpleSetter. New tests for #asSimpleGetter and #isSimpleGetter.

=============== Diff against Tests-pre.420 ===============

Item was added:
+ ----- Method: StringSystemSupportTest>>testAsSimpleGetter (in category 'tests') -----
+ testAsSimpleGetter
+ self
+ assert: #x: asSimpleGetter = #x ;
+ assert: #x asSimpleGetter = #x ;
+ assert: #x: asSimpleGetter isSymbol ;
+ assert: 'x:' asSimpleGetter = #x ;
+ assert: 'x' asSimpleGetter = #x ;
+ assert: 'x:' asSimpleGetter isSymbol!

Item was changed:
  ----- Method: StringSystemSupportTest>>testAsSimpleSetter (in category 'tests') -----
  testAsSimpleSetter
  self
  assert: #x asSimpleSetter = #x: ;
  assert: #x: asSimpleSetter = #x: ;
+ assert: #x asSimpleSetter isSymbol ;
+ assert: 'x' asSimpleSetter = #x: ;
+ assert: 'x:' asSimpleSetter = #x: ;
+ assert: 'x' asSimpleSetter isSymbol!
- assert: #x asSimpleSetter isSymbol!

Item was added:
+ ----- Method: StringSystemSupportTest>>testIsSimpleGetter (in category 'tests') -----
+ testIsSimpleGetter
+ self
+ assert: #x isSimpleGetter ;
+ deny: #x: isSimpleGetter ;
+ deny: #+ isSimpleGetter ;
+ deny: 'x' isSimpleGetter!

Item was changed:
  ----- Method: StringSystemSupportTest>>testIsSimpleSetter (in category 'tests') -----
  testIsSimpleSetter
  self
  assert: #x: isSimpleSetter ;
  deny: #x isSimpleSetter ;
  deny: #+ isSimpleSetter ;
+ deny: #a:b: isSimpleSetter ;
+ deny: 'x:' isSimpleSetter!
- deny: #a:b: isSimpleSetter!