forked from hpi-swa/smalltalkCI
-
Notifications
You must be signed in to change notification settings - Fork 0
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 github.com:hpi-swa/smalltalkCI
- Loading branch information
Showing
8 changed files
with
95 additions
and
36 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
3 changes: 3 additions & 0 deletions
3
repository/SmalltalkCI-Pharo-Core.package/SmalltalkCIPharo12.class/class/setAuthor..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 @@ | ||
helpers | ||
setAuthor: anAuthor | ||
(Smalltalk at: #Author) fullName: anAuthor |
10 changes: 5 additions & 5 deletions
10
repository/SmalltalkCI-Tests.package/SmalltalkCITest.class/instance/testAuthor.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,11 @@ | ||
testing | ||
testAuthor | ||
| currentAuthor | | ||
currentAuthor := SmalltalkCI getAuthor. | ||
currentAuthor := SmalltalkCI platformClass getAuthor. | ||
|
||
[ | ||
SmalltalkCI basicNew initialize. | ||
self deny: SmalltalkCI defaultAuthor isNil. | ||
SmalltalkCI platformClass: nil. | ||
self deny: SmalltalkCI platformClass defaultAuthor isNil. | ||
] ensure: [ | ||
SmalltalkCI setAuthor: currentAuthor. | ||
self assert: SmalltalkCI getAuthor equals: currentAuthor ] | ||
SmalltalkCI platformClass setAuthor: currentAuthor. | ||
self assert: SmalltalkCI platformClass getAuthor equals: currentAuthor ] |
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