Skip to content

Commit

Permalink
Small Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin-Frost committed Jun 19, 2021
1 parent 2de178a commit 8156cb8
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
exception handling
throwExceptionForResponseCode: aNumber

^ (self errorDictionary at: aNumber ifAbsent: [ Error ]) signal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
An ATDDAccessDeniedError is thrown when the HTTP request results in a 403 (Forbidden) Error.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
],
"classvars" : [
],
"commentStamp" : "",
"commentStamp" : "BF 6/19/2021 10:35",
"instvars" : [
],
"name" : "ATDDAccessDeniedError",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
An ATDDConnectionError is thrown when the HTTP request results in a 401 (Unauthorized) Error.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
],
"classvars" : [
],
"commentStamp" : "",
"commentStamp" : "BF 6/19/2021 10:35",
"instvars" : [
],
"name" : "ATDDConnectionError",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
An ATDDNotFoundError is thrown when the HTTP request results in a 404 (Not Found) Error.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
],
"classvars" : [
],
"commentStamp" : "",
"commentStamp" : "BF 6/19/2021 10:36",
"instvars" : [
],
"name" : "ATDDNotFoundError",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
action
testing
hasValidUrl

| client |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
behavior
applyChanges

super applyChanges.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
building
buildInputFieldsWith: aBuilder

^ OrderedCollection new
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
building
buildIntervalWith: aBuilder

^ aBuilder pluggableInputFieldSpec new
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
building
buildRepositoryUrlWith: aBuilder

^ aBuilder pluggableInputFieldSpec new
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
building
buildTokenWith: aBuilder

^ aBuilder pluggableInputFieldSpec new
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
testing
hasVaildRefreshInterval

^ refreshInterval contents asString isAllDigits and: [ refreshInterval contents asString isEmpty not ]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
testing
hasVaildSlug

^ self repositoryUrl asString matchesRegex: self class validSlug
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
initialization
initializeInputFields

super initializeInputFields.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
initialization
initializeInterval

refreshInterval := ValueHolder new contents: ''.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
initialization
initializeRepositoryUrl

repositoryUrl := ValueHolder new contents: ''.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
initialization
initializeToken

token := ValueHolder new contents: ''.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
building
intervalFrame

^ LayoutFrame new
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
behavior
loadTargetSpecs

self
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
building
repositoryUrlFrame

^ LayoutFrame new
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
behavior
save

repositoryUrl changed: #acceptChanges.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
building
targetNameFrame

^ LayoutFrame new
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
building
tokenFrame

^ LayoutFrame new
Expand Down

0 comments on commit 8156cb8

Please sign in to comment.