-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testing ICFolderDialog sortButtonVisualisation
- Loading branch information
1 parent
28d6d09
commit a092976
Showing
3 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
packages/IMAPClient-Tests.package/ICFolderDialogTest.class/instance/sortButtonLabels.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
running | ||
sortButtonLabels | ||
|
||
^{'Flag'. 'Subject'. 'Sender'. 'Date'} |
13 changes: 13 additions & 0 deletions
13
packages/IMAPClient-Tests.package/ICFolderDialogTest.class/instance/testSortVisualisation.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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
running | ||
testSortVisualisation | ||
|
||
| button | | ||
|
||
self sortButtonLabels do: | ||
[ :buttonLabel | | ||
button:= self subject findByLabel: buttonLabel. | ||
self assert: button label equals: buttonLabel. | ||
button click. | ||
self assert: button label equals: buttonLabel, ' (asc)'. | ||
button click. | ||
self assert: button label equals: buttonLabel, ' (desc)'] |
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