[squeak-dev] The Inbox: Tests-ct.426.mcz

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Thu Feb 6 18:01:30 UTC 2020


Oops, the system organization should not have been changed. Some of the tests might have failed to tear something down?

<http://www.hpi.de/>
________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von commits at source.squeak.org <commits at source.squeak.org>
Gesendet: Donnerstag, 6. Februar 2020 18:58:09
An: squeak-dev at lists.squeakfoundation.org
Betreff: [squeak-dev] The Inbox: Tests-ct.426.mcz

Christoph Thiede uploaded a new version of Tests to project The Inbox:
http://source.squeak.org/inbox/Tests-ct.426.mcz

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

Name: Tests-ct.426
Author: ct
Time: 6 February 2020, 6:58:06.300648 pm
UUID: 2a0d3e63-9e48-5040-a1af-145fa43c9695
Ancestors: Tests-mt.424

Tests load and unload order of MCScriptDefinitions

This is currently not working properly, see http://forum.world.st/Monticello-Bug-Preamble-of-removal-is-executed-too-late-tp5108401.html. Fix is coming very soon!

=============== Diff against Tests-mt.424 ===============

Item was changed:
  SystemOrganization addCategory: #'Tests-Bugs'!
  SystemOrganization addCategory: #'Tests-Compiler'!
  SystemOrganization addCategory: #'Tests-Dependencies'!
  SystemOrganization addCategory: #'Tests-Digital Signatures'!
  SystemOrganization addCategory: #'Tests-Environments'!
  SystemOrganization addCategory: #'Tests-Exceptions'!
  SystemOrganization addCategory: #'Tests-FilePackage'!
  SystemOrganization addCategory: #'Tests-Files'!
  SystemOrganization addCategory: #'Tests-Finalization'!
  SystemOrganization addCategory: #'Tests-Hex'!
  SystemOrganization addCategory: #'Tests-Installer-Core'!
  SystemOrganization addCategory: #'Tests-Localization'!
  SystemOrganization addCategory: #'Tests-Monticello'!
  SystemOrganization addCategory: #'Tests-Monticello-Mocks'!
  SystemOrganization addCategory: #'Tests-Monticello-Utils'!
  SystemOrganization addCategory: #'Tests-Object Events'!
  SystemOrganization addCategory: #'Tests-ObjectsAsMethods'!
  SystemOrganization addCategory: #'Tests-PrimCallController'!
  SystemOrganization addCategory: #'Tests-Release'!
  SystemOrganization addCategory: #'Tests-System-Applications'!
  SystemOrganization addCategory: #'Tests-System-Digital Signatures'!
  SystemOrganization addCategory: #'Tests-System-Object Storage'!
  SystemOrganization addCategory: #'Tests-System-Preferences'!
  SystemOrganization addCategory: #'Tests-System-Support'!
  SystemOrganization addCategory: #'Tests-Utilities'!
  SystemOrganization addCategory: #'Tests-VM'!
+ SystemOrganization addCategory: #'Tests-MonticelloMocks'!

Item was added:
+ ----- Method: MCPackageTest>>testLoadOrder (in category 'tests') -----
+ testLoadOrder
+
+        | snapshot loader additions |
+        snapshot := MCMockPackageInfo new mcPackage snapshot.
+        loader := MCPackageLoader new.
+        loader installSnapshot: snapshot.
+        loader analyze.
+        additions := loader instVarNamed: #additions.
+        self assert: [(additions findLast: [:ea | ea isKindOf: MCPreambleDefinition])
+                < (additions findFirst: [:ea | ea isClassDefinition])].
+        self assert: [(additions findFirst: [:ea | ea isKindOf: MCPostscriptDefinition])
+                > (additions findLast: [:ea | ea isClassDefinition])].!

Item was added:
+ ----- Method: MCPackageTest>>testUnloadOrder (in category 'tests') -----
+ testUnloadOrder
+
+        | package loader removals |
+        package := MCMockPackageInfo new mcPackage.
+        loader := MCPackageLoader new.
+        loader unloadPackage: package.
+        loader analyze.
+        removals := loader instVarNamed: #removals.
+        self assert: [(removals findLast: [:ea | ea isKindOf: MCRemovalPreambleDefinition])
+                < (removals findFirst: [:ea | ea isClassDefinition])].
+        self assert: [(removals findFirst: [:ea | ea isKindOf: MCRemovalPostscriptDefinition])
+                > (removals findLast: [:ea | ea isClassDefinition])].!

Item was changed:
  ----- Method: MCWorkingCopyRenameTest>>mockPackage (in category 'running') -----
  mockPackage

+        ^MCPackage named: self mockCategoryName!
-        ^MCPackage new name: self mockCategoryName!


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


More information about the Squeak-dev mailing list