[Pkg] The Trunk: Tests-topa.333.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Oct 7 19:04:12 UTC 2015


Tobias Pape uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-topa.333.mcz

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

Name: Tests-topa.333
Author: topa
Time: 7 October 2015, 9:04:07.581 pm
UUID: 1224d066-f1f6-4e54-b2d8-235915d04ba4
Ancestors: Tests-topa.332

Expect MessageNotUnderstood for unknown prefs on Preferences, also, make the selector even more unlikely...

=============== Diff against Tests-topa.332 ===============

Item was changed:
  ----- Method: PreferencesTest>>test08DNUFallback (in category 'tests') -----
  test08DNUFallback
  
  	sut setPreference: #foo toValue: 123.
  	sut class removeSelectorSilently: #foo.
  
  	self assert: (sut perform: #foo) = 123.
+ 	self should: [sut perform: #_unlikelyAndUnknownSelector] raise: MessageNotUnderstood.!
- 	self assert: (sut perform: #unknownSelector) isNil.!



More information about the Packages mailing list