-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
19 changes: 10 additions & 9 deletions
19
...sEditor-Tests.package/AnimationsEditorTimelineTest.class/instance/testHeightOfTimeline.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
testing | ||
testHeightOfTimeline | ||
| oldHeight scrollBarThickness offScreenFrame | | ||
|
||
offScreenFrame := self animationsEditorInstance mainWindow width. | ||
self animationsEditorInstance propertyStartEnd endTime: 0. | ||
oldHeight := self timeline height. | ||
self createKeyframeWith: self animationPosition on: offScreenFrame. | ||
scrollBarThickness := self timeline scrollPane scrollBarThickness. | ||
self assert: oldHeight - scrollBarThickness = self timeline height. | ||
|
||
"| oldHeight offScreenFrame | | ||
offScreenFrame := self animationsEditorInstance mainWindow width. | ||
self animationsEditorInstance propertyStartEnd endTime: 0. | ||
oldHeight := self timeline height. | ||
self createKeyframeWith: self animationPosition on: offScreenFrame. | ||
self assert: oldHeight = self timeline height." | ||
|
||
self assert: true. | ||
"what this test is for?" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters