Chris Muller uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/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! |
I realized this got included as part of the McInfoProxy test (cmm.249).
The idea is that, as we develop trunk, CI will report when external-packages no longer load successfully into trunk. On Sat, Aug 31, 2013 at 4:13 PM, <[hidden email]> wrote: > Chris Muller uploaded a new version of Tests to project The Trunk: > http://source.squeak.org/trunk/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! > > |
Free forum by Nabble | Edit this page |