[squeak-dev] The Inbox: ToolsTests-cao.53.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Dec 13 19:24:23 UTC 2011

A new version of ToolsTests was added to project The Inbox:

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

Name: ToolsTests-cao.53
Author: cao
Time: 13 December 2011, 2:24:38.948 pm
UUID: 29a5ebcf-3531-43ea-bfbe-51c480b7f61f
Ancestors: ToolsTests-ul.52

Fix test to reflect that selectedSystemCategory yields
package-category as a single symbol.

=============== Diff against ToolsTests-ul.52 ===============

Item was changed:
  ----- Method: PackagePaneBrowserTest>>testSelectCategoryForClass (in category 'as yet unclassified') -----
  	| catName pkgName |
  	pkgName := browser class category copyUpTo: $-.
+ 	catName := browser class category.
- 	catName := browser class category allButFirst: pkgName size + 1.
  	browser selectCategoryForClass: browser class.
  	self assert: browser selectedSystemCategory = catName.
  	self assert: browser packageListIndex = (browser packageList indexOf: pkgName).
  	browser selectSystemCategory: nil.
  	self assert: browser classList isEmpty.!

More information about the Squeak-dev mailing list