[squeak-dev] The Inbox: Tests-cmm.247.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Aug 9 22:22:23 UTC 2013


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

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

Name: Tests-cmm.247
Author: cmm
Time: 8 August 2013, 10:54:50.713 pm
UUID: 93fd43c1-0207-42ed-bfe5-f2d6acfaa2c2
Ancestors: Tests-nice.246

Tests for loading each of the external-packages defined in Installer.

=============== Diff against Tests-nice.246 ===============

Item was added:
+ ----- Method: InstallerTest class>>suiteClass (in category 'as yet unclassified') -----
+ suiteClass
+ 	^ InstallerTestSuite!

Item was added:
+ TestSuite subclass: #InstallerTestSuite
+ 	instanceVariableNames: ''
+ 	classVariableNames: ''
+ 	poolDictionaries: ''
+ 	category: 'Tests-Installer-Core'!

Item was added:
+ ----- Method: InstallerTestSuite>>ensureTestMethods (in category 'initialize-release') -----
+ ensureTestMethods
+ 	"Ensure InstallerTest has test methods for each externally-loadable package defined by Installer.  By generating these methods, they don't have to be maintained separately."
+ 	^ (Installer methodsInCategory: 'external-packages') do:
+ 		[ : each | (InstallerTest canUnderstand: each) ifFalse:
+ 			[ InstallerTest 
+ 				compile:
+ 					(String streamContents:
+ 						[ : stream | stream
+ 							 nextPutAll: 'test'; nextPutAll: each;
+ 							 cr; tab;
+ 							 nextPutAll: 'Installer new merge: #'; nextPutAll: each ])
+ 				classified: '*generated' ] ]!

Item was added:
+ ----- Method: InstallerTestSuite>>initialize (in category 'initialize-release') -----
+ initialize
+ 	super initialize.
+ 	self ensureTestMethods!



More information about the Squeak-dev mailing list