From 24e0601d93de6661011748b1fdefb2f52620e356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <1005065+DeepDiver1975@users.noreply.github.com> Date: Mon, 26 Oct 2026 21:32:57 +0100 Subject: [PATCH] chore: bootstrap solution, build settings and CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .NET 10 + Avalonia 12 solution laid out as Domain → Modem → AppLogic → App, one xunit.v3 test project per layer, with lagebuch's analyzer settings (AnalysisMode=All, StyleCop, warnings as errors, locked restores). CI builds and tests on Ubuntu, Windows and macOS; zizmor audits the workflows; Dependabot keeps the SHA-pinned actions and NuGet current. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com> --- .editorconfig | 116 ++++ .github/dependabot.yml | 33 ++ .github/workflows/ci.yml | 53 ++ .github/workflows/zizmor.yml | 39 ++ .gitignore | 23 + AGENTS.md | 122 ++++ CLAUDE.md | 1 + Directory.Build.props | 32 + Directory.Packages.props | 27 + Makefile | 33 ++ README.md | 18 +- Waehlhilfe.slnx | 14 + global.json | 6 + src/Waehlhilfe.App/Program.cs | 15 + src/Waehlhilfe.App/Views/SettingsWindow.axaml | 12 + .../Views/SettingsWindow.axaml.cs | 8 + src/Waehlhilfe.App/Waehlhilfe.App.csproj | 28 + src/Waehlhilfe.App/WaehlhilfeApp.axaml | 9 + src/Waehlhilfe.App/WaehlhilfeApp.axaml.cs | 21 + src/Waehlhilfe.App/app.manifest | 9 + src/Waehlhilfe.App/packages.lock.json | 354 ++++++++++++ .../Waehlhilfe.AppLogic.csproj | 16 + src/Waehlhilfe.AppLogic/packages.lock.json | 149 +++++ .../Waehlhilfe.Domain.csproj | 7 + src/Waehlhilfe.Domain/packages.lock.json | 21 + src/Waehlhilfe.Modem/Waehlhilfe.Modem.csproj | 15 + src/Waehlhilfe.Modem/packages.lock.json | 136 +++++ stylecop.json | 8 + .../SettingsWindowTests.cs | 17 + tests/Waehlhilfe.App.Tests/TestAppBuilder.cs | 16 + .../Waehlhilfe.App.Tests.csproj | 25 + tests/Waehlhilfe.App.Tests/packages.lock.json | 545 ++++++++++++++++++ .../Waehlhilfe.AppLogic.Tests.csproj | 24 + .../packages.lock.json | 324 +++++++++++ .../Waehlhilfe.Domain.Tests.csproj | 23 + .../packages.lock.json | 185 ++++++ .../Waehlhilfe.Modem.Tests.csproj | 24 + .../Waehlhilfe.Modem.Tests/packages.lock.json | 310 ++++++++++ 38 files changed, 2816 insertions(+), 2 deletions(-) create mode 100644 .editorconfig create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/ci.yml create mode 100644 .github/workflows/zizmor.yml create mode 100644 .gitignore create mode 100644 AGENTS.md create mode 100644 CLAUDE.md create mode 100644 Directory.Build.props create mode 100644 Directory.Packages.props create mode 100644 Makefile create mode 100644 Waehlhilfe.slnx create mode 100644 global.json create mode 100644 src/Waehlhilfe.App/Program.cs create mode 100644 src/Waehlhilfe.App/Views/SettingsWindow.axaml create mode 100644 src/Waehlhilfe.App/Views/SettingsWindow.axaml.cs create mode 100644 src/Waehlhilfe.App/Waehlhilfe.App.csproj create mode 100644 src/Waehlhilfe.App/WaehlhilfeApp.axaml create mode 100644 src/Waehlhilfe.App/WaehlhilfeApp.axaml.cs create mode 100644 src/Waehlhilfe.App/app.manifest create mode 100644 src/Waehlhilfe.App/packages.lock.json create mode 100644 src/Waehlhilfe.AppLogic/Waehlhilfe.AppLogic.csproj create mode 100644 src/Waehlhilfe.AppLogic/packages.lock.json create mode 100644 src/Waehlhilfe.Domain/Waehlhilfe.Domain.csproj create mode 100644 src/Waehlhilfe.Domain/packages.lock.json create mode 100644 src/Waehlhilfe.Modem/Waehlhilfe.Modem.csproj create mode 100644 src/Waehlhilfe.Modem/packages.lock.json create mode 100644 stylecop.json create mode 100644 tests/Waehlhilfe.App.Tests/SettingsWindowTests.cs create mode 100644 tests/Waehlhilfe.App.Tests/TestAppBuilder.cs create mode 100644 tests/Waehlhilfe.App.Tests/Waehlhilfe.App.Tests.csproj create mode 100644 tests/Waehlhilfe.App.Tests/packages.lock.json create mode 100644 tests/Waehlhilfe.AppLogic.Tests/Waehlhilfe.AppLogic.Tests.csproj create mode 100644 tests/Waehlhilfe.AppLogic.Tests/packages.lock.json create mode 100644 tests/Waehlhilfe.Domain.Tests/Waehlhilfe.Domain.Tests.csproj create mode 100644 tests/Waehlhilfe.Domain.Tests/packages.lock.json create mode 100644 tests/Waehlhilfe.Modem.Tests/Waehlhilfe.Modem.Tests.csproj create mode 100644 tests/Waehlhilfe.Modem.Tests/packages.lock.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..d8bf414 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,116 @@ +root = true + +[*.cs] +indent_style = space +indent_size = 4 +end_of_line = lf +dotnet_diagnostic.IDE0005.severity = warning +# IDE0059 (value assigned to a local is never read) ships at suggestion severity, below the +# threshold TreatWarningsAsErrors acts on, so dead assignments accumulated silently until +# CodeQL's cs/useless-assignment-to-local flagged seven of them. Raise it into the build. +dotnet_diagnostic.IDE0059.severity = warning +csharp_style_namespace_declarations = file_scoped:warning + +# Desktop Avalonia app: awaited continuations must keep the UI Dispatcher context, so +# CA2007 (missing ConfigureAwait) is not actionable here — suppress app-wide. +dotnet_diagnostic.CA2007.severity = none + +# CA1716 is a cross-language (VB/C# interop) naming rule with no value for this C#-only app: +# interface members and parameters such as Get/Stop/set/to are idiomatic here. +# Suppress app-wide. +dotnet_diagnostic.CA1716.severity = none + +# StyleCop.Analyzers: curated for this codebase. Rules disabled below either +# conflict with an established convention or don't fit a project that doesn't +# mandate XML documentation (CS1591 is already suppressed above). Everything +# else keeps StyleCop's shipped default severity, which becomes a build error +# via TreatWarningsAsErrors. + +# SA1101: this. prefix required on every member access - fights the _camelCase +# private-field convention already used throughout (see below). +dotnet_diagnostic.SA1101.severity = none + +# SA1201/SA1202/SA1204: member-kind/access/static ordering. No code-fix +# support exists for any of these - every violation needs manual reordering. +# The codebase organizes members by domain/lifecycle grouping (e.g. a +# registration factory next to the validation it calls) rather than by kind +# or access level, and there's no functional benefit to forcing the churn. +dotnet_diagnostic.SA1201.severity = none +dotnet_diagnostic.SA1202.severity = none +dotnet_diagnostic.SA1204.severity = none + +# SA1402: one type per file. Several files (SyncCommand.cs, IncidentSnapshot.cs, +# MasterDataSet.cs, ...) deliberately group a closed set of small related +# record types together (a DU-style command/DTO set) so the whole set reads +# in one place - splitting each into its own file would scatter that and add +# dozens of one-line files for no benefit. +dotnet_diagnostic.SA1402.severity = none + +# SA1312: local variables must begin with a lower-case letter. Its walker doesn't recognize +# `using var _ = ...` / `await using var _ = ...` as the discard idiom it is - the test suite +# uses this pattern throughout for scope-based disposal without a named variable. +dotnet_diagnostic.SA1312.severity = none + +# SA1309: private fields must not begin with an underscore - the whole +# codebase already uses _camelCase for private fields. +dotnet_diagnostic.SA1309.severity = none + +# SA1600-SA1649: "documentation rules" family (elements/parameters/return +# values/generic type params must be documented, file headers, etc.). +# Documentation is optional here, not mandated - keep SA1649 +# (FileNameMustMatchTypeName) enabled, it's an unrelated naming check. +dotnet_diagnostic.SA1600.severity = none +dotnet_diagnostic.SA1601.severity = none +dotnet_diagnostic.SA1602.severity = none +dotnet_diagnostic.SA1604.severity = none +dotnet_diagnostic.SA1605.severity = none +dotnet_diagnostic.SA1606.severity = none +dotnet_diagnostic.SA1607.severity = none +dotnet_diagnostic.SA1608.severity = none +dotnet_diagnostic.SA1609.severity = none +dotnet_diagnostic.SA1610.severity = none +dotnet_diagnostic.SA1611.severity = none +dotnet_diagnostic.SA1612.severity = none +dotnet_diagnostic.SA1613.severity = none +dotnet_diagnostic.SA1614.severity = none +dotnet_diagnostic.SA1615.severity = none +dotnet_diagnostic.SA1616.severity = none +dotnet_diagnostic.SA1617.severity = none +dotnet_diagnostic.SA1618.severity = none +dotnet_diagnostic.SA1619.severity = none +dotnet_diagnostic.SA1620.severity = none +dotnet_diagnostic.SA1621.severity = none +dotnet_diagnostic.SA1622.severity = none +dotnet_diagnostic.SA1623.severity = none +dotnet_diagnostic.SA1624.severity = none +dotnet_diagnostic.SA1625.severity = none +dotnet_diagnostic.SA1627.severity = none +dotnet_diagnostic.SA1629.severity = none +dotnet_diagnostic.SA1633.severity = none +dotnet_diagnostic.SA1634.severity = none +dotnet_diagnostic.SA1635.severity = none +dotnet_diagnostic.SA1636.severity = none +dotnet_diagnostic.SA1637.severity = none +dotnet_diagnostic.SA1638.severity = none +dotnet_diagnostic.SA1639.severity = none +dotnet_diagnostic.SA1640.severity = none +dotnet_diagnostic.SA1641.severity = none +dotnet_diagnostic.SA1642.severity = none +dotnet_diagnostic.SA1643.severity = none +dotnet_diagnostic.SA1648.severity = none + +[tests/**/*.cs] +# xUnit method names with underscores are idiomatic. +dotnet_diagnostic.CA1707.severity = none + +# Perf/impl-noise rules — they add churn to test code without catching real bugs. +dotnet_diagnostic.CA1861.severity = none +dotnet_diagnostic.CA2000.severity = none +dotnet_diagnostic.CA1063.severity = none +dotnet_diagnostic.CA1816.severity = none +dotnet_diagnostic.CA1826.severity = none +dotnet_diagnostic.CA2008.severity = none +dotnet_diagnostic.CA1829.severity = none +dotnet_diagnostic.CA2213.severity = none +dotnet_diagnostic.CA2025.severity = none + diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..ab4f11f --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,33 @@ +version: 2 +# Every ecosystem waits seven days before proposing a new release (`cooldown`), so a compromised +# version that is caught and yanked in its first days never reaches a pull request. Security +# updates ignore the cooldown. +updates: + # Keeps the SHA-pinned GitHub Actions current. + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + open-pull-requests-limit: 10 + cooldown: + default-days: 7 + + # NuGet packages; Avalonia moves in lockstep, so its packages arrive as one pull request. + # Dependabot rewrites only the lock file of the project that references a package directly: + # run `dotnet restore Waehlhilfe.slnx --force-evaluate` on its branch and push the result. + - package-ecosystem: nuget + directory: / + schedule: + interval: weekly + open-pull-requests-limit: 10 + cooldown: + default-days: 7 + groups: + avalonia: + patterns: + - "Avalonia*" + # Avalonia.Headless.XUnit 12.1.4 is built against xunit.v3 3.2.2; 4.x removed an overload it + # calls (AvaloniaUI/Avalonia#22072). Drop this once Avalonia ships a compatible package. + ignore: + - dependency-name: "xunit.v3" + update-types: ["version-update:semver-major"] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..df0409b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,53 @@ +name: CI + +on: + push: + branches: + - main + pull_request: + types: + - opened + - synchronize + - reopened + +# Builds and tests untrusted pull request code; the token only needs to read the repository. +permissions: + contents: read + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + +jobs: + build-test: + name: build-test (${{ matrix.os }}) + strategy: + fail-fast: false + matrix: + # Windows and macOS are the platforms Wählhilfe ships for; Linux is where the + # DL500A is tested by hand today and where the format check runs. + os: [ubuntu-latest, windows-latest, macos-latest] + runs-on: ${{ matrix.os }} + timeout-minutes: 20 + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + - name: Setup .NET + uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0 + with: + dotnet-version: '10.0.x' + + - name: Restore + run: dotnet restore Waehlhilfe.slnx --locked-mode + + - name: Build + run: dotnet build Waehlhilfe.slnx -c Release --no-restore + + - name: Test + run: dotnet test Waehlhilfe.slnx -c Release --no-build + + - name: Format check + if: matrix.os == 'ubuntu-latest' + run: dotnet format Waehlhilfe.slnx --verify-no-changes --no-restore diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml new file mode 100644 index 0000000..35260a7 --- /dev/null +++ b/.github/workflows/zizmor.yml @@ -0,0 +1,39 @@ +name: zizmor + +# Static analysis for the workflows themselves: template injection, persisted credentials, +# over-broad permissions, dangerous triggers. A finding accepted on purpose carries an inline +# `# zizmor: ignore[]` with the reason next to it. + +on: + push: + branches: [main] + pull_request: + branches: [main] + schedule: + # Weekly, so a new audit or a new advisory against a pinned action finds a quiet repository. + - cron: '41 4 * * 1' + +permissions: {} + +concurrency: + group: zizmor-${{ github.ref }} + cancel-in-progress: true + +jobs: + zizmor: + name: zizmor + runs-on: ubuntu-latest + timeout-minutes: 10 + permissions: + contents: read + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + # advanced-security: false — a private personal repository has no code scanning to take the + # SARIF, so findings fail the job and print in the log instead. + - name: Run zizmor + uses: zizmorcore/zizmor-action@53290badfa369cb0bf7ad16342cb62c2fa47ac7b # v0.8.0 + with: + advanced-security: false diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8fb74ef --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +# Build output +bin/ +obj/ +*.user +.vs/ +.idea/ +TestResults/ +coverage/ +*.trx +artifacts/ +publish/ +dist/ +out/ + +# Signing material — never in the tree. +*.p12 +*.pfx +*.pass + +# Local tooling artefacts +docs/superpowers/ +.superpowers/ +.claude/ diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..10df90c --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,122 @@ +# Agent instructions + +Wählhilfe registers as the operating system's `tel:` handler and dials the number on a Gigaset +DL500A over Bluetooth. It exists so that Lagebuch (CodeForFire/lagebuch) and every other program +in the ELW can keep emitting plain `tel:` links; see CodeForFire/lagebuch#617 for how the +protocol was found. + +## The protocol + +The DL500A offers a Serial Port Profile (SPP) on RFCOMM channel 1 and accepts AT commands on it: + +``` +AT → OK +AT+CGMI → Gigaset Communications GmbH +ATD → OK, CLIP:EXTERN, CONNECT +``` + +The call stays up on the base after the link is closed, so a dial is: open the port, `AT`, +`ATD`, close. The OS exposes SPP as a serial port — an outgoing COM port on Windows, +`/dev/cu.*` on macOS, `/dev/rfcomm0` (after `rfcomm bind`) on Linux. + +**The trap:** while the PC also holds the base's *audio* (Hands-Free) connection, every SPP +connection hangs until it times out instead of being refused. A timeout is therefore reported +with that hint, never as a generic error. + +## Language + +Issues, pull requests, commit messages, code and comments are **English**. The UI is **German** +and inline — no `.resx`. German terms of art stay German (Amtsholung, Ländervorwahl, +Einsatzkraft). Keep UI wording short and imperative; it is read in a command vehicle. + +## Git + +- Conventional Commits (`feat:`, `fix:`, `docs:`, `test:`, `build:`, `ci:`, `chore:`, …), English. +- DCO sign-off (`git commit -s`) and a cryptographic signature on every commit. +- SSH signing needs the key the command sandbox blocks: commit with the sandbox disabled and + check `git cat-file commit HEAD | grep gpgsig` before pushing. +- Never push to `main`. Feature branch and pull request, always. Stack a pull request on another + only when it needs that one's code; the body then says "Stacked on #N, review only the last + commit". +- A pull request that touches a view carries before/after PNGs rendered with the headless Skia + harness in `tests/Waehlhilfe.App.Tests`, attached with `gh pr create --attach`. + +## GitHub Actions + +- Third-party actions are pinned to a full commit SHA of their latest release: + `uses: owner/action@ # vX.Y.Z`, resolved with + `gh api repos///releases/latest --jq .tag_name` and + `gh api repos///git/refs/tags/ --jq .object.sha`. +- `.github/dependabot.yml` keeps the pins and the NuGet packages current. +- `zizmor` audits every workflow (`pipx run zizmor .` locally). Values from `inputs`, `needs` or + `github.event` reach a `run:` through `env:`, never as `${{ }}` inside the script. Checkouts + set `persist-credentials: false` unless the job pushes. + +## Architecture + +Dependencies point one way: + +- `Domain` references nothing: `tel:` parsing, number normalisation, settings. +- `Modem` references `Domain`: the AT dial session over an `IAtChannel`, and the serial port. +- `AppLogic` references both and holds the view models. It has **no Avalonia reference**. +- `App` holds the views, `Program`, the composition root and the per-OS glue. + +- View models are `sealed partial` classes over CommunityToolkit.Mvvm's `ObservableObject`, with + `[ObservableProperty]` and `[RelayCommand]`. +- No DI container; wiring is by hand in the composition root. An optional dependency is a + nullable constructor parameter with a default. +- Time is injected as a `TimeProvider`; tests use `FakeTimeProvider`. Never `DateTime.Now`. +- Non-view classes are `sealed`; domain values are `sealed record`s. +- Smallest change that fits; an interface only when there is a second implementation (a test + double counts). + +## C# and .NET + +- Nullability is real: no `#nullable disable`, no `!` to silence a warning. Public entry points + start with `ArgumentNullException.ThrowIfNull`. +- Failure has three shapes: `bool TryX(..., out T)` with `[MaybeNullWhen(false)]`, a documented + nullable return, or a typed exception. No `Result` library. +- Failures surface as a bound German status string on the view model; there is no logging + framework. Every `catch (Exception)` carries a `[SuppressMessage("Design", "CA1031", + Justification = "...")]` naming where the failure surfaces. +- Async: no `async void` outside event handlers, no `.Result`/`.Wait()`, no + `ConfigureAwait(false)`. I/O APIs take `CancellationToken cancellationToken = default`. +- Culture: anything persisted uses `InvariantCulture`; identifiers compare `Ordinal`. +- `using`/`await using` for every disposable you own, never a manual `Dispose()` in `finally`. +- `Path.Join`, never `Path.Combine`. +- Package versions live in `Directory.Packages.props`; every project commits a + `packages.lock.json` and CI restores with `--locked-mode`. + +## Avalonia + +Avalonia 12. Use the `avalonia-docs` MCP before reaching for an API from memory. + +- Every `.axaml` declares `x:DataType`; compiled bindings stay on. +- App types are `internal` (CA1515): a view sets `x:ClassModifier="internal"` to match. +- Code-behind is view-only: focus and forwarding events to commands. +- Every text-less control gets an `AutomationProperties.Name`. + +## Security + +The number arrives from a `tel:` link, which any web page or document can produce: it is +**hostile input**. It reaches the phone only after `TelUri` has reduced it to `0-9 * #` and a +length cap — never a `;`, `\r`, `\n` or letter, which would let a link append its own AT +commands. A security fix gets a test that replays the attack. Dialling always goes through the +confirm window; nothing dials silently. + +## Tests + +- xUnit (v3) with plain `Assert` and handwritten test doubles. No mocking library, no + FluentAssertions. +- A test's name is a sentence in snake_case: `Rejects_a_semicolon_command`. +- Bug fixes: the failing test first. Headless UI tests use `[AvaloniaFact]`. +- No real `Task.Delay` or sleep in a test — drive time with `FakeTimeProvider`. + +## Before you call it done + +Run `make clean ci`, read the output (search for `Test Run Failed`), and review the diff for +dependency direction, hostile-input handling, German UI wording and automation names. + +## Repository hygiene + +Never commit `docs/superpowers/`. diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..43c994c --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +@AGENTS.md diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..ae17653 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,32 @@ + + + net10.0 + latest + enable + enable + true + + + $(MSBuildWarningsAsErrors);AVLN5001 + All + 10.0 + true + true + true + + true + $(NoWarn);CS1591 + + + true + + + + + + + diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 0000000..84ad229 --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,27 @@ + + + + true + + + + + + + + + + + + + + + + + + + + + diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..edeccd2 --- /dev/null +++ b/Makefile @@ -0,0 +1,33 @@ +SLN := Waehlhilfe.slnx +APP := src/Waehlhilfe.App/Waehlhilfe.App.csproj + +.PHONY: help restore build test ci format format-check run clean + +help: ## Show this help + @grep -E '^[a-zA-Z_-]+:.*?## ' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " %-14s %s\n", $$1, $$2}' + +restore: ## Restore NuGet packages in locked mode, as CI does + dotnet restore $(SLN) --locked-mode + +build: ## Build everything (Release) + dotnet build $(SLN) -c Release + +test: ## Run the tests (FILTER=FullyQualifiedName~Foo to narrow) + dotnet test $(SLN) -c Release $(if $(FILTER),--filter "$(FILTER)") + +ci: restore ## Reproduce the CI legs locally: build, test, format check + dotnet build $(SLN) -c Release --no-restore + dotnet test $(SLN) -c Release --no-build + dotnet format $(SLN) --verify-no-changes --no-restore + +format: ## Apply dotnet format + dotnet format $(SLN) + +format-check: ## Fail if dotnet format would change anything + dotnet format $(SLN) --verify-no-changes + +run: ## Run the app (ARGS=tel:0891234567 to open the dial window) + dotnet run --project $(APP) -- $(ARGS) + +clean: ## Remove build output + find src tests -type d \( -name bin -o -name obj \) -prune -exec rm -rf {} + diff --git a/README.md b/README.md index d3b6ca4..eec6141 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,16 @@ -# waehlhilfe -tel: handler that dials a Gigaset DL500A over Bluetooth (AT commands over SPP) +# Wählhilfe + +Wählt `tel:`-Links über ein Gigaset DL500A – per Bluetooth, ohne Gigaset QuickSync, TAPI oder CSTA. + +Ein Klick auf eine Telefonnummer in Lagebuch (oder in jedem anderen Programm, das `tel:`-Links +öffnet) zeigt ein kleines Fenster „0891234567 wählen?“. Nach *Wählen* baut das DL500A den Anruf +auf; das Gespräch wird am Telefon geführt. + +## So funktioniert es + +Das DL500A stellt über Bluetooth eine serielle Schnittstelle (SPP) bereit und versteht dort +AT-Befehle. Wählhilfe öffnet diese Schnittstelle, sendet `ATD ` und schließt sie wieder. + +## Status + +In Entwicklung. Hintergrund: CodeForFire/lagebuch#617. diff --git a/Waehlhilfe.slnx b/Waehlhilfe.slnx new file mode 100644 index 0000000..6763e25 --- /dev/null +++ b/Waehlhilfe.slnx @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/global.json b/global.json new file mode 100644 index 0000000..ade3450 --- /dev/null +++ b/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "10.0.0", + "rollForward": "latestFeature" + } +} diff --git a/src/Waehlhilfe.App/Program.cs b/src/Waehlhilfe.App/Program.cs new file mode 100644 index 0000000..af33cbf --- /dev/null +++ b/src/Waehlhilfe.App/Program.cs @@ -0,0 +1,15 @@ +using Avalonia; + +namespace Waehlhilfe.App; + +internal static class Program +{ + [STAThread] + public static void Main(string[] args) => + BuildAvaloniaApp().StartWithClassicDesktopLifetime(args); + + public static AppBuilder BuildAvaloniaApp() => + AppBuilder.Configure() + .UsePlatformDetect() + .WithInterFont(); +} diff --git a/src/Waehlhilfe.App/Views/SettingsWindow.axaml b/src/Waehlhilfe.App/Views/SettingsWindow.axaml new file mode 100644 index 0000000..fc9f275 --- /dev/null +++ b/src/Waehlhilfe.App/Views/SettingsWindow.axaml @@ -0,0 +1,12 @@ + + + + + + diff --git a/src/Waehlhilfe.App/Views/SettingsWindow.axaml.cs b/src/Waehlhilfe.App/Views/SettingsWindow.axaml.cs new file mode 100644 index 0000000..f6396f5 --- /dev/null +++ b/src/Waehlhilfe.App/Views/SettingsWindow.axaml.cs @@ -0,0 +1,8 @@ +using Avalonia.Controls; + +namespace Waehlhilfe.App.Views; + +internal sealed partial class SettingsWindow : Window +{ + public SettingsWindow() => InitializeComponent(); +} diff --git a/src/Waehlhilfe.App/Waehlhilfe.App.csproj b/src/Waehlhilfe.App/Waehlhilfe.App.csproj new file mode 100644 index 0000000..a1be28c --- /dev/null +++ b/src/Waehlhilfe.App/Waehlhilfe.App.csproj @@ -0,0 +1,28 @@ + + + + WinExe + app.manifest + Waehlhilfe + Waehlhilfe.App + Wählhilfe + Wählhilfe + 0.1.0 + + + + + + + + + + + + + + + + + + diff --git a/src/Waehlhilfe.App/WaehlhilfeApp.axaml b/src/Waehlhilfe.App/WaehlhilfeApp.axaml new file mode 100644 index 0000000..09a5c57 --- /dev/null +++ b/src/Waehlhilfe.App/WaehlhilfeApp.axaml @@ -0,0 +1,9 @@ + + + + + diff --git a/src/Waehlhilfe.App/WaehlhilfeApp.axaml.cs b/src/Waehlhilfe.App/WaehlhilfeApp.axaml.cs new file mode 100644 index 0000000..847173b --- /dev/null +++ b/src/Waehlhilfe.App/WaehlhilfeApp.axaml.cs @@ -0,0 +1,21 @@ +using Avalonia; +using Avalonia.Controls.ApplicationLifetimes; +using Avalonia.Markup.Xaml; +using Waehlhilfe.App.Views; + +namespace Waehlhilfe.App; + +internal sealed partial class WaehlhilfeApp : Application +{ + public override void Initialize() => AvaloniaXamlLoader.Load(this); + + public override void OnFrameworkInitializationCompleted() + { + if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) + { + desktop.MainWindow = new SettingsWindow(); + } + + base.OnFrameworkInitializationCompleted(); + } +} diff --git a/src/Waehlhilfe.App/app.manifest b/src/Waehlhilfe.App/app.manifest new file mode 100644 index 0000000..9b9836d --- /dev/null +++ b/src/Waehlhilfe.App/app.manifest @@ -0,0 +1,9 @@ + + + + + + true/PM + + + diff --git a/src/Waehlhilfe.App/packages.lock.json b/src/Waehlhilfe.App/packages.lock.json new file mode 100644 index 0000000..bdbace3 --- /dev/null +++ b/src/Waehlhilfe.App/packages.lock.json @@ -0,0 +1,354 @@ +{ + "version": 2, + "dependencies": { + "net10.0": { + "Avalonia": { + "type": "Direct", + "requested": "[12.1.4, )", + "resolved": "12.1.4", + "contentHash": "Vlz+ebY0PBVsTFXAPIpM+7ySgezMtyJ3GMMGmccHwxXXjgLF2x5+NMwO4AqrdM/lrUPZremnYNO6MSg1r1vuxw==", + "dependencies": { + "Avalonia.BuildServices": "11.3.2", + "Avalonia.Remote.Protocol": "12.1.4", + "MicroCom.Runtime": "0.11.6" + } + }, + "Avalonia.Desktop": { + "type": "Direct", + "requested": "[12.1.4, )", + "resolved": "12.1.4", + "contentHash": "2vrr0Ao77r3BoZSZ5BTg6rEb8N0987hw5H6lxtZkR8tpagiOTaL9a31Pi02jJha8es7Y+jJR8Qwis7PMQRjytg==", + "dependencies": { + "Avalonia": "12.1.4", + "Avalonia.HarfBuzz": "12.1.4", + "Avalonia.Native": "12.1.4", + "Avalonia.Skia": "12.1.4", + "Avalonia.Win32": "12.1.4", + "Avalonia.X11": "12.1.4" + } + }, + "Avalonia.Fonts.Inter": { + "type": "Direct", + "requested": "[12.1.4, )", + "resolved": "12.1.4", + "contentHash": "PqzIALObVJ3ZUpfYDkoNNkijaVBUGVrHqAyWPkE39aJrPukbMv49aGMhS+c5HiW1s+/iuo3fW+ISOk34GOc0iw==", + "dependencies": { + "Avalonia": "12.1.4" + } + }, + "Avalonia.Themes.Fluent": { + "type": "Direct", + "requested": "[12.1.4, )", + "resolved": "12.1.4", + "contentHash": "vx7P4as07WLQqA2mhMy4iBsqhkWEGwZI7g9Rd2DlJgz3uKS2tSvY6nZqHq3sWMFDBYBT65jkTsetPrgV8oprsQ==", + "dependencies": { + "Avalonia": "12.1.4" + } + }, + "StyleCop.Analyzers": { + "type": "Direct", + "requested": "[1.2.0-beta.556, )", + "resolved": "1.2.0-beta.556", + "contentHash": "llRPgmA1fhC0I0QyFLEcjvtM2239QzKr/tcnbsjArLMJxJlu0AA5G7Fft0OI30pHF3MW63Gf4aSSsjc5m82J1Q==", + "dependencies": { + "StyleCop.Analyzers.Unstable": "1.2.0.556" + } + }, + "Avalonia.Angle.Windows.Natives": { + "type": "Transitive", + "resolved": "2.1.27548.20260419", + "contentHash": "l17nI3XVDN3oMnpjf2pnmJg0YTwK4m6NLsn/itAjDMdObTFxN77D5F1M9sRMSfViSY3KKcse1ROczwgoWLJsnA==" + }, + "Avalonia.BuildServices": { + "type": "Transitive", + "resolved": "11.3.2", + "contentHash": "qHDToxto1e3hci5YqbG9n0Ty8mlp3zBUN5wT66wKqaDVzXyQ0do3EnRILd4Ke9jpvsktaPpgE0YjEk7hornryQ==" + }, + "Avalonia.FreeDesktop": { + "type": "Transitive", + "resolved": "12.1.4", + "contentHash": "EDM2mqO+eU7/0gLrIyObkt/q6DiBRbGSbzZ72J87K2JHTYEXtOT/quOpWv6bOKsDQGBPBkjI+s0OwFUxPmCP2A==", + "dependencies": { + "Avalonia": "12.1.4", + "Tmds.DBus.Protocol": "0.94.1" + } + }, + "Avalonia.FreeDesktop.AtSpi": { + "type": "Transitive", + "resolved": "12.1.4", + "contentHash": "ulmTyv+D8euk4n4qFXTP9vyScNbRz+/SuMrdDeoGFLQW00Me1MGA1vBbaiDcdp8VgyfoeRDlq7tQGtwWOf8ZJg==", + "dependencies": { + "Avalonia": "12.1.4" + } + }, + "Avalonia.HarfBuzz": { + "type": "Transitive", + "resolved": "12.1.4", + "contentHash": "PxaJL9P/Zn6w89kLokuLcWDnj+w4erpfp57SiDN4JhX4NI2qPLJEmxgogTwyXjCUE8vq7Jg7kjH/z5D2jeGAhA==", + "dependencies": { + "Avalonia": "12.1.4", + "HarfBuzzSharp": "8.3.1.3", + "HarfBuzzSharp.NativeAssets.Linux": "8.3.1.3", + "HarfBuzzSharp.NativeAssets.WebAssembly": "8.3.1.3" + } + }, + "Avalonia.Native": { + "type": "Transitive", + "resolved": "12.1.4", + "contentHash": "to73yCbFWzRNs3gyuBG2QkRsrpjnGrEVwkhtAsJLbPAKFjP/M0YDeb4MPMN3wGlpwCFdz9L8R8iAivyNet5+5g==", + "dependencies": { + "Avalonia": "12.1.4" + } + }, + "Avalonia.Remote.Protocol": { + "type": "Transitive", + "resolved": "12.1.4", + "contentHash": "9ajC+Ff+U9S21JJKGbJgnwp9fY+zwJG+bSEC//o/vJU2M6IEMRGp+D1+AUoqTR79FAA/iDYgf4f4EF4PZKhZsg==" + }, + "Avalonia.Win32": { + "type": "Transitive", + "resolved": "12.1.4", + "contentHash": "N/Ra73KLQBoQOcnpROWdCA49vCFij8MSyU7MFv8JWMxcQvkG98K19/hmdcyiqB/B1sBahyZuHgIsoO8ryajC0g==", + "dependencies": { + "Avalonia": "12.1.4", + "Avalonia.Angle.Windows.Natives": "2.1.27548.20260419" + } + }, + "Avalonia.X11": { + "type": "Transitive", + "resolved": "12.1.4", + "contentHash": "LMlL3GGN7l7VfdowNf4hz/zyZQeMvYe/HFphoobbq4o1C1thZRSC3dxfRlQxe2M259f18dXveEWduyZLycXCJg==", + "dependencies": { + "Avalonia": "12.1.4", + "Avalonia.FreeDesktop": "12.1.4", + "Avalonia.FreeDesktop.AtSpi": "12.1.4", + "Avalonia.Skia": "12.1.4" + } + }, + "HarfBuzzSharp": { + "type": "Transitive", + "resolved": "8.3.1.3", + "contentHash": "NGZ2+ZVNPM+NdHB/asW0/ykWngyHWwcqjrbN2nDeH1B/aptPGlCUl8wkQ2cSJxw5fdWgdmIPmNuTPWpLwNVXWg==", + "dependencies": { + "HarfBuzzSharp.NativeAssets.Win32": "8.3.1.3", + "HarfBuzzSharp.NativeAssets.macOS": "8.3.1.3" + } + }, + "HarfBuzzSharp.NativeAssets.Linux": { + "type": "Transitive", + "resolved": "8.3.1.3", + "contentHash": "RI6A1LgmooU30+4QIyFt5rmBCzP0VzTR+587IJSGvYIsHHWlahFufihYxtraLfsIhW7I8dn6+xX+DZGygOPKWQ==" + }, + "HarfBuzzSharp.NativeAssets.macOS": { + "type": "Transitive", + "resolved": "8.3.1.3", + "contentHash": "KPTq0xnslkI6nAo0jh3ptcQPJvZZr7MWYXa2jUe4SnHc9q+JlHElmNXp0sfFoiTgoCX7WOYpYsurypuH9Gehxw==" + }, + "HarfBuzzSharp.NativeAssets.WebAssembly": { + "type": "Transitive", + "resolved": "8.3.1.3", + "contentHash": "w2QfdNm9Uz/sUa0B5D+OnVQhyq3G/fBq6ibQMdWBlQqqwh0g0/5j3RFvYqZAmRZ5+RzvjVe8o8SFFnWYUSkuxA==" + }, + "HarfBuzzSharp.NativeAssets.Win32": { + "type": "Transitive", + "resolved": "8.3.1.3", + "contentHash": "bx8CE8Js+XGX8PUxAHCBDEORt5aaBYtMN4Hr9QFs57Xithh6yjUyYqksizH6eRDhJkwsGI+SXWmPmMm8lZC9Pw==" + }, + "MicroCom.Runtime": { + "type": "Transitive", + "resolved": "0.11.6", + "contentHash": "NdNWGDiZ6eS/Mf/9+QHR91cj1K7Hy+PX9yrHI/zM7xFYuj9IWT2uxtB6sCHjrnxAeLV9fut1R6zHDUGKX6f9lQ==" + }, + "runtime.android-arm.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "gLv34pCoVW0YGWV0IES5GTHp2pva7hWXfSiKAsdtCmK2RE31IAOsPrES9+QS2ZgwXm3WxL0QjepUyrzCtgsQOw==" + }, + "runtime.android-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "76bkqy+AuJgE8KESzFUQPW3CpildWVXf07IGDZze5NZNCCZV2kz1fUMkWn/tRxXs6tm7sErq2bcrjfydpErXPA==" + }, + "runtime.android-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "qcGm46NBd0RAClo/crhqgRFzrNYV9TUSrAz35zJxTkNMCaqN5Wwm4BwcHecQe0AoXaN7G/twkEcxXPLQEpf/zw==" + }, + "runtime.android-x86.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "eLPDMeoCGDqAs3yuUAGO5bEnsuaY++gxyEHnxXaXW4tluUoPLijXQMlx2iHbjf8qN9a2buSmkQ7TNEinrb9uSA==" + }, + "runtime.linux-arm.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "C+0+w+lgBDKdsqrPQ9MD5xvRuoieJJq0jfc0LlAssg8fHj7dilNySdc0s8deRMrTUBvpIHZlCXhfz7R4XWnHOQ==" + }, + "runtime.linux-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "Lb5f7Qwi0U55Pz0t5j9MgwG5E7SWOcKRJjAB+Q09RTrSQ86o0QAVJCQRdqMsCB3IIbEVV4U2UHhn0vzwfjXFPA==" + }, + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "KitV8FoIw5R1MA1++RdLZ8kLqbLV0bPhZv86MkyvLWI/7DaD6sZ2I9+8Tb6PAaix6+Rmio7UZQTKpg1K/yextQ==" + }, + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "VMzjkxsSTRgoO9PbB7fKGn7ic+W6ZIHLyNwDKK+SykBLLyEJ8nj/m/sVfxb3TSCY5J9VO8iX4oWUpZ9DbNhABg==" + }, + "runtime.linux-musl-arm.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "f5hwBxC3v57d8nTxtiwjZiT6Ji+DkXtgKCBP4o5RTxiz+l+nsYELKJnPGM0vvRI63YKohGo3k0C9l1qYW6Xc/g==" + }, + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "bHr0QgQ+QUwqkMbj2Sg+/8zefCcRHke/GYug9OaEyjT7PUq0vBuruUkTepu5vHyTL+Hfw18rVCocEhmMm+nZzg==" + }, + "runtime.linux-musl-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "gb+SbdESVUpRmDxmtNU5hCQzBZ12wP7XVbTzqpSi2z0+Zms9J+shz1aL4/FTv+/3lOGcMmqQxfFBijS7rAMtYA==" + }, + "runtime.linux-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "yKoFxb8LQDBuAFyxNggJ9uhVuEDoInRpgAUV4zWo+WEfvjbDvV5r15fyaRqjWDcKo9uKnmGzECYcQBTpB6hTRw==" + }, + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "xxJRQVP1RAeDGe8eQRyceb0mc+T6cdFPK0XlRrH4QyCHDP2lBnmmlpNvf4bQva9CbsCIYCgFOvfb91NWbCNMEg==" + }, + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "tmklOnnC1GVqZyqjVv20JLuH8OW0vGQl/V2mnGbZKTVHBsmxFYC/Lf+gMD1fzfL6Xi6Mm7QsxumbvfLT9hvd1w==" + }, + "runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "VAUplmK3hS1jq/WxB7ZHsb6ij+6C9CrkxL9jjbq74k++5pYGGkLkuK3h72y3FO8FrcdkBbJGBiHK4oFsepdH/w==", + "dependencies": { + "runtime.android-arm.runtime.native.System.IO.Ports": "10.0.14", + "runtime.android-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.android-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.android-x86.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-arm.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-musl-arm.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-musl-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.osx-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.osx-x64.runtime.native.System.IO.Ports": "10.0.14" + } + }, + "runtime.osx-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "smqBl+Pt3WMZYkhCokYCS4UgexGe08afgLzleTBCG6cyKMfVhQSieJf836PT51ULZMLluXzI6SGdPamxxH0lZw==" + }, + "runtime.osx-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "g8byPDtP2LDNkHcnyuhrJpS16Y09jppi71t7vD2t5B3Hqcz0YrZJMLBDWN9AsJVW50yZ54iM70YSPOC6+3X0IA==" + }, + "SkiaSharp": { + "type": "Transitive", + "resolved": "3.119.4", + "contentHash": "53NOSUZ1Us+91Sm0uCkIivh/k7jOowRErZT2sIWwPFN9mLUvdxnE6rS4sWo4255+Rd2MWUSF+j0NMZHD6Cke+Q==", + "dependencies": { + "SkiaSharp.NativeAssets.Win32": "3.119.4", + "SkiaSharp.NativeAssets.macOS": "3.119.4" + } + }, + "SkiaSharp.NativeAssets.Linux": { + "type": "Transitive", + "resolved": "3.119.4", + "contentHash": "UAyVzbqNfZsZbKbzj68zXLyUyF/SbTKmzTfOO6qDu++dtIUMMTzPBe8oOuzU/DiewpfKoUUlOSsJmqWc6blxBw==" + }, + "SkiaSharp.NativeAssets.macOS": { + "type": "Transitive", + "resolved": "3.119.4", + "contentHash": "fgBOWEqbY012x7gMfJU4ezgz6dfhJb30Z6YdW35h85Zoe39+a8YNbAAwL29ihPfWoppg5AjvyKNzD1oCvlqWwA==" + }, + "SkiaSharp.NativeAssets.WebAssembly": { + "type": "Transitive", + "resolved": "3.119.4", + "contentHash": "S1HOxtBbD4bYDtA2e9WH5TX+lxqRrTPvKjrjttRhxnHNNu7YY8VFo/LeCP7tNqoTA6PV+8vsvNbmRUEC2ip8RQ==" + }, + "SkiaSharp.NativeAssets.Win32": { + "type": "Transitive", + "resolved": "3.119.4", + "contentHash": "XOpbx/4CReO2wYsq2s6rbvdauc6dntG4Zv499sHGTJ87bwZaFXszFkwql3+FIZMc8kUPeaj3Mx2ezIJmo8a1Kg==" + }, + "StyleCop.Analyzers.Unstable": { + "type": "Transitive", + "resolved": "1.2.0.556", + "contentHash": "zvn9Mqs/ox/83cpYPignI8hJEM2A93s2HkHs8HYMOAQW0PkampyoErAiIyKxgTLqbbad29HX/shv/6LGSjPJNQ==" + }, + "Tmds.DBus.Protocol": { + "type": "Transitive", + "resolved": "0.94.1", + "contentHash": "11YMr7FnAbL83bQmVxlhbIKHvSLxjO81D12Ej0QMSGXMDTxNA9MTOa4MQxx43nv5el/efuPHwzyrj6a5ha2gug==" + }, + "waehlhilfe.applogic": { + "type": "Project", + "dependencies": { + "CommunityToolkit.Mvvm": "[8.4.2, )", + "Waehlhilfe.Domain": "[1.0.0, )", + "Waehlhilfe.Modem": "[1.0.0, )" + } + }, + "waehlhilfe.domain": { + "type": "Project" + }, + "waehlhilfe.modem": { + "type": "Project", + "dependencies": { + "System.IO.Ports": "[10.0.14, )", + "Waehlhilfe.Domain": "[1.0.0, )" + } + }, + "Avalonia.Skia": { + "type": "CentralTransitive", + "requested": "[12.1.4, )", + "resolved": "12.1.4", + "contentHash": "BA6B1Up9AcX4JmnskD6FyxF+ZEowXDhGvzw1lG+Xx6sQO0VyOE2yDoAmD/S2EsYZUukPfRUJmIyjeM//WdZAxA==", + "dependencies": { + "Avalonia": "12.1.4", + "HarfBuzzSharp": "8.3.1.3", + "HarfBuzzSharp.NativeAssets.Linux": "8.3.1.3", + "HarfBuzzSharp.NativeAssets.WebAssembly": "8.3.1.3", + "SkiaSharp": "3.119.4", + "SkiaSharp.NativeAssets.Linux": "3.119.4", + "SkiaSharp.NativeAssets.WebAssembly": "3.119.4" + } + }, + "CommunityToolkit.Mvvm": { + "type": "CentralTransitive", + "requested": "[8.4.2, )", + "resolved": "8.4.2", + "contentHash": "WadCzGEc2U+3e20avRLng4qNtt4zoOGWrdUISqJWrHe3/FSnrYjuM5Sb4yQb09LhkBXrrI4Zt3dLKgRMbItsrg==" + }, + "System.IO.Ports": { + "type": "CentralTransitive", + "requested": "[10.0.14, )", + "resolved": "10.0.14", + "contentHash": "70Jq6HRBQT0iMM/D8hVTo8nYLnDFf7xluPPn2S+brVRc8uExUUYh3lGO4nzsK2nc4nIVH3pVIphI0Jm8zZZ4jQ==", + "dependencies": { + "runtime.native.System.IO.Ports": "10.0.14" + } + } + } + } +} \ No newline at end of file diff --git a/src/Waehlhilfe.AppLogic/Waehlhilfe.AppLogic.csproj b/src/Waehlhilfe.AppLogic/Waehlhilfe.AppLogic.csproj new file mode 100644 index 0000000..7a65011 --- /dev/null +++ b/src/Waehlhilfe.AppLogic/Waehlhilfe.AppLogic.csproj @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/src/Waehlhilfe.AppLogic/packages.lock.json b/src/Waehlhilfe.AppLogic/packages.lock.json new file mode 100644 index 0000000..b27e594 --- /dev/null +++ b/src/Waehlhilfe.AppLogic/packages.lock.json @@ -0,0 +1,149 @@ +{ + "version": 2, + "dependencies": { + "net10.0": { + "CommunityToolkit.Mvvm": { + "type": "Direct", + "requested": "[8.4.2, )", + "resolved": "8.4.2", + "contentHash": "WadCzGEc2U+3e20avRLng4qNtt4zoOGWrdUISqJWrHe3/FSnrYjuM5Sb4yQb09LhkBXrrI4Zt3dLKgRMbItsrg==" + }, + "StyleCop.Analyzers": { + "type": "Direct", + "requested": "[1.2.0-beta.556, )", + "resolved": "1.2.0-beta.556", + "contentHash": "llRPgmA1fhC0I0QyFLEcjvtM2239QzKr/tcnbsjArLMJxJlu0AA5G7Fft0OI30pHF3MW63Gf4aSSsjc5m82J1Q==", + "dependencies": { + "StyleCop.Analyzers.Unstable": "1.2.0.556" + } + }, + "runtime.android-arm.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "gLv34pCoVW0YGWV0IES5GTHp2pva7hWXfSiKAsdtCmK2RE31IAOsPrES9+QS2ZgwXm3WxL0QjepUyrzCtgsQOw==" + }, + "runtime.android-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "76bkqy+AuJgE8KESzFUQPW3CpildWVXf07IGDZze5NZNCCZV2kz1fUMkWn/tRxXs6tm7sErq2bcrjfydpErXPA==" + }, + "runtime.android-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "qcGm46NBd0RAClo/crhqgRFzrNYV9TUSrAz35zJxTkNMCaqN5Wwm4BwcHecQe0AoXaN7G/twkEcxXPLQEpf/zw==" + }, + "runtime.android-x86.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "eLPDMeoCGDqAs3yuUAGO5bEnsuaY++gxyEHnxXaXW4tluUoPLijXQMlx2iHbjf8qN9a2buSmkQ7TNEinrb9uSA==" + }, + "runtime.linux-arm.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "C+0+w+lgBDKdsqrPQ9MD5xvRuoieJJq0jfc0LlAssg8fHj7dilNySdc0s8deRMrTUBvpIHZlCXhfz7R4XWnHOQ==" + }, + "runtime.linux-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "Lb5f7Qwi0U55Pz0t5j9MgwG5E7SWOcKRJjAB+Q09RTrSQ86o0QAVJCQRdqMsCB3IIbEVV4U2UHhn0vzwfjXFPA==" + }, + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "KitV8FoIw5R1MA1++RdLZ8kLqbLV0bPhZv86MkyvLWI/7DaD6sZ2I9+8Tb6PAaix6+Rmio7UZQTKpg1K/yextQ==" + }, + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "VMzjkxsSTRgoO9PbB7fKGn7ic+W6ZIHLyNwDKK+SykBLLyEJ8nj/m/sVfxb3TSCY5J9VO8iX4oWUpZ9DbNhABg==" + }, + "runtime.linux-musl-arm.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "f5hwBxC3v57d8nTxtiwjZiT6Ji+DkXtgKCBP4o5RTxiz+l+nsYELKJnPGM0vvRI63YKohGo3k0C9l1qYW6Xc/g==" + }, + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "bHr0QgQ+QUwqkMbj2Sg+/8zefCcRHke/GYug9OaEyjT7PUq0vBuruUkTepu5vHyTL+Hfw18rVCocEhmMm+nZzg==" + }, + "runtime.linux-musl-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "gb+SbdESVUpRmDxmtNU5hCQzBZ12wP7XVbTzqpSi2z0+Zms9J+shz1aL4/FTv+/3lOGcMmqQxfFBijS7rAMtYA==" + }, + "runtime.linux-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "yKoFxb8LQDBuAFyxNggJ9uhVuEDoInRpgAUV4zWo+WEfvjbDvV5r15fyaRqjWDcKo9uKnmGzECYcQBTpB6hTRw==" + }, + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "xxJRQVP1RAeDGe8eQRyceb0mc+T6cdFPK0XlRrH4QyCHDP2lBnmmlpNvf4bQva9CbsCIYCgFOvfb91NWbCNMEg==" + }, + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "tmklOnnC1GVqZyqjVv20JLuH8OW0vGQl/V2mnGbZKTVHBsmxFYC/Lf+gMD1fzfL6Xi6Mm7QsxumbvfLT9hvd1w==" + }, + "runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "VAUplmK3hS1jq/WxB7ZHsb6ij+6C9CrkxL9jjbq74k++5pYGGkLkuK3h72y3FO8FrcdkBbJGBiHK4oFsepdH/w==", + "dependencies": { + "runtime.android-arm.runtime.native.System.IO.Ports": "10.0.14", + "runtime.android-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.android-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.android-x86.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-arm.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-musl-arm.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-musl-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.osx-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.osx-x64.runtime.native.System.IO.Ports": "10.0.14" + } + }, + "runtime.osx-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "smqBl+Pt3WMZYkhCokYCS4UgexGe08afgLzleTBCG6cyKMfVhQSieJf836PT51ULZMLluXzI6SGdPamxxH0lZw==" + }, + "runtime.osx-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "g8byPDtP2LDNkHcnyuhrJpS16Y09jppi71t7vD2t5B3Hqcz0YrZJMLBDWN9AsJVW50yZ54iM70YSPOC6+3X0IA==" + }, + "StyleCop.Analyzers.Unstable": { + "type": "Transitive", + "resolved": "1.2.0.556", + "contentHash": "zvn9Mqs/ox/83cpYPignI8hJEM2A93s2HkHs8HYMOAQW0PkampyoErAiIyKxgTLqbbad29HX/shv/6LGSjPJNQ==" + }, + "waehlhilfe.domain": { + "type": "Project" + }, + "waehlhilfe.modem": { + "type": "Project", + "dependencies": { + "System.IO.Ports": "[10.0.14, )", + "Waehlhilfe.Domain": "[1.0.0, )" + } + }, + "System.IO.Ports": { + "type": "CentralTransitive", + "requested": "[10.0.14, )", + "resolved": "10.0.14", + "contentHash": "70Jq6HRBQT0iMM/D8hVTo8nYLnDFf7xluPPn2S+brVRc8uExUUYh3lGO4nzsK2nc4nIVH3pVIphI0Jm8zZZ4jQ==", + "dependencies": { + "runtime.native.System.IO.Ports": "10.0.14" + } + } + } + } +} \ No newline at end of file diff --git a/src/Waehlhilfe.Domain/Waehlhilfe.Domain.csproj b/src/Waehlhilfe.Domain/Waehlhilfe.Domain.csproj new file mode 100644 index 0000000..4c447ec --- /dev/null +++ b/src/Waehlhilfe.Domain/Waehlhilfe.Domain.csproj @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/Waehlhilfe.Domain/packages.lock.json b/src/Waehlhilfe.Domain/packages.lock.json new file mode 100644 index 0000000..da1621b --- /dev/null +++ b/src/Waehlhilfe.Domain/packages.lock.json @@ -0,0 +1,21 @@ +{ + "version": 2, + "dependencies": { + "net10.0": { + "StyleCop.Analyzers": { + "type": "Direct", + "requested": "[1.2.0-beta.556, )", + "resolved": "1.2.0-beta.556", + "contentHash": "llRPgmA1fhC0I0QyFLEcjvtM2239QzKr/tcnbsjArLMJxJlu0AA5G7Fft0OI30pHF3MW63Gf4aSSsjc5m82J1Q==", + "dependencies": { + "StyleCop.Analyzers.Unstable": "1.2.0.556" + } + }, + "StyleCop.Analyzers.Unstable": { + "type": "Transitive", + "resolved": "1.2.0.556", + "contentHash": "zvn9Mqs/ox/83cpYPignI8hJEM2A93s2HkHs8HYMOAQW0PkampyoErAiIyKxgTLqbbad29HX/shv/6LGSjPJNQ==" + } + } + } +} \ No newline at end of file diff --git a/src/Waehlhilfe.Modem/Waehlhilfe.Modem.csproj b/src/Waehlhilfe.Modem/Waehlhilfe.Modem.csproj new file mode 100644 index 0000000..2f8ebe2 --- /dev/null +++ b/src/Waehlhilfe.Modem/Waehlhilfe.Modem.csproj @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/src/Waehlhilfe.Modem/packages.lock.json b/src/Waehlhilfe.Modem/packages.lock.json new file mode 100644 index 0000000..bc338c9 --- /dev/null +++ b/src/Waehlhilfe.Modem/packages.lock.json @@ -0,0 +1,136 @@ +{ + "version": 2, + "dependencies": { + "net10.0": { + "StyleCop.Analyzers": { + "type": "Direct", + "requested": "[1.2.0-beta.556, )", + "resolved": "1.2.0-beta.556", + "contentHash": "llRPgmA1fhC0I0QyFLEcjvtM2239QzKr/tcnbsjArLMJxJlu0AA5G7Fft0OI30pHF3MW63Gf4aSSsjc5m82J1Q==", + "dependencies": { + "StyleCop.Analyzers.Unstable": "1.2.0.556" + } + }, + "System.IO.Ports": { + "type": "Direct", + "requested": "[10.0.14, )", + "resolved": "10.0.14", + "contentHash": "70Jq6HRBQT0iMM/D8hVTo8nYLnDFf7xluPPn2S+brVRc8uExUUYh3lGO4nzsK2nc4nIVH3pVIphI0Jm8zZZ4jQ==", + "dependencies": { + "runtime.native.System.IO.Ports": "10.0.14" + } + }, + "runtime.android-arm.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "gLv34pCoVW0YGWV0IES5GTHp2pva7hWXfSiKAsdtCmK2RE31IAOsPrES9+QS2ZgwXm3WxL0QjepUyrzCtgsQOw==" + }, + "runtime.android-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "76bkqy+AuJgE8KESzFUQPW3CpildWVXf07IGDZze5NZNCCZV2kz1fUMkWn/tRxXs6tm7sErq2bcrjfydpErXPA==" + }, + "runtime.android-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "qcGm46NBd0RAClo/crhqgRFzrNYV9TUSrAz35zJxTkNMCaqN5Wwm4BwcHecQe0AoXaN7G/twkEcxXPLQEpf/zw==" + }, + "runtime.android-x86.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "eLPDMeoCGDqAs3yuUAGO5bEnsuaY++gxyEHnxXaXW4tluUoPLijXQMlx2iHbjf8qN9a2buSmkQ7TNEinrb9uSA==" + }, + "runtime.linux-arm.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "C+0+w+lgBDKdsqrPQ9MD5xvRuoieJJq0jfc0LlAssg8fHj7dilNySdc0s8deRMrTUBvpIHZlCXhfz7R4XWnHOQ==" + }, + "runtime.linux-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "Lb5f7Qwi0U55Pz0t5j9MgwG5E7SWOcKRJjAB+Q09RTrSQ86o0QAVJCQRdqMsCB3IIbEVV4U2UHhn0vzwfjXFPA==" + }, + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "KitV8FoIw5R1MA1++RdLZ8kLqbLV0bPhZv86MkyvLWI/7DaD6sZ2I9+8Tb6PAaix6+Rmio7UZQTKpg1K/yextQ==" + }, + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "VMzjkxsSTRgoO9PbB7fKGn7ic+W6ZIHLyNwDKK+SykBLLyEJ8nj/m/sVfxb3TSCY5J9VO8iX4oWUpZ9DbNhABg==" + }, + "runtime.linux-musl-arm.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "f5hwBxC3v57d8nTxtiwjZiT6Ji+DkXtgKCBP4o5RTxiz+l+nsYELKJnPGM0vvRI63YKohGo3k0C9l1qYW6Xc/g==" + }, + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "bHr0QgQ+QUwqkMbj2Sg+/8zefCcRHke/GYug9OaEyjT7PUq0vBuruUkTepu5vHyTL+Hfw18rVCocEhmMm+nZzg==" + }, + "runtime.linux-musl-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "gb+SbdESVUpRmDxmtNU5hCQzBZ12wP7XVbTzqpSi2z0+Zms9J+shz1aL4/FTv+/3lOGcMmqQxfFBijS7rAMtYA==" + }, + "runtime.linux-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "yKoFxb8LQDBuAFyxNggJ9uhVuEDoInRpgAUV4zWo+WEfvjbDvV5r15fyaRqjWDcKo9uKnmGzECYcQBTpB6hTRw==" + }, + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "xxJRQVP1RAeDGe8eQRyceb0mc+T6cdFPK0XlRrH4QyCHDP2lBnmmlpNvf4bQva9CbsCIYCgFOvfb91NWbCNMEg==" + }, + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "tmklOnnC1GVqZyqjVv20JLuH8OW0vGQl/V2mnGbZKTVHBsmxFYC/Lf+gMD1fzfL6Xi6Mm7QsxumbvfLT9hvd1w==" + }, + "runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "VAUplmK3hS1jq/WxB7ZHsb6ij+6C9CrkxL9jjbq74k++5pYGGkLkuK3h72y3FO8FrcdkBbJGBiHK4oFsepdH/w==", + "dependencies": { + "runtime.android-arm.runtime.native.System.IO.Ports": "10.0.14", + "runtime.android-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.android-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.android-x86.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-arm.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-musl-arm.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-musl-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.osx-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.osx-x64.runtime.native.System.IO.Ports": "10.0.14" + } + }, + "runtime.osx-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "smqBl+Pt3WMZYkhCokYCS4UgexGe08afgLzleTBCG6cyKMfVhQSieJf836PT51ULZMLluXzI6SGdPamxxH0lZw==" + }, + "runtime.osx-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "g8byPDtP2LDNkHcnyuhrJpS16Y09jppi71t7vD2t5B3Hqcz0YrZJMLBDWN9AsJVW50yZ54iM70YSPOC6+3X0IA==" + }, + "StyleCop.Analyzers.Unstable": { + "type": "Transitive", + "resolved": "1.2.0.556", + "contentHash": "zvn9Mqs/ox/83cpYPignI8hJEM2A93s2HkHs8HYMOAQW0PkampyoErAiIyKxgTLqbbad29HX/shv/6LGSjPJNQ==" + }, + "waehlhilfe.domain": { + "type": "Project" + } + } + } +} \ No newline at end of file diff --git a/stylecop.json b/stylecop.json new file mode 100644 index 0000000..04cc7a0 --- /dev/null +++ b/stylecop.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json", + "settings": { + "orderingRules": { + "usingDirectivesPlacement": "outsideNamespace" + } + } +} diff --git a/tests/Waehlhilfe.App.Tests/SettingsWindowTests.cs b/tests/Waehlhilfe.App.Tests/SettingsWindowTests.cs new file mode 100644 index 0000000..248dacb --- /dev/null +++ b/tests/Waehlhilfe.App.Tests/SettingsWindowTests.cs @@ -0,0 +1,17 @@ +using Avalonia.Headless.XUnit; +using Waehlhilfe.App.Views; + +namespace Waehlhilfe.App.Tests; + +public sealed class SettingsWindowTests +{ + [AvaloniaFact] + public void Settings_window_is_titled_with_the_app_name() + { + var window = new SettingsWindow(); + + window.Show(); + + Assert.Equal("Wählhilfe", window.Title); + } +} diff --git a/tests/Waehlhilfe.App.Tests/TestAppBuilder.cs b/tests/Waehlhilfe.App.Tests/TestAppBuilder.cs new file mode 100644 index 0000000..abfa381 --- /dev/null +++ b/tests/Waehlhilfe.App.Tests/TestAppBuilder.cs @@ -0,0 +1,16 @@ +using Avalonia; +using Avalonia.Headless; + +[assembly: AvaloniaTestApplication(typeof(Waehlhilfe.App.Tests.TestAppBuilder))] + +namespace Waehlhilfe.App.Tests; + +internal static class TestAppBuilder +{ + // UseHeadlessDrawing = false keeps the real Skia text backend, so PNG captures for pull + // requests show real glyphs instead of the headless drawing stub. + public static AppBuilder BuildAvaloniaApp() => + AppBuilder.Configure() + .UseSkia() + .UseHeadless(new AvaloniaHeadlessPlatformOptions { UseHeadlessDrawing = false }); +} diff --git a/tests/Waehlhilfe.App.Tests/Waehlhilfe.App.Tests.csproj b/tests/Waehlhilfe.App.Tests/Waehlhilfe.App.Tests.csproj new file mode 100644 index 0000000..1ff39e8 --- /dev/null +++ b/tests/Waehlhilfe.App.Tests/Waehlhilfe.App.Tests.csproj @@ -0,0 +1,25 @@ + + + + false + true + + + + + + + + + + + + + + + + + + + + diff --git a/tests/Waehlhilfe.App.Tests/packages.lock.json b/tests/Waehlhilfe.App.Tests/packages.lock.json new file mode 100644 index 0000000..25d5940 --- /dev/null +++ b/tests/Waehlhilfe.App.Tests/packages.lock.json @@ -0,0 +1,545 @@ +{ + "version": 2, + "dependencies": { + "net10.0": { + "Avalonia.Headless.XUnit": { + "type": "Direct", + "requested": "[12.1.4, )", + "resolved": "12.1.4", + "contentHash": "TaulqNjkGYgHOOCHVfUZMrE3mcbitiUQ65FYC/oMwqHz23gWmzim3Pei2/KsLfjYfvis0iEAulswvm606MZNXg==", + "dependencies": { + "Avalonia.Headless": "12.1.4", + "xunit.v3.extensibility.core": "3.2.2" + } + }, + "Avalonia.Skia": { + "type": "Direct", + "requested": "[12.1.4, )", + "resolved": "12.1.4", + "contentHash": "BA6B1Up9AcX4JmnskD6FyxF+ZEowXDhGvzw1lG+Xx6sQO0VyOE2yDoAmD/S2EsYZUukPfRUJmIyjeM//WdZAxA==", + "dependencies": { + "Avalonia": "12.1.4", + "HarfBuzzSharp": "8.3.1.3", + "HarfBuzzSharp.NativeAssets.Linux": "8.3.1.3", + "HarfBuzzSharp.NativeAssets.WebAssembly": "8.3.1.3", + "SkiaSharp": "3.119.4", + "SkiaSharp.NativeAssets.Linux": "3.119.4", + "SkiaSharp.NativeAssets.WebAssembly": "3.119.4" + } + }, + "coverlet.collector": { + "type": "Direct", + "requested": "[10.0.1, )", + "resolved": "10.0.1", + "contentHash": "27jXSV/0DbVqF5jDrAxuQFZ9oaz6gmG03p8ttxAFk+X0M4woFYj7MoWDLCna5EGLb0CE6OE7X6ZH3Wt5smTtaA==" + }, + "Microsoft.NET.Test.Sdk": { + "type": "Direct", + "requested": "[18.9.0, )", + "resolved": "18.9.0", + "contentHash": "xIzVXa/VpKXqDWzyC/5Hw8JbFY5u9k3Jc53CpcjBiOXvkQGio484LD9FNwOiGUSMDcYL3Rcw9sNgGi5WrswlPQ==", + "dependencies": { + "Microsoft.CodeCoverage": "18.9.0", + "Microsoft.TestPlatform.TestHost": "18.9.0" + } + }, + "StyleCop.Analyzers": { + "type": "Direct", + "requested": "[1.2.0-beta.556, )", + "resolved": "1.2.0-beta.556", + "contentHash": "llRPgmA1fhC0I0QyFLEcjvtM2239QzKr/tcnbsjArLMJxJlu0AA5G7Fft0OI30pHF3MW63Gf4aSSsjc5m82J1Q==", + "dependencies": { + "StyleCop.Analyzers.Unstable": "1.2.0.556" + } + }, + "xunit.runner.visualstudio": { + "type": "Direct", + "requested": "[3.1.5, )", + "resolved": "3.1.5", + "contentHash": "tKi7dSTwP4m5m9eXPM2Ime4Kn7xNf4x4zT9sdLO/G4hZVnQCRiMTWoSZqI/pYTVeI27oPPqHBKYI/DjJ9GsYgA==" + }, + "xunit.v3": { + "type": "Direct", + "requested": "[3.2.2, )", + "resolved": "3.2.2", + "contentHash": "L+4/4y0Uqcg8/d6hfnxhnwh4j9FaeULvefTwrk30rr1o4n/vdPfyUQ8k0yzH8VJx7bmFEkDdcRfbtbjEHlaYcA==", + "dependencies": { + "xunit.v3.mtp-v1": "[3.2.2]" + } + }, + "Avalonia.Angle.Windows.Natives": { + "type": "Transitive", + "resolved": "2.1.27548.20260419", + "contentHash": "l17nI3XVDN3oMnpjf2pnmJg0YTwK4m6NLsn/itAjDMdObTFxN77D5F1M9sRMSfViSY3KKcse1ROczwgoWLJsnA==" + }, + "Avalonia.BuildServices": { + "type": "Transitive", + "resolved": "11.3.2", + "contentHash": "qHDToxto1e3hci5YqbG9n0Ty8mlp3zBUN5wT66wKqaDVzXyQ0do3EnRILd4Ke9jpvsktaPpgE0YjEk7hornryQ==" + }, + "Avalonia.FreeDesktop": { + "type": "Transitive", + "resolved": "12.1.4", + "contentHash": "EDM2mqO+eU7/0gLrIyObkt/q6DiBRbGSbzZ72J87K2JHTYEXtOT/quOpWv6bOKsDQGBPBkjI+s0OwFUxPmCP2A==", + "dependencies": { + "Avalonia": "12.1.4", + "Tmds.DBus.Protocol": "0.94.1" + } + }, + "Avalonia.FreeDesktop.AtSpi": { + "type": "Transitive", + "resolved": "12.1.4", + "contentHash": "ulmTyv+D8euk4n4qFXTP9vyScNbRz+/SuMrdDeoGFLQW00Me1MGA1vBbaiDcdp8VgyfoeRDlq7tQGtwWOf8ZJg==", + "dependencies": { + "Avalonia": "12.1.4" + } + }, + "Avalonia.HarfBuzz": { + "type": "Transitive", + "resolved": "12.1.4", + "contentHash": "PxaJL9P/Zn6w89kLokuLcWDnj+w4erpfp57SiDN4JhX4NI2qPLJEmxgogTwyXjCUE8vq7Jg7kjH/z5D2jeGAhA==", + "dependencies": { + "Avalonia": "12.1.4", + "HarfBuzzSharp": "8.3.1.3", + "HarfBuzzSharp.NativeAssets.Linux": "8.3.1.3", + "HarfBuzzSharp.NativeAssets.WebAssembly": "8.3.1.3" + } + }, + "Avalonia.Headless": { + "type": "Transitive", + "resolved": "12.1.4", + "contentHash": "XsVJaOc2OXDAMJ66eSnclm3YvfuVdiPay0zJUP0+fqoGoFv4XgPxvM2pMbwwt5VRVDyTSHHDpT0YGdg61ZCk/g==", + "dependencies": { + "Avalonia": "12.1.4", + "Avalonia.Fonts.Inter": "12.1.4", + "Avalonia.HarfBuzz": "12.1.4" + } + }, + "Avalonia.Native": { + "type": "Transitive", + "resolved": "12.1.4", + "contentHash": "to73yCbFWzRNs3gyuBG2QkRsrpjnGrEVwkhtAsJLbPAKFjP/M0YDeb4MPMN3wGlpwCFdz9L8R8iAivyNet5+5g==", + "dependencies": { + "Avalonia": "12.1.4" + } + }, + "Avalonia.Remote.Protocol": { + "type": "Transitive", + "resolved": "12.1.4", + "contentHash": "9ajC+Ff+U9S21JJKGbJgnwp9fY+zwJG+bSEC//o/vJU2M6IEMRGp+D1+AUoqTR79FAA/iDYgf4f4EF4PZKhZsg==" + }, + "Avalonia.Win32": { + "type": "Transitive", + "resolved": "12.1.4", + "contentHash": "N/Ra73KLQBoQOcnpROWdCA49vCFij8MSyU7MFv8JWMxcQvkG98K19/hmdcyiqB/B1sBahyZuHgIsoO8ryajC0g==", + "dependencies": { + "Avalonia": "12.1.4", + "Avalonia.Angle.Windows.Natives": "2.1.27548.20260419" + } + }, + "Avalonia.X11": { + "type": "Transitive", + "resolved": "12.1.4", + "contentHash": "LMlL3GGN7l7VfdowNf4hz/zyZQeMvYe/HFphoobbq4o1C1thZRSC3dxfRlQxe2M259f18dXveEWduyZLycXCJg==", + "dependencies": { + "Avalonia": "12.1.4", + "Avalonia.FreeDesktop": "12.1.4", + "Avalonia.FreeDesktop.AtSpi": "12.1.4", + "Avalonia.Skia": "12.1.4" + } + }, + "HarfBuzzSharp": { + "type": "Transitive", + "resolved": "8.3.1.3", + "contentHash": "NGZ2+ZVNPM+NdHB/asW0/ykWngyHWwcqjrbN2nDeH1B/aptPGlCUl8wkQ2cSJxw5fdWgdmIPmNuTPWpLwNVXWg==", + "dependencies": { + "HarfBuzzSharp.NativeAssets.Win32": "8.3.1.3", + "HarfBuzzSharp.NativeAssets.macOS": "8.3.1.3" + } + }, + "HarfBuzzSharp.NativeAssets.Linux": { + "type": "Transitive", + "resolved": "8.3.1.3", + "contentHash": "RI6A1LgmooU30+4QIyFt5rmBCzP0VzTR+587IJSGvYIsHHWlahFufihYxtraLfsIhW7I8dn6+xX+DZGygOPKWQ==" + }, + "HarfBuzzSharp.NativeAssets.macOS": { + "type": "Transitive", + "resolved": "8.3.1.3", + "contentHash": "KPTq0xnslkI6nAo0jh3ptcQPJvZZr7MWYXa2jUe4SnHc9q+JlHElmNXp0sfFoiTgoCX7WOYpYsurypuH9Gehxw==" + }, + "HarfBuzzSharp.NativeAssets.WebAssembly": { + "type": "Transitive", + "resolved": "8.3.1.3", + "contentHash": "w2QfdNm9Uz/sUa0B5D+OnVQhyq3G/fBq6ibQMdWBlQqqwh0g0/5j3RFvYqZAmRZ5+RzvjVe8o8SFFnWYUSkuxA==" + }, + "HarfBuzzSharp.NativeAssets.Win32": { + "type": "Transitive", + "resolved": "8.3.1.3", + "contentHash": "bx8CE8Js+XGX8PUxAHCBDEORt5aaBYtMN4Hr9QFs57Xithh6yjUyYqksizH6eRDhJkwsGI+SXWmPmMm8lZC9Pw==" + }, + "MicroCom.Runtime": { + "type": "Transitive", + "resolved": "0.11.6", + "contentHash": "NdNWGDiZ6eS/Mf/9+QHR91cj1K7Hy+PX9yrHI/zM7xFYuj9IWT2uxtB6sCHjrnxAeLV9fut1R6zHDUGKX6f9lQ==" + }, + "Microsoft.ApplicationInsights": { + "type": "Transitive", + "resolved": "2.23.0", + "contentHash": "nWArUZTdU7iqZLycLKWe0TDms48KKGE6pONH2terYNa8REXiqixrMOkf1sk5DHGMaUTqONU2YkS4SAXBhLStgw==" + }, + "Microsoft.Bcl.AsyncInterfaces": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg==" + }, + "Microsoft.CodeCoverage": { + "type": "Transitive", + "resolved": "18.9.0", + "contentHash": "MtegCIKGuG0r/LCdIjoR1HgzCGIUBhR3aNdbtQpts5vMXQuqBDZ2Jsd2uFKoHFM2XrQV6ZrDf3F5oLi3SLTp8w==" + }, + "Microsoft.Testing.Extensions.Telemetry": { + "type": "Transitive", + "resolved": "1.9.1", + "contentHash": "No5AudZMmSb+uNXjlgL2y3/stHD2IT4uxqc5yHwkE+/nNux9jbKcaJMvcp9SwgP4DVD8L9/P3OUz8mmmcvEIdQ==", + "dependencies": { + "Microsoft.ApplicationInsights": "2.23.0", + "Microsoft.Testing.Platform": "1.9.1" + } + }, + "Microsoft.Testing.Extensions.TrxReport.Abstractions": { + "type": "Transitive", + "resolved": "1.9.1", + "contentHash": "AL46Xe1WBi85Ntd4mNPvat5ZSsZ2uejiVqoKCypr8J3wK0elA5xJ3AN4G/Q4GIwzUFnggZoH/DBjnr9J18IO/g==", + "dependencies": { + "Microsoft.Testing.Platform": "1.9.1" + } + }, + "Microsoft.Testing.Platform": { + "type": "Transitive", + "resolved": "1.9.1", + "contentHash": "QafNtNSmEI0zazdebnsIkDKmFtTSpmx/5PLOjURWwozcPb3tvRxzosQSL8xwYNM1iPhhKiBksXZyRSE2COisrA==" + }, + "Microsoft.Testing.Platform.MSBuild": { + "type": "Transitive", + "resolved": "1.9.1", + "contentHash": "oTUtyR4X/s9ytuiNA29FGsNCCH0rNmY5Wdm14NCKLjTM1cT9edVSlA+rGS/mVmusPqcP0l/x9qOnMXg16v87RQ==", + "dependencies": { + "Microsoft.Testing.Platform": "1.9.1" + } + }, + "Microsoft.TestPlatform.ObjectModel": { + "type": "Transitive", + "resolved": "18.9.0", + "contentHash": "Fz/qXC52VXXopzHj7v2reCKcCqSxkTDCkEDfkNAH0vni/7qK/KLMiEYtRmnUanxO2F2g2zZZ60qCpxF0AF7URA==" + }, + "Microsoft.TestPlatform.TestHost": { + "type": "Transitive", + "resolved": "18.9.0", + "contentHash": "Oq+Pma/J86aZL72t71bcESvDszDsTjUfl6PIsuDdPoKTHZfNMhKamCfLD5fKx51W/u0KozXtJo2/3fnt0sgPxg==", + "dependencies": { + "Microsoft.TestPlatform.ObjectModel": "18.9.0" + } + }, + "Microsoft.Win32.Registry": { + "type": "Transitive", + "resolved": "5.0.0", + "contentHash": "dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==" + }, + "runtime.android-arm.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "gLv34pCoVW0YGWV0IES5GTHp2pva7hWXfSiKAsdtCmK2RE31IAOsPrES9+QS2ZgwXm3WxL0QjepUyrzCtgsQOw==" + }, + "runtime.android-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "76bkqy+AuJgE8KESzFUQPW3CpildWVXf07IGDZze5NZNCCZV2kz1fUMkWn/tRxXs6tm7sErq2bcrjfydpErXPA==" + }, + "runtime.android-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "qcGm46NBd0RAClo/crhqgRFzrNYV9TUSrAz35zJxTkNMCaqN5Wwm4BwcHecQe0AoXaN7G/twkEcxXPLQEpf/zw==" + }, + "runtime.android-x86.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "eLPDMeoCGDqAs3yuUAGO5bEnsuaY++gxyEHnxXaXW4tluUoPLijXQMlx2iHbjf8qN9a2buSmkQ7TNEinrb9uSA==" + }, + "runtime.linux-arm.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "C+0+w+lgBDKdsqrPQ9MD5xvRuoieJJq0jfc0LlAssg8fHj7dilNySdc0s8deRMrTUBvpIHZlCXhfz7R4XWnHOQ==" + }, + "runtime.linux-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "Lb5f7Qwi0U55Pz0t5j9MgwG5E7SWOcKRJjAB+Q09RTrSQ86o0QAVJCQRdqMsCB3IIbEVV4U2UHhn0vzwfjXFPA==" + }, + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "KitV8FoIw5R1MA1++RdLZ8kLqbLV0bPhZv86MkyvLWI/7DaD6sZ2I9+8Tb6PAaix6+Rmio7UZQTKpg1K/yextQ==" + }, + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "VMzjkxsSTRgoO9PbB7fKGn7ic+W6ZIHLyNwDKK+SykBLLyEJ8nj/m/sVfxb3TSCY5J9VO8iX4oWUpZ9DbNhABg==" + }, + "runtime.linux-musl-arm.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "f5hwBxC3v57d8nTxtiwjZiT6Ji+DkXtgKCBP4o5RTxiz+l+nsYELKJnPGM0vvRI63YKohGo3k0C9l1qYW6Xc/g==" + }, + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "bHr0QgQ+QUwqkMbj2Sg+/8zefCcRHke/GYug9OaEyjT7PUq0vBuruUkTepu5vHyTL+Hfw18rVCocEhmMm+nZzg==" + }, + "runtime.linux-musl-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "gb+SbdESVUpRmDxmtNU5hCQzBZ12wP7XVbTzqpSi2z0+Zms9J+shz1aL4/FTv+/3lOGcMmqQxfFBijS7rAMtYA==" + }, + "runtime.linux-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "yKoFxb8LQDBuAFyxNggJ9uhVuEDoInRpgAUV4zWo+WEfvjbDvV5r15fyaRqjWDcKo9uKnmGzECYcQBTpB6hTRw==" + }, + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "xxJRQVP1RAeDGe8eQRyceb0mc+T6cdFPK0XlRrH4QyCHDP2lBnmmlpNvf4bQva9CbsCIYCgFOvfb91NWbCNMEg==" + }, + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "tmklOnnC1GVqZyqjVv20JLuH8OW0vGQl/V2mnGbZKTVHBsmxFYC/Lf+gMD1fzfL6Xi6Mm7QsxumbvfLT9hvd1w==" + }, + "runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "VAUplmK3hS1jq/WxB7ZHsb6ij+6C9CrkxL9jjbq74k++5pYGGkLkuK3h72y3FO8FrcdkBbJGBiHK4oFsepdH/w==", + "dependencies": { + "runtime.android-arm.runtime.native.System.IO.Ports": "10.0.14", + "runtime.android-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.android-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.android-x86.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-arm.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-musl-arm.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-musl-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.osx-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.osx-x64.runtime.native.System.IO.Ports": "10.0.14" + } + }, + "runtime.osx-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "smqBl+Pt3WMZYkhCokYCS4UgexGe08afgLzleTBCG6cyKMfVhQSieJf836PT51ULZMLluXzI6SGdPamxxH0lZw==" + }, + "runtime.osx-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "g8byPDtP2LDNkHcnyuhrJpS16Y09jppi71t7vD2t5B3Hqcz0YrZJMLBDWN9AsJVW50yZ54iM70YSPOC6+3X0IA==" + }, + "SkiaSharp": { + "type": "Transitive", + "resolved": "3.119.4", + "contentHash": "53NOSUZ1Us+91Sm0uCkIivh/k7jOowRErZT2sIWwPFN9mLUvdxnE6rS4sWo4255+Rd2MWUSF+j0NMZHD6Cke+Q==", + "dependencies": { + "SkiaSharp.NativeAssets.Win32": "3.119.4", + "SkiaSharp.NativeAssets.macOS": "3.119.4" + } + }, + "SkiaSharp.NativeAssets.Linux": { + "type": "Transitive", + "resolved": "3.119.4", + "contentHash": "UAyVzbqNfZsZbKbzj68zXLyUyF/SbTKmzTfOO6qDu++dtIUMMTzPBe8oOuzU/DiewpfKoUUlOSsJmqWc6blxBw==" + }, + "SkiaSharp.NativeAssets.macOS": { + "type": "Transitive", + "resolved": "3.119.4", + "contentHash": "fgBOWEqbY012x7gMfJU4ezgz6dfhJb30Z6YdW35h85Zoe39+a8YNbAAwL29ihPfWoppg5AjvyKNzD1oCvlqWwA==" + }, + "SkiaSharp.NativeAssets.WebAssembly": { + "type": "Transitive", + "resolved": "3.119.4", + "contentHash": "S1HOxtBbD4bYDtA2e9WH5TX+lxqRrTPvKjrjttRhxnHNNu7YY8VFo/LeCP7tNqoTA6PV+8vsvNbmRUEC2ip8RQ==" + }, + "SkiaSharp.NativeAssets.Win32": { + "type": "Transitive", + "resolved": "3.119.4", + "contentHash": "XOpbx/4CReO2wYsq2s6rbvdauc6dntG4Zv499sHGTJ87bwZaFXszFkwql3+FIZMc8kUPeaj3Mx2ezIJmo8a1Kg==" + }, + "StyleCop.Analyzers.Unstable": { + "type": "Transitive", + "resolved": "1.2.0.556", + "contentHash": "zvn9Mqs/ox/83cpYPignI8hJEM2A93s2HkHs8HYMOAQW0PkampyoErAiIyKxgTLqbbad29HX/shv/6LGSjPJNQ==" + }, + "Tmds.DBus.Protocol": { + "type": "Transitive", + "resolved": "0.94.1", + "contentHash": "11YMr7FnAbL83bQmVxlhbIKHvSLxjO81D12Ej0QMSGXMDTxNA9MTOa4MQxx43nv5el/efuPHwzyrj6a5ha2gug==" + }, + "xunit.analyzers": { + "type": "Transitive", + "resolved": "1.27.0", + "contentHash": "y/pxIQaLvk/kxAoDkZW9GnHLCEqzwl5TW0vtX3pweyQpjizB9y3DXhb9pkw2dGeUqhLjsxvvJM1k89JowU6z3g==" + }, + "xunit.v3.assert": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "BPciBghgEEaJN/JG00QfCYDfEfnLgQhfnYEy+j1izoeHVNYd5+3Wm8GJ6JgYysOhpBPYGE+sbf75JtrRc7jrdA==" + }, + "xunit.v3.common": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "Hj775PEH6GTbbg0wfKRvG2hNspDCvTH9irXhH4qIWgdrOSV1sQlqPie+DOvFeigsFg2fxSM3ZAaaCDQs+KreFA==", + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "6.0.0" + } + }, + "xunit.v3.core.mtp-v1": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "Ga5aA2Ca9ktz+5k3g5ukzwfexwoqwDUpV6z7atSEUvqtd6JuybU1XopHqg1oFd78QdTfZgZE9h5sHpO4qYIi5w==", + "dependencies": { + "Microsoft.Testing.Extensions.Telemetry": "1.9.1", + "Microsoft.Testing.Extensions.TrxReport.Abstractions": "1.9.1", + "Microsoft.Testing.Platform": "1.9.1", + "Microsoft.Testing.Platform.MSBuild": "1.9.1", + "xunit.v3.extensibility.core": "[3.2.2]", + "xunit.v3.runner.inproc.console": "[3.2.2]" + } + }, + "xunit.v3.extensibility.core": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "srY8z/oMPvh/t8axtO2DwrHajhFMH7tnqKildvYrVQIfICi8fOn3yIBWkVPAcrKmHMwvXRJ/XsQM3VMR6DOYfQ==", + "dependencies": { + "xunit.v3.common": "[3.2.2]" + } + }, + "xunit.v3.mtp-v1": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "O41aAzYKBT5PWqATa1oEWVNCyEUypFQ4va6K0kz37dduV3EKzXNMaV2UnEhufzU4Cce1I33gg0oldS8tGL5I0A==", + "dependencies": { + "xunit.analyzers": "1.27.0", + "xunit.v3.assert": "[3.2.2]", + "xunit.v3.core.mtp-v1": "[3.2.2]" + } + }, + "xunit.v3.runner.common": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "/hkHkQCzGrugelOAehprm7RIWdsUFVmIVaD6jDH/8DNGCymTlKKPTbGokD5czbAfqfex47mBP0sb0zbHYwrO/g==", + "dependencies": { + "Microsoft.Win32.Registry": "[5.0.0]", + "xunit.v3.common": "[3.2.2]" + } + }, + "xunit.v3.runner.inproc.console": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "ulWOdSvCk+bPXijJZ73bth9NyoOHsAs1ZOvamYbCkD4DNLX/Bd29Ve2ZNUwBbK0MqfIYWXHZViy/HKrdEC/izw==", + "dependencies": { + "xunit.v3.extensibility.core": "[3.2.2]", + "xunit.v3.runner.common": "[3.2.2]" + } + }, + "Waehlhilfe": { + "type": "Project", + "dependencies": { + "Avalonia": "[12.1.4, )", + "Avalonia.Desktop": "[12.1.4, )", + "Avalonia.Fonts.Inter": "[12.1.4, )", + "Avalonia.Themes.Fluent": "[12.1.4, )", + "Waehlhilfe.AppLogic": "[1.0.0, )" + } + }, + "waehlhilfe.applogic": { + "type": "Project", + "dependencies": { + "CommunityToolkit.Mvvm": "[8.4.2, )", + "Waehlhilfe.Domain": "[1.0.0, )", + "Waehlhilfe.Modem": "[1.0.0, )" + } + }, + "waehlhilfe.domain": { + "type": "Project" + }, + "waehlhilfe.modem": { + "type": "Project", + "dependencies": { + "System.IO.Ports": "[10.0.14, )", + "Waehlhilfe.Domain": "[1.0.0, )" + } + }, + "Avalonia": { + "type": "CentralTransitive", + "requested": "[12.1.4, )", + "resolved": "12.1.4", + "contentHash": "Vlz+ebY0PBVsTFXAPIpM+7ySgezMtyJ3GMMGmccHwxXXjgLF2x5+NMwO4AqrdM/lrUPZremnYNO6MSg1r1vuxw==", + "dependencies": { + "Avalonia.BuildServices": "11.3.2", + "Avalonia.Remote.Protocol": "12.1.4", + "MicroCom.Runtime": "0.11.6" + } + }, + "Avalonia.Desktop": { + "type": "CentralTransitive", + "requested": "[12.1.4, )", + "resolved": "12.1.4", + "contentHash": "2vrr0Ao77r3BoZSZ5BTg6rEb8N0987hw5H6lxtZkR8tpagiOTaL9a31Pi02jJha8es7Y+jJR8Qwis7PMQRjytg==", + "dependencies": { + "Avalonia": "12.1.4", + "Avalonia.HarfBuzz": "12.1.4", + "Avalonia.Native": "12.1.4", + "Avalonia.Skia": "12.1.4", + "Avalonia.Win32": "12.1.4", + "Avalonia.X11": "12.1.4" + } + }, + "Avalonia.Fonts.Inter": { + "type": "CentralTransitive", + "requested": "[12.1.4, )", + "resolved": "12.1.4", + "contentHash": "PqzIALObVJ3ZUpfYDkoNNkijaVBUGVrHqAyWPkE39aJrPukbMv49aGMhS+c5HiW1s+/iuo3fW+ISOk34GOc0iw==", + "dependencies": { + "Avalonia": "12.1.4" + } + }, + "Avalonia.Themes.Fluent": { + "type": "CentralTransitive", + "requested": "[12.1.4, )", + "resolved": "12.1.4", + "contentHash": "vx7P4as07WLQqA2mhMy4iBsqhkWEGwZI7g9Rd2DlJgz3uKS2tSvY6nZqHq3sWMFDBYBT65jkTsetPrgV8oprsQ==", + "dependencies": { + "Avalonia": "12.1.4" + } + }, + "CommunityToolkit.Mvvm": { + "type": "CentralTransitive", + "requested": "[8.4.2, )", + "resolved": "8.4.2", + "contentHash": "WadCzGEc2U+3e20avRLng4qNtt4zoOGWrdUISqJWrHe3/FSnrYjuM5Sb4yQb09LhkBXrrI4Zt3dLKgRMbItsrg==" + }, + "System.IO.Ports": { + "type": "CentralTransitive", + "requested": "[10.0.14, )", + "resolved": "10.0.14", + "contentHash": "70Jq6HRBQT0iMM/D8hVTo8nYLnDFf7xluPPn2S+brVRc8uExUUYh3lGO4nzsK2nc4nIVH3pVIphI0Jm8zZZ4jQ==", + "dependencies": { + "runtime.native.System.IO.Ports": "10.0.14" + } + } + } + } +} \ No newline at end of file diff --git a/tests/Waehlhilfe.AppLogic.Tests/Waehlhilfe.AppLogic.Tests.csproj b/tests/Waehlhilfe.AppLogic.Tests/Waehlhilfe.AppLogic.Tests.csproj new file mode 100644 index 0000000..c7a5f14 --- /dev/null +++ b/tests/Waehlhilfe.AppLogic.Tests/Waehlhilfe.AppLogic.Tests.csproj @@ -0,0 +1,24 @@ + + + + false + true + + + + + + + + + + + + + + + + + + + diff --git a/tests/Waehlhilfe.AppLogic.Tests/packages.lock.json b/tests/Waehlhilfe.AppLogic.Tests/packages.lock.json new file mode 100644 index 0000000..b421a28 --- /dev/null +++ b/tests/Waehlhilfe.AppLogic.Tests/packages.lock.json @@ -0,0 +1,324 @@ +{ + "version": 2, + "dependencies": { + "net10.0": { + "coverlet.collector": { + "type": "Direct", + "requested": "[10.0.1, )", + "resolved": "10.0.1", + "contentHash": "27jXSV/0DbVqF5jDrAxuQFZ9oaz6gmG03p8ttxAFk+X0M4woFYj7MoWDLCna5EGLb0CE6OE7X6ZH3Wt5smTtaA==" + }, + "Microsoft.Extensions.TimeProvider.Testing": { + "type": "Direct", + "requested": "[10.11.0, )", + "resolved": "10.11.0", + "contentHash": "DTivKZ2Du0dJideTTa6vPj/eXKNRu+RxtjBX7NOOUXHBtHx1ehbE+lM+j3/5M3wU6BqzcZqEEyR4+FnPKs2rTA==" + }, + "Microsoft.NET.Test.Sdk": { + "type": "Direct", + "requested": "[18.9.0, )", + "resolved": "18.9.0", + "contentHash": "xIzVXa/VpKXqDWzyC/5Hw8JbFY5u9k3Jc53CpcjBiOXvkQGio484LD9FNwOiGUSMDcYL3Rcw9sNgGi5WrswlPQ==", + "dependencies": { + "Microsoft.CodeCoverage": "18.9.0", + "Microsoft.TestPlatform.TestHost": "18.9.0" + } + }, + "StyleCop.Analyzers": { + "type": "Direct", + "requested": "[1.2.0-beta.556, )", + "resolved": "1.2.0-beta.556", + "contentHash": "llRPgmA1fhC0I0QyFLEcjvtM2239QzKr/tcnbsjArLMJxJlu0AA5G7Fft0OI30pHF3MW63Gf4aSSsjc5m82J1Q==", + "dependencies": { + "StyleCop.Analyzers.Unstable": "1.2.0.556" + } + }, + "xunit.runner.visualstudio": { + "type": "Direct", + "requested": "[3.1.5, )", + "resolved": "3.1.5", + "contentHash": "tKi7dSTwP4m5m9eXPM2Ime4Kn7xNf4x4zT9sdLO/G4hZVnQCRiMTWoSZqI/pYTVeI27oPPqHBKYI/DjJ9GsYgA==" + }, + "xunit.v3": { + "type": "Direct", + "requested": "[3.2.2, )", + "resolved": "3.2.2", + "contentHash": "L+4/4y0Uqcg8/d6hfnxhnwh4j9FaeULvefTwrk30rr1o4n/vdPfyUQ8k0yzH8VJx7bmFEkDdcRfbtbjEHlaYcA==", + "dependencies": { + "xunit.v3.mtp-v1": "[3.2.2]" + } + }, + "Microsoft.ApplicationInsights": { + "type": "Transitive", + "resolved": "2.23.0", + "contentHash": "nWArUZTdU7iqZLycLKWe0TDms48KKGE6pONH2terYNa8REXiqixrMOkf1sk5DHGMaUTqONU2YkS4SAXBhLStgw==" + }, + "Microsoft.Bcl.AsyncInterfaces": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg==" + }, + "Microsoft.CodeCoverage": { + "type": "Transitive", + "resolved": "18.9.0", + "contentHash": "MtegCIKGuG0r/LCdIjoR1HgzCGIUBhR3aNdbtQpts5vMXQuqBDZ2Jsd2uFKoHFM2XrQV6ZrDf3F5oLi3SLTp8w==" + }, + "Microsoft.Testing.Extensions.Telemetry": { + "type": "Transitive", + "resolved": "1.9.1", + "contentHash": "No5AudZMmSb+uNXjlgL2y3/stHD2IT4uxqc5yHwkE+/nNux9jbKcaJMvcp9SwgP4DVD8L9/P3OUz8mmmcvEIdQ==", + "dependencies": { + "Microsoft.ApplicationInsights": "2.23.0", + "Microsoft.Testing.Platform": "1.9.1" + } + }, + "Microsoft.Testing.Extensions.TrxReport.Abstractions": { + "type": "Transitive", + "resolved": "1.9.1", + "contentHash": "AL46Xe1WBi85Ntd4mNPvat5ZSsZ2uejiVqoKCypr8J3wK0elA5xJ3AN4G/Q4GIwzUFnggZoH/DBjnr9J18IO/g==", + "dependencies": { + "Microsoft.Testing.Platform": "1.9.1" + } + }, + "Microsoft.Testing.Platform": { + "type": "Transitive", + "resolved": "1.9.1", + "contentHash": "QafNtNSmEI0zazdebnsIkDKmFtTSpmx/5PLOjURWwozcPb3tvRxzosQSL8xwYNM1iPhhKiBksXZyRSE2COisrA==" + }, + "Microsoft.Testing.Platform.MSBuild": { + "type": "Transitive", + "resolved": "1.9.1", + "contentHash": "oTUtyR4X/s9ytuiNA29FGsNCCH0rNmY5Wdm14NCKLjTM1cT9edVSlA+rGS/mVmusPqcP0l/x9qOnMXg16v87RQ==", + "dependencies": { + "Microsoft.Testing.Platform": "1.9.1" + } + }, + "Microsoft.TestPlatform.ObjectModel": { + "type": "Transitive", + "resolved": "18.9.0", + "contentHash": "Fz/qXC52VXXopzHj7v2reCKcCqSxkTDCkEDfkNAH0vni/7qK/KLMiEYtRmnUanxO2F2g2zZZ60qCpxF0AF7URA==" + }, + "Microsoft.TestPlatform.TestHost": { + "type": "Transitive", + "resolved": "18.9.0", + "contentHash": "Oq+Pma/J86aZL72t71bcESvDszDsTjUfl6PIsuDdPoKTHZfNMhKamCfLD5fKx51W/u0KozXtJo2/3fnt0sgPxg==", + "dependencies": { + "Microsoft.TestPlatform.ObjectModel": "18.9.0" + } + }, + "Microsoft.Win32.Registry": { + "type": "Transitive", + "resolved": "5.0.0", + "contentHash": "dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==" + }, + "runtime.android-arm.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "gLv34pCoVW0YGWV0IES5GTHp2pva7hWXfSiKAsdtCmK2RE31IAOsPrES9+QS2ZgwXm3WxL0QjepUyrzCtgsQOw==" + }, + "runtime.android-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "76bkqy+AuJgE8KESzFUQPW3CpildWVXf07IGDZze5NZNCCZV2kz1fUMkWn/tRxXs6tm7sErq2bcrjfydpErXPA==" + }, + "runtime.android-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "qcGm46NBd0RAClo/crhqgRFzrNYV9TUSrAz35zJxTkNMCaqN5Wwm4BwcHecQe0AoXaN7G/twkEcxXPLQEpf/zw==" + }, + "runtime.android-x86.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "eLPDMeoCGDqAs3yuUAGO5bEnsuaY++gxyEHnxXaXW4tluUoPLijXQMlx2iHbjf8qN9a2buSmkQ7TNEinrb9uSA==" + }, + "runtime.linux-arm.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "C+0+w+lgBDKdsqrPQ9MD5xvRuoieJJq0jfc0LlAssg8fHj7dilNySdc0s8deRMrTUBvpIHZlCXhfz7R4XWnHOQ==" + }, + "runtime.linux-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "Lb5f7Qwi0U55Pz0t5j9MgwG5E7SWOcKRJjAB+Q09RTrSQ86o0QAVJCQRdqMsCB3IIbEVV4U2UHhn0vzwfjXFPA==" + }, + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "KitV8FoIw5R1MA1++RdLZ8kLqbLV0bPhZv86MkyvLWI/7DaD6sZ2I9+8Tb6PAaix6+Rmio7UZQTKpg1K/yextQ==" + }, + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "VMzjkxsSTRgoO9PbB7fKGn7ic+W6ZIHLyNwDKK+SykBLLyEJ8nj/m/sVfxb3TSCY5J9VO8iX4oWUpZ9DbNhABg==" + }, + "runtime.linux-musl-arm.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "f5hwBxC3v57d8nTxtiwjZiT6Ji+DkXtgKCBP4o5RTxiz+l+nsYELKJnPGM0vvRI63YKohGo3k0C9l1qYW6Xc/g==" + }, + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "bHr0QgQ+QUwqkMbj2Sg+/8zefCcRHke/GYug9OaEyjT7PUq0vBuruUkTepu5vHyTL+Hfw18rVCocEhmMm+nZzg==" + }, + "runtime.linux-musl-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "gb+SbdESVUpRmDxmtNU5hCQzBZ12wP7XVbTzqpSi2z0+Zms9J+shz1aL4/FTv+/3lOGcMmqQxfFBijS7rAMtYA==" + }, + "runtime.linux-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "yKoFxb8LQDBuAFyxNggJ9uhVuEDoInRpgAUV4zWo+WEfvjbDvV5r15fyaRqjWDcKo9uKnmGzECYcQBTpB6hTRw==" + }, + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "xxJRQVP1RAeDGe8eQRyceb0mc+T6cdFPK0XlRrH4QyCHDP2lBnmmlpNvf4bQva9CbsCIYCgFOvfb91NWbCNMEg==" + }, + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "tmklOnnC1GVqZyqjVv20JLuH8OW0vGQl/V2mnGbZKTVHBsmxFYC/Lf+gMD1fzfL6Xi6Mm7QsxumbvfLT9hvd1w==" + }, + "runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "VAUplmK3hS1jq/WxB7ZHsb6ij+6C9CrkxL9jjbq74k++5pYGGkLkuK3h72y3FO8FrcdkBbJGBiHK4oFsepdH/w==", + "dependencies": { + "runtime.android-arm.runtime.native.System.IO.Ports": "10.0.14", + "runtime.android-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.android-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.android-x86.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-arm.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-musl-arm.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-musl-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.osx-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.osx-x64.runtime.native.System.IO.Ports": "10.0.14" + } + }, + "runtime.osx-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "smqBl+Pt3WMZYkhCokYCS4UgexGe08afgLzleTBCG6cyKMfVhQSieJf836PT51ULZMLluXzI6SGdPamxxH0lZw==" + }, + "runtime.osx-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "g8byPDtP2LDNkHcnyuhrJpS16Y09jppi71t7vD2t5B3Hqcz0YrZJMLBDWN9AsJVW50yZ54iM70YSPOC6+3X0IA==" + }, + "StyleCop.Analyzers.Unstable": { + "type": "Transitive", + "resolved": "1.2.0.556", + "contentHash": "zvn9Mqs/ox/83cpYPignI8hJEM2A93s2HkHs8HYMOAQW0PkampyoErAiIyKxgTLqbbad29HX/shv/6LGSjPJNQ==" + }, + "xunit.analyzers": { + "type": "Transitive", + "resolved": "1.27.0", + "contentHash": "y/pxIQaLvk/kxAoDkZW9GnHLCEqzwl5TW0vtX3pweyQpjizB9y3DXhb9pkw2dGeUqhLjsxvvJM1k89JowU6z3g==" + }, + "xunit.v3.assert": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "BPciBghgEEaJN/JG00QfCYDfEfnLgQhfnYEy+j1izoeHVNYd5+3Wm8GJ6JgYysOhpBPYGE+sbf75JtrRc7jrdA==" + }, + "xunit.v3.common": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "Hj775PEH6GTbbg0wfKRvG2hNspDCvTH9irXhH4qIWgdrOSV1sQlqPie+DOvFeigsFg2fxSM3ZAaaCDQs+KreFA==", + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "6.0.0" + } + }, + "xunit.v3.core.mtp-v1": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "Ga5aA2Ca9ktz+5k3g5ukzwfexwoqwDUpV6z7atSEUvqtd6JuybU1XopHqg1oFd78QdTfZgZE9h5sHpO4qYIi5w==", + "dependencies": { + "Microsoft.Testing.Extensions.Telemetry": "1.9.1", + "Microsoft.Testing.Extensions.TrxReport.Abstractions": "1.9.1", + "Microsoft.Testing.Platform": "1.9.1", + "Microsoft.Testing.Platform.MSBuild": "1.9.1", + "xunit.v3.extensibility.core": "[3.2.2]", + "xunit.v3.runner.inproc.console": "[3.2.2]" + } + }, + "xunit.v3.extensibility.core": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "srY8z/oMPvh/t8axtO2DwrHajhFMH7tnqKildvYrVQIfICi8fOn3yIBWkVPAcrKmHMwvXRJ/XsQM3VMR6DOYfQ==", + "dependencies": { + "xunit.v3.common": "[3.2.2]" + } + }, + "xunit.v3.mtp-v1": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "O41aAzYKBT5PWqATa1oEWVNCyEUypFQ4va6K0kz37dduV3EKzXNMaV2UnEhufzU4Cce1I33gg0oldS8tGL5I0A==", + "dependencies": { + "xunit.analyzers": "1.27.0", + "xunit.v3.assert": "[3.2.2]", + "xunit.v3.core.mtp-v1": "[3.2.2]" + } + }, + "xunit.v3.runner.common": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "/hkHkQCzGrugelOAehprm7RIWdsUFVmIVaD6jDH/8DNGCymTlKKPTbGokD5czbAfqfex47mBP0sb0zbHYwrO/g==", + "dependencies": { + "Microsoft.Win32.Registry": "[5.0.0]", + "xunit.v3.common": "[3.2.2]" + } + }, + "xunit.v3.runner.inproc.console": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "ulWOdSvCk+bPXijJZ73bth9NyoOHsAs1ZOvamYbCkD4DNLX/Bd29Ve2ZNUwBbK0MqfIYWXHZViy/HKrdEC/izw==", + "dependencies": { + "xunit.v3.extensibility.core": "[3.2.2]", + "xunit.v3.runner.common": "[3.2.2]" + } + }, + "waehlhilfe.applogic": { + "type": "Project", + "dependencies": { + "CommunityToolkit.Mvvm": "[8.4.2, )", + "Waehlhilfe.Domain": "[1.0.0, )", + "Waehlhilfe.Modem": "[1.0.0, )" + } + }, + "waehlhilfe.domain": { + "type": "Project" + }, + "waehlhilfe.modem": { + "type": "Project", + "dependencies": { + "System.IO.Ports": "[10.0.14, )", + "Waehlhilfe.Domain": "[1.0.0, )" + } + }, + "CommunityToolkit.Mvvm": { + "type": "CentralTransitive", + "requested": "[8.4.2, )", + "resolved": "8.4.2", + "contentHash": "WadCzGEc2U+3e20avRLng4qNtt4zoOGWrdUISqJWrHe3/FSnrYjuM5Sb4yQb09LhkBXrrI4Zt3dLKgRMbItsrg==" + }, + "System.IO.Ports": { + "type": "CentralTransitive", + "requested": "[10.0.14, )", + "resolved": "10.0.14", + "contentHash": "70Jq6HRBQT0iMM/D8hVTo8nYLnDFf7xluPPn2S+brVRc8uExUUYh3lGO4nzsK2nc4nIVH3pVIphI0Jm8zZZ4jQ==", + "dependencies": { + "runtime.native.System.IO.Ports": "10.0.14" + } + } + } + } +} \ No newline at end of file diff --git a/tests/Waehlhilfe.Domain.Tests/Waehlhilfe.Domain.Tests.csproj b/tests/Waehlhilfe.Domain.Tests/Waehlhilfe.Domain.Tests.csproj new file mode 100644 index 0000000..514baaf --- /dev/null +++ b/tests/Waehlhilfe.Domain.Tests/Waehlhilfe.Domain.Tests.csproj @@ -0,0 +1,23 @@ + + + + false + true + + + + + + + + + + + + + + + + + + diff --git a/tests/Waehlhilfe.Domain.Tests/packages.lock.json b/tests/Waehlhilfe.Domain.Tests/packages.lock.json new file mode 100644 index 0000000..2fd615b --- /dev/null +++ b/tests/Waehlhilfe.Domain.Tests/packages.lock.json @@ -0,0 +1,185 @@ +{ + "version": 2, + "dependencies": { + "net10.0": { + "coverlet.collector": { + "type": "Direct", + "requested": "[10.0.1, )", + "resolved": "10.0.1", + "contentHash": "27jXSV/0DbVqF5jDrAxuQFZ9oaz6gmG03p8ttxAFk+X0M4woFYj7MoWDLCna5EGLb0CE6OE7X6ZH3Wt5smTtaA==" + }, + "Microsoft.NET.Test.Sdk": { + "type": "Direct", + "requested": "[18.9.0, )", + "resolved": "18.9.0", + "contentHash": "xIzVXa/VpKXqDWzyC/5Hw8JbFY5u9k3Jc53CpcjBiOXvkQGio484LD9FNwOiGUSMDcYL3Rcw9sNgGi5WrswlPQ==", + "dependencies": { + "Microsoft.CodeCoverage": "18.9.0", + "Microsoft.TestPlatform.TestHost": "18.9.0" + } + }, + "StyleCop.Analyzers": { + "type": "Direct", + "requested": "[1.2.0-beta.556, )", + "resolved": "1.2.0-beta.556", + "contentHash": "llRPgmA1fhC0I0QyFLEcjvtM2239QzKr/tcnbsjArLMJxJlu0AA5G7Fft0OI30pHF3MW63Gf4aSSsjc5m82J1Q==", + "dependencies": { + "StyleCop.Analyzers.Unstable": "1.2.0.556" + } + }, + "xunit.runner.visualstudio": { + "type": "Direct", + "requested": "[3.1.5, )", + "resolved": "3.1.5", + "contentHash": "tKi7dSTwP4m5m9eXPM2Ime4Kn7xNf4x4zT9sdLO/G4hZVnQCRiMTWoSZqI/pYTVeI27oPPqHBKYI/DjJ9GsYgA==" + }, + "xunit.v3": { + "type": "Direct", + "requested": "[3.2.2, )", + "resolved": "3.2.2", + "contentHash": "L+4/4y0Uqcg8/d6hfnxhnwh4j9FaeULvefTwrk30rr1o4n/vdPfyUQ8k0yzH8VJx7bmFEkDdcRfbtbjEHlaYcA==", + "dependencies": { + "xunit.v3.mtp-v1": "[3.2.2]" + } + }, + "Microsoft.ApplicationInsights": { + "type": "Transitive", + "resolved": "2.23.0", + "contentHash": "nWArUZTdU7iqZLycLKWe0TDms48KKGE6pONH2terYNa8REXiqixrMOkf1sk5DHGMaUTqONU2YkS4SAXBhLStgw==" + }, + "Microsoft.Bcl.AsyncInterfaces": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg==" + }, + "Microsoft.CodeCoverage": { + "type": "Transitive", + "resolved": "18.9.0", + "contentHash": "MtegCIKGuG0r/LCdIjoR1HgzCGIUBhR3aNdbtQpts5vMXQuqBDZ2Jsd2uFKoHFM2XrQV6ZrDf3F5oLi3SLTp8w==" + }, + "Microsoft.Testing.Extensions.Telemetry": { + "type": "Transitive", + "resolved": "1.9.1", + "contentHash": "No5AudZMmSb+uNXjlgL2y3/stHD2IT4uxqc5yHwkE+/nNux9jbKcaJMvcp9SwgP4DVD8L9/P3OUz8mmmcvEIdQ==", + "dependencies": { + "Microsoft.ApplicationInsights": "2.23.0", + "Microsoft.Testing.Platform": "1.9.1" + } + }, + "Microsoft.Testing.Extensions.TrxReport.Abstractions": { + "type": "Transitive", + "resolved": "1.9.1", + "contentHash": "AL46Xe1WBi85Ntd4mNPvat5ZSsZ2uejiVqoKCypr8J3wK0elA5xJ3AN4G/Q4GIwzUFnggZoH/DBjnr9J18IO/g==", + "dependencies": { + "Microsoft.Testing.Platform": "1.9.1" + } + }, + "Microsoft.Testing.Platform": { + "type": "Transitive", + "resolved": "1.9.1", + "contentHash": "QafNtNSmEI0zazdebnsIkDKmFtTSpmx/5PLOjURWwozcPb3tvRxzosQSL8xwYNM1iPhhKiBksXZyRSE2COisrA==" + }, + "Microsoft.Testing.Platform.MSBuild": { + "type": "Transitive", + "resolved": "1.9.1", + "contentHash": "oTUtyR4X/s9ytuiNA29FGsNCCH0rNmY5Wdm14NCKLjTM1cT9edVSlA+rGS/mVmusPqcP0l/x9qOnMXg16v87RQ==", + "dependencies": { + "Microsoft.Testing.Platform": "1.9.1" + } + }, + "Microsoft.TestPlatform.ObjectModel": { + "type": "Transitive", + "resolved": "18.9.0", + "contentHash": "Fz/qXC52VXXopzHj7v2reCKcCqSxkTDCkEDfkNAH0vni/7qK/KLMiEYtRmnUanxO2F2g2zZZ60qCpxF0AF7URA==" + }, + "Microsoft.TestPlatform.TestHost": { + "type": "Transitive", + "resolved": "18.9.0", + "contentHash": "Oq+Pma/J86aZL72t71bcESvDszDsTjUfl6PIsuDdPoKTHZfNMhKamCfLD5fKx51W/u0KozXtJo2/3fnt0sgPxg==", + "dependencies": { + "Microsoft.TestPlatform.ObjectModel": "18.9.0" + } + }, + "Microsoft.Win32.Registry": { + "type": "Transitive", + "resolved": "5.0.0", + "contentHash": "dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==" + }, + "StyleCop.Analyzers.Unstable": { + "type": "Transitive", + "resolved": "1.2.0.556", + "contentHash": "zvn9Mqs/ox/83cpYPignI8hJEM2A93s2HkHs8HYMOAQW0PkampyoErAiIyKxgTLqbbad29HX/shv/6LGSjPJNQ==" + }, + "xunit.analyzers": { + "type": "Transitive", + "resolved": "1.27.0", + "contentHash": "y/pxIQaLvk/kxAoDkZW9GnHLCEqzwl5TW0vtX3pweyQpjizB9y3DXhb9pkw2dGeUqhLjsxvvJM1k89JowU6z3g==" + }, + "xunit.v3.assert": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "BPciBghgEEaJN/JG00QfCYDfEfnLgQhfnYEy+j1izoeHVNYd5+3Wm8GJ6JgYysOhpBPYGE+sbf75JtrRc7jrdA==" + }, + "xunit.v3.common": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "Hj775PEH6GTbbg0wfKRvG2hNspDCvTH9irXhH4qIWgdrOSV1sQlqPie+DOvFeigsFg2fxSM3ZAaaCDQs+KreFA==", + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "6.0.0" + } + }, + "xunit.v3.core.mtp-v1": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "Ga5aA2Ca9ktz+5k3g5ukzwfexwoqwDUpV6z7atSEUvqtd6JuybU1XopHqg1oFd78QdTfZgZE9h5sHpO4qYIi5w==", + "dependencies": { + "Microsoft.Testing.Extensions.Telemetry": "1.9.1", + "Microsoft.Testing.Extensions.TrxReport.Abstractions": "1.9.1", + "Microsoft.Testing.Platform": "1.9.1", + "Microsoft.Testing.Platform.MSBuild": "1.9.1", + "xunit.v3.extensibility.core": "[3.2.2]", + "xunit.v3.runner.inproc.console": "[3.2.2]" + } + }, + "xunit.v3.extensibility.core": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "srY8z/oMPvh/t8axtO2DwrHajhFMH7tnqKildvYrVQIfICi8fOn3yIBWkVPAcrKmHMwvXRJ/XsQM3VMR6DOYfQ==", + "dependencies": { + "xunit.v3.common": "[3.2.2]" + } + }, + "xunit.v3.mtp-v1": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "O41aAzYKBT5PWqATa1oEWVNCyEUypFQ4va6K0kz37dduV3EKzXNMaV2UnEhufzU4Cce1I33gg0oldS8tGL5I0A==", + "dependencies": { + "xunit.analyzers": "1.27.0", + "xunit.v3.assert": "[3.2.2]", + "xunit.v3.core.mtp-v1": "[3.2.2]" + } + }, + "xunit.v3.runner.common": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "/hkHkQCzGrugelOAehprm7RIWdsUFVmIVaD6jDH/8DNGCymTlKKPTbGokD5czbAfqfex47mBP0sb0zbHYwrO/g==", + "dependencies": { + "Microsoft.Win32.Registry": "[5.0.0]", + "xunit.v3.common": "[3.2.2]" + } + }, + "xunit.v3.runner.inproc.console": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "ulWOdSvCk+bPXijJZ73bth9NyoOHsAs1ZOvamYbCkD4DNLX/Bd29Ve2ZNUwBbK0MqfIYWXHZViy/HKrdEC/izw==", + "dependencies": { + "xunit.v3.extensibility.core": "[3.2.2]", + "xunit.v3.runner.common": "[3.2.2]" + } + }, + "waehlhilfe.domain": { + "type": "Project" + } + } + } +} \ No newline at end of file diff --git a/tests/Waehlhilfe.Modem.Tests/Waehlhilfe.Modem.Tests.csproj b/tests/Waehlhilfe.Modem.Tests/Waehlhilfe.Modem.Tests.csproj new file mode 100644 index 0000000..499077e --- /dev/null +++ b/tests/Waehlhilfe.Modem.Tests/Waehlhilfe.Modem.Tests.csproj @@ -0,0 +1,24 @@ + + + + false + true + + + + + + + + + + + + + + + + + + + diff --git a/tests/Waehlhilfe.Modem.Tests/packages.lock.json b/tests/Waehlhilfe.Modem.Tests/packages.lock.json new file mode 100644 index 0000000..cd91811 --- /dev/null +++ b/tests/Waehlhilfe.Modem.Tests/packages.lock.json @@ -0,0 +1,310 @@ +{ + "version": 2, + "dependencies": { + "net10.0": { + "coverlet.collector": { + "type": "Direct", + "requested": "[10.0.1, )", + "resolved": "10.0.1", + "contentHash": "27jXSV/0DbVqF5jDrAxuQFZ9oaz6gmG03p8ttxAFk+X0M4woFYj7MoWDLCna5EGLb0CE6OE7X6ZH3Wt5smTtaA==" + }, + "Microsoft.Extensions.TimeProvider.Testing": { + "type": "Direct", + "requested": "[10.11.0, )", + "resolved": "10.11.0", + "contentHash": "DTivKZ2Du0dJideTTa6vPj/eXKNRu+RxtjBX7NOOUXHBtHx1ehbE+lM+j3/5M3wU6BqzcZqEEyR4+FnPKs2rTA==" + }, + "Microsoft.NET.Test.Sdk": { + "type": "Direct", + "requested": "[18.9.0, )", + "resolved": "18.9.0", + "contentHash": "xIzVXa/VpKXqDWzyC/5Hw8JbFY5u9k3Jc53CpcjBiOXvkQGio484LD9FNwOiGUSMDcYL3Rcw9sNgGi5WrswlPQ==", + "dependencies": { + "Microsoft.CodeCoverage": "18.9.0", + "Microsoft.TestPlatform.TestHost": "18.9.0" + } + }, + "StyleCop.Analyzers": { + "type": "Direct", + "requested": "[1.2.0-beta.556, )", + "resolved": "1.2.0-beta.556", + "contentHash": "llRPgmA1fhC0I0QyFLEcjvtM2239QzKr/tcnbsjArLMJxJlu0AA5G7Fft0OI30pHF3MW63Gf4aSSsjc5m82J1Q==", + "dependencies": { + "StyleCop.Analyzers.Unstable": "1.2.0.556" + } + }, + "xunit.runner.visualstudio": { + "type": "Direct", + "requested": "[3.1.5, )", + "resolved": "3.1.5", + "contentHash": "tKi7dSTwP4m5m9eXPM2Ime4Kn7xNf4x4zT9sdLO/G4hZVnQCRiMTWoSZqI/pYTVeI27oPPqHBKYI/DjJ9GsYgA==" + }, + "xunit.v3": { + "type": "Direct", + "requested": "[3.2.2, )", + "resolved": "3.2.2", + "contentHash": "L+4/4y0Uqcg8/d6hfnxhnwh4j9FaeULvefTwrk30rr1o4n/vdPfyUQ8k0yzH8VJx7bmFEkDdcRfbtbjEHlaYcA==", + "dependencies": { + "xunit.v3.mtp-v1": "[3.2.2]" + } + }, + "Microsoft.ApplicationInsights": { + "type": "Transitive", + "resolved": "2.23.0", + "contentHash": "nWArUZTdU7iqZLycLKWe0TDms48KKGE6pONH2terYNa8REXiqixrMOkf1sk5DHGMaUTqONU2YkS4SAXBhLStgw==" + }, + "Microsoft.Bcl.AsyncInterfaces": { + "type": "Transitive", + "resolved": "6.0.0", + "contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg==" + }, + "Microsoft.CodeCoverage": { + "type": "Transitive", + "resolved": "18.9.0", + "contentHash": "MtegCIKGuG0r/LCdIjoR1HgzCGIUBhR3aNdbtQpts5vMXQuqBDZ2Jsd2uFKoHFM2XrQV6ZrDf3F5oLi3SLTp8w==" + }, + "Microsoft.Testing.Extensions.Telemetry": { + "type": "Transitive", + "resolved": "1.9.1", + "contentHash": "No5AudZMmSb+uNXjlgL2y3/stHD2IT4uxqc5yHwkE+/nNux9jbKcaJMvcp9SwgP4DVD8L9/P3OUz8mmmcvEIdQ==", + "dependencies": { + "Microsoft.ApplicationInsights": "2.23.0", + "Microsoft.Testing.Platform": "1.9.1" + } + }, + "Microsoft.Testing.Extensions.TrxReport.Abstractions": { + "type": "Transitive", + "resolved": "1.9.1", + "contentHash": "AL46Xe1WBi85Ntd4mNPvat5ZSsZ2uejiVqoKCypr8J3wK0elA5xJ3AN4G/Q4GIwzUFnggZoH/DBjnr9J18IO/g==", + "dependencies": { + "Microsoft.Testing.Platform": "1.9.1" + } + }, + "Microsoft.Testing.Platform": { + "type": "Transitive", + "resolved": "1.9.1", + "contentHash": "QafNtNSmEI0zazdebnsIkDKmFtTSpmx/5PLOjURWwozcPb3tvRxzosQSL8xwYNM1iPhhKiBksXZyRSE2COisrA==" + }, + "Microsoft.Testing.Platform.MSBuild": { + "type": "Transitive", + "resolved": "1.9.1", + "contentHash": "oTUtyR4X/s9ytuiNA29FGsNCCH0rNmY5Wdm14NCKLjTM1cT9edVSlA+rGS/mVmusPqcP0l/x9qOnMXg16v87RQ==", + "dependencies": { + "Microsoft.Testing.Platform": "1.9.1" + } + }, + "Microsoft.TestPlatform.ObjectModel": { + "type": "Transitive", + "resolved": "18.9.0", + "contentHash": "Fz/qXC52VXXopzHj7v2reCKcCqSxkTDCkEDfkNAH0vni/7qK/KLMiEYtRmnUanxO2F2g2zZZ60qCpxF0AF7URA==" + }, + "Microsoft.TestPlatform.TestHost": { + "type": "Transitive", + "resolved": "18.9.0", + "contentHash": "Oq+Pma/J86aZL72t71bcESvDszDsTjUfl6PIsuDdPoKTHZfNMhKamCfLD5fKx51W/u0KozXtJo2/3fnt0sgPxg==", + "dependencies": { + "Microsoft.TestPlatform.ObjectModel": "18.9.0" + } + }, + "Microsoft.Win32.Registry": { + "type": "Transitive", + "resolved": "5.0.0", + "contentHash": "dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==" + }, + "runtime.android-arm.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "gLv34pCoVW0YGWV0IES5GTHp2pva7hWXfSiKAsdtCmK2RE31IAOsPrES9+QS2ZgwXm3WxL0QjepUyrzCtgsQOw==" + }, + "runtime.android-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "76bkqy+AuJgE8KESzFUQPW3CpildWVXf07IGDZze5NZNCCZV2kz1fUMkWn/tRxXs6tm7sErq2bcrjfydpErXPA==" + }, + "runtime.android-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "qcGm46NBd0RAClo/crhqgRFzrNYV9TUSrAz35zJxTkNMCaqN5Wwm4BwcHecQe0AoXaN7G/twkEcxXPLQEpf/zw==" + }, + "runtime.android-x86.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "eLPDMeoCGDqAs3yuUAGO5bEnsuaY++gxyEHnxXaXW4tluUoPLijXQMlx2iHbjf8qN9a2buSmkQ7TNEinrb9uSA==" + }, + "runtime.linux-arm.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "C+0+w+lgBDKdsqrPQ9MD5xvRuoieJJq0jfc0LlAssg8fHj7dilNySdc0s8deRMrTUBvpIHZlCXhfz7R4XWnHOQ==" + }, + "runtime.linux-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "Lb5f7Qwi0U55Pz0t5j9MgwG5E7SWOcKRJjAB+Q09RTrSQ86o0QAVJCQRdqMsCB3IIbEVV4U2UHhn0vzwfjXFPA==" + }, + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "KitV8FoIw5R1MA1++RdLZ8kLqbLV0bPhZv86MkyvLWI/7DaD6sZ2I9+8Tb6PAaix6+Rmio7UZQTKpg1K/yextQ==" + }, + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "VMzjkxsSTRgoO9PbB7fKGn7ic+W6ZIHLyNwDKK+SykBLLyEJ8nj/m/sVfxb3TSCY5J9VO8iX4oWUpZ9DbNhABg==" + }, + "runtime.linux-musl-arm.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "f5hwBxC3v57d8nTxtiwjZiT6Ji+DkXtgKCBP4o5RTxiz+l+nsYELKJnPGM0vvRI63YKohGo3k0C9l1qYW6Xc/g==" + }, + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "bHr0QgQ+QUwqkMbj2Sg+/8zefCcRHke/GYug9OaEyjT7PUq0vBuruUkTepu5vHyTL+Hfw18rVCocEhmMm+nZzg==" + }, + "runtime.linux-musl-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "gb+SbdESVUpRmDxmtNU5hCQzBZ12wP7XVbTzqpSi2z0+Zms9J+shz1aL4/FTv+/3lOGcMmqQxfFBijS7rAMtYA==" + }, + "runtime.linux-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "yKoFxb8LQDBuAFyxNggJ9uhVuEDoInRpgAUV4zWo+WEfvjbDvV5r15fyaRqjWDcKo9uKnmGzECYcQBTpB6hTRw==" + }, + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "xxJRQVP1RAeDGe8eQRyceb0mc+T6cdFPK0XlRrH4QyCHDP2lBnmmlpNvf4bQva9CbsCIYCgFOvfb91NWbCNMEg==" + }, + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "tmklOnnC1GVqZyqjVv20JLuH8OW0vGQl/V2mnGbZKTVHBsmxFYC/Lf+gMD1fzfL6Xi6Mm7QsxumbvfLT9hvd1w==" + }, + "runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "VAUplmK3hS1jq/WxB7ZHsb6ij+6C9CrkxL9jjbq74k++5pYGGkLkuK3h72y3FO8FrcdkBbJGBiHK4oFsepdH/w==", + "dependencies": { + "runtime.android-arm.runtime.native.System.IO.Ports": "10.0.14", + "runtime.android-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.android-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.android-x86.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-arm.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-bionic-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-bionic-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-musl-arm.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-musl-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-musl-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.linux-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.maccatalyst-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.maccatalyst-x64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.osx-arm64.runtime.native.System.IO.Ports": "10.0.14", + "runtime.osx-x64.runtime.native.System.IO.Ports": "10.0.14" + } + }, + "runtime.osx-arm64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "smqBl+Pt3WMZYkhCokYCS4UgexGe08afgLzleTBCG6cyKMfVhQSieJf836PT51ULZMLluXzI6SGdPamxxH0lZw==" + }, + "runtime.osx-x64.runtime.native.System.IO.Ports": { + "type": "Transitive", + "resolved": "10.0.14", + "contentHash": "g8byPDtP2LDNkHcnyuhrJpS16Y09jppi71t7vD2t5B3Hqcz0YrZJMLBDWN9AsJVW50yZ54iM70YSPOC6+3X0IA==" + }, + "StyleCop.Analyzers.Unstable": { + "type": "Transitive", + "resolved": "1.2.0.556", + "contentHash": "zvn9Mqs/ox/83cpYPignI8hJEM2A93s2HkHs8HYMOAQW0PkampyoErAiIyKxgTLqbbad29HX/shv/6LGSjPJNQ==" + }, + "xunit.analyzers": { + "type": "Transitive", + "resolved": "1.27.0", + "contentHash": "y/pxIQaLvk/kxAoDkZW9GnHLCEqzwl5TW0vtX3pweyQpjizB9y3DXhb9pkw2dGeUqhLjsxvvJM1k89JowU6z3g==" + }, + "xunit.v3.assert": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "BPciBghgEEaJN/JG00QfCYDfEfnLgQhfnYEy+j1izoeHVNYd5+3Wm8GJ6JgYysOhpBPYGE+sbf75JtrRc7jrdA==" + }, + "xunit.v3.common": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "Hj775PEH6GTbbg0wfKRvG2hNspDCvTH9irXhH4qIWgdrOSV1sQlqPie+DOvFeigsFg2fxSM3ZAaaCDQs+KreFA==", + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "6.0.0" + } + }, + "xunit.v3.core.mtp-v1": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "Ga5aA2Ca9ktz+5k3g5ukzwfexwoqwDUpV6z7atSEUvqtd6JuybU1XopHqg1oFd78QdTfZgZE9h5sHpO4qYIi5w==", + "dependencies": { + "Microsoft.Testing.Extensions.Telemetry": "1.9.1", + "Microsoft.Testing.Extensions.TrxReport.Abstractions": "1.9.1", + "Microsoft.Testing.Platform": "1.9.1", + "Microsoft.Testing.Platform.MSBuild": "1.9.1", + "xunit.v3.extensibility.core": "[3.2.2]", + "xunit.v3.runner.inproc.console": "[3.2.2]" + } + }, + "xunit.v3.extensibility.core": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "srY8z/oMPvh/t8axtO2DwrHajhFMH7tnqKildvYrVQIfICi8fOn3yIBWkVPAcrKmHMwvXRJ/XsQM3VMR6DOYfQ==", + "dependencies": { + "xunit.v3.common": "[3.2.2]" + } + }, + "xunit.v3.mtp-v1": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "O41aAzYKBT5PWqATa1oEWVNCyEUypFQ4va6K0kz37dduV3EKzXNMaV2UnEhufzU4Cce1I33gg0oldS8tGL5I0A==", + "dependencies": { + "xunit.analyzers": "1.27.0", + "xunit.v3.assert": "[3.2.2]", + "xunit.v3.core.mtp-v1": "[3.2.2]" + } + }, + "xunit.v3.runner.common": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "/hkHkQCzGrugelOAehprm7RIWdsUFVmIVaD6jDH/8DNGCymTlKKPTbGokD5czbAfqfex47mBP0sb0zbHYwrO/g==", + "dependencies": { + "Microsoft.Win32.Registry": "[5.0.0]", + "xunit.v3.common": "[3.2.2]" + } + }, + "xunit.v3.runner.inproc.console": { + "type": "Transitive", + "resolved": "3.2.2", + "contentHash": "ulWOdSvCk+bPXijJZ73bth9NyoOHsAs1ZOvamYbCkD4DNLX/Bd29Ve2ZNUwBbK0MqfIYWXHZViy/HKrdEC/izw==", + "dependencies": { + "xunit.v3.extensibility.core": "[3.2.2]", + "xunit.v3.runner.common": "[3.2.2]" + } + }, + "waehlhilfe.domain": { + "type": "Project" + }, + "waehlhilfe.modem": { + "type": "Project", + "dependencies": { + "System.IO.Ports": "[10.0.14, )", + "Waehlhilfe.Domain": "[1.0.0, )" + } + }, + "System.IO.Ports": { + "type": "CentralTransitive", + "requested": "[10.0.14, )", + "resolved": "10.0.14", + "contentHash": "70Jq6HRBQT0iMM/D8hVTo8nYLnDFf7xluPPn2S+brVRc8uExUUYh3lGO4nzsK2nc4nIVH3pVIphI0Jm8zZZ4jQ==", + "dependencies": { + "runtime.native.System.IO.Ports": "10.0.14" + } + } + } + } +} \ No newline at end of file