-
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.
Merge branch 'master' of https://github.com/hpi-swa-teaching/SWT18-Pr…
- Loading branch information
Showing
27 changed files
with
71 additions
and
51 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
packages/Presenter-Tests.package/PSPresentationToolTest.class/instance/createSlide.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 @@ | ||
as yet unclassified | ||
createSlide | ||
|
||
^ self tool createSlide |
4 changes: 4 additions & 0 deletions
4
...s/Presenter-Tests.package/PSPresentationToolTest.class/instance/enablePresentationMode.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 @@ | ||
as yet unclassified | ||
enablePresentationMode | ||
|
||
self tool enablePresentationMode |
4 changes: 4 additions & 0 deletions
4
...ges/Presenter-Tests.package/PSPresentationToolTest.class/instance/magneticRasterActive.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 @@ | ||
as yet unclassified | ||
magneticRasterActive | ||
|
||
^ self tool magneticRasterActive |
4 changes: 4 additions & 0 deletions
4
packages/Presenter-Tests.package/PSPresentationToolTest.class/instance/selectSlideNumber..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 @@ | ||
as yet unclassified | ||
selectSlideNumber: aNumber | ||
|
||
self tool selectSlideNumber: aNumber |
2 changes: 1 addition & 1 deletion
2
packages/Presenter-Tests.package/PSPresentationToolTest.class/instance/setUpSlideDeletion.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,4 +1,4 @@ | ||
slide deletion tests | ||
setUpSlideDeletion | ||
|
||
self tool createSlide | ||
self createSlide |
2 changes: 1 addition & 1 deletion
2
...er-Tests.package/PSPresentationToolTest.class/instance/testCurrentMiniatureHighlighted.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,6 +1,6 @@ | ||
miniature view tests | ||
testCurrentMiniatureHighlighted | ||
|
||
5 timesRepeat: [self tool createSlide]. | ||
5 timesRepeat: [self createSlide]. | ||
self tool selectSlideNumber: 5. | ||
self assert: self tool currentMiniature isHighlighted |
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: 4 additions & 4 deletions
8
...Presenter-Tests.package/PSPresentationToolTest.class/instance/testMagneticRasterButton.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,14 +1,14 @@ | ||
button tests | ||
testMagneticRasterButton | ||
|
||
| button modeBefore| | ||
| button modeBefore | | ||
button := self window allMorphs detect: | ||
[:m | m externalName = (self tool magneticRasterButtonData at: #name)]. | ||
modeBefore := self tool magneticRasterActive. | ||
modeBefore := self magneticRasterActive. | ||
|
||
self click: MouseEvent redButton at: button boundsInWorld center. | ||
self assert: self tool magneticRasterActive equals: modeBefore not. | ||
self assert: self magneticRasterActive equals: modeBefore not. | ||
|
||
self click: MouseEvent redButton at: button boundsInWorld center. | ||
self assert: self tool magneticRasterActive equals: modeBefore. | ||
self assert: self magneticRasterActive equals: modeBefore | ||
|
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
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
6 changes: 3 additions & 3 deletions
6
packages/Presenter-Tests.package/PSPresentationToolTest.class/instance/testNextSlide.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,8 +1,8 @@ | ||
slide navigation tests | ||
testNextSlide | ||
|
||
self tool createSlide. | ||
self createSlide. | ||
self tool selectSlideNumber: 1. | ||
self assert: self tool currentSlide = self slides first. | ||
self assert: self currentSlide = self slides first. | ||
self tool nextSlide. | ||
self assert: self tool currentSlide = self slides second. | ||
self assert: self currentSlide = self slides second |
2 changes: 1 addition & 1 deletion
2
packages/Presenter-Tests.package/PSPresentationToolTest.class/instance/testSelectSlide.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
2 changes: 1 addition & 1 deletion
2
...es/Presenter-Tests.package/PSPresentationToolTest.class/instance/testSelectSlideClamps.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
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
2 changes: 1 addition & 1 deletion
2
...ts.package/PSPresentationToolTest.class/instance/testSlideNavigationInPresentationMode.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
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
2 changes: 1 addition & 1 deletion
2
....package/PSPresentationToolTest.class/instance/testSlidesReceiveEnablePresentationMode.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
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