The Trunk: Tests-eem.310.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Tests-eem.310.mcz

commits-2
Eliot Miranda uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-eem.310.mcz

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

Name: Tests-eem.310
Author: eem
Time: 2 February 2015, 5:25:25.875 pm
UUID: f1730180-d653-4951-9fba-d8240f6b38c8
Ancestors: Tests-topa.309

Use classes for the ImageSegmentTest that don't
result in an inoperative SUnit system if the test fails.
Use the inactive UIManager subclasses.
Also, make the test explicitly bring the classes back in, in the test.

=============== Diff against Tests-topa.309 ===============

Item was changed:
  ----- 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;
- copyFromRoots: (Array with: TestCase) sizeHint: 100;
  extract;
+ writeToFile: 'InactiveUIManagers';
- writeToFile: 'TestCase';
  yourself.
 
+ "TODO: write assertions showing that something meaningful actually happened."
+
+ "now bring them back in again"
+ classes do: [:ea| ea new]!
- "TODO: write assertions showing that something meaningful actually happened."!