The Inbox: Tests-jr.365.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: Tests-jr.365.mcz

commits-2
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..."!


Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Tests-jr.365.mcz

Jakob Reschke-2
Oh no, I did not want to commit the organization change. Please, scrap
this and have a look at -jr.366 instead.

2017-02-28 14:23 GMT+01:00 [hidden email]
<[hidden email]>:

> 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..."!
>
>