Marcel Taeumel uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-mt.435.mcz ==================== Summary ==================== Name: Tests-mt.435 Author: mt Time: 4 June 2020, 9:56:19.939143 am UUID: 63b4897e-3c57-0445-b94a-17aa26f33e1a Ancestors: Tests-ul.434, Tests-ct.426 Merges (still failing) tests for load/unload order of script definitions. =============== Diff against Tests-ul.434 =============== 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! |
Free forum by Nabble | Edit this page |