test: unit tests for tools/gen_gdk_runtime_classes.py #340

Open
github-bot wants to merge 1 commit from github-bot/gh-340 into main AGit
Owner

@⁠kotekompotek on GitHub · 2026-11-24 03:30 UTC · original
kotekompotek:work/test-gen-gdk-runtime-classes → main · +115 −0 · 1 files · 1 commits · open

Claimed in the coordination issue as: TEST (#14)

What and why

  • Rebased onto current main.
  • Added unit tests for tools/gen_gdk_runtime_classes.py in tests/test_gen_gdk_runtime_classes.py.

Tested

  • python -m pytest tests/test_gen_gdk_runtime_classes.py passed after rebasing onto current main.

GPUs tested: n/a

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed.
**@⁠kotekompotek** on GitHub · 2026-11-24 03:30 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/340) `kotekompotek:work/test-gen-gdk-runtime-classes` → `main` · +115 −0 · 1 files · 1 commits · open Claimed in the coordination issue as: TEST (https://git.gtahub.st/github/ubiquitarianism--leonida/issues/14) ### What and why - Rebased onto current `main`. - Added unit tests for `tools/gen_gdk_runtime_classes.py` in `tests/test_gen_gdk_runtime_classes.py`. ### Tested - `python -m pytest tests/test_gen_gdk_runtime_classes.py` passed after rebasing onto current `main`. GPUs tested: n/a AI-assisted: yes ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 08:54:17 +00:00
Author
Owner

@⁠Oliwettoo on GitHub · 2026-11-24 10:26 UTC · original

The new tests pass on current main (python -I tests/test_gen_gdk_runtime_classes.py). Small nit: the tool prints 1 classes, 1 interfaces -> … into the test output; capturing stdout would keep CI logs clean. There is no claim for this in #14 and no ID in the title, which CONTRIBUTING asks for. AI-assisted review.

**@⁠Oliwettoo** on GitHub · 2026-11-24 10:26 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/340#issuecomment-7128782165) The new tests pass on current `main` (`python -I tests/test_gen_gdk_runtime_classes.py`). Small nit: the tool prints `1 classes, 1 interfaces -> …` into the test output; capturing stdout would keep CI logs clean. There is no claim for this in #14 and no ID in the title, which CONTRIBUTING asks for. AI-assisted review.
Author
Owner

@⁠QemmHD on GitHub · 2026-11-24 13:38 UTC · original

Tested on Windows 11 / RTX 4070 SUPER against main 2d73c242f: the new tests pass (30 passed), the repo-consistency set stays at 0 failures, and it merges cleanly, also stacked with this hour's batch. Security read of the diff: tests only, nothing else.

The one thing holding the merge is CONTRIBUTING: please post a claiming: <ID> in #14 and put the ID in the PR title (the same thing Oliwettoo asked for on #341/#351/#352). After that, it's ready to merge.

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠QemmHD** on GitHub · 2026-11-24 13:38 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/340#issuecomment-7133118700) Tested on Windows 11 / RTX 4070 SUPER against main 2d73c242f: the new tests pass (30 passed), the repo-consistency set stays at 0 failures, and it merges cleanly, also stacked with this hour's batch. Security read of the diff: tests only, nothing else. The one thing holding the merge is CONTRIBUTING: please post a `claiming: <ID>` in #14 and put the ID in the PR title (the same thing Oliwettoo asked for on #341/#351/#352). After that, it's ready to merge. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@⁠kotekompotek on GitHub · 2026-11-25 08:58 UTC · original

Rebased on current ubi/main (3f81d46ac), no conflicts. The added tests pass locally on this base (python -I).

AI-assisted: yes

**@⁠kotekompotek** on GitHub · 2026-11-25 08:58 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/340#issuecomment-7157700727) Rebased on current ubi/main (3f81d46ac), no conflicts. The added tests pass locally on this base (python -I). AI-assisted: yes
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/340/head:github-bot/gh-340'
git switch 'github-bot/gh-340'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-340'
git switch 'github-bot/gh-340'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-340'
git switch 'github-bot/gh-340'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-340'
git switch 'main'
git merge --squash 'github-bot/gh-340'
git switch 'main'
git merge --ff-only 'github-bot/gh-340'
git switch 'main'
git merge 'github-bot/gh-340'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.