Skip to content

Commit

Permalink
Merge 987f827 into 873d7b3
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianWagner2 committed Jul 2, 2021
2 parents 873d7b3 + 987f827 commit 342d328
Show file tree
Hide file tree
Showing 87 changed files with 544 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
"getJsonForWorkflowRunsForRepository:" : "ng 5/22/2021 19:16",
"getLogsForRepository:logId:" : "BF 6/25/2021 17:13",
"mimeType" : "ng 5/14/2021 15:45",
"requestOn:" : "BF 6/26/2021 14:46" } }
"requestOn:" : "BF 6/26/2021 14:46" } }
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,9 @@
"newForRepository:" : "BF 5/21/2021 13:12" },
"instance" : {
"buildStatus" : "BF 6/25/2021 17:14",
"cache" : "ng 5/14/2021 16:53",
"cache:" : "ng 5/14/2021 16:53",
"clearCache" : "BF 5/21/2021 13:31",
"client" : "sw 5/28/2021 20:36",
"client:" : "BF 5/28/2021 20:38",
"initialize" : "ng 5/14/2021 18:18",
"latestWorkflowJson" : "BF 6/25/2021 17:25",
"parser" : "ng 5/14/2021 17:56",
"parser:" : "ng 5/14/2021 18:18",
"repository" : "ng 5/14/2021 17:19",
"repository:" : "ng 5/14/2021 17:20",
"repositoryJson" : "ng 5/22/2021 19:05",
"requireRepository" : "ng 5/22/2021 19:04",
"statusMessage" : "ng 5/22/2021 18:58",
"workflowsDictionary" : "ng 5/23/2021 12:05" } }
"statusMessage" : "ng 5/22/2021 18:58" } }
1 change: 1 addition & 0 deletions packages/AutoTDD-Core.package/ATDDProfile.class/README.md
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
instance

^ instance ifNil: [ instance := self new ]
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
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
gitHubToken: aString

gitHubToken := aString
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
gitHubToken

^ gitHubToken ifNil: [ gitHubToken := '' ]
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
tokenFor: aSymbol

^ self class tokenDictionary at: aSymbol
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
travisToken: aString

travisToken := aString
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
travisToken

^ travisToken ifNil: [ travisToken := '' ]
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 packages/AutoTDD-Core.package/ATDDProfile.class/properties.json
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" }
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ buttonLabelDictionary
'runAll' -> 'Run All'.
'openOverview' -> 'Open Overview'.
'toggleSounds' -> 'Toggle Sounds'.
'openProfileEditor' -> 'Open Profile Editor'.

'createWatcher' -> 'Create Watcher'.
'pauseWatchers' -> 'Pause Watchers'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ globalFunctionalityDictionary

