-
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
1 parent
e4eb268
commit 4aa03bc
Showing
15 changed files
with
59 additions
and
9 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
packages/AutoTDD-Core.package/ATDDGitHubAction.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
behaviour | ||
pause | ||
|
||
super pause. | ||
ATDDBrowser changedGitHubActions |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,4 @@ behaviour | |
pause | ||
|
||
self terminateProcess. | ||
super pause. | ||
self updateStatus | ||
super pause |
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: 5 additions & 0 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
behaviour | ||
pause | ||
|
||
super pause. | ||
ATDDBrowser changedTravisStatuses |
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: 3 additions & 1 deletion
4
packages/AutoTDD-GUI.package/ATDDBrowser.class/instance/resumeGitHubAction..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,6 @@ | ||
action | ||
resumeGitHubAction: aGitHubAction | ||
|
||
aGitHubAction resume | ||
[ aGitHubAction resume ] | ||
on: ATDDAccessDeniedError | ||
do: [UIManager default inform: 'test' ] |
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
12 changes: 12 additions & 0 deletions
12
packages/AutoTDD-GUI.package/ATDDGitHubActionEditor.class/instance/hasValidUrl.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,12 @@ | ||
action | ||
hasValidUrl | ||
|
||
| client | | ||
|
||
client := ATDDGitHubActionsClient new. | ||
client token: self token. | ||
[ client requestOn: 'repos/' , self repositoryUrl ] | ||
on: ATDDNotFoundError | ||
do: [ ^ false ]. | ||
|
||
^ true |
22 changes: 22 additions & 0 deletions
22
packages/AutoTDD-GUI.package/ATDDGitHubActionEditor.class/instance/save.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,22 @@ | ||
action | ||
save | ||
|
||
repositoryUrl changed: #acceptChanges. | ||
token changed: #acceptChanges. | ||
refreshInterval changed: #acceptChanges. | ||
self hasVaildRefreshInterval | ||
ifFalse: [ | ||
UIManager default inform: 'Please enter a valid interval!'. | ||
^ nil ]. | ||
self hasVaildSlug | ||
ifFalse: [ | ||
UIManager default inform: 'Please enter a valid slug!'. | ||
^ nil ]. | ||
self hasValidUrl | ||
ifFalse: [ | ||
UIManager default inform: 'Error 404! Please provide a valid {owner}/{repo}'. | ||
^ nil ]. | ||
super save. | ||
self closeWindow. | ||
|
||
^ self applyChanges |
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