David T. Lewis uploaded a new version of Tests to project The Trunk: http://source.squeak.org/trunk/Tests-dtl.137.mcz
==================== Summary ====================
Name: Tests-dtl.137 Author: dtl Time: 7 December 2011, 7:37:55.29 pm UUID: 0459f1c6-f3ca-471c-ad95-0a98c6487464 Ancestors: Tests-dtl.136
For Squeak 4.3 release code freeze, temporarily revert previous ReferenceStream changes due to unresolved issues (see http://lists.squeakfoundation.org/pipermail/squeak-dev/2011-December/162386....). The updates will be reintroduced following the Squeak 4.3 release.
Packages affected: Kernel-Objects System-Object Storage Tests-Object Storage
=============== Diff against Tests-dtl.136 ===============
Item was changed: SystemOrganization addCategory: #'Tests-Exceptions'! SystemOrganization addCategory: #'Tests-Files'! SystemOrganization addCategory: #'Tests-Compiler'! SystemOrganization addCategory: #'Tests-Digital Signatures'! SystemOrganization addCategory: #'Tests-Object Events'! SystemOrganization addCategory: #'Tests-System-Support'! SystemOrganization addCategory: #'Tests-Bugs'! SystemOrganization addCategory: #'Tests-ObjectsAsMethods'! SystemOrganization addCategory: #'Tests-PrimCallController'! SystemOrganization addCategory: #'Tests-Release'! SystemOrganization addCategory: #'Tests-Utilities'! SystemOrganization addCategory: #'Tests-VM'! SystemOrganization addCategory: #'Tests-Hex'! SystemOrganization addCategory: #'Tests-Monticello'! SystemOrganization addCategory: #'Tests-Localization'! SystemOrganization addCategory: #'Tests-FilePackage'! SystemOrganization addCategory: #'Tests-Finalization'! SystemOrganization addCategory: #'Tests-Dependencies'! SystemOrganization addCategory: #'Tests-Monticello-Mocks'! - SystemOrganization addCategory: #'Tests-Object Storage'! - SystemOrganization addCategory: #'Tests-System-Object Storage'!
Item was removed: - TestCase subclass: #ReferenceStreamTest - instanceVariableNames: '' - classVariableNames: '' - poolDictionaries: '' - category: 'Tests-System-Object Storage'!
Item was removed: - ----- Method: ReferenceStreamTest>>testWeakDumps (in category 'testing') ----- - testWeakDumps - "Test that if we serialize a model with weak references to views, only the model is serialized and not the views. - - Note: The bug became apparent only when dumping a model to a SmartRefStream, that calls #references, and the serialized stream - was later materialized in an image where the view classes had been deleted. In such rare cases, materialization would fail when trying to reference these - absent classes. If serializing to a ReferenceStream, the bug didn't become apparent (views were never serialized). If serializing to a SmartRefStream, but - view classes still existed, the bug didn't really become apparent (because views were not actually deserialized), the only effect was a larger file. - - ReferenceStreamTest new testWeakDumps - " - | oldInstance refStream | - oldInstance :=StringHolder new contents: 'This is a text'. - oldInstance addDependent: Morph new. - refStream := ReferenceStream on: (DummyStream on: nil). - refStream nextPut: oldInstance. - self deny: (refStream references keys anySatisfy: [ :dumpedObject | dumpedObject isKindOf: Morph ])!
squeak-dev@lists.squeakfoundation.org