-
Notifications
You must be signed in to change notification settings - Fork 71
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
10 changed files
with
24 additions
and
16 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
4 changes: 4 additions & 0 deletions
4
repository/Seaside-Session.package/WASessionContinuation.class/instance/restoreState.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 @@ | ||
processing | ||
restoreState | ||
|
||
self states restore |
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
4 changes: 2 additions & 2 deletions
4
...ide-Tests-WebComponents.package/WASingleElementCacheTest.class/instance/testKeyAtValue.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,5 +1,5 @@ | ||
testing | ||
testKeyAtValue | ||
cache at: 1 put: 'one'. | ||
self assert: (cache keyAtValue: 'one' ifAbsent: [ 2 ]) = 1. | ||
self assert: (cache keyAtValue: 'two' ifAbsent: [ 2 ]) = 2. | ||
self assert: (cache keyAtValue: 'one' ifAbsent: [ 2 ]) equals: 1. | ||
self assert: (cache keyAtValue: 'two' ifAbsent: [ 2 ]) equals: 2. |
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
6 changes: 3 additions & 3 deletions
6
...y/Seaside-Tests-WebComponents.package/WASingleElementCacheTest.class/instance/testSize.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,7 +1,7 @@ | ||
testing | ||
testSize | ||
self assert: cache size = 0. | ||
self assert: cache size equals: 0. | ||
cache at: 1 put: 'one'. | ||
self assert: cache size = 1. | ||
self assert: cache size equals: 1. | ||
cache at: 2 put: 'two'. | ||
self assert: cache size = 1. | ||
self assert: cache size equals: 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
4 changes: 0 additions & 4 deletions
4
...ide-WebComponents-Core.package/WAWebComponentActionContinuation.class/instance/handle..st
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...ebComponents-Core.package/WAWebComponentActionContinuation.class/instance/restoreState.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 @@ | ||
processing | ||
restoreState | ||
"don't restore states" | ||
Check warning on line 3 in repository/Seaside-WebComponents-Core.package/WAWebComponentActionContinuation.class/instance/restoreState.st Codecov / codecov/patchrepository/Seaside-WebComponents-Core.package/WAWebComponentActionContinuation.class/instance/restoreState.st#L1-L3
|
7 changes: 6 additions & 1 deletion
7
...e-WebComponents-Examples.package/WAWebComponentsDemoApplication.class/class/initialize.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,9 @@ | ||
initialization | ||
initialize | ||
(WAAdmin register: self asApplicationAt: 'examples/web-components') | ||
| application | | ||
"register such that we do not have the developer tools" | ||
application := WAAdmin register: WAApplication at: 'examples/web-components' in: WAAdmin defaultDispatcher. | ||
application configuration addParent: WARenderLoopConfiguration instance. | ||
application | ||
rootClass: self; | ||
scriptGeneratorClass: WANullScriptGenerator |