[squeak-dev] The Inbox: Tests-jr.365.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Feb 28 13:23:38 UTC 2017


A new version of Tests was added to project The Inbox:
http://source.squeak.org/inbox/Tests-jr.365.mcz

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

Name: Tests-jr.365
Author: jr
Time: 28 February 2017, 2:23:20.261388 pm
UUID: 972a25d7-62b8-4141-b85e-832a66b4760d
Ancestors: Tests-eem.363

fix: MCEnvironmentLoadTest must import required classes

the "curiously" comment is apparently out of date

=============== Diff against Tests-eem.363 ===============

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-Object Storage'!
  SystemOrganization addCategory: #'Tests-System-Support'!
  SystemOrganization addCategory: #'Tests-Utilities'!
  SystemOrganization addCategory: #'Tests-VM'!
  SystemOrganization addCategory: #'Tests-System-Digital Signatures'!
  SystemOrganization addCategory: #'Tests-System-Preferences'!
+ SystemOrganization addCategory: #'Tests-OSProcess'!
+ SystemOrganization addCategory: #'Tests-MonticelloMocks'!

Item was changed:
  ----- Method: MCEnvironmentLoadTest>>setUp (in category 'running') -----
  setUp
  	environment := Environment named: 'MCEnvironmentLoadTest'.
  	
  	"This is required in order to not importSelf more than once"
  	environment stopObserving: environment. 
  	
  	"This is required to make own declarations visible in environment"
  	environment importSelf.
  	
  	"Import the required PoolDictionary used by the package"
  	environment bindingOf: #MCMockAPoolDictionary
+ 		ifAbsent: [environment from: Smalltalk globals import: #MCMockAPoolDictionary].
+ 	environment from: Smalltalk globals import: #(MCMock MCSnapshotTest Object).!
- 		ifAbsent: [environment from: Smalltalk globals import: #MCMockAPoolDictionary]
- 
- 	"Curiously, the superclass MCMock will be used, but does not have to be imported, don't ask why..."!



More information about the Squeak-dev mailing list