-
Notifications
You must be signed in to change notification settings - Fork 1
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
40 changed files
with
178 additions
and
5 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
2 changes: 1 addition & 1 deletion
2
source/BaselineOfBuoy.package/BaselineOfBuoy.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"instance" : { | ||
"baseline:" : "GabrielOmarCotelli 1/26/2017 19:41" | ||
"baseline:" : "GabrielOmarCotelli 3/15/2017 16:47" | ||
}, | ||
"class" : { } | ||
} |
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 +1 @@ | ||
(name 'BaselineOfBuoy-GabrielOmarCotelli.3' message 'Renamed a method' id 'd5ded4e0-e1da-4012-9820-ba8d7660503d' date '26 January 2017' time '7:52:00.732487 pm' author 'GabrielOmarCotelli' ancestors ((name 'BaselineOfBuoy-GabrielOmarCotelli.2' message 'Fixed baseline' id 'f98545ba-2938-4f1d-a9cf-bcc50f795618' date '26 January 2017' time '7:41:40.33839 pm' author 'GabrielOmarCotelli' ancestors ((name 'BaselineOfBuoy-GabrielOmarCotelli.1' message 'Renamed packages' id '7025211b-51c4-4db3-adcd-d8fe28315704' date '26 January 2017' time '7:29:54.026429 pm' author 'GabrielOmarCotelli' ancestors () stepChildren ())) stepChildren ())) stepChildren ()) | ||
(name 'BaselineOfBuoy-GabrielOmarCotelli.4' message 'Updated Baseline to include new packages' id '41e46af6-2b07-0d00-9c09-cc4d0dc74540' date '15 March 2017' time '4:48:16.427317 pm' author 'GabrielOmarCotelli' ancestors ((name 'BaselineOfBuoy-GabrielOmarCotelli.3' message 'Renamed a method' id 'd5ded4e0-e1da-4012-9820-ba8d7660503d' date '26 January 2017' time '7:52:00.732487 pm' author 'GabrielOmarCotelli' ancestors ((name 'BaselineOfBuoy-GabrielOmarCotelli.2' message 'Fixed baseline' id 'f98545ba-2938-4f1d-a9cf-bcc50f795618' date '26 January 2017' time '7:41:40.33839 pm' author 'GabrielOmarCotelli' ancestors ((name 'BaselineOfBuoy-GabrielOmarCotelli.1' message 'Renamed packages' id '7025211b-51c4-4db3-adcd-d8fe28315704' date '26 January 2017' time '7:29:54.026429 pm' author 'GabrielOmarCotelli' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ()) |
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 @@ | ||
{ | ||
"separateMethodMetaAndSource" : false, | ||
"noMethodMetaData" : true, | ||
"useCypressPropertiesFile" : true | ||
} |
Empty file.
8 changes: 8 additions & 0 deletions
8
...Buoy-Dynamic-Binding-Tests.package/BindingTest.class/instance/testBoundObjectWhenBound.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 @@ | ||
tests | ||
testBoundObjectWhenBound | ||
|
||
| boundObject | | ||
|
||
boundObject := Binding to: 1. | ||
|
||
self assert: boundObject content equals: 1 |
12 changes: 12 additions & 0 deletions
12
source/Buoy-Dynamic-Binding-Tests.package/BindingTest.class/instance/testUnbound.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 @@ | ||
tests | ||
testUnbound | ||
|
||
| unbound explanation | | ||
|
||
explanation := 'Parameter not yet configured'. | ||
unbound := Binding unboundBecause: explanation. | ||
|
||
self | ||
should: [ unbound content ] | ||
raise: AssertionFailed | ||
withExceptionDo: [ :error | self assert: error messageText equals: explanation ] |
7 changes: 7 additions & 0 deletions
7
source/Buoy-Dynamic-Binding-Tests.package/BindingTest.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,7 @@ | ||
{ | ||
"instance" : { | ||
"testBoundObjectWhenBound" : "GabrielOmarCotelli 3/15/2017 15:35", | ||
"testUnbound" : "GabrielOmarCotelli 3/15/2017 15:35" | ||
}, | ||
"class" : { } | ||
} |
11 changes: 11 additions & 0 deletions
11
source/Buoy-Dynamic-Binding-Tests.package/BindingTest.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,11 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "TestCase", | ||
"category" : "Buoy-Dynamic-Binding-Tests", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "BindingTest", | ||
"type" : "normal" | ||
} |
1 change: 1 addition & 0 deletions
1
source/Buoy-Dynamic-Binding-Tests.package/monticello.meta/categories.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 @@ | ||
SystemOrganization addCategory: #'Buoy-Dynamic-Binding-Tests'! |
Empty file.
1 change: 1 addition & 0 deletions
1
source/Buoy-Dynamic-Binding-Tests.package/monticello.meta/package
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 @@ | ||
(name 'Buoy-Dynamic-Binding-Tests') |
1 change: 1 addition & 0 deletions
1
source/Buoy-Dynamic-Binding-Tests.package/monticello.meta/version
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 @@ | ||
(name 'Buoy-Dynamic-Binding-Tests-GabrielOmarCotelli.1' message 'Add Binding' id 'c3216def-2b07-0d00-9c08-b1180dc74540' date '15 March 2017' time '4:46:19.133575 pm' author 'GabrielOmarCotelli' ancestors () stepChildren ()) |
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 @@ | ||
{ } |
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 @@ | ||
{ | ||
"separateMethodMetaAndSource" : false, | ||
"noMethodMetaData" : true, | ||
"useCypressPropertiesFile" : true | ||
} |
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 @@ | ||
I'm an abstract class representing a binding. |
4 changes: 4 additions & 0 deletions
4
source/Buoy-Dynamic-Binding.package/Binding.class/class/to..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 @@ | ||
Instance Creation | ||
to: anObject | ||
|
||
^BoundObject for: anObject |
4 changes: 4 additions & 0 deletions
4
source/Buoy-Dynamic-Binding.package/Binding.class/class/unboundBecause..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 @@ | ||
Instance Creation | ||
unboundBecause: anExplanation | ||
|
||
^ self unboundBecause: anExplanation raising: AssertionFailed |
4 changes: 4 additions & 0 deletions
4
source/Buoy-Dynamic-Binding.package/Binding.class/class/unboundBecause.raising..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 @@ | ||
Instance Creation | ||
unboundBecause: anExplanation raising: anErrorClass | ||
|
||
^ self unboundBecauseAll: {anExplanation} raising: anErrorClass |
4 changes: 4 additions & 0 deletions
4
source/Buoy-Dynamic-Binding.package/Binding.class/class/unboundBecauseAll.raising..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 @@ | ||
Instance Creation | ||
unboundBecauseAll: anExplanationCollection raising: anErrorClass | ||
|
||
^ UnboundObject becauseAll: anExplanationCollection raising: anErrorClass |
4 changes: 4 additions & 0 deletions
4
source/Buoy-Dynamic-Binding.package/Binding.class/instance/content.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 | ||
content | ||
|
||
^self subclassResponsibility |
11 changes: 11 additions & 0 deletions
11
source/Buoy-Dynamic-Binding.package/Binding.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,11 @@ | ||
{ | ||
"instance" : { | ||
"content" : "GabrielOmarCotelli 3/15/2017 15:34" | ||
}, | ||
"class" : { | ||
"unboundBecause:" : "GabrielOmarCotelli 3/15/2017 15:30", | ||
"unboundBecauseAll:raising:" : "GabrielOmarCotelli 3/15/2017 15:30", | ||
"to:" : "GabrielOmarCotelli 3/15/2017 15:16", | ||
"unboundBecause:raising:" : "GabrielOmarCotelli 3/15/2017 15:30" | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
source/Buoy-Dynamic-Binding.package/Binding.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,11 @@ | ||
{ | ||
"commentStamp" : "GabrielOmarCotelli 3/15/2017 15:31", | ||
"super" : "Object", | ||
"category" : "Buoy-Dynamic-Binding", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "Binding", | ||
"type" : "normal" | ||
} |
1 change: 1 addition & 0 deletions
1
source/Buoy-Dynamic-Binding.package/BoundObject.class/README.md
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 @@ | ||
I represent a binding to some object, so I can return a content. |
4 changes: 4 additions & 0 deletions
4
source/Buoy-Dynamic-Binding.package/BoundObject.class/class/for..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 @@ | ||
Instance Creation | ||
for: anObject | ||
|
||
^ self new initializeFor: anObject |
4 changes: 4 additions & 0 deletions
4
source/Buoy-Dynamic-Binding.package/BoundObject.class/instance/content.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 | ||
content | ||
|
||
^ contents |
4 changes: 4 additions & 0 deletions
4
source/Buoy-Dynamic-Binding.package/BoundObject.class/instance/initializeFor..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 @@ | ||
initialize | ||
initializeFor: anObject | ||
|
||
contents := anObject |
9 changes: 9 additions & 0 deletions
9
source/Buoy-Dynamic-Binding.package/BoundObject.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,9 @@ | ||
{ | ||
"instance" : { | ||
"content" : "GabrielOmarCotelli 3/15/2017 15:34", | ||
"initializeFor:" : "GabrielOmarCotelli 3/15/2017 15:17" | ||
}, | ||
"class" : { | ||
"for:" : "GabrielOmarCotelli 3/15/2017 15:30" | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
source/Buoy-Dynamic-Binding.package/BoundObject.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,13 @@ | ||
{ | ||
"commentStamp" : "GabrielOmarCotelli 3/15/2017 15:32", | ||
"super" : "Binding", | ||
"category" : "Buoy-Dynamic-Binding", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ | ||
"contents" | ||
], | ||
"name" : "BoundObject", | ||
"type" : "normal" | ||
} |
1 change: 1 addition & 0 deletions
1
source/Buoy-Dynamic-Binding.package/UnboundObject.class/README.md
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 @@ | ||
I represent an unbound object and will raise an error when asked about my contents |
4 changes: 4 additions & 0 deletions
4
source/Buoy-Dynamic-Binding.package/UnboundObject.class/class/becauseAll.raising..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 @@ | ||
Instance Creation | ||
becauseAll: anExplanationCollection raising: anErrorClass | ||
|
||
^ self new initializeBecauseAll: anExplanationCollection raising: anErrorClass |
4 changes: 4 additions & 0 deletions
4
source/Buoy-Dynamic-Binding.package/UnboundObject.class/instance/content.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 | ||
content | ||
|
||
^errorClass signalAll: explanations |
5 changes: 5 additions & 0 deletions
5
...uoy-Dynamic-Binding.package/UnboundObject.class/instance/initializeBecauseAll.raising..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 @@ | ||
initialize | ||
initializeBecauseAll: anExplanationCollection raising: anErrorClass | ||
|
||
explanations := anExplanationCollection. | ||
errorClass := anErrorClass |
9 changes: 9 additions & 0 deletions
9
source/Buoy-Dynamic-Binding.package/UnboundObject.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,9 @@ | ||
{ | ||
"instance" : { | ||
"content" : "GabrielOmarCotelli 3/15/2017 15:34", | ||
"initializeBecauseAll:raising:" : "GabrielOmarCotelli 3/15/2017 16:39" | ||
}, | ||
"class" : { | ||
"becauseAll:raising:" : "GabrielOmarCotelli 3/15/2017 15:31" | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
source/Buoy-Dynamic-Binding.package/UnboundObject.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,14 @@ | ||
{ | ||
"commentStamp" : "GabrielOmarCotelli 3/15/2017 15:32", | ||
"super" : "Binding", | ||
"category" : "Buoy-Dynamic-Binding", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ | ||
"errorClass", | ||
"explanations" | ||
], | ||
"name" : "UnboundObject", | ||
"type" : "normal" | ||
} |
1 change: 1 addition & 0 deletions
1
source/Buoy-Dynamic-Binding.package/monticello.meta/categories.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 @@ | ||
SystemOrganization addCategory: #'Buoy-Dynamic-Binding'! |
Empty file.
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 @@ | ||
(name 'Buoy-Dynamic-Binding') |
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 @@ | ||
(name 'Buoy-Dynamic-Binding-GabrielOmarCotelli.1' message 'Add Binding' id '1d891bee-2b07-0d00-9c07-90ae0dc74540' date '15 March 2017' time '4:45:57.00884 pm' author 'GabrielOmarCotelli' ancestors () stepChildren ()) |
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 @@ | ||
{ } |