[squeak-dev] The Trunk: KernelTests-ct.418.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Thu Dec 30 09:03:11 UTC 2021


Hi Christoph --

I suggest to automatically add/remove classes/methods in a package that is not versioned by Monticello. "UserObjects" is fine for new classes. The extension category "*autogenerated" is fine for new methods in versioned classes.

Best,
Marcel
Am 29.12.2021 18:54:00 schrieb commits at source.squeak.org <commits at source.squeak.org>:
Christoph Thiede uploaded a new version of KernelTests to project The Trunk:
http://source.squeak.org/trunk/KernelTests-ct.418.mcz

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

Name: KernelTests-ct.418
Author: ct
Time: 29 December 2021, 6:53:33.543638 pm
UUID: 7249862f-06c0-5043-a561-e2ed9c79c92a
Ancestors: KernelTests-ct.416

Tweaks #testObjectsAsMethod to avoid event all broadcasting (which made the test slower/harder to debug on some systems). Sorry for the noise!

=============== Diff against KernelTests-ct.416 ===============

Item was changed:
----- Method: ContextTest>>testObjectsAsMethod (in category 'tests') -----
testObjectsAsMethod

| result error |
SystemChangeNotifier uniqueInstance doSilently: [
self class addSelector: #foo withMethod: (TestObjectForMethod new xxxMethod: thisContext homeMethod)].

result := Context runSimulated: [[self foo] on: Error do: [:ex | error := ex]].
error ifNotNil: [self fail: error].

+ SystemChangeNotifier uniqueInstance doSilently: [
+ [self assert: self foo equals: result]
+ ensure: [self class removeSelector: #foo]].!
- [self assert: self foo equals: result]
- ensure: [self class removeSelector: #foo].!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211230/75623094/attachment.html>


More information about the Squeak-dev mailing list