From 4b81c1514353bfda65f7d69038f02c1698c20a30 Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Wed, 10 Jul 2024 14:12:26 +0200 Subject: [PATCH] add missing package --- .../instance/baselinecommon..st | 2 +- .../Seaside-Tests-WebComponents.package/.filetree | 5 +++++ .../class/seasideTestsWebComponents.st | 11 +++++++++++ .../GRPackage.extension/properties.json | 3 +++ .../WAFragmentRenderingTest.class/README.md | 0 .../class/shouldInheritSelectors.st | 3 +++ .../instance/newHandler.st | 10 ++++++++++ .../instance/requestWithMethod..st | 5 +++++ .../instance/testRendering.st | 12 ++++++++++++ .../WAFragmentRenderingTest.class/properties.json | 11 +++++++++++ .../monticello.meta/categories.st | 1 + .../monticello.meta/initializers.st | 0 .../monticello.meta/package | 1 + .../properties.json | 1 + .../class/seasideWebComponentsCore.st | 11 +++++++++++ .../GRPackage.extension/properties.json | 3 +++ .../class/seasideWebComponentsExamples.st | 9 +++++++++ .../GRPackage.extension/properties.json | 3 +++ 18 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 repository/Seaside-Tests-WebComponents.package/.filetree create mode 100644 repository/Seaside-Tests-WebComponents.package/GRPackage.extension/class/seasideTestsWebComponents.st create mode 100644 repository/Seaside-Tests-WebComponents.package/GRPackage.extension/properties.json create mode 100644 repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/README.md create mode 100644 repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/class/shouldInheritSelectors.st create mode 100644 repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/instance/newHandler.st create mode 100644 repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/instance/requestWithMethod..st create mode 100644 repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/instance/testRendering.st create mode 100644 repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/properties.json create mode 100644 repository/Seaside-Tests-WebComponents.package/monticello.meta/categories.st create mode 100644 repository/Seaside-Tests-WebComponents.package/monticello.meta/initializers.st create mode 100644 repository/Seaside-Tests-WebComponents.package/monticello.meta/package create mode 100644 repository/Seaside-Tests-WebComponents.package/properties.json create mode 100644 repository/Seaside-WebComponents-Core.package/GRPackage.extension/class/seasideWebComponentsCore.st create mode 100644 repository/Seaside-WebComponents-Core.package/GRPackage.extension/properties.json create mode 100644 repository/Seaside-WebComponents-Examples.package/GRPackage.extension/class/seasideWebComponentsExamples.st create mode 100644 repository/Seaside-WebComponents-Examples.package/GRPackage.extension/properties.json diff --git a/repository/BaselineOfSeaside3.package/BaselineOfSeaside3.class/instance/baselinecommon..st b/repository/BaselineOfSeaside3.package/BaselineOfSeaside3.class/instance/baselinecommon..st index 4bff458f5..cccb9d667 100644 --- a/repository/BaselineOfSeaside3.package/BaselineOfSeaside3.class/instance/baselinecommon..st +++ b/repository/BaselineOfSeaside3.package/BaselineOfSeaside3.class/instance/baselinecommon..st @@ -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: [ diff --git a/repository/Seaside-Tests-WebComponents.package/.filetree b/repository/Seaside-Tests-WebComponents.package/.filetree new file mode 100644 index 000000000..57a679737 --- /dev/null +++ b/repository/Seaside-Tests-WebComponents.package/.filetree @@ -0,0 +1,5 @@ +{ + "separateMethodMetaAndSource" : false, + "noMethodMetaData" : true, + "useCypressPropertiesFile" : true +} \ No newline at end of file diff --git a/repository/Seaside-Tests-WebComponents.package/GRPackage.extension/class/seasideTestsWebComponents.st b/repository/Seaside-Tests-WebComponents.package/GRPackage.extension/class/seasideTestsWebComponents.st new file mode 100644 index 000000000..2ddfceb42 --- /dev/null +++ b/repository/Seaside-Tests-WebComponents.package/GRPackage.extension/class/seasideTestsWebComponents.st @@ -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 \ No newline at end of file diff --git a/repository/Seaside-Tests-WebComponents.package/GRPackage.extension/properties.json b/repository/Seaside-Tests-WebComponents.package/GRPackage.extension/properties.json new file mode 100644 index 000000000..ae522a7e0 --- /dev/null +++ b/repository/Seaside-Tests-WebComponents.package/GRPackage.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "GRPackage" +} \ No newline at end of file diff --git a/repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/README.md b/repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/class/shouldInheritSelectors.st b/repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/class/shouldInheritSelectors.st new file mode 100644 index 000000000..a1149a441 --- /dev/null +++ b/repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/class/shouldInheritSelectors.st @@ -0,0 +1,3 @@ +testing +shouldInheritSelectors + ^ false \ No newline at end of file diff --git a/repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/instance/newHandler.st b/repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/instance/newHandler.st new file mode 100644 index 000000000..2d5a248d8 --- /dev/null +++ b/repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/instance/newHandler.st @@ -0,0 +1,10 @@ +private +newHandler + | application | + application := WAApplication new. + application configuration + addParent: WARenderLoopConfiguration instance. + ^ application + rootClass: WACounter; + preferenceAt: #renderPhaseContinuationClass put: WAFragmentRenderPhaseContinuation; + yourself \ No newline at end of file diff --git a/repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/instance/requestWithMethod..st b/repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/instance/requestWithMethod..st new file mode 100644 index 000000000..26f461518 --- /dev/null +++ b/repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/instance/requestWithMethod..st @@ -0,0 +1,5 @@ +running +requestWithMethod: aString + ^ WARequest + method: aString + uri: '/app/oneo' \ No newline at end of file diff --git a/repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/instance/testRendering.st b/repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/instance/testRendering.st new file mode 100644 index 000000000..1463dd35d --- /dev/null +++ b/repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/instance/testRendering.st @@ -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: '

