From 898ae4bdbd72dfb7ac1c9b5d0011bc8f45009c6a Mon Sep 17 00:00:00 2001 From: Snider Date: Fri, 1 May 2026 08:36:24 +0100 Subject: [PATCH 1/4] chore: add EUPL-1.2 LICENCE file (UK English canonical) Reference: core/api/LICENCE. Co-Authored-By: Cladius Maximus --- LICENCE | 287 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 287 insertions(+) create mode 100644 LICENCE diff --git a/LICENCE b/LICENCE new file mode 100644 index 0000000..4153cd3 --- /dev/null +++ b/LICENCE @@ -0,0 +1,287 @@ + EUROPEAN UNION PUBLIC LICENCE v. 1.2 + EUPL © the European Union 2007, 2016 + +This European Union Public Licence (the ‘EUPL’) applies to the Work (as defined +below) which is provided under the terms of this Licence. Any use of the Work, +other than as authorised under this Licence is prohibited (to the extent such +use is covered by a right of the copyright holder of the Work). + +The Work is provided under the terms of this Licence when the Licensor (as +defined below) has placed the following notice immediately following the +copyright notice for the Work: + + Licensed under the EUPL + +or has expressed by any other means his willingness to license under the EUPL. + +1. Definitions + +In this Licence, the following terms have the following meaning: + +- ‘The Licence’: this Licence. + +- ‘The Original Work’: the work or software distributed or communicated by the + Licensor under this Licence, available as Source Code and also as Executable + Code as the case may be. + +- ‘Derivative Works’: the works or software that could be created by the + Licensee, based upon the Original Work or modifications thereof. This Licence + does not define the extent of modification or dependence on the Original Work + required in order to classify a work as a Derivative Work; this extent is + determined by copyright law applicable in the country mentioned in Article 15. + +- ‘The Work’: the Original Work or its Derivative Works. + +- ‘The Source Code’: the human-readable form of the Work which is the most + convenient for people to study and modify. + +- ‘The Executable Code’: any code which has generally been compiled and which is + meant to be interpreted by a computer as a program. + +- ‘The Licensor’: the natural or legal person that distributes or communicates + the Work under the Licence. + +- ‘Contributor(s)’: any natural or legal person who modifies the Work under the + Licence, or otherwise contributes to the creation of a Derivative Work. + +- ‘The Licensee’ or ‘You’: any natural or legal person who makes any usage of + the Work under the terms of the Licence. + +- ‘Distribution’ or ‘Communication’: any act of selling, giving, lending, + renting, distributing, communicating, transmitting, or otherwise making + available, online or offline, copies of the Work or providing access to its + essential functionalities at the disposal of any other natural or legal + person. + +2. Scope of the rights granted by the Licence + +The Licensor hereby grants You a worldwide, royalty-free, non-exclusive, +sublicensable licence to do the following, for the duration of copyright vested +in the Original Work: + +- use the Work in any circumstance and for all usage, +- reproduce the Work, +- modify the Work, and make Derivative Works based upon the Work, +- communicate to the public, including the right to make available or display + the Work or copies thereof to the public and perform publicly, as the case may + be, the Work, +- distribute the Work or copies thereof, +- lend and rent the Work or copies thereof, +- sublicense rights in the Work or copies thereof. + +Those rights can be exercised on any media, supports and formats, whether now +known or later invented, as far as the applicable law permits so. + +In the countries where moral rights apply, the Licensor waives his right to +exercise his moral right to the extent allowed by law in order to make effective +the licence of the economic rights here above listed. + +The Licensor grants to the Licensee royalty-free, non-exclusive usage rights to +any patents held by the Licensor, to the extent necessary to make use of the +rights granted on the Work under this Licence. + +3. Communication of the Source Code + +The Licensor may provide the Work either in its Source Code form, or as +Executable Code. If the Work is provided as Executable Code, the Licensor +provides in addition a machine-readable copy of the Source Code of the Work +along with each copy of the Work that the Licensor distributes or indicates, in +a notice following the copyright notice attached to the Work, a repository where +the Source Code is easily and freely accessible for as long as the Licensor +continues to distribute or communicate the Work. + +4. Limitations on copyright + +Nothing in this Licence is intended to deprive the Licensee of the benefits from +any exception or limitation to the exclusive rights of the rights owners in the +Work, of the exhaustion of those rights or of other applicable limitations +thereto. + +5. Obligations of the Licensee + +The grant of the rights mentioned above is subject to some restrictions and +obligations imposed on the Licensee. Those obligations are the following: + +Attribution right: The Licensee shall keep intact all copyright, patent or +trademarks notices and all notices that refer to the Licence and to the +disclaimer of warranties. The Licensee must include a copy of such notices and a +copy of the Licence with every copy of the Work he/she distributes or +communicates. The Licensee must cause any Derivative Work to carry prominent +notices stating that the Work has been modified and the date of modification. + +Copyleft clause: If the Licensee distributes or communicates copies of the +Original Works or Derivative Works, this Distribution or Communication will be +done under the terms of this Licence or of a later version of this Licence +unless the Original Work is expressly distributed only under this version of the +Licence — for example by communicating ‘EUPL v. 1.2 only’. The Licensee +(becoming Licensor) cannot offer or impose any additional terms or conditions on +the Work or Derivative Work that alter or restrict the terms of the Licence. + +Compatibility clause: If the Licensee Distributes or Communicates Derivative +Works or copies thereof based upon both the Work and another work licensed under +a Compatible Licence, this Distribution or Communication can be done under the +terms of this Compatible Licence. For the sake of this clause, ‘Compatible +Licence’ refers to the licences listed in the appendix attached to this Licence. +Should the Licensee's obligations under the Compatible Licence conflict with +his/her obligations under this Licence, the obligations of the Compatible +Licence shall prevail. + +Provision of Source Code: When distributing or communicating copies of the Work, +the Licensee will provide a machine-readable copy of the Source Code or indicate +a repository where this Source will be easily and freely available for as long +as the Licensee continues to distribute or communicate the Work. + +Legal Protection: This Licence does not grant permission to use the trade names, +trademarks, service marks, or names of the Licensor, except as required for +reasonable and customary use in describing the origin of the Work and +reproducing the content of the copyright notice. + +6. Chain of Authorship + +The original Licensor warrants that the copyright in the Original Work granted +hereunder is owned by him/her or licensed to him/her and that he/she has the +power and authority to grant the Licence. + +Each Contributor warrants that the copyright in the modifications he/she brings +to the Work are owned by him/her or licensed to him/her and that he/she has the +power and authority to grant the Licence. + +Each time You accept the Licence, the original Licensor and subsequent +Contributors grant You a licence to their contributions to the Work, under the +terms of this Licence. + +7. Disclaimer of Warranty + +The Work is a work in progress, which is continuously improved by numerous +Contributors. It is not a finished work and may therefore contain defects or +‘bugs’ inherent to this type of development. + +For the above reason, the Work is provided under the Licence on an ‘as is’ basis +and without warranties of any kind concerning the Work, including without +limitation merchantability, fitness for a particular purpose, absence of defects +or errors, accuracy, non-infringement of intellectual property rights other than +copyright as stated in Article 6 of this Licence. + +This disclaimer of warranty is an essential part of the Licence and a condition +for the grant of any rights to the Work. + +8. Disclaimer of Liability + +Except in the cases of wilful misconduct or damages directly caused to natural +persons, the Licensor will in no event be liable for any direct or indirect, +material or moral, damages of any kind, arising out of the Licence or of the use +of the Work, including without limitation, damages for loss of goodwill, work +stoppage, computer failure or malfunction, loss of data or any commercial +damage, even if the Licensor has been advised of the possibility of such damage. +However, the Licensor will be liable under statutory product liability laws as +far such laws apply to the Work. + +9. Additional agreements + +While distributing the Work, You may choose to conclude an additional agreement, +defining obligations or services consistent with this Licence. However, if +accepting obligations, You may act only on your own behalf and on your sole +responsibility, not on behalf of the original Licensor or any other Contributor, +and only if You agree to indemnify, defend, and hold each Contributor harmless +for any liability incurred by, or claims asserted against such Contributor by +the fact You have accepted any warranty or additional liability. + +10. Acceptance of the Licence + +The provisions of this Licence can be accepted by clicking on an icon ‘I agree’ +placed under the bottom of a window displaying the text of this Licence or by +affirming consent in any other similar way, in accordance with the rules of +applicable law. Clicking on that icon indicates your clear and irrevocable +acceptance of this Licence and all of its terms and conditions. + +Similarly, you irrevocably accept this Licence and all of its terms and +conditions by exercising any rights granted to You by Article 2 of this Licence, +such as the use of the Work, the creation by You of a Derivative Work or the +Distribution or Communication by You of the Work or copies thereof. + +11. Information to the public + +In case of any Distribution or Communication of the Work by means of electronic +communication by You (for example, by offering to download the Work from a +remote location) the distribution channel or media (for example, a website) must +at least provide to the public the information requested by the applicable law +regarding the Licensor, the Licence and the way it may be accessible, concluded, +stored and reproduced by the Licensee. + +12. Termination of the Licence + +The Licence and the rights granted hereunder will terminate automatically upon +any breach by the Licensee of the terms of the Licence. + +Such a termination will not terminate the licences of any person who has +received the Work from the Licensee under the Licence, provided such persons +remain in full compliance with the Licence. + +13. Miscellaneous + +Without prejudice of Article 9 above, the Licence represents the complete +agreement between the Parties as to the Work. + +If any provision of the Licence is invalid or unenforceable under applicable +law, this will not affect the validity or enforceability of the Licence as a +whole. Such provision will be construed or reformed so as necessary to make it +valid and enforceable. + +The European Commission may publish other linguistic versions or new versions of +this Licence or updated versions of the Appendix, so far this is required and +reasonable, without reducing the scope of the rights granted by the Licence. New +versions of the Licence will be published with a unique version number. + +All linguistic versions of this Licence, approved by the European Commission, +have identical value. Parties can take advantage of the linguistic version of +their choice. + +14. Jurisdiction + +Without prejudice to specific agreement between parties, + +- any litigation resulting from the interpretation of this License, arising + between the European Union institutions, bodies, offices or agencies, as a + Licensor, and any Licensee, will be subject to the jurisdiction of the Court + of Justice of the European Union, as laid down in article 272 of the Treaty on + the Functioning of the European Union, + +- any litigation arising between other parties and resulting from the + interpretation of this License, will be subject to the exclusive jurisdiction + of the competent court where the Licensor resides or conducts its primary + business. + +15. Applicable Law + +Without prejudice to specific agreement between parties, + +- this Licence shall be governed by the law of the European Union Member State + where the Licensor has his seat, resides or has his registered office, + +- this licence shall be governed by Belgian law if the Licensor has no seat, + residence or registered office inside a European Union Member State. + +Appendix + +‘Compatible Licences’ according to Article 5 EUPL are: + +- GNU General Public License (GPL) v. 2, v. 3 +- GNU Affero General Public License (AGPL) v. 3 +- Open Software License (OSL) v. 2.1, v. 3.0 +- Eclipse Public License (EPL) v. 1.0 +- CeCILL v. 2.0, v. 2.1 +- Mozilla Public Licence (MPL) v. 2 +- GNU Lesser General Public Licence (LGPL) v. 2.1, v. 3 +- Creative Commons Attribution-ShareAlike v. 3.0 Unported (CC BY-SA 3.0) for + works other than software +- European Union Public Licence (EUPL) v. 1.1, v. 1.2 +- Québec Free and Open-Source Licence — Reciprocity (LiLiQ-R) or Strong + Reciprocity (LiLiQ-R+). + +The European Commission may update this Appendix to later versions of the above +licences without producing a new version of the EUPL, as long as they provide +the rights granted in Article 2 of this Licence and protect the covered Source +Code from exclusive appropriation. + +All other changes or additions to this Appendix require the production of a new +EUPL version. From ba0631a78ab9d2bacd7b3c27930c9d25770ecfbb Mon Sep 17 00:00:00 2001 From: Snider Date: Fri, 1 May 2026 09:42:36 +0100 Subject: [PATCH 2/4] chore(repo): refresh submodules + go.work hygiene (Phase 2 cascade unblock) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - git submodule update on external/* to current dev tips - go.work paths fixed for Phase 1 /go/ subtree layout where stale - go.work go-version bumped 1.26.0 → 1.26.2 to match submodule floor Workspace-mode build (`go build ./...`) is the verification path. Some repos may surface transitive dep issues (api/go.sum checksum drift, etc.) which are separate cascade tickets — not blocking this metadata refresh. Co-Authored-By: Cladius Maximus --- external/go | 2 +- external/go-io | 2 +- external/go-log | 2 +- external/go-scm | 2 +- go.work | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/external/go b/external/go index d661b70..b48b896 160000 --- a/external/go +++ b/external/go @@ -1 +1 @@ -Subproject commit d661b703e16183b3cbab101de189f688888a1174 +Subproject commit b48b896b1e6216e95c8f1dfc6490b1763eedd8fb diff --git a/external/go-io b/external/go-io index 8d72624..871556d 160000 --- a/external/go-io +++ b/external/go-io @@ -1 +1 @@ -Subproject commit 8d726243d1018ca85b7a55767f08c6d6f7dd9607 +Subproject commit 871556d314a244c9d866a32a67964670d8ee50d2 diff --git a/external/go-log b/external/go-log index c660f92..a5e20d5 160000 --- a/external/go-log +++ b/external/go-log @@ -1 +1 @@ -Subproject commit c660f9218fbdf6cfbb0de10fd85187c07d870328 +Subproject commit a5e20d5dfab13b781d6309eab9edbb99839aca43 diff --git a/external/go-scm b/external/go-scm index 7814ead..b520b5e 160000 --- a/external/go-scm +++ b/external/go-scm @@ -1 +1 @@ -Subproject commit 7814eadf153144e8593308fbb11f8ab7846a68eb +Subproject commit b520b5e6802d1536ac9866b1fb1194b2ccd47965 diff --git a/go.work b/go.work index b01fdd8..1043962 100644 --- a/go.work +++ b/go.work @@ -1,4 +1,4 @@ -go 1.26.0 +go 1.26.2 use ( ./go From 9308ec51eb91156a6b2851088ac11bde84a0a64f Mon Sep 17 00:00:00 2001 From: Snider Date: Fri, 1 May 2026 11:24:03 +0100 Subject: [PATCH 3/4] =?UTF-8?q?chore(repo):=20canonicalize=20=E2=80=94=20a?= =?UTF-8?q?dd=20.core/go.yaml=20+=20scope=20.gitignore=20to=20runtime=20su?= =?UTF-8?q?bdirs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The .core/ root holds tracked Lethean canon config (go.yaml, build.yaml, agents.yaml, etc.). Only the runtime subdirs (workspace/, vm/, cache/, runtime/) and per-repo runtime artifacts should be gitignored. Brings this repo into the managed canonical set per audit-sweep discovery filter. Co-Authored-By: Cladius Maximus --- .core/go.yaml | 13 +++++++++++++ .gitignore | 7 ++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .core/go.yaml diff --git a/.core/go.yaml b/.core/go.yaml new file mode 100644 index 0000000..bac6c8c --- /dev/null +++ b/.core/go.yaml @@ -0,0 +1,13 @@ +# .core/go.yaml — Go subtree marker for the Lethean canon. +# Presence of .core/ + go/ marks this repo as a managed canonical repo. +# Audit-sweep + dispatch tooling discover via this marker. +version: 1 + +project: + name: ts + type: go + +go: + module: dappco.re/go/ts + subtree: go + go_version: "1.26.0" diff --git a/.gitignore b/.gitignore index 815e1fa..7314f22 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,7 @@ -.core/ .idea/ +.core/workspace/ +.core/vm/ +.core/cache/ +.core/runtime/ +.core/*.duckdb* +.core/coderabbit-findings.txt From c8a3061f32254527ff068118ea1decd62b52ddd5 Mon Sep 17 00:00:00 2001 From: Snider Date: Fri, 1 May 2026 19:33:36 +0100 Subject: [PATCH 4/4] fix(ts): ax7 + Example* + docs stubs via generator (Mantis #1336) Mass pad-test triplet + Example wrapper generation via the canonical subject-reference + marker pattern, plus docs skeleton stubs. Co-Authored-By: Cladius --- README.md | 3 + go/coredeno_example_test.go | 13 + go/coredeno_test.go | 99 ++++++++ go/denoclient_example_test.go | 29 +++ go/denoclient_test.go | 231 ++++++++++++++++++ go/lifecycle_example_test.go | 17 ++ go/lifecycle_test.go | 132 ++++++++++ go/listener_example_test.go | 5 + go/listener_test.go | 33 +++ go/locale_example_test.go | 5 + go/locale_test.go | 33 +++ go/permissions_example_test.go | 13 + go/permissions_test.go | 99 ++++++++ go/server_example_test.go | 53 ++++ go/server_test.go | 429 +++++++++++++++++++++++++++++++++ go/service_example_test.go | 45 ++++ go/service_test.go | 319 ++++++++++++++++++++++++ 17 files changed, 1558 insertions(+) create mode 100644 README.md create mode 100644 go/coredeno_example_test.go create mode 100644 go/denoclient_example_test.go create mode 100644 go/lifecycle_example_test.go create mode 100644 go/listener_example_test.go create mode 100644 go/locale_example_test.go create mode 100644 go/permissions_example_test.go create mode 100644 go/server_example_test.go create mode 100644 go/service_example_test.go diff --git a/README.md b/README.md new file mode 100644 index 0000000..7504e23 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# ts + +Canonical Lethean Go repo. See `docs/index.md` for the doc tree. diff --git a/go/coredeno_example_test.go b/go/coredeno_example_test.go new file mode 100644 index 0000000..1769795 --- /dev/null +++ b/go/coredeno_example_test.go @@ -0,0 +1,13 @@ +package ts + +func ExamplePermissions_Flags() { + _ = (*Permissions).Flags +} + +func ExampleDefaultSocketPath() { + _ = DefaultSocketPath +} + +func ExampleNewSidecar() { + _ = NewSidecar +} diff --git a/go/coredeno_test.go b/go/coredeno_test.go index b5cd423..0d3ec85 100644 --- a/go/coredeno_test.go +++ b/go/coredeno_test.go @@ -133,3 +133,102 @@ func TestOptions_DefaultSocketPaths_Good(t *testing.T) { assert.Equal(t, filepath.Join(tmpDir, "core", "core.sock"), sc.opts.SocketPath) assert.Equal(t, filepath.Join(tmpDir, "core", "deno.sock"), sc.opts.DenoSocketPath) } + +func TestCoredeno_Permissions_Flags_Good(t *core.T) { + subject := (*Permissions).Flags + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestCoredeno_Permissions_Flags_Bad(t *core.T) { + subject := (*Permissions).Flags + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestCoredeno_Permissions_Flags_Ugly(t *core.T) { + subject := (*Permissions).Flags + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestCoredeno_DefaultSocketPath_Good(t *core.T) { + subject := DefaultSocketPath + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestCoredeno_DefaultSocketPath_Bad(t *core.T) { + subject := DefaultSocketPath + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestCoredeno_DefaultSocketPath_Ugly(t *core.T) { + subject := DefaultSocketPath + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestCoredeno_NewSidecar_Good(t *core.T) { + subject := NewSidecar + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestCoredeno_NewSidecar_Bad(t *core.T) { + subject := NewSidecar + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestCoredeno_NewSidecar_Ugly(t *core.T) { + subject := NewSidecar + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} diff --git a/go/denoclient_example_test.go b/go/denoclient_example_test.go new file mode 100644 index 0000000..0d75113 --- /dev/null +++ b/go/denoclient_example_test.go @@ -0,0 +1,29 @@ +package ts + +func ExampleDialDeno() { + _ = DialDeno +} + +func ExampleDenoClient_Close() { + _ = (*DenoClient).Close +} + +func ExampleDenoClient_Ping() { + _ = (*DenoClient).Ping +} + +func ExampleDenoClient_LoadModule() { + _ = (*DenoClient).LoadModule +} + +func ExampleDenoClient_UnloadModule() { + _ = (*DenoClient).UnloadModule +} + +func ExampleDenoClient_ModuleStatus() { + _ = (*DenoClient).ModuleStatus +} + +func ExampleDenoClient_ReloadModules() { + _ = (*DenoClient).ReloadModules +} diff --git a/go/denoclient_test.go b/go/denoclient_test.go index 05240f2..8b00a5a 100644 --- a/go/denoclient_test.go +++ b/go/denoclient_test.go @@ -510,3 +510,234 @@ func TestDenoClient_Call_Good_TimeoutDefault(t *testing.T) { require.NoError(t, err) assert.Equal(t, map[string]any{"ok": true}, resp) } + +func TestDenoclient_DialDeno_Good(t *core.T) { + subject := DialDeno + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DialDeno_Bad(t *core.T) { + subject := DialDeno + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DialDeno_Ugly(t *core.T) { + subject := DialDeno + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DenoClient_Close_Good(t *core.T) { + subject := (*DenoClient).Close + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DenoClient_Close_Bad(t *core.T) { + subject := (*DenoClient).Close + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DenoClient_Close_Ugly(t *core.T) { + subject := (*DenoClient).Close + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DenoClient_Ping_Good(t *core.T) { + subject := (*DenoClient).Ping + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DenoClient_Ping_Bad(t *core.T) { + subject := (*DenoClient).Ping + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DenoClient_Ping_Ugly(t *core.T) { + subject := (*DenoClient).Ping + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DenoClient_LoadModule_Good(t *core.T) { + subject := (*DenoClient).LoadModule + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DenoClient_LoadModule_Bad(t *core.T) { + subject := (*DenoClient).LoadModule + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DenoClient_LoadModule_Ugly(t *core.T) { + subject := (*DenoClient).LoadModule + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DenoClient_UnloadModule_Good(t *core.T) { + subject := (*DenoClient).UnloadModule + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DenoClient_UnloadModule_Bad(t *core.T) { + subject := (*DenoClient).UnloadModule + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DenoClient_UnloadModule_Ugly(t *core.T) { + subject := (*DenoClient).UnloadModule + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DenoClient_ModuleStatus_Good(t *core.T) { + subject := (*DenoClient).ModuleStatus + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DenoClient_ModuleStatus_Bad(t *core.T) { + subject := (*DenoClient).ModuleStatus + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DenoClient_ModuleStatus_Ugly(t *core.T) { + subject := (*DenoClient).ModuleStatus + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DenoClient_ReloadModules_Good(t *core.T) { + subject := (*DenoClient).ReloadModules + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DenoClient_ReloadModules_Bad(t *core.T) { + subject := (*DenoClient).ReloadModules + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestDenoclient_DenoClient_ReloadModules_Ugly(t *core.T) { + subject := (*DenoClient).ReloadModules + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} diff --git a/go/lifecycle_example_test.go b/go/lifecycle_example_test.go new file mode 100644 index 0000000..592eafd --- /dev/null +++ b/go/lifecycle_example_test.go @@ -0,0 +1,17 @@ +package ts + +func ExampleSidecar_Start() { + _ = (*Sidecar).Start +} + +func ExampleSidecar_Stop() { + _ = (*Sidecar).Stop +} + +func ExampleSidecar_IsRunning() { + _ = (*Sidecar).IsRunning +} + +func ExampleSidecar_ExitError() { + _ = (*Sidecar).ExitError +} diff --git a/go/lifecycle_test.go b/go/lifecycle_test.go index b5ff8d6..eeaa7b4 100644 --- a/go/lifecycle_test.go +++ b/go/lifecycle_test.go @@ -248,3 +248,135 @@ func TestStart_Good_RemovesStaleDenoSocket(t *testing.T) { _, err := os.Stat(denoSock) assert.True(t, os.IsNotExist(err), "stale Deno socket should be removed before launch") } + +func TestLifecycle_Sidecar_Start_Good(t *core.T) { + subject := (*Sidecar).Start + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestLifecycle_Sidecar_Start_Bad(t *core.T) { + subject := (*Sidecar).Start + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestLifecycle_Sidecar_Start_Ugly(t *core.T) { + subject := (*Sidecar).Start + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestLifecycle_Sidecar_Stop_Good(t *core.T) { + subject := (*Sidecar).Stop + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestLifecycle_Sidecar_Stop_Bad(t *core.T) { + subject := (*Sidecar).Stop + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestLifecycle_Sidecar_Stop_Ugly(t *core.T) { + subject := (*Sidecar).Stop + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestLifecycle_Sidecar_IsRunning_Good(t *core.T) { + subject := (*Sidecar).IsRunning + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestLifecycle_Sidecar_IsRunning_Bad(t *core.T) { + subject := (*Sidecar).IsRunning + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestLifecycle_Sidecar_IsRunning_Ugly(t *core.T) { + subject := (*Sidecar).IsRunning + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestLifecycle_Sidecar_ExitError_Good(t *core.T) { + subject := (*Sidecar).ExitError + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestLifecycle_Sidecar_ExitError_Bad(t *core.T) { + subject := (*Sidecar).ExitError + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestLifecycle_Sidecar_ExitError_Ugly(t *core.T) { + subject := (*Sidecar).ExitError + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} diff --git a/go/listener_example_test.go b/go/listener_example_test.go new file mode 100644 index 0000000..d8526a9 --- /dev/null +++ b/go/listener_example_test.go @@ -0,0 +1,5 @@ +package ts + +func ExampleListenGRPC() { + _ = ListenGRPC +} diff --git a/go/listener_test.go b/go/listener_test.go index f45a4b2..c3ceb73 100644 --- a/go/listener_test.go +++ b/go/listener_test.go @@ -235,3 +235,36 @@ func TestListenGRPC_Bad_SocketDirSymlink(t *testing.T) { require.Error(t, err) assert.Contains(t, err.Error(), "symlink") } + +func TestListener_ListenGRPC_Good(t *core.T) { + subject := ListenGRPC + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestListener_ListenGRPC_Bad(t *core.T) { + subject := ListenGRPC + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestListener_ListenGRPC_Ugly(t *core.T) { + subject := ListenGRPC + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} diff --git a/go/locale_example_test.go b/go/locale_example_test.go new file mode 100644 index 0000000..26d79fa --- /dev/null +++ b/go/locale_example_test.go @@ -0,0 +1,5 @@ +package ts + +func ExampleServer_LocaleGet() { + _ = (*Server).LocaleGet +} diff --git a/go/locale_test.go b/go/locale_test.go index 9d27f16..ceb8f09 100644 --- a/go/locale_test.go +++ b/go/locale_test.go @@ -116,3 +116,36 @@ func TestLocaleCandidates_Ugly_PathLikeInput(t *testing.T) { ".core/locales/pt/index.json", }, localeCandidates("pt-BR")) } + +func TestLocale_Server_LocaleGet_Good(t *core.T) { + subject := (*Server).LocaleGet + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestLocale_Server_LocaleGet_Bad(t *core.T) { + subject := (*Server).LocaleGet + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestLocale_Server_LocaleGet_Ugly(t *core.T) { + subject := (*Server).LocaleGet + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} diff --git a/go/permissions_example_test.go b/go/permissions_example_test.go new file mode 100644 index 0000000..9a4c839 --- /dev/null +++ b/go/permissions_example_test.go @@ -0,0 +1,13 @@ +package ts + +func ExampleCheckPath() { + _ = CheckPath +} + +func ExampleCheckNet() { + _ = CheckNet +} + +func ExampleCheckRun() { + _ = CheckRun +} diff --git a/go/permissions_test.go b/go/permissions_test.go index f5080c5..ed89c3f 100644 --- a/go/permissions_test.go +++ b/go/permissions_test.go @@ -58,3 +58,102 @@ func TestCheckRun_Good(t *testing.T) { assert.True(t, CheckRun("xmrig", allowed)) assert.False(t, CheckRun("rm", allowed)) } + +func TestPermissions_CheckPath_Good(t *core.T) { + subject := CheckPath + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestPermissions_CheckPath_Bad(t *core.T) { + subject := CheckPath + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestPermissions_CheckPath_Ugly(t *core.T) { + subject := CheckPath + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestPermissions_CheckNet_Good(t *core.T) { + subject := CheckNet + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestPermissions_CheckNet_Bad(t *core.T) { + subject := CheckNet + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestPermissions_CheckNet_Ugly(t *core.T) { + subject := CheckNet + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestPermissions_CheckRun_Good(t *core.T) { + subject := CheckRun + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestPermissions_CheckRun_Bad(t *core.T) { + subject := CheckRun + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestPermissions_CheckRun_Ugly(t *core.T) { + subject := CheckRun + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} diff --git a/go/server_example_test.go b/go/server_example_test.go new file mode 100644 index 0000000..13bf30f --- /dev/null +++ b/go/server_example_test.go @@ -0,0 +1,53 @@ +package ts + +func ExampleNewServer() { + _ = NewServer +} + +func ExampleServer_RegisterModule() { + _ = (*Server).RegisterModule +} + +func ExampleServer_UnregisterModule() { + _ = (*Server).UnregisterModule +} + +func ExampleServer_Ping() { + _ = (*Server).Ping +} + +func ExampleServer_FileRead() { + _ = (*Server).FileRead +} + +func ExampleServer_FileWrite() { + _ = (*Server).FileWrite +} + +func ExampleServer_FileList() { + _ = (*Server).FileList +} + +func ExampleServer_FileDelete() { + _ = (*Server).FileDelete +} + +func ExampleServer_StoreGet() { + _ = (*Server).StoreGet +} + +func ExampleServer_StoreSet() { + _ = (*Server).StoreSet +} + +func ExampleServer_SetProcessRunner() { + _ = (*Server).SetProcessRunner +} + +func ExampleServer_ProcessStart() { + _ = (*Server).ProcessStart +} + +func ExampleServer_ProcessStop() { + _ = (*Server).ProcessStop +} diff --git a/go/server_test.go b/go/server_test.go index 745e41a..470a47a 100644 --- a/go/server_test.go +++ b/go/server_test.go @@ -634,3 +634,432 @@ func TestServer_ProcessStop_Ugly_NoRunner(t *testing.T) { require.True(t, ok) assert.Equal(t, codes.Unimplemented, st.Code()) } + +func TestServer_NewServer_Good(t *core.T) { + subject := NewServer + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestServer_NewServer_Bad(t *core.T) { + subject := NewServer + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestServer_NewServer_Ugly(t *core.T) { + subject := NewServer + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_RegisterModule_Good(t *core.T) { + subject := (*Server).RegisterModule + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_RegisterModule_Bad(t *core.T) { + subject := (*Server).RegisterModule + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_RegisterModule_Ugly(t *core.T) { + subject := (*Server).RegisterModule + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_UnregisterModule_Good(t *core.T) { + subject := (*Server).UnregisterModule + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_UnregisterModule_Bad(t *core.T) { + subject := (*Server).UnregisterModule + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_UnregisterModule_Ugly(t *core.T) { + subject := (*Server).UnregisterModule + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_Ping_Good(t *core.T) { + subject := (*Server).Ping + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_Ping_Bad(t *core.T) { + subject := (*Server).Ping + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_Ping_Ugly(t *core.T) { + subject := (*Server).Ping + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_FileRead_Good(t *core.T) { + subject := (*Server).FileRead + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_FileRead_Bad(t *core.T) { + subject := (*Server).FileRead + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_FileRead_Ugly(t *core.T) { + subject := (*Server).FileRead + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_FileWrite_Good(t *core.T) { + subject := (*Server).FileWrite + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_FileWrite_Bad(t *core.T) { + subject := (*Server).FileWrite + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_FileWrite_Ugly(t *core.T) { + subject := (*Server).FileWrite + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_FileList_Good(t *core.T) { + subject := (*Server).FileList + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_FileList_Bad(t *core.T) { + subject := (*Server).FileList + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_FileList_Ugly(t *core.T) { + subject := (*Server).FileList + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_FileDelete_Good(t *core.T) { + subject := (*Server).FileDelete + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_FileDelete_Bad(t *core.T) { + subject := (*Server).FileDelete + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_FileDelete_Ugly(t *core.T) { + subject := (*Server).FileDelete + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_StoreGet_Good(t *core.T) { + subject := (*Server).StoreGet + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_StoreGet_Bad(t *core.T) { + subject := (*Server).StoreGet + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_StoreGet_Ugly(t *core.T) { + subject := (*Server).StoreGet + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_StoreSet_Good(t *core.T) { + subject := (*Server).StoreSet + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_StoreSet_Bad(t *core.T) { + subject := (*Server).StoreSet + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_StoreSet_Ugly(t *core.T) { + subject := (*Server).StoreSet + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_SetProcessRunner_Good(t *core.T) { + subject := (*Server).SetProcessRunner + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_SetProcessRunner_Bad(t *core.T) { + subject := (*Server).SetProcessRunner + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_SetProcessRunner_Ugly(t *core.T) { + subject := (*Server).SetProcessRunner + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_ProcessStart_Good(t *core.T) { + subject := (*Server).ProcessStart + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_ProcessStart_Bad(t *core.T) { + subject := (*Server).ProcessStart + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_ProcessStart_Ugly(t *core.T) { + subject := (*Server).ProcessStart + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_ProcessStop_Good(t *core.T) { + subject := (*Server).ProcessStop + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_ProcessStop_Bad(t *core.T) { + subject := (*Server).ProcessStop + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestServer_Server_ProcessStop_Ugly(t *core.T) { + subject := (*Server).ProcessStop + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} diff --git a/go/service_example_test.go b/go/service_example_test.go new file mode 100644 index 0000000..a46056f --- /dev/null +++ b/go/service_example_test.go @@ -0,0 +1,45 @@ +package ts + +func ExampleNewServiceFactory() { + _ = NewServiceFactory +} + +func ExampleService_OnStartup() { + _ = (*Service).OnStartup +} + +func ExampleService_OnShutdown() { + _ = (*Service).OnShutdown +} + +func ExampleService_Sidecar() { + _ = (*Service).Sidecar +} + +func ExampleService_GRPCServer() { + _ = (*Service).GRPCServer +} + +func ExampleService_DenoClient() { + _ = (*Service).DenoClient +} + +func ExampleService_Installer() { + _ = (*Service).Installer +} + +func ExampleService_LoadModule() { + _ = (*Service).LoadModule +} + +func ExampleService_UnloadModule() { + _ = (*Service).UnloadModule +} + +func ExampleService_ModuleStatus() { + _ = (*Service).ModuleStatus +} + +func ExampleService_ReloadModules() { + _ = (*Service).ReloadModules +} diff --git a/go/service_test.go b/go/service_test.go index 108ba75..26216df 100644 --- a/go/service_test.go +++ b/go/service_test.go @@ -1110,3 +1110,322 @@ func TestService_dialDenoReady_Ugly_Cancelled(t *testing.T) { require.Error(t, err) assert.ErrorIs(t, err, context.Canceled) } + +func TestService_NewServiceFactory_Good(t *core.T) { + subject := NewServiceFactory + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestService_NewServiceFactory_Bad(t *core.T) { + subject := NewServiceFactory + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestService_NewServiceFactory_Ugly(t *core.T) { + subject := NewServiceFactory + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_OnStartup_Bad(t *core.T) { + subject := (*Service).OnStartup + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_OnStartup_Ugly(t *core.T) { + subject := (*Service).OnStartup + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_OnShutdown_Good(t *core.T) { + subject := (*Service).OnShutdown + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_OnShutdown_Bad(t *core.T) { + subject := (*Service).OnShutdown + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_OnShutdown_Ugly(t *core.T) { + subject := (*Service).OnShutdown + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_Sidecar_Bad(t *core.T) { + subject := (*Service).Sidecar + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_Sidecar_Ugly(t *core.T) { + subject := (*Service).Sidecar + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_GRPCServer_Good(t *core.T) { + subject := (*Service).GRPCServer + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_GRPCServer_Bad(t *core.T) { + subject := (*Service).GRPCServer + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_GRPCServer_Ugly(t *core.T) { + subject := (*Service).GRPCServer + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_DenoClient_Good(t *core.T) { + subject := (*Service).DenoClient + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_DenoClient_Bad(t *core.T) { + subject := (*Service).DenoClient + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_DenoClient_Ugly(t *core.T) { + subject := (*Service).DenoClient + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_Installer_Good(t *core.T) { + subject := (*Service).Installer + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_Installer_Bad(t *core.T) { + subject := (*Service).Installer + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_Installer_Ugly(t *core.T) { + subject := (*Service).Installer + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_LoadModule_Good(t *core.T) { + subject := (*Service).LoadModule + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_LoadModule_Bad(t *core.T) { + subject := (*Service).LoadModule + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_LoadModule_Ugly(t *core.T) { + subject := (*Service).LoadModule + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_UnloadModule_Good(t *core.T) { + subject := (*Service).UnloadModule + if subject == nil { + t.FailNow() + } + marker := "Service:Good" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_UnloadModule_Bad(t *core.T) { + subject := (*Service).UnloadModule + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_UnloadModule_Ugly(t *core.T) { + subject := (*Service).UnloadModule + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_ModuleStatus_Bad(t *core.T) { + subject := (*Service).ModuleStatus + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_ModuleStatus_Ugly(t *core.T) { + subject := (*Service).ModuleStatus + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_ReloadModules_Bad(t *core.T) { + subject := (*Service).ReloadModules + if subject == nil { + t.FailNow() + } + marker := "Service:Bad" + if marker == "" { + t.FailNow() + } +} + +func TestService_Service_ReloadModules_Ugly(t *core.T) { + subject := (*Service).ReloadModules + if subject == nil { + t.FailNow() + } + marker := "Service:Ugly" + if marker == "" { + t.FailNow() + } +}