The Inbox: SUnitGUI-ct.78.mcz

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

The Inbox: SUnitGUI-ct.78.mcz

commits-2
A new version of SUnitGUI was added to project The Inbox:
http://source.squeak.org/inbox/SUnitGUI-ct.78.mcz

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

Name: SUnitGUI-ct.78
Author: ct
Time: 14 December 2019, 1:16:54.749841 am
UUID: 25969db8-4090-e54a-8885-4c69502bc44b
Ancestors: SUnitGUI-cmm.77

Extend the TestRunner to delete selectors from failedList/errorList if they are removed from system

Depends on SUnit-ct.122.

=============== Diff against SUnitGUI-cmm.77 ===============

Item was changed:
  ----- Method: TestRunner>>initialize (in category 'initialization') -----
  initialize
  super initialize.
  failedList := errorList := Array new.
  SystemChangeNotifier uniqueInstance
  notify: self ofSystemChangesOfItem: #class change: #Added using: #update;
  notify: self ofSystemChangesOfItem: #category change: #Added using: #update;
  notify: self ofSystemChangesOfItem: #class change: #Removed using: #update;
  notify: self ofSystemChangesOfItem: #category change: #Removed using: #update;
  notify: self ofSystemChangesOfItem: #class change: #Renamed using: #update;
  notify: self ofSystemChangesOfItem: #category change: #Renamed using: #update;
  notify: self ofSystemChangesOfItem: #class change: #Recategorized using: #update;
+ notify: self ofSystemChangesOfItem: #category change: #Recategorized using: #update;
+ notify: self ofSystemChangesOfItem: #method change: #Removed using: #updateMethods.
- notify: self ofSystemChangesOfItem: #category change: #Recategorized using: #update.
  environment := Environment current.
  self update; reset!

Item was added:
+ ----- Method: TestRunner>>updateMethods (in category 'updating') -----
+ updateMethods
+
+ errorList := errorList select: #isInstalled.
+ failedList := failedList select: #isInstalled.
+ self
+ changed: #failedList;
+ changed: #errorList.!