-
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
18 changed files
with
90 additions
and
1 deletion.
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
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 | ||
} |
11 changes: 11 additions & 0 deletions
11
...easide-Tests-WebComponents.package/GRPackage.extension/class/seasideTestsWebComponents.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,11 @@ | ||
*Seaside-Tests-WebComponents | ||
seasideTestsWebComponents | ||
^ self new | ||
name: 'Seaside-WebComponents-Examples'; | ||
description: 'Tests for Seaside-WebComponents'; | ||
addDependency: 'Seaside-WebComponents-Core'; | ||
addDependency: 'Seaside-Tests-Core'; | ||
addDependency: 'Seaside-Session'; | ||
addDependency: 'Seaside-Examples'; | ||
url: #seasideUrl; | ||
yourself | ||
Check warning on line 11 in repository/Seaside-Tests-WebComponents.package/GRPackage.extension/class/seasideTestsWebComponents.st Codecov / codecov/patchrepository/Seaside-Tests-WebComponents.package/GRPackage.extension/class/seasideTestsWebComponents.st#L1-L11
|
3 changes: 3 additions & 0 deletions
3
repository/Seaside-Tests-WebComponents.package/GRPackage.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" : "GRPackage" | ||
} |
Empty file.
3 changes: 3 additions & 0 deletions
3
...Tests-WebComponents.package/WAFragmentRenderingTest.class/class/shouldInheritSelectors.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 @@ | ||
testing | ||
shouldInheritSelectors | ||
^ false |
10 changes: 10 additions & 0 deletions
10
.../Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/instance/newHandler.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 @@ | ||
private | ||
newHandler | ||
| application | | ||
application := WAApplication new. | ||
application configuration | ||
addParent: WARenderLoopConfiguration instance. | ||
^ application | ||
rootClass: WACounter; | ||
preferenceAt: #renderPhaseContinuationClass put: WAFragmentRenderPhaseContinuation; | ||
yourself |
5 changes: 5 additions & 0 deletions
5
...-Tests-WebComponents.package/WAFragmentRenderingTest.class/instance/requestWithMethod..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 @@ | ||
running | ||
requestWithMethod: aString | ||
^ WARequest | ||
method: aString | ||
uri: '/app/oneo' |
12 changes: 12 additions & 0 deletions
12
...aside-Tests-WebComponents.package/WAFragmentRenderingTest.class/instance/testRendering.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 | ||
testRendering | ||
| context request responseContents | | ||
request := self requestWithMethod: 'GET'. | ||
context := WARequestContext request: request response: WABufferedResponse new. | ||
[ handler handle: context ] | ||
on: WAResponseNotification | ||
do: [ :notification | ]. | ||
self assert: context response status = 200. | ||
responseContents := context response contents. | ||
self assert: (responseContents beginsWith: '<h1>'). | ||
self assert: (responseContents endsWith: '</a>') |
11 changes: 11 additions & 0 deletions
11
repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.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" : "WARequestHandlerTest", | ||
"category" : "Seaside-Tests-WebComponents", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "WAFragmentRenderingTest", | ||
"type" : "normal" | ||
} |
1 change: 1 addition & 0 deletions
1
repository/Seaside-Tests-WebComponents.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 @@ | ||
self packageOrganizer ensurePackage: #'Seaside-Tests-WebComponents' withTags: #()! |
Empty file.
1 change: 1 addition & 0 deletions
1
repository/Seaside-Tests-WebComponents.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 'Seaside-Tests-WebComponents') |
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 changes: 11 additions & 0 deletions
11
.../Seaside-WebComponents-Core.package/GRPackage.extension/class/seasideWebComponentsCore.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,11 @@ | ||
*Seaside-WebComponents-Core | ||
seasideWebComponentsCore | ||
^ self new | ||
name: 'Seaside-WebComponents-Core'; | ||
description: 'Allows embedding Seaside components as Web Components'; | ||
addDependency: 'Seaside-Core'; | ||
addDependency: 'Seaside-Canvas'; | ||
addDependency: 'Seaside-Component'; | ||
addDependency: 'Seaside-RenderLoop'; | ||
url: #seasideUrl; | ||
yourself | ||
Check warning on line 11 in repository/Seaside-WebComponents-Core.package/GRPackage.extension/class/seasideWebComponentsCore.st Codecov / codecov/patchrepository/Seaside-WebComponents-Core.package/GRPackage.extension/class/seasideWebComponentsCore.st#L1-L11
|
3 changes: 3 additions & 0 deletions
3
repository/Seaside-WebComponents-Core.package/GRPackage.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" : "GRPackage" | ||
} |
9 changes: 9 additions & 0 deletions
9
...-WebComponents-Examples.package/GRPackage.extension/class/seasideWebComponentsExamples.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 @@ | ||
*Seaside-WebComponents-Examples | ||
seasideWebComponentsExamples | ||
^ self new | ||
name: 'Seaside-WebComponents-Examples'; | ||
description: 'Examples on how to use Seaside WebComponents'; | ||
addDependency: 'Seaside-WebComponents-Core'; | ||
addDependency: 'Seaside-Examples'; | ||
url: #seasideUrl; | ||
yourself |
3 changes: 3 additions & 0 deletions
3
repository/Seaside-WebComponents-Examples.package/GRPackage.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" : "GRPackage" | ||
} |