[squeak-dev] The Trunk: ToolsTests-fbs.48.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jul 8 17:44:30 UTC 2011

Levente Uzonyi uploaded a new version of ToolsTests to project The Trunk:

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

Name: ToolsTests-fbs.48
Author: fbs
Time: 27 June 2011, 12:51:07.632 pm
UUID: 47511e5c-e42a-4f13-a270-fe4f6f64a38c
Ancestors: ToolsTests-eem.47

Broken test: the commonSelector was not common within the commonCategory!

=============== Diff against ToolsTests-eem.47 ===============

Item was changed:
  ----- Method: BrowserTest>>testSelectClassNamedPreservesPlace (in category 'as yet unclassified') -----
  	| commonCategory commonSelector otherClass |
  	browser selectSystemCategory: browser class category.
  	otherClass := HierarchyBrowser. "Unlikely to move out of Browser's package!!"
  	browser selectClassNamed: browser class name.
  	commonCategory := (browser class organization categories intersection: otherClass organization categories) first.
+ 	commonSelector := #classList.
- 	commonSelector := (otherClass organization allMethodSelectors intersection: browser class organization allMethodSelectors) first.
  	browser selectMessageCategoryNamed: commonCategory.
  	browser selectMessageNamed: commonSelector.
  	browser selectClass: otherClass.
  	self assert: browser selectedClassName = otherClass name.
  	self assert: browser selectedMessageCategoryName = commonCategory.
  	self assert: browser selectedMessageName = commonSelector.!

More information about the Squeak-dev mailing list