[Pkg] The Trunk: Tests-fbs.213.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed May 8 20:37:24 UTC 2013
Frank Shearar uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-fbs.213.mcz
==================== Summary ====================
Name: Tests-fbs.213
Author: fbs
Time: 8 May 2013, 9:36:50.698 pm
UUID: 3789279b-bc9a-44b7-8a86-3706969984bb
Ancestors: Tests-fbs.212
Test that one can load Monticello packages into an Environment.
=============== Diff against Tests-fbs.212 ===============
Item was added:
+ MCTestCase subclass: #MCEnvironmentLoadTest
+ instanceVariableNames: 'environment'
+ classVariableNames: ''
+ poolDictionaries: ''
+ category: 'Tests-Monticello'!
+
+ !MCEnvironmentLoadTest commentStamp: 'fbs 5/8/2013 20:46' prior: 0!
+ I demonstrate that you can load MC snapshots into an environment.!
Item was added:
+ ----- Method: MCEnvironmentLoadTest>>setUp (in category 'as yet unclassified') -----
+ setUp
+ environment := Environment named: 'MCEnvironmentLoadTest'.!
Item was added:
+ ----- Method: MCEnvironmentLoadTest>>testLoadIntoEnvironment (in category 'as yet unclassified') -----
+ testLoadIntoEnvironment
+ [MCPackageLoader installSnapshot: self mockSnapshot] on: EnvironmentRequest do: [:e | e resume: environment].
+ self assert: (environment bindingOf: #MCMockClassA) notNil description: 'Environment has no binding for MCMockClassA'.!
More information about the Packages
mailing list