-
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.
fixed a bug in the tests and cleanup after test with opened windows
- Loading branch information
Showing
4 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
8 changes: 6 additions & 2 deletions
8
...lorationViewTests.class/instance/testMethodSelectionUpdatesOnChangingMorphInPlayground.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,15 @@ | ||
tests | ||
testMethodSelectionUpdatesOnChangingMorphInPlayground | ||
|
||
"| exampleMethods allButtonMorphs | | ||
| exampleMethods allButtonMorphs view | | ||
|
||
view := builder build: explorationView. | ||
view openInWorld. | ||
exampleMethods := {explorationView methodList at: 1. explorationView methodList at: 2} asOrderedCollection. | ||
|
||
self loadMorphWithMethods: exampleMethods. | ||
explorationView evaluateCode: self sampleCode. | ||
explorationView saveCurrentMorph. | ||
allButtonMorphs := self getButtonMorphCollectionInDefaultMorphBoxFor: explorationView. | ||
(allButtonMorphs at: 1) doButtonAction" | ||
(allButtonMorphs at: 1) doButtonAction. | ||
view abandon |
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