Skip to content

Commit cffb9fd

Browse files
committed
Add screenshot for exampleShutDown
1 parent 4308991 commit cffb9fd

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
screenshots
2+
createExampleShutDown
3+
"Expensive!"
4+
5+
self recorder writeTo: 'screenshots/exampleShutDown.png' building: [:helper |
6+
| window debugger tree splitter |
7+
helper worldColor: Color transparent.
8+
[TraceDebugger exampleShutDown] valueSuppressingMessages: #('*shutDown/startUp*').
9+
window := helper foregroundWindow.
10+
window extent: 564 @ 1538.
11+
debugger := window model.
12+
13+
tree := helper morphByExternalName: #contextTree in: window.
14+
tree selectedMorph children do: #expand.
15+
tree adjustSubmorphPositions.
16+
17+
debugger contextFilter
18+
excludePackage: 'Collections';
19+
excludedSelectors: #(at:ifAbsent: scaledIdentityHash send:toClassesNamedIn:with:).
20+
21+
splitter := window allMorphs detect: [:m |
22+
(m isKindOf: ProportionalSplitterMorph) and: [m splitsTopAndBottom] and: [m splitterAbove isNil]].
23+
splitter splitterBelow repositionBy: 0 @ 150.
24+
[window fullBounds. tree vIsScrollbarNeeded] whileTrue: [splitter repositionBy: 0 @ 1]]

packages/TraceDebuggerJobs.package/TDBScreenshotBuilder.class/methodProperties.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"screenshotSelectors" : "ct 3/18/2022 21:29" },
66
"instance" : {
77
"createContextToolTip" : "ct 3/18/2022 18:34",
8+
"createExampleShutDown" : "ct 3/18/2022 23:21",
89
"createFindContext" : "ct 3/18/2022 22:17",
910
"createInspectorScreenshots" : "ct 3/18/2022 17:57",
1011
"createScreenshot" : "ct 3/18/2022 14:18",

0 commit comments

Comments
 (0)