[BUG][FIX] SUnit-md.22 appears to produce walkback

tomkoenig at mindspring.com tomkoenig at mindspring.com
Sat Dec 11 16:52:06 UTC 2004


>From 3.9a #6520 installed 13 updates taking me to #6533, clicked on a
test case in the list on test runner and got the walkback included
below.  I think the problem may be with Change Set:	6534	SUnit-md.22
which made the following change to runButtonState
	^ running
	^ running isNil
When I revert this one message it runs okay
CS is attached


The error report: 11 December 2004 11:37:18 am

VM: Win32 - a SmalltalkImage
Image: Squeak3.9alpha [latest update: #6533]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir C:\Documents and Settings\Thomas Koenig\Desktop\Squeak
Trusted Dir C:\Documents and Settings\Thomas
Koenig\Desktop\Squeak\Thomas Koenig
Untrusted Dir C:\My Squeak\Thomas Koenig

UndefinedObject(Object)>>doesNotUnderstand: #not
	Receiver: nil
	Arguments and temporary variables: 
		aMessage: 	not
	Receiver's instance variables: 
nil

TestRunner>>stopButtonState
	Receiver: a TestRunner
	Arguments and temporary variables: 

	Receiver's instance variables: 
		dependents: 	#(a SystemWindow(1961) a PluggableButtonMorph(3497) a
PluggableButt...etc...
		result: 	7 run, 6 passes, 0 expected failures, 0 failures, 1 errors, 0
unexpecte...etc...
		details: 	'7 run, 6 passed, 0 failed, 1 error'
		passFail: 	'Fail'
		failures: 	an OrderedCollection()
		errors: 	an OrderedCollection(ColorTest>>#testColorFrom)
		tests: 	a SortedCollection(#AnalyzerTest #ArchiveListingRowTest
#ArchivePostBugT...etc...
		passFailText: 	a PluggableTextMorph(3518)
		detailsText: 	a PluggableTextMorph(3003)
		lastPass: 	6:25:37 pm
		testsList: 	a PluggableListMorphOfMany(325)
		selectedFailureTest: 	0
		selectedErrorTest: 	0
		selectedSuite: 	0
		filter: 	nil
		selectedSuites: 	an OrderedCollection(true false false false false
false false f...etc...
		running: 	nil
		completedTests: 	7
		totalTests: 	7
		progress: 	nil

PluggableButtonMorph>>getModelState
	Receiver: a PluggableButtonMorph(3195)
	Arguments and temporary variables: 

	Receiver's instance variables: 
		bounds: 	83 at 253 corner: 165 at 303
		owner: 	a BorderedMorph(2843)
		submorphs: 	#(an AlignmentMorph(2445))
		fullBounds: 	83 at 253 corner: 165 at 303
		color: 	(Color r: 1.0 g: 1.0 b: 0.03)
		extension: 	a MorphExtension (4092) [other:  (borderStyle -> a
RaisedBorder) (la...etc...
		borderWidth: 	2
		borderColor: 	#raised
		model: 	a TestRunner
		label: 	'Stop'
		getStateSelector: 	#stopButtonState
		actionSelector: 	#terminateRun
		getLabelSelector: 	#stopButtonLabel
		getMenuSelector: 	nil
		shortcutCharacter: 	nil
		askBeforeChanging: 	false
		triggerOnMouseDown: 	false
		offColor: 	(Color r: 1.0 g: 1.0 b: 0.03)
		onColor: 	(Color r: 0.03 g: 1.0 b: 0.03)
		feedbackColor: 	Color red
		showSelectionFeedback: 	false
		allButtons: 	nil
		arguments: 	nil
		argumentsProvider: 	nil
		argumentsSelector: 	nil

PluggableButtonMorph>>update:
	Receiver: a PluggableButtonMorph(3195)
	Arguments and temporary variables: 
		aParameter: 	#selectedFailureTest
	Receiver's instance variables: 
		bounds: 	83 at 253 corner: 165 at 303
		owner: 	a BorderedMorph(2843)
		submorphs: 	#(an AlignmentMorph(2445))
		fullBounds: 	83 at 253 corner: 165 at 303
		color: 	(Color r: 1.0 g: 1.0 b: 0.03)
		extension: 	a MorphExtension (4092) [other:  (borderStyle -> a
RaisedBorder) (la...etc...
		borderWidth: 	2
		borderColor: 	#raised
		model: 	a TestRunner
		label: 	'Stop'
		getStateSelector: 	#stopButtonState
		actionSelector: 	#terminateRun
		getLabelSelector: 	#stopButtonLabel
		getMenuSelector: 	nil
		shortcutCharacter: 	nil
		askBeforeChanging: 	false
		triggerOnMouseDown: 	false
		offColor: 	(Color r: 1.0 g: 1.0 b: 0.03)
		onColor: 	(Color r: 0.03 g: 1.0 b: 0.03)
		feedbackColor: 	Color red
		showSelectionFeedback: 	false
		allButtons: 	nil
		arguments: 	nil
		argumentsProvider: 	nil
		argumentsSelector: 	nil


--- The full stack ---
UndefinedObject(Object)>>doesNotUnderstand: #not
TestRunner>>stopButtonState
PluggableButtonMorph>>getModelState
PluggableButtonMorph>>update:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[] in TestRunner(Object)>>changed: {[:aDependent | aDependent update:
aParameter]}
DependentsArray>>do:
TestRunner(Object)>>changed:
TestRunner>>selectedSuite:
PluggableListMorphOfMany(PluggableListMorph)>>changeModelSelection:
PluggableListMorphOfMany>>mouseDown:
PluggableListMorphOfMany(Morph)>>handleMouseDown:
MouseButtonEvent>>sentTo:
PluggableListMorphOfMany(Morph)>>handleEvent:
MorphicEventDispatcher>>dispatchMouseDown:with:
MorphicEventDispatcher>>dispatchEvent:with:
PluggableListMorphOfMany(Morph)>>processEvent:using:
MorphicEventDispatcher>>dispatchMouseDown:with:
MorphicEventDispatcher>>dispatchEvent:with:
AlignmentMorph(Morph)>>processEvent:using:
MorphicEventDispatcher>>dispatchMouseDown:with:
...etc...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: runButtonStatefix.cs.gz
Type: application/octet-stream
Size: 341 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20041211/4cf864d9/runButtonStatefix.cs.obj


More information about the Squeak-dev mailing list