-
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.
Merge pull request #161 from hpi-swa-teaching/implement-#140
#140: Coverage improvements
- Loading branch information
Showing
55 changed files
with
123 additions
and
101 deletions.
There are no files selected for viewing
5 changes: 0 additions & 5 deletions
5
packages/Algernon.package/ALGAction.class/class/validVerbs.st
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
packages/Algernon.package/ALGAction.class/methodProperties.json
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
packages/Algernon.package/ALGActionItem.class/methodProperties.json
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 was deleted.
Oops, something went wrong.
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
packages/Algernon.package/ALGCategoryType.class/instance/open.inBrowser..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 @@ | ||
actions | ||
open: aCategory inBrowser: aBrowser | ||
|
||
aBrowser systemCategoryListIndex: (aBrowser systemCategoryList indexOf: aCategory) | ||
aBrowser selectSystemCategory: aCategory |
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
5 changes: 2 additions & 3 deletions
5
packages/Algernon.package/ALGCore.class/class/setKeyboardBinding..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,5 +1,4 @@ | ||
preferences | ||
setKeyboardBinding: aString | ||
setKeyboardBinding: aString | ||
self activationString: aString. | ||
^true | ||
|
||
^ true |
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: 6 additions & 0 deletions
6
packages/Algernon.package/ALGCore.class/instance/dropFocus..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,6 @@ | ||
events-processing | ||
dropFocus: hand | ||
hand newKeyboardFocus: self oldKeyboardFocus; | ||
newMouseFocus: self oldMouseFocus. | ||
self oldKeyboardFocus: nil; | ||
oldMouseFocus: nil |
2 changes: 1 addition & 1 deletion
2
packages/Algernon.package/ALGCore.class/instance/systemChanged..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,3 +1,3 @@ | ||
updating | ||
systemChanged: evt | ||
self unsubscribeFromNotifiers. | ||
self wasChanged: evt |
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
3 changes: 0 additions & 3 deletions
3
packages/Algernon.package/ALGIconFactory.class/class/iconNames.st
This file was deleted.
Oops, something went wrong.
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
packages/Algernon.package/ALGInputField.class/instance/wouldAcceptKeyboardFocusUponTab.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,3 +1,3 @@ | ||
accessing | ||
wouldAcceptKeyboardFocusUponTab | ||
^false | ||
^ false |
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: 0 additions & 6 deletions
6
packages/Algernon.package/ALGItem.class/class/add.toDict.atValue..st
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
packages/Algernon.package/ALGItem.class/class/withAlgertype..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,3 +1,3 @@ | ||
instance creation | ||
withAlgertype: aType | ||
^ (ALGItem new) updateAlgertype: aType | ||
^ (self new) updateAlgertype: aType |
7 changes: 0 additions & 7 deletions
7
packages/Algernon.package/ALGItem.class/class/withAlgertype.relevantForEmptyString..st
This file was deleted.
Oops, something went wrong.
3 changes: 2 additions & 1 deletion
3
packages/Algernon.package/ALGItem.class/instance/numTimesSelected..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,5 @@ | ||
accessing | ||
numTimesSelected: anInt | ||
numTimesSelected := anInt. | ||
self lastUsage: DateAndTime now | ||
self lastUsage: DateAndTime now | ||
|
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
3 changes: 0 additions & 3 deletions
3
packages/Algernon.package/ALGItemFilter.class/class/classCommentFuzzyPenalty.st
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
packages/Algernon.package/ALGItemFilter.class/methodProperties.json
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
4 changes: 0 additions & 4 deletions
4
packages/Algernon.package/ALGItemProvider.class/class/reset.st
This file was deleted.
Oops, something went wrong.
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
3 changes: 0 additions & 3 deletions
3
packages/Algernon.package/ALGResultList.class/instance/cleanUp.st
This file was deleted.
Oops, something went wrong.
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
packages/AlgernonTests.package/ALGTest.class/instance/getResultItemForType..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,3 +1,3 @@ | ||
helpers | ||
getResultItemForType: aTypeString | ||
self items detect: [:eachItem | eachItem typeName = aTypeString] | ||
self items detect: [:eachItem | eachItem algerType typeName = aTypeString] |
3 changes: 3 additions & 0 deletions
3
packages/AlgernonTests.package/ALGTest.class/instance/previousAlgernonSingleton..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,3 @@ | ||
accessing | ||
previousAlgernonSingleton: anObject | ||
previousAlgernonSingleton := anObject |
3 changes: 3 additions & 0 deletions
3
packages/AlgernonTests.package/ALGTest.class/instance/previousAlgernonSingleton.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,3 @@ | ||
accessing | ||
previousAlgernonSingleton | ||
^ previousAlgernonSingleton |
2 changes: 2 additions & 0 deletions
2
packages/AlgernonTests.package/ALGTest.class/instance/setUp.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,5 +1,7 @@ | ||
running | ||
setUp | ||
self previousAlgernonSingleton: Algernon currentInstance. | ||
Algernon currentInstance: self algInstance. | ||
ClassOrganizer allInstancesDo: [:ea | ea removeEmptyCategories]. | ||
self previouslyOpenedWindows: self currentSystemWindows. | ||
self algInstance activate. |
5 changes: 3 additions & 2 deletions
5
packages/AlgernonTests.package/ALGTest.class/instance/tearDown.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,5 +1,6 @@ | ||
running | ||
tearDown | ||
self algInstance deactivate: nil. | ||
self algInstance deactivate. | ||
(self currentSystemWindows difference: self previouslyOpenedWindows) | ||
do: [:each | each delete] | ||
do: [:each | each delete]. | ||
Algernon currentInstance: self previousAlgernonSingleton. |
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
...ages/AlgernonTests.package/ALGTestLifecycle.class/instance/testAlgernonChangeShortcut..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
9 changes: 0 additions & 9 deletions
9
packages/AlgernonTests.package/ALGTestLifecycle.class/instance/testAlgernonClose.st
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.