The Inbox: MethodMassage-dtl.74.mcz

[email protected]
Newsgroups gmane.comp.lang.smalltalk.squeak.general
Message-ID <[email protected]>
David T. Lewis uploaded a new version of MethodMassage to project The Inbox:
http://source.squeak.org/inbox/MethodMassage-dtl.74.mcz

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

Name: MethodMassage-dtl.74
Author: dtl
Time: 25 May 2026, 11:09:30.692744 am
UUID: ba836d9e-7828-4315-8893-7032b6b3bf99
Ancestors: MethodMassage-dtl.73

https://lists.squeakfoundation.org/archives/list/[email protected]/thread/SS3G7Y5JBUGBHXGMDQZQ6BSAVVNRTZSB/

=============== Diff against MethodMassage-dtl.73 ===============

Item was removed:
- ----- Method: BytecodeCoverageTests>>coverTestBasicBlockLabelsForMethod (in category 'tests support') -----
- coverTestBasicBlockLabelsForMethod
- 
- 	self thisPackage actualMethodsDo:
- 		[:m| self testBasicBlockLabelsFor: m]!

Item was removed:
- ----- Method: BytecodeCoverageTests>>expectedFailures (in category 'failures') -----
- expectedFailures
- 	"Alas this class's single test only passes if there are methods in the MethodMassage package that are compiled without full blocks."
- 
- 	^#(testCoverageOfTestBasicBlockLabelsForMethod)!

Item was removed:
- ----- Method: BytecodeCoverageTests>>testCoverageOfTestBasicBlockLabelsForMethod (in category 'tests') -----
- testCoverageOfTestBasicBlockLabelsForMethod
- 	"[| me |
- 	me := self new.
- 	[me setUp; testCoverageOfTestBasicBlockLabelsForMethod]
- 		ensure: [me tearDown]] timeToRun"
- 	"[| me |
- 	me := self new.
- 	[me setUp; coverTestBasicBlockLabelsForMethod]
- 		ensure: [me tearDown]] timeToRun"
- 	| theMethod |
- 	theMethod := self class >> #testBasicBlockLabelsFor:.
- 	theMethod removeProperty: #coverage.
- 	BytecodeCoverer new coverMethod: theMethod.
- 	self assert: (theMethod propertyValueAt: #coverage) notNil.
- 	self assert: (theMethod propertyValueAt: #coverage) notEmpty.
- 
- 	self coverTestBasicBlockLabelsForMethod.
- 
- 	self assert: (theMethod propertyValueAt: #coverage) isEmpty!

Squeak-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.