-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from noha/master
Initial import from smalltalkhub
- Loading branch information
Showing
381 changed files
with
2,113 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{"packageExtension" : ".package", | ||
"propertyFileExtension" : ".json", | ||
"Metadata" : "false" } |
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 | ||
} |
6 changes: 6 additions & 0 deletions
6
repository/Beacon-Core-GT.package/Beacon.extension/class/gtExampleEmpty.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 @@ | ||
*Beacon-Core-GT | ||
gtExampleEmpty | ||
<gtExample> | ||
<label: 'Empty'> | ||
|
||
^ self new |
4 changes: 4 additions & 0 deletions
4
...y/Beacon-Core-GT.package/Beacon.extension/instance/gtInspectorAnnouncementsIn.context..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 @@ | ||
*Beacon-Core-GT | ||
gtInspectorAnnouncementsIn: composite context: aGTContext | ||
<gtInspectorPresentationOrder: 30> | ||
self announcer gtInspectorAnnouncementsIn: composite context: aGTContext |
4 changes: 4 additions & 0 deletions
4
repository/Beacon-Core-GT.package/Beacon.extension/instance/gtInspectorSubscriptionsIn..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 @@ | ||
*Beacon-Core-GT | ||
gtInspectorSubscriptionsIn: composite | ||
<gtInspectorPresentationOrder: 30> | ||
self announcer gtInspectorSubscriptionsIn: composite |
3 changes: 3 additions & 0 deletions
3
repository/Beacon-Core-GT.package/Beacon.extension/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,3 @@ | ||
{ | ||
"name" : "Beacon" | ||
} |
6 changes: 6 additions & 0 deletions
6
repository/Beacon-Core-GT.package/BeaconSignal.extension/class/gtExampleEmpty.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 @@ | ||
*Beacon-Core-GT | ||
gtExampleEmpty | ||
<gtExample> | ||
<label: 'Empty'> | ||
|
||
^ self new |
3 changes: 3 additions & 0 deletions
3
repository/Beacon-Core-GT.package/BeaconSignal.extension/instance/gtDisplayOn..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,3 @@ | ||
*Beacon-Core-GT | ||
gtDisplayOn: stream | ||
self printOneLineOn: stream |
6 changes: 6 additions & 0 deletions
6
repository/Beacon-Core-GT.package/BeaconSignal.extension/instance/gtOneLineIn..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 @@ | ||
*Beacon-Core-GT | ||
gtOneLineIn: composite | ||
<gtInspectorPresentationOrder: 0> | ||
composite text | ||
title: 'One line'; | ||
display: [ self printOneLineString ] |
3 changes: 3 additions & 0 deletions
3
repository/Beacon-Core-GT.package/BeaconSignal.extension/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,3 @@ | ||
{ | ||
"name" : "BeaconSignal" | ||
} |
6 changes: 6 additions & 0 deletions
6
repository/Beacon-Core-GT.package/ExceptionSignal.extension/class/gtExampleEmpty.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 @@ | ||
*Beacon-Core-GT | ||
gtExampleEmpty | ||
<gtExample> | ||
<label: 'Empty'> | ||
|
||
^ self new |
9 changes: 9 additions & 0 deletions
9
repository/Beacon-Core-GT.package/ExceptionSignal.extension/instance/gtInspectorStackIn..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 @@ | ||
*Beacon-Core-GT | ||
gtInspectorStackIn: composite | ||
<gtInspectorPresentationOrder: 0> | ||
composite fastTable | ||
title: 'Stack'; | ||
display: [ self stack ]; | ||
column: 'Class' evaluated: [:each | each parents first methodClass ]; | ||
column: 'Method' evaluated: [:each | each parents first selector]; | ||
column: 'Code' evaluated: [:each | each formattedCode] |
3 changes: 3 additions & 0 deletions
3
repository/Beacon-Core-GT.package/ExceptionSignal.extension/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,3 @@ | ||
{ | ||
"name" : "ExceptionSignal" | ||
} |
6 changes: 6 additions & 0 deletions
6
repository/Beacon-Core-GT.package/MemoryLogger.extension/class/gtExampleEmpty.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 @@ | ||
*Beacon-Core-GT | ||
gtExampleEmpty | ||
<gtExample> | ||
<label: 'Empty'> | ||
|
||
^ self new |
9 changes: 9 additions & 0 deletions
9
repository/Beacon-Core-GT.package/MemoryLogger.extension/instance/gtInspectorGroupedIn..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 @@ | ||
*beacon-core-gt | ||
gtInspectorGroupedIn: composite | ||
<gtInspectorPresentationOrder: 1> | ||
composite fastTable | ||
title: 'Grouped'; | ||
display: [ (self recordings reverse groupedBy: [ :each | each class ]) associations ]; | ||
column: 'Class' evaluated: [ :each | each key ]; | ||
column: 'Instances' evaluated: [ :each | each value size ]; | ||
send: [ :each | each value ] |
35 changes: 35 additions & 0 deletions
35
...sitory/Beacon-Core-GT.package/MemoryLogger.extension/instance/gtInspectorRecordingsIn..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,35 @@ | ||
*beacon-core-gt | ||
gtInspectorRecordingsIn: composite | ||
<gtInspectorPresentationOrder: 0> | ||
| live | | ||
live := true. | ||
composite fastTable | ||
title: 'Recordings'; | ||
display: [ self recordings reverse ]; | ||
column: 'Timestamp' evaluated: [ :each | each timestamp asString ] width: 80; | ||
column: 'Process' evaluated: [ :each | each processId asString ]; | ||
column: 'Type' evaluated: [ :each | each name ] width: 80; | ||
column: 'Contents' evaluated: [ :each | String streamContents: [ :s | each printOneLineContentsOn: s ] ]; | ||
showOnly: 50; | ||
" beMultiple;" | ||
updateOn: Announcement from: [ self announcer ]; | ||
selectionAct: [ :table | | ||
recordings := self recordings \ table selection. | ||
table update ] | ||
icon: GLMUIThemeExtraIcons glamorousRemove | ||
entitled: 'Remove'; | ||
act: [ :table | | ||
self reset. | ||
table update ] | ||
icon: GLMUIThemeExtraIcons glamorousRemove | ||
entitled: 'Remove all'; | ||
dynamicActions: [ :t | | ||
{ | ||
GLMGenericAction new | ||
action: [ t unregisterFromAllAnnouncements. t pane updateToolbar ]; | ||
icon: GLMUIThemeExtraIcons glamorousRedCircle; | ||
title: 'Stop' . | ||
GLMGenericAction new | ||
action: [ t pane update ]; | ||
icon: GLMUIThemeExtraIcons glamorousGreenCircle; | ||
title: 'Play' }] |
3 changes: 3 additions & 0 deletions
3
repository/Beacon-Core-GT.package/MemoryLogger.extension/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,3 @@ | ||
{ | ||
"name" : "MemoryLogger" | ||
} |
6 changes: 6 additions & 0 deletions
6
...ry/Beacon-Core-GT.package/ThisContextSignal.extension/class/gtExampleMethodStackSignal.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 @@ | ||
*Beacon-Core-GT | ||
gtExampleMethodStackSignal | ||
<gtExample> | ||
<label: 'MethodStackSignal'> | ||
|
||
^ MethodStackSignal new |
6 changes: 6 additions & 0 deletions
6
...sitory/Beacon-Core-GT.package/ThisContextSignal.extension/instance/gtInspectorStackIn..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 @@ | ||
*Beacon-Core-GT | ||
gtInspectorStackIn: composite | ||
<gtInspectorPresentationOrder: 0> | ||
composite list | ||
title: 'Stack'; | ||
display: [ self stack ] |
3 changes: 3 additions & 0 deletions
3
repository/Beacon-Core-GT.package/ThisContextSignal.extension/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,3 @@ | ||
{ | ||
"name" : "ThisContextSignal" | ||
} |
1 change: 1 addition & 0 deletions
1
repository/Beacon-Core-GT.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: #'Beacon-Core-GT'! |
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 'Beacon-Core-GT') |
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 | ||
} |
1 change: 1 addition & 0 deletions
1
repository/Beacon-Core-Tests.package/CustomStreamLoggerTest.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 @@ | ||
A CustomStreamLoggerTest is xxxxxxxxx. |
8 changes: 8 additions & 0 deletions
8
...n-Core-Tests.package/CustomStreamLoggerTest.class/instance/testLoggingAffectsTheStream.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 | ||
testLoggingAffectsTheStream | ||
| loggedResult | | ||
loggedResult := String streamContents: [ :stream | | ||
(CustomStreamLogger with: stream) | ||
runDuring: [ | ||
StringSignal emit: 'This is a message' ] ]. | ||
self assert: loggedResult lines size = 1 |
11 changes: 11 additions & 0 deletions
11
repository/Beacon-Core-Tests.package/CustomStreamLoggerTest.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" : "PhilippeBack 4/27/2017 00:13", | ||
"super" : "TestCase", | ||
"category" : "Beacon-Core-Tests", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "CustomStreamLoggerTest", | ||
"type" : "normal" | ||
} |
1 change: 1 addition & 0 deletions
1
repository/Beacon-Core-Tests.package/DummySignal.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 @@ | ||
This signal is solely used for testing purposes. |
11 changes: 11 additions & 0 deletions
11
repository/Beacon-Core-Tests.package/DummySignal.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" : "TudorGirba 6/9/2014 01:10", | ||
"super" : "BeaconSignal", | ||
"category" : "Beacon-Core-Tests", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "DummySignal", | ||
"type" : "normal" | ||
} |
1 change: 1 addition & 0 deletions
1
repository/Beacon-Core-Tests.package/MemoryLoggerTest.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 @@ | ||
A MemoryLoggerTest is xxxxxxxxx. |
7 changes: 7 additions & 0 deletions
7
repository/Beacon-Core-Tests.package/MemoryLoggerTest.class/instance/testRecordOneSignal.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,7 @@ | ||
testing | ||
testRecordOneSignal | ||
| logger | | ||
logger := MemoryLogger new | ||
runDuring: [ StringSignal emit: 'test' ]. | ||
self assert: logger recordings size = 1. | ||
self assert: logger recordings first message = 'test' |
10 changes: 10 additions & 0 deletions
10
...Core-Tests.package/MemoryLoggerTest.class/instance/testRecordTwoSignalsInTheRightOrder.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 @@ | ||
testing | ||
testRecordTwoSignalsInTheRightOrder | ||
| logger | | ||
logger := MemoryLogger new | ||
runDuring: [ | ||
StringSignal emit: 'test1'. | ||
StringSignal emit: 'test2' ]. | ||
self assert: logger recordings size = 2. | ||
self assert: logger recordings first message = 'test1'. | ||
self assert: logger recordings last message = 'test2' |
7 changes: 7 additions & 0 deletions
7
...y/Beacon-Core-Tests.package/MemoryLoggerTest.class/instance/testRunDuringStopsAtTheEnd.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,7 @@ | ||
testing | ||
testRunDuringStopsAtTheEnd | ||
| logger | | ||
logger := MemoryLogger new. | ||
logger runDuring: [ | ||
self assert: logger isRunning ]. | ||
self assert: logger isRunning not |
9 changes: 9 additions & 0 deletions
9
.../Beacon-Core-Tests.package/MemoryLoggerTest.class/instance/testStartForMultipleSignals.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 @@ | ||
testing | ||
testStartForMultipleSignals | ||
| logger | | ||
logger := MemoryLogger new. | ||
logger runFor: StringSignal, MethodStackSignal during: [ | ||
StringSignal emit: 'This should be recorded.'. | ||
MethodStackSignal emit. | ||
DummySignal new emit ]. | ||
self assert: logger recordings size equals: 2 |
8 changes: 8 additions & 0 deletions
8
...ry/Beacon-Core-Tests.package/MemoryLoggerTest.class/instance/testStartForOnlyOneSignal.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 @@ | ||
testing | ||
testStartForOnlyOneSignal | ||
| logger | | ||
logger := MemoryLogger new. | ||
logger runFor: StringSignal during: [ | ||
StringSignal emit: 'This should be recorded.'. | ||
MethodStackSignal emit ]. | ||
self assert: logger recordings size equals: 1 |
13 changes: 13 additions & 0 deletions
13
repository/Beacon-Core-Tests.package/MemoryLoggerTest.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" : "PhilippeBack 4/27/2017 00:13", | ||
"super" : "TestCase", | ||
"category" : "Beacon-Core-Tests", | ||
"classinstvars" : [ | ||
"previousRecordings" | ||
], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "MemoryLoggerTest", | ||
"type" : "normal" | ||
} |
1 change: 1 addition & 0 deletions
1
repository/Beacon-Core-Tests.package/MethodStackSignalTest.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 @@ | ||
A CurrentStackSignalTest is xxxxxxxxx. |
5 changes: 5 additions & 0 deletions
5
...ackage/MethodStackSignalTest.class/instance/testRemovesIrrelevantStackEntriesFromOnTop.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 @@ | ||
testing | ||
testRemovesIrrelevantStackEntriesFromOnTop | ||
| signal | | ||
signal := MethodStackSignal emit. | ||
self assert: signal stack first = thisContext stack first method asRingDefinition |
11 changes: 11 additions & 0 deletions
11
repository/Beacon-Core-Tests.package/MethodStackSignalTest.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" : "<historical>", | ||
"super" : "TestCase", | ||
"category" : "Beacon-Core-Tests", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "MethodStackSignalTest", | ||
"type" : "normal" | ||
} |
1 change: 1 addition & 0 deletions
1
repository/Beacon-Core-Tests.package/SignalLoggerTest.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 @@ | ||
A SignalLoggerTest is xxxxxxxxx. |
14 changes: 14 additions & 0 deletions
14
...re-Tests.package/SignalLoggerTest.class/instance/testStartingTwiceDoesNotRegisterTwice.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,14 @@ | ||
tests | ||
testStartingTwiceDoesNotRegisterTwice | ||
| initialNumberOfSubscriptions | | ||
initialNumberOfSubscriptions := Beacon instance announcer numberOfSubscriptions. | ||
SignalLogger resetInstance. | ||
SignalLogger start. | ||
SignalLogger start. | ||
self | ||
assert: Beacon instance announcer numberOfSubscriptions | ||
equals: initialNumberOfSubscriptions + 1. | ||
SignalLogger stop. | ||
self | ||
assert: Beacon instance announcer numberOfSubscriptions | ||
equals: initialNumberOfSubscriptions |
11 changes: 11 additions & 0 deletions
11
repository/Beacon-Core-Tests.package/SignalLoggerTest.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" : "PhilippeBack 4/27/2017 00:14", | ||
"super" : "TestCase", | ||
"category" : "Beacon-Core-Tests", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "SignalLoggerTest", | ||
"type" : "normal" | ||
} |
1 change: 1 addition & 0 deletions
1
repository/Beacon-Core-Tests.package/SignalTest.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 @@ | ||
A SignalTest is xxxxxxxxx. |
9 changes: 9 additions & 0 deletions
9
repository/Beacon-Core-Tests.package/SignalTest.class/instance/testTimestampByDefault.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 @@ | ||
as yet unclassified | ||
testTimestampByDefault | ||
| before signal after | | ||
before := DateAndTime now. | ||
signal := BeaconSignal new. | ||
after := DateAndTime now. | ||
self assert: before <= signal timestamp. | ||
self assert: after >= signal timestamp. | ||
|
11 changes: 11 additions & 0 deletions
11
repository/Beacon-Core-Tests.package/SignalTest.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" : "<historical>", | ||
"super" : "TestCase", | ||
"category" : "Beacon-Core-Tests", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "SignalTest", | ||
"type" : "normal" | ||
} |
1 change: 1 addition & 0 deletions
1
repository/Beacon-Core-Tests.package/WrapperSignalTest.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 @@ | ||
A WrapperSignalTest is xxxxxxxxx. |
5 changes: 5 additions & 0 deletions
5
...ckage/WrapperSignalTest.class/instance/testAsBeaconSignalDoesNotAffectAnExistingSignal.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 @@ | ||
tests | ||
testAsBeaconSignalDoesNotAffectAnExistingSignal | ||
| signal | | ||
signal := StringSignal new. | ||
self assert: signal asBeaconSignal = signal |
4 changes: 4 additions & 0 deletions
4
...package/WrapperSignalTest.class/instance/testAsBeaconSignalTransformsIntoWrapperSignal.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 @@ | ||
tests | ||
testAsBeaconSignalTransformsIntoWrapperSignal | ||
self assert: (42 asBeaconSignal isKindOf: WrapperSignal). | ||
self assert: 42 asBeaconSignal target equals: 42. |
11 changes: 11 additions & 0 deletions
11
repository/Beacon-Core-Tests.package/WrapperSignalTest.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" : "<historical>", | ||
"super" : "TestCase", | ||
"category" : "Beacon-Core-Tests", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "WrapperSignalTest", | ||
"type" : "normal" | ||
} |
Oops, something went wrong.