[squeak-dev] The Trunk: Tests-lrnp.482.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Apr 27 14:12:42 UTC 2022


Marcel Taeumel uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-lrnp.482.mcz

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

Name: Tests-lrnp.482
Author: lrnp
Time: 18 April 2022, 5:38:05.257552 pm
UUID: dbcc2021-223d-45e4-9f92-bd5d7429c657
Ancestors: Tests-ct.481

make test class not more restrictive than tested class

A PackageInfo will return false if the categoryName is nil (via #category:matches:), but using #sameAs: will eventually signal an error. Matching PackageInfo's contract allows it to be present in the PackageOrganizer without needing to support it specially.

=============== Diff against Tests-ct.481 ===============

Item was changed:
  ----- Method: MCMockPackageInfo>>includesSystemCategory: (in category 'testing') -----
  includesSystemCategory: categoryName
+ 	categoryName ifNil: [^false].
  	^self systemCategories anySatisfy: [:cat | cat sameAs: categoryName]!



More information about the Squeak-dev mailing list