Patrick Rein uploaded a new version of ToolsTests to project The Trunk:
http://source.squeak.org/trunk/ToolsTests-pre.92.mcz==================== Summary ====================
Name: ToolsTests-pre.92
Author: pre
Time: 15 May 2019, 9:27:13.845185 pm
UUID: b9877fd5-aa81-9c40-8be1-5957434c002f
Ancestors: ToolsTests-tpr.91
Yet another "repair" of the dependency browser tests.
=============== Diff against ToolsTests-tpr.91 ===============
Item was changed:
----- Method: DependencyBrowserTest>>testSelectedMessageClassSideShowsSource (in category 'tests - message list') -----
testSelectedMessageClassSideShowsSource
"Warning!! When Collections' dependencies change, this test may start to fail!!"
browser packageListIndex: (browser packageList indexOf: #'Chronology-Core').
browser packageDepsIndex: (browser packageDeps indexOf: #Collections).
browser classDepsIndex: (browser classDeps indexOf: #'Array').
+ browser classListIndex: (browser classList indexOf: #'DateAndTime').
- browser classListIndex: (browser classList indexOf: #'DateAndTime class').
browser messageListIndex: 1.
+ self assert: browser selectedMessageName == #ticks.
- self assert: browser selectedMessageName == #fromSeconds:.
+ self assert: browser contents = (DateAndTime sourceCodeAt: #ticks)
- self assert: browser contents = (DateAndTime class sourceCodeAt: #fromSeconds:)
!
Item was changed:
----- Method: DependencyBrowserTest>>testSelectedMessageNameClassSide (in category 'tests - message list') -----
testSelectedMessageNameClassSide
"Warning!! When Collections' dependencies change, this test may start to fail!!"
self assert: browser selectedMessageName isNil.
browser packageListIndex: (browser packageList indexOf: #'Chronology-Core').
self assert: browser selectedMessageName isNil.
browser packageDepsIndex: (browser packageDeps indexOf: #Collections).
self assert: browser selectedMessageName isNil.
browser classDepsIndex: (browser classDeps indexOf: #Array).
self assert: browser selectedMessageName isNil.
+ browser classListIndex: (browser classList indexOf: #'DateAndTime').
- browser classListIndex: (browser classList indexOf: #'DateAndTime class').
self assert: browser selectedMessageName isNil.
browser messageListIndex: 1.
+ self assert: browser selectedMessageName == #ticks.
- self assert: browser selectedMessageName == #fromSeconds:.
!