[squeak-dev] The Trunk: Tests-ct.476.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Jan 30 20:08:23 UTC 2022


Christoph Thiede uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-ct.476.mcz

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

Name: Tests-ct.476
Author: ct
Time: 30 January 2022, 9:08:04.470438 pm
UUID: 684c5af7-b3f9-5648-8014-2365ede243ee
Ancestors: Tests-ct.475

Updates font sizes in ReleaseTest>>#testSqueakThemeFonts from SqueakTheme class>>#addFonts:. Thanks to Marcel for the pointer!

=============== Diff against Tests-ct.475 ===============

Item was changed:
  ----- Method: ReleaseTest>>testSqueakThemeFonts (in category 'tests') -----
  testSqueakThemeFonts
  	"Check whether the fonts installed in the active theme in the release are correct"
  	
  	"preference selector - font family name - font size" 
+ 	{	#(standardDefaultTextFont 'Bitmap DejaVu Sans' 10.5).
+ 		#(standardListFont 'Bitmap DejaVu Sans' 10.5).
+ 		#(standardFlapFont 'Bitmap DejaVu Sans' 7.5).
+ 		#(standardMenuFont 'Bitmap DejaVu Sans' 10.5).
+ 		#(windowTitleFont 'Bitmap DejaVu Sans' 10.5).
+ 		#(standardBalloonHelpFont 'Bitmap DejaVu Sans' 7.5).
+ 		#(standardCodeFont 'Bitmap DejaVu Sans' 10.5).
+ 		#(standardButtonFont 'Bitmap DejaVu Sans' 7.5) }
- 	{	#(standardDefaultTextFont 'Bitmap DejaVu Sans' 9).
- 		#(standardListFont 'Bitmap DejaVu Sans' 9).
- 		#(standardFlapFont 'Bitmap DejaVu Sans' 7).
- 		#(standardMenuFont 'Bitmap DejaVu Sans' 9).
- 		#(windowTitleFont 'Bitmap DejaVu Sans' 9).
- 		#(standardBalloonHelpFont 'Bitmap DejaVu Sans' 7).
- 		#(standardCodeFont 'Bitmap DejaVu Sans' 9).
- 		#(standardButtonFont 'Bitmap DejaVu Sans' 7) }
  			do: [:triple | | font |
  				font := Preferences perform: triple first.
  				self assert: triple second equals: font familyName.
+ 				self assert: triple third equals: font pointSize ]!
- 				self assert: triple third equals: font pointSize ]
- 		
- 	
- 	!



More information about the Squeak-dev mailing list