[squeak-dev] The Trunk: Tests-topa.331.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Sep 7 22:28:28 UTC 2015


Tobias Pape uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-topa.331.mcz

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

Name: Tests-topa.331
Author: topa
Time: 8 September 2015, 12:28:17.044 am
UUID: abea6634-58e9-4e11-86c7-ba5fba13edd0
Ancestors: Tests-topa.330

Since the annotation pane fixes, the Tests are no longer sure which TextMorph to query for the results.

Help by reducing the number of TextMorphs by temporarily disable the annotation panes during testing.

=============== Diff against Tests-topa.330 ===============

Item was changed:
  MCTestCase subclass: #MCSnapshotBrowserTest
+ 	instanceVariableNames: 'model morph originalAnnotationPanePref'
- 	instanceVariableNames: 'model morph'
  	classVariableNames: ''
  	poolDictionaries: ''
  	category: 'Tests-Monticello'!

Item was changed:
  ----- Method: MCSnapshotBrowserTest>>setUp (in category 'running') -----
  setUp
+ 	"to not disturb the tests"
+ 	originalAnnotationPanePref := Preferences annotationPanes.
+ 	Preferences disable: #annotationPanes.
  	model := MCSnapshotBrowser forSnapshot: MCSnapshotResource current snapshot.
  	self buildWindow!

Item was added:
+ ----- Method: MCSnapshotBrowserTest>>tearDown (in category 'running') -----
+ tearDown
+ 	originalAnnotationPanePref ifTrue: [Preferences enable: #annotationPanes].
+ 	super tearDown.!



More information about the Squeak-dev mailing list