'). + self assert: (responseContents endsWith: '') \ No newline at end of file diff --git a/repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/properties.json b/repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/properties.json new file mode 100644 index 000000000..0b20eb9a6 --- /dev/null +++ b/repository/Seaside-Tests-WebComponents.package/WAFragmentRenderingTest.class/properties.json @@ -0,0 +1,11 @@ +{ + "commentStamp" : "", + "super" : "WARequestHandlerTest", + "category" : "Seaside-Tests-WebComponents", + "classinstvars" : [ ], + "pools" : [ ], + "classvars" : [ ], + "instvars" : [ ], + "name" : "WAFragmentRenderingTest", + "type" : "normal" +} \ No newline at end of file diff --git a/repository/Seaside-Tests-WebComponents.package/monticello.meta/categories.st b/repository/Seaside-Tests-WebComponents.package/monticello.meta/categories.st new file mode 100644 index 000000000..0d3f589e2 --- /dev/null +++ b/repository/Seaside-Tests-WebComponents.package/monticello.meta/categories.st @@ -0,0 +1 @@ +self packageOrganizer ensurePackage: #'Seaside-Tests-WebComponents' withTags: #()! diff --git a/repository/Seaside-Tests-WebComponents.package/monticello.meta/initializers.st b/repository/Seaside-Tests-WebComponents.package/monticello.meta/initializers.st new file mode 100644 index 000000000..e69de29bb diff --git a/repository/Seaside-Tests-WebComponents.package/monticello.meta/package b/repository/Seaside-Tests-WebComponents.package/monticello.meta/package new file mode 100644 index 000000000..159b0ffa3 --- /dev/null +++ b/repository/Seaside-Tests-WebComponents.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'Seaside-Tests-WebComponents') \ No newline at end of file diff --git a/repository/Seaside-Tests-WebComponents.package/properties.json b/repository/Seaside-Tests-WebComponents.package/properties.json new file mode 100644 index 000000000..6f31cf5a2 --- /dev/null +++ b/repository/Seaside-Tests-WebComponents.package/properties.json @@ -0,0 +1 @@ +{ } \ No newline at end of file diff --git a/repository/Seaside-WebComponents-Core.package/GRPackage.extension/class/seasideWebComponentsCore.st b/repository/Seaside-WebComponents-Core.package/GRPackage.extension/class/seasideWebComponentsCore.st new file mode 100644 index 000000000..681126e19 --- /dev/null +++ b/repository/Seaside-WebComponents-Core.package/GRPackage.extension/class/seasideWebComponentsCore.st @@ -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 \ No newline at end of file diff --git a/repository/Seaside-WebComponents-Core.package/GRPackage.extension/properties.json b/repository/Seaside-WebComponents-Core.package/GRPackage.extension/properties.json new file mode 100644 index 000000000..ae522a7e0 --- /dev/null +++ b/repository/Seaside-WebComponents-Core.package/GRPackage.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "GRPackage" +} \ No newline at end of file diff --git a/repository/Seaside-WebComponents-Examples.package/GRPackage.extension/class/seasideWebComponentsExamples.st b/repository/Seaside-WebComponents-Examples.package/GRPackage.extension/class/seasideWebComponentsExamples.st new file mode 100644 index 000000000..7934c13f6 --- /dev/null +++ b/repository/Seaside-WebComponents-Examples.package/GRPackage.extension/class/seasideWebComponentsExamples.st @@ -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 \ No newline at end of file diff --git a/repository/Seaside-WebComponents-Examples.package/GRPackage.extension/properties.json b/repository/Seaside-WebComponents-Examples.package/GRPackage.extension/properties.json new file mode 100644 index 000000000..ae522a7e0 --- /dev/null +++ b/repository/Seaside-WebComponents-Examples.package/GRPackage.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "GRPackage" +} \ No newline at end of file