-
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.
- Loading branch information
leon.schiller
committed
Jul 11, 2019
1 parent
1358c48
commit b8176e0
Showing
68 changed files
with
142 additions
and
153 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
packages/AutoTDD-Core.package/ATDDTravisStatus.class/instance/asStringOrText.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 @@ | ||
converting | ||
asStringOrText | ||
^ (self name , ' (' , self pausedStatus contents , ', ' , self status contents , ')') | ||
^ (self name , ' (' , self pausedString , ', ' , self statusMessage , ')') | ||
asText addAttribute: (TextColor color: (self statusColor)) |
3 changes: 0 additions & 3 deletions
3
packages/AutoTDD-Core.package/ATDDTravisStatus.class/instance/buildStatus.st
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
packages/AutoTDD-Core.package/ATDDTravisStatus.class/instance/handleStatusChange.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,10 @@ | ||
accessing | ||
handleStatusChange | ||
| newStatus | | ||
newStatus := self repository buildStatus. | ||
(self status ~= newStatus | ||
and: [newStatus = #failed | ||
or: [newStatus = #errored] | ||
or: [newStatus = #canceled] | ||
or: [newStatus = #passed]]) | ||
ifTrue: [ATDDSoundPlayer instance playSoundForStatus: newStatus]. |
2 changes: 1 addition & 1 deletion
2
....class/instance/startNewRefreshProcess.st → ...tatus.class/instance/newRefreshProcess.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
5 changes: 1 addition & 4 deletions
5
packages/AutoTDD-Core.package/ATDDTravisStatus.class/instance/pause.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,5 @@ | ||
behaviour | ||
pause | ||
self process ifNotNil: [ | ||
self process terminate. | ||
self process: nil. | ||
]. | ||
self terminateProcess. | ||
super pause. | ||
self updateStatus |
3 changes: 0 additions & 3 deletions
3
packages/AutoTDD-Core.package/ATDDTravisStatus.class/instance/pausedStatus..st
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
packages/AutoTDD-Core.package/ATDDTravisStatus.class/instance/pausedStatus.st
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
packages/AutoTDD-Core.package/ATDDTravisStatus.class/instance/resume.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 @@ | ||
behaviour | ||
resume | ||
self process | ||
ifNil: [self process: self startNewRefreshProcess]. | ||
ifNil: [self process: self newRefreshProcess]. | ||
super resume. | ||
self updateStatus. |
2 changes: 1 addition & 1 deletion
2
packages/AutoTDD-Core.package/ATDDTravisStatus.class/instance/status.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 | ||
status | ||
^ status ifNil: [status := ValueHolder new contents: self repository status] | ||
^ status ifNil: [status := #unknown] |
2 changes: 1 addition & 1 deletion
2
packages/AutoTDD-Core.package/ATDDTravisStatus.class/instance/statusColor.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 | ||
statusColor | ||
^ self class colorDictionary at: self buildStatus | ||
^ self class colorDictionary at: self status |
3 changes: 3 additions & 0 deletions
3
packages/AutoTDD-Core.package/ATDDTravisStatus.class/instance/statusMessage..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 | ||
statusMessage: anObject | ||
statusMessage := anObject |
3 changes: 3 additions & 0 deletions
3
packages/AutoTDD-Core.package/ATDDTravisStatus.class/instance/statusMessage.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 | ||
statusMessage | ||
^ statusMessage ifNil: [statusMessage := 'not available'] |
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
4 changes: 2 additions & 2 deletions
4
packages/AutoTDD-Core.package/ATDDWatcher.class/instance/CITestRunner..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 | ||
CITestRunner: anObject | ||
CITestRunner := anObject | ||
ciTestRunner: anObject | ||
ciTestRunner := anObject |
4 changes: 2 additions & 2 deletions
4
packages/AutoTDD-Core.package/ATDDWatcher.class/instance/CITestRunner.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 | ||
CITestRunner | ||
^ CITestRunner ifNil: [ CITestRunner := ATDDNullTestRunner instance ] | ||
ciTestRunner | ||
^ ciTestRunner ifNil: [ciTestRunner := ATDDNullTestRunner new] |
2 changes: 1 addition & 1 deletion
2
packages/AutoTDD-Core.package/ATDDWatcher.class/instance/asStringOrText.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 @@ | ||
converting | ||
asStringOrText | ||
^ (self name , ' (' , self watchingStatus, ', ', self localStatusBlock, ')') | ||
^ (self name , ' (' , self watchingStatus, ', ', self localStatusMessage, ')') | ||
asText addAttribute: (TextColor color: (self statusColor)) |
2 changes: 1 addition & 1 deletion
2
packages/AutoTDD-Core.package/ATDDWatcher.class/instance/localStatus.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 | ||
localStatus | ||
^ localStatus | ||
^ localStatus ifNil: [localStatus := #unexecuted] |
4 changes: 0 additions & 4 deletions
4
packages/AutoTDD-Core.package/ATDDWatcher.class/instance/localStatusBlock..st
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
packages/AutoTDD-Core.package/ATDDWatcher.class/instance/localStatusBlock.st
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
packages/AutoTDD-Core.package/ATDDWatcher.class/instance/localStatusMessage.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 @@ | ||
behavior | ||
localStatusMessage | ||
^ (self localStatusMessageDictionary at: self localStatus) value |
13 changes: 13 additions & 0 deletions
13
packages/AutoTDD-Core.package/ATDDWatcher.class/instance/localStatusMessageDictionary.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 @@ | ||
accessing | ||
localStatusMessageDictionary | ||
^ localStatusMessageDictionary ifNil: [ | ||
| summaryBlock | | ||
summaryBlock := [self localTestRunner resultSummary]. | ||
localStatusMessageDictionary := IdentityDictionary new | ||
at: #unexecuted put: [self class notExecutedText]; | ||
at: #executing put: [self localProgress]; | ||
at: #passed put: summaryBlock; | ||
at: #failed put: summaryBlock; | ||
at: #errored put: summaryBlock; | ||
yourself] | ||
|
3 changes: 2 additions & 1 deletion
3
packages/AutoTDD-Core.package/ATDDWatcher.class/instance/run.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,4 @@ | ||
behavior | ||
run | ||
self localTestRunner runTests | ||
self localTestRunner runTests. | ||
self ciTestRunner runTests |
3 changes: 0 additions & 3 deletions
3
packages/AutoTDD-Core.package/ATDDWatcher.class/instance/travisStatus..st
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
packages/AutoTDD-Core.package/ATDDWatcher.class/instance/travisStatus.st
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
packages/AutoTDD-Core.package/ATDDWatcher.class/instance/travisTestRunner..st
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
packages/AutoTDD-Core.package/ATDDWatcher.class/instance/travisTestRunner.st
This file was deleted.
Oops, something went wrong.
11 changes: 3 additions & 8 deletions
11
packages/AutoTDD-Core.package/ATDDWatcher.class/instance/updateLocalStatusTo..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,6 @@ | ||
updating | ||
updateLocalStatusTo: aSymbol | ||
self flag: #todo. "how do we handle the changed calls? Without this one, the multiple Browser instances do not synchronize" | ||
self localStatus: aSymbol. | ||
(aSymbol = #unexecuted) | ||
ifTrue: [self localStatusBlock: [self class notExecutedText]]. | ||
(aSymbol = #executing) | ||
ifTrue: [self localStatusBlock: [self localProgress]]. | ||
(#(#passed #failed #errored) includes: aSymbol) | ||
ifTrue: | ||
[self finishedTesting. | ||
self localStatusBlock: [self localTestRunner resultSummary]] | ||
(#(#passed #failed #errored) includes: aSymbol) ifTrue: [self finishedTesting]. | ||
ATDDBrowser changed: #watchers |
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
packages/AutoTDD-Core.package/TCIDataSource.class/instance/buildStatus.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 | ||
buildStatus | ||
self subclassResponsibility |
3 changes: 3 additions & 0 deletions
3
packages/AutoTDD-Core.package/TCIDataSource.class/instance/clearCache.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 | ||
clearCache | ||
self subclassResponsibility |
3 changes: 3 additions & 0 deletions
3
packages/AutoTDD-Core.package/TCIDataSource.class/instance/repository..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 | ||
repository: anObject | ||
self subclassResponsibility |
3 changes: 3 additions & 0 deletions
3
packages/AutoTDD-Core.package/TCIDataSource.class/instance/statusMessage.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 | ||
statusMessage | ||
self subclassResponsibility |
3 changes: 3 additions & 0 deletions
3
packages/AutoTDD-Core.package/TCIDataSource.class/instance/token.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 | ||
token | ||
self subclassResponsibility |
3 changes: 3 additions & 0 deletions
3
packages/AutoTDD-Core.package/TCIDataSource.class/instance/update.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 | ||
update | ||
self subclassResponsibility |
3 changes: 3 additions & 0 deletions
3
packages/AutoTDD-Core.package/TCIDataSource.class/instance/usePro.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 | ||
usePro | ||
self subclassResponsibility |
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: 0 additions & 2 deletions
2
packages/AutoTDD-Core.package/TCINullDataSource.class/instance/attach..st
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
packages/AutoTDD-Core.package/TCINullDataSource.class/instance/clearCache.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 @@ | ||
testing | ||
clearCache | ||
^self |
2 changes: 0 additions & 2 deletions
2
packages/AutoTDD-Core.package/TCINullDataSource.class/instance/deattach..st
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
packages/AutoTDD-Core.package/TCINullDataSource.class/instance/delete.st
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
packages/AutoTDD-Core.package/TCINullDataSource.class/instance/repository..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,2 @@ | ||
accessing | ||
repository: anObject |
Oops, something went wrong.