-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed test cases for squeak 6.0 trunk version (#248)
* Refactor: Replaced deprecated #startsWith * Fix: Adopted to Squeak 6.0 submenu changes
- Loading branch information
1 parent
c08b8fe
commit ee881e5
Showing
7 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
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
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
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
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
8 changes: 6 additions & 2 deletions
8
packages/AlgernonTests.package/ALGTestTypes.class/instance/testOpenSubmenuEntries.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,12 +1,16 @@ | ||
testing docking bar types | ||
testOpenSubmenuEntries | ||
|
||
|flatWidgetLookName fontSizeName | | ||
| flatWidgetLookName fontSizeName newFontSizeName | | ||
|
||
flatWidgetLookName := 'Flat Widget Look'. | ||
self runQuery: flatWidgetLookName. | ||
self assert: (self resultsIncludeName: flatWidgetLookName). | ||
|
||
fontSizeName := 'Increase Font Size'. | ||
"Item name changed in squeak v6.0" | ||
newFontSizeName := 'increase font size (+)'. | ||
self runQuery: fontSizeName. | ||
self assert: (self resultsIncludeName: fontSizeName). | ||
self assert: ( | ||
(self resultsIncludeName: fontSizeName) or: | ||
[self resultsIncludeName: newFontSizeName]). |
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
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