[Pkg] The Trunk: Tests-dtl.306.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Dec 14 15:59:23 UTC 2014

David T. Lewis uploaded a new version of Tests to project The Trunk:

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

Name: Tests-dtl.306
Author: dtl
Time: 14 December 2014, 10:59:01.054 am
UUID: 2378af34-95d6-4edc-b571-4bd52a37b19c
Ancestors: Tests-bf.305

VM statistics array size varies for different VM implementations. Run this test on an interpreter VM as a smoke test for unchecked array size.

=============== Diff against Tests-bf.305 ===============

Item was added:
+ TestCase subclass: #TestVMStatistics
+ 	instanceVariableNames: ''
+ 	classVariableNames: ''
+ 	poolDictionaries: ''
+ 	category: 'Tests-Bugs'!
+ !TestVMStatistics commentStamp: 'dtl 12/14/2014 10:43' prior: 0!
+ The VM statistics array is provided by the VM. Its size and contents vary for different VM implementations. This test should pass on any VM.!

Item was added:
+ ----- Method: TestVMStatistics>>testVmStatisticsReportString (in category 'testing') -----
+ testVmStatisticsReportString
+ 	"Results of this test vary by VM implementation. Failure usually indicates
+ 	an unchecked assumption about the array size."
+ 	self shouldnt: [Smalltalk vmStatisticsReportString]
+ 		raise: Error
+ 		description: 'probable unchecked VM statistics array size'
+ !

More information about the Packages mailing list