Skip to content

Commit

Permalink
add missing package
Browse files Browse the repository at this point in the history
  • Loading branch information
marschall committed Jul 10, 2024
1 parent 73db88b commit 4b81c15
Show file tree
Hide file tree
Showing 18 changed files with 90 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ baselinecommon: spec
package: 'Seaside-WebComponents-Core' with: [
spec requires: #('Seaside-Core' 'Seaside-Canvas' 'Seaside-Component' 'Seaside-RenderLoop') ];
package: 'Seaside-WebComponents-Examples' with: [
spec requires: #('Seaside-WebComponents-Core') ];
spec requires: #('Seaside-WebComponents-Core' 'Seaside-Examples') ];
package: 'Seaside-Widgets' with: [
spec requires: #('Seaside-Component' 'Seaside-Canvas' ) ];
package: 'Seaside-HotwireTurbo-Core' with: [
Expand Down
5 changes: 5 additions & 0 deletions repository/Seaside-Tests-WebComponents.package/.filetree
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"separateMethodMetaAndSource" : false,
"noMethodMetaData" : true,
"useCypressPropertiesFile" : true
}
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

View check run for this annotation

Codecov / codecov/patch

repository/Seaside-Tests-WebComponents.package/GRPackage.extension/class/seasideTestsWebComponents.st#L1-L11

Added lines #L1 - L11 were not covered by tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"name" : "GRPackage"
}
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
testing
shouldInheritSelectors
^ false
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
running
requestWithMethod: aString
^ WARequest
method: aString
uri: '/app/oneo'
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>')
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"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
self packageOrganizer ensurePackage: #'Seaside-Tests-WebComponents' withTags: #()!
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(name 'Seaside-Tests-WebComponents')
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ }
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

View check run for this annotation

Codecov / codecov/patch

repository/Seaside-WebComponents-Core.package/GRPackage.extension/class/seasideWebComponentsCore.st#L1-L11

Added lines #L1 - L11 were not covered by tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"name" : "GRPackage"
}
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"name" : "GRPackage"
}

0 comments on commit 4b81c15

Please sign in to comment.