^ OrderedDictionary
newFrom: {
(self playImage scaledToHeight: self largeImageHeight) -> #runAll.
(self pauseImage scaledToHeight: self largeImageHeight) -> #pauseAll.
(self resumeImage scaledToHeight: self largeImageHeight) -> #resumeAll.
(self playImage scaledToHeight: self largeImageHeight) -> #runAll.
(self overviewImage scaledToHeight: self largeImageHeight) -> #openOverview.
#soundsButtonImage -> #toggleSounds
#soundsButtonImage -> #toggleSounds.
(self profileImage scaledToHeight: self largeImageHeight) -> #openProfileEditor
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
images
overviewImageDark

^ (Form
extent: 64@64
depth: 32
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
accessing
profileImage

^ self isThemeButtonLight
ifTrue: [ self profileImageLight ]
ifFalse: [ self profileImageDark ]

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
building
openProfileEditor

^ ATDDProfileEditor open
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"addImageDark" : "BF 6/20/2021 20:44",
"addImageLight" : "BF 6/20/2021 20:44",
"baseTitle" : "ls 7/25/2019 07:39",
"buttonLabelDictionary" : "SK 6/27/2021 12:34",
"buttonLabelDictionary" : "ClassTest 7/2/2021 12:10",
"changed:" : "sw 5/25/2021 22:09",
"changedGitHubActions" : "ng 6/3/2021 15:04",
"changedTravisStatuses" : "ng 6/3/2021 15:05",
Expand All @@ -22,7 +22,7 @@
"gitHubActionListDictionary" : "ClassTest 5/30/2021 16:29",
"gitHubActionUIDictionary" : "sw 5/28/2021 11:54",
"globalButtonWidth" : "ClassTest 6/21/2021 11:55",
"globalFunctionalityDictionary" : "BF 6/26/2021 18:21",
"globalFunctionalityDictionary" : "ClassTest 7/2/2021 12:08",
"infoImage" : "BF 6/25/2021 22:54",
"infoImageDark" : "BF 6/25/2021 22:54",
"infoImageLight" : "BF 6/25/2021 22:54",
Expand All @@ -32,14 +32,17 @@
"largeImageHeight" : "BF 6/25/2021 23:06",
"open" : "ClassTest 6/11/2021 16:09",
"overviewImage" : "BF 6/20/2021 21:10",
"overviewImageDark" : "BF 6/20/2021 20:48",
"overviewImageDark" : "ClassTest 7/2/2021 15:47",
"overviewImageLight" : "BF 6/20/2021 20:47",
"pauseImage" : "BF 6/20/2021 21:16",
"pauseImageDark" : "BF 6/20/2021 21:15",
"pauseImageLight" : "BF 6/20/2021 21:14",
"playImage" : "BF 6/20/2021 21:16",
"playImageDark" : "BF 6/20/2021 21:15",
"playImageLight" : "BF 6/20/2021 21:15",
"profileImage" : "ClassTest 7/2/2021 11:11",
"profileImageDark" : "ClassTest 7/2/2021 11:10",
"profileImageLight" : "ClassTest 7/2/2021 11:10",
"registerInWorldMenu" : "SK 6/10/2021 11:43",
"removeImage" : "BF 6/20/2021 21:28",
"removeImageDark" : "BF 6/20/2021 21:27",
Expand Down Expand Up @@ -105,6 +108,7 @@
"openInfoForSelectedTestingEntitiesOfType:" : "sw 5/25/2021 23:29",
"openInfoForTestingEntity:" : "sw 5/25/2021 22:46",
"openOverview" : "ClassTest 6/11/2021 16:09",
"openProfileEditor" : "ClassTest 7/2/2021 12:12",
"openResultsForSelectedTestingEntitiesOfType:" : "sw 5/25/2021 23:29",
"openResultsForTestingEntity:" : "sw 5/25/2021 22:51",
"pauseAll" : "ClassTest 5/29/2021 00:13",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
constants
initialization
openForNewToAddTargetTo: aCollection

| model |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"defaultInputFieldHeight" : "vxr 6/20/2019 12:22",
"label" : "ls 7/25/2019 07:41",
"nameHelpLabel" : "vxr 6/19/2019 17:25",
"openForNewToAddTargetTo:" : "ng 6/4/2021 19:39",
"openForNewToAddTargetTo:" : "ClassTest 7/2/2021 15:48",
"testingEntityDictionary" : "ClassTest 5/30/2021 00:07" },
"instance" : {
"acceptTargetName" : "vxr 6/20/2019 11:48",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"nameHelpLabel" : "BF 5/21/2021 14:04",
"repositoryUrlHelpLabel" : "sw 5/25/2021 20:52",
"targetName" : "BF 5/21/2021 14:04",
"tokenHelpLabel" : "sw 5/25/2021 20:51",
"validSlug" : "BF 5/21/2021 14:07" },
"tokenHelpLabel" : "sw 5/25/2021 20:51" },
"instance" : {
"applyChanges" : "BF 6/18/2021 14:54",
"gitHubAction" : "sw 5/25/2021 19:21",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The ATDDProfileEditor is an editor to configure personal standard values.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
constants
defaultButtonHeight

^ Preferences standardButtonFont height * 3
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
constants
defaultExtent

^ 450 @ 120
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
constants
defaultInputFieldHeight

^ Preferences standardCodeFont height * 2 - 5
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
constants
gitHubTokenHelpLabel

^ 'default github token'
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 packages/AutoTDD-GUI.package/ATDDProfileEditor.class/class/open.st
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
constants
travisTokenHelpLabel

^ 'default travis token'
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
action
applyChanges

ATDDProfile instance
travisToken: self travisToken;
gitHubToken: self gitHubToken
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
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
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
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
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
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
building
buttonHeight

^ self class defaultButtonHeight
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
action
closeWindow

self changed: #close
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
building
extent

^ self class defaultExtent
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
gitHubToken: aString

gitHubToken contents: aString
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
gitHubToken

^ gitHubToken contents
Loading

0 comments on commit 342d328

Please sign in to comment.