Tobias Pape uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-topa.323.mcz==================== Summary ====================
Name: Tests-topa.323
Author: topa
Time: 21 August 2015, 9:48:23.161 am
UUID: 9af92c13-5958-47d9-b187-343ee211b1cc
Ancestors: Tests-topa.322
Disable ImageSegment tests on Spur for now, they
are expected to not run currently.
=============== Diff against Tests-topa.322 ===============
Item was added:
+ ----- Method: ImageSegmentTest class>>testSelectors (in category 'Accessing') -----
+ testSelectors
+
+ Smalltalk isRunningSpur ifTrue: [
+ "The ImageSegment Test is known to not work on SPUR VMs
+ with the prospect of crashing. #expectedFailure does not cut it here,
+ don't even try to run them"
+ ^ #()].
+ ^ super testSelectors!
Item was changed:
+ ----- Method: ImageSegmentTest>>testImageSegmentsShouldBeWritableToaFile (in category 'testing') -----
- ----- Method: ImageSegmentTest>>testImageSegmentsShouldBeWritableToaFile (in category 'as yet unclassified') -----
testImageSegmentsShouldBeWritableToaFile
"This should not throw an exception"
| classes |
classes := UIManager subclasses reject: [:sc| sc isActiveManager].
ImageSegment new
copyFromRoots: classes asArray sizeHint: 100;
extract;
writeToFile: 'InactiveUIManagers';
yourself.
"TODO: write assertions showing that something meaningful actually happened."
"now bring them back in again"
classes do: [:ea| ea new]!