-
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
Showing
87 changed files
with
544 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The ATDDProfile is a Singleton and contains the user's standard values. |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-Core.package/ATDDProfile.class/class/instance.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 @@ | ||
accessing | ||
instance | ||
|
||
^ instance ifNil: [ instance := self new ] |
8 changes: 8 additions & 0 deletions
8
packages/AutoTDD-Core.package/ATDDProfile.class/class/tokenDictionary.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,8 @@ | ||
constants | ||
tokenDictionary | ||
|
||
^ IdentityDictionary | ||
newFrom: { | ||
#travisStatus -> self instance travisToken. | ||
#gitHubAction -> self instance gitHubToken | ||
} |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-Core.package/ATDDProfile.class/instance/gitHubToken..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 @@ | ||
accessing | ||
gitHubToken: aString | ||
|
||
gitHubToken := aString |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-Core.package/ATDDProfile.class/instance/gitHubToken.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 @@ | ||
accessing | ||
gitHubToken | ||
|
||
^ gitHubToken ifNil: [ gitHubToken := '' ] |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-Core.package/ATDDProfile.class/instance/tokenFor..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 @@ | ||
accessing | ||
tokenFor: aSymbol | ||
|
||
^ self class tokenDictionary at: aSymbol |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-Core.package/ATDDProfile.class/instance/travisToken..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 @@ | ||
accessing | ||
travisToken: aString | ||
|
||
travisToken := aString |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-Core.package/ATDDProfile.class/instance/travisToken.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 @@ | ||
accessing | ||
travisToken | ||
|
||
^ travisToken ifNil: [ travisToken := '' ] |
10 changes: 10 additions & 0 deletions
10
packages/AutoTDD-Core.package/ATDDProfile.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"class" : { | ||
"instance" : "ClassTest 7/2/2021 11:30", | ||
"tokenDictionary" : "ClassTest 7/2/2021 12:37" }, | ||
"instance" : { | ||
"gitHubToken" : "ClassTest 7/2/2021 12:28", | ||
"gitHubToken:" : "ClassTest 7/2/2021 11:33", | ||
"tokenFor:" : "ClassTest 7/2/2021 12:38", | ||
"travisToken" : "ClassTest 7/2/2021 12:28", | ||
"travisToken:" : "ClassTest 7/2/2021 11:33" } } |
16 changes: 16 additions & 0 deletions
16
packages/AutoTDD-Core.package/ATDDProfile.class/properties.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"category" : "AutoTDD-Core", | ||
"classinstvars" : [ | ||
"instance" ], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "ClassTest 7/2/2021 11:32", | ||
"instvars" : [ | ||
"userName", | ||
"gitHubToken", | ||
"travisToken" ], | ||
"name" : "ATDDProfile", | ||
"pools" : [ | ||
], | ||
"super" : "Object", | ||
"type" : "normal" } |
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/AutoTDD-GUI.package/ATDDBrowser.class/class/overviewImageDark.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 @@ | ||
images | ||
overviewImageDark | ||
|
||
^ (Form | ||
extent: 64@64 | ||
depth: 32 | ||
|
6 changes: 6 additions & 0 deletions
6
packages/AutoTDD-GUI.package/ATDDBrowser.class/class/profileImage.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 @@ | ||
accessing | ||
profileImage | ||
|
||
^ self isThemeButtonLight | ||
ifTrue: [ self profileImageLight ] | ||
ifFalse: [ self profileImageDark ] |
9 changes: 9 additions & 0 deletions
9
packages/AutoTDD-GUI.package/ATDDBrowser.class/class/profileImageDark.st
Large diffs are not rendered by default.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
packages/AutoTDD-GUI.package/ATDDBrowser.class/class/profileImageLight.st
Large diffs are not rendered by default.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-GUI.package/ATDDBrowser.class/instance/openProfileEditor.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 @@ | ||
building | ||
openProfileEditor | ||
|
||
^ ATDDProfileEditor open |
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/AutoTDD-GUI.package/ATDDEditor.class/class/openForNewToAddTargetTo..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 @@ | ||
constants | ||
initialization | ||
openForNewToAddTargetTo: aCollection | ||
|
||
| model | | ||
|
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
The ATDDProfileEditor is an editor to configure personal standard values. |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/class/defaultButtonHeight.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 @@ | ||
constants | ||
defaultButtonHeight | ||
|
||
^ Preferences standardButtonFont height * 3 |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/class/defaultExtent.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 @@ | ||
constants | ||
defaultExtent | ||
|
||
^ 450 @ 120 |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/class/defaultInputFieldHeight.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 @@ | ||
constants | ||
defaultInputFieldHeight | ||
|
||
^ Preferences standardCodeFont height * 2 - 5 |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/class/gitHubTokenHelpLabel.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 @@ | ||
constants | ||
gitHubTokenHelpLabel | ||
|
||
^ 'default github token' |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/class/label.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 @@ | ||
constants | ||
label | ||
|
||
^ 'Profile Editor for this Squeak Image' |
11 changes: 11 additions & 0 deletions
11
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/class/open.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,11 @@ | ||
initialization | ||
open | ||
|
||
| model | | ||
|
||
model := self basicNew | ||
initialize; | ||
yourself. | ||
ToolBuilder open: model. | ||
|
||
^ model |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/class/travisTokenHelpLabel.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 @@ | ||
constants | ||
travisTokenHelpLabel | ||
|
||
^ 'default travis token' |
6 changes: 6 additions & 0 deletions
6
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/instance/applyChanges.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 @@ | ||
action | ||
applyChanges | ||
|
||
ATDDProfile instance | ||
travisToken: self travisToken; | ||
gitHubToken: self gitHubToken |
10 changes: 10 additions & 0 deletions
10
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/instance/buildButtonsWith..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 @@ | ||
building | ||
buildButtonsWith: aBuilder | ||
|
||
^ aBuilder pluggablePanelSpec new | ||
model: self; | ||
layout: #horizontal; | ||
children: (OrderedCollection new | ||
add: (self buildSaveButtonWith: aBuilder); | ||
yourself); | ||
yourself |
10 changes: 10 additions & 0 deletions
10
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/instance/buildGitHubTokenWith..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 @@ | ||
building | ||
buildGitHubTokenWith: aBuilder | ||
|
||
^ aBuilder pluggableInputFieldSpec new | ||
model: gitHubToken; | ||
help: self class gitHubTokenHelpLabel; | ||
getText: #contents; | ||
setText: #contents:; | ||
softLineWrap: true; | ||
yourself |
11 changes: 11 additions & 0 deletions
11
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/instance/buildInputFieldsWith..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,11 @@ | ||
building | ||
buildInputFieldsWith: aBuilder | ||
|
||
^ OrderedCollection new | ||
add: ((self buildTravisTokenWith: aBuilder) | ||
frame: self travisTokenFrame; | ||
yourself); | ||
add: ((self buildGitHubTokenWith: aBuilder) | ||
frame: self gitHubTokenFrame; | ||
yourself); | ||
yourself |
9 changes: 9 additions & 0 deletions
9
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/instance/buildSaveButtonWith..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,9 @@ | ||
building | ||
buildSaveButtonWith: aBuilder | ||
|
||
^ aBuilder pluggableButtonSpec new | ||
model: self; | ||
action: #save; | ||
label: 'Save'; | ||
enabled: true; | ||
yourself |
10 changes: 10 additions & 0 deletions
10
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/instance/buildTravisTokenWith..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 @@ | ||
building | ||
buildTravisTokenWith: aBuilder | ||
|
||
^ aBuilder pluggableInputFieldSpec new | ||
model: travisToken; | ||
help: self class travisTokenHelpLabel; | ||
getText: #contents; | ||
setText: #contents:; | ||
softLineWrap: true; | ||
yourself |
18 changes: 18 additions & 0 deletions
18
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/instance/buildWith..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,18 @@ | ||
building | ||
buildWith: aBuilder | ||
|
||
| window | | ||
|
||
window := aBuilder pluggableWindowSpec new | ||
model: self; | ||
label: self label; | ||
extent: self extent; | ||
children: (OrderedCollection new | ||
addAll: (self buildInputFieldsWith: aBuilder); | ||
add: ((self buildButtonsWith: aBuilder) | ||
frame: self buttonsFrame; | ||
yourself); | ||
yourself); | ||
yourself. | ||
|
||
^ aBuilder build: window |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/instance/buttonHeight.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 @@ | ||
building | ||
buttonHeight | ||
|
||
^ self class defaultButtonHeight |
9 changes: 9 additions & 0 deletions
9
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/instance/buttonsFrame.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,9 @@ | ||
building | ||
buttonsFrame | ||
|
||
^ LayoutFrame new | ||
leftFraction: 0 offset: 0; | ||
topFraction: 1 offset: self buttonHeight negated; | ||
rightFraction: 1 offset: 0; | ||
bottomFraction: 1 offset: 0; | ||
yourself |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/instance/closeWindow.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 @@ | ||
action | ||
closeWindow | ||
|
||
self changed: #close |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/instance/extent.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 @@ | ||
building | ||
extent | ||
|
||
^ self class defaultExtent |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/instance/gitHubToken..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 @@ | ||
accessing | ||
gitHubToken: aString | ||
|
||
gitHubToken contents: aString |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-GUI.package/ATDDProfileEditor.class/instance/gitHubToken.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 @@ | ||
accessing | ||
gitHubToken | ||
|
||
^ gitHubToken contents |
Oops, something went wrong.