The Trunk: SystemChangeNotification-Tests-pre.25.mcz

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

The Trunk: SystemChangeNotification-Tests-pre.25.mcz

commits-2
Patrick Rein uploaded a new version of SystemChangeNotification-Tests to project The Trunk:
http://source.squeak.org/trunk/SystemChangeNotification-Tests-pre.25.mcz

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

Name: SystemChangeNotification-Tests-pre.25
Author: pre
Time: 1 July 2016, 5:13:56.259983 pm
UUID: dc900bb1-8588-4748-bad2-ded098ff30e2
Ancestors: SystemChangeNotification-Tests-pre.24

Implements clean tests for SystemChangeFileTest and isolates a test in ChangeHooksTest

=============== Diff against SystemChangeNotification-Tests-pre.24 ===============

Item was changed:
  ----- Method: ChangeHooksTest>>testClassRecategorizedEvent1 (in category 'Testing-Classes') -----
  testClassRecategorizedEvent1
 
+ Object
+ subclass: generatedTestClass name
+ instanceVariableNames: ''
+ classVariableNames: ''
+ poolDictionaries: ''
+ category: self categoryForTestName1.
  self systemChangeNotifier notify: self
  ofAllSystemChangesUsing: #classRecategorizedEvent:.
  Object
  subclass: generatedTestClass name
  instanceVariableNames: ''
  classVariableNames: ''
  poolDictionaries: ''
  category: self categoryForTestName2.
  self checkForOnlySingleEvent!

Item was changed:
+ ----- Method: SystemChangeFileTest>>removeTestcourt (in category 'running') -----
- ----- Method: SystemChangeFileTest>>removeTestcourt (in category 'private') -----
  removeTestcourt
  SystemOrganization categories do: [:each |
  (each beginsWith: self prefixClassCategory) ifTrue: [
+ SystemOrganization removeSystemCategory: each]].
- SystemOrganization removeSystemCategory: each.
- ].
- ].
 
+ (PackageOrganizer default packages select: [:packageInfo | packageInfo packageName beginsWith: self prefixGeneral ])
+ do: [:packageInfo | packageInfo workingCopy unload].!
- !