From 2f18578250fc8b3a2093b274286d515f8c823c96 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 13 Sep 2026 01:03:22 +0000 Subject: [PATCH 1/8] Expand markdown setup and test run guidance Co-authored-by: XRDOGE-XRPL <166251416+XRDOGE-XRPL@users.noreply.github.com> --- CHANGELOG.md | 5 ++++ Projectvorstellungs.md | 28 +++++++++++++++++++++ README.md | 50 ++++++++++++++++++++++++++++++++++++++ app/README.md | 30 +++++++++++++++++++++++ app/src/main/cpp/README.md | 25 +++++++++++++++++++ docs/RELEASE_CHECKLIST.md | 11 +++++++++ 6 files changed, 149 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee1616b..537aaec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,3 +31,8 @@ Alle relevanten Änderungen dieses Projekts werden in dieser Datei dokumentiert. - Compose-UI nutzt stärkere asynchrone Sperrlogik via Mutex für Command-Dispatch und aktualisiert Laufzeitmetriken automatisch bei aktiver Verbindung. - Compose-UI enthält nun einen dynamischen Server-Browser mit Profilverwaltung, Direkt-Connect/Ping-Aktionen und Server-spezifischer Metrikverfolgung. - CI-Workflow nutzt nun explizites Gradle-Warmup und Retry-Strategien für Plugin-/Dependency-Auflösung, um transiente Auflösungsfehler robuster abzufangen. + +### Documentation + +- Alle Markdown-Dokumente wurden um vollständige Setup-Voraussetzungen und eine konkrete `run test`-Durchführung erweitert. +- Einheitliche Befehle für Gradle-Warmup, JVM-Tests, native CMake/CTest-Läufe und abschließendes `./gradlew --no-daemon check build --stacktrace` wurden dokumentiert. diff --git a/Projectvorstellungs.md b/Projectvorstellungs.md index b382a6f..8d2d3fa 100644 --- a/Projectvorstellungs.md +++ b/Projectvorstellungs.md @@ -56,3 +56,31 @@ Das Repository ist bereits so strukturiert, dass UI, Bridge und Native-Layer una - Entwickler, die Kotlin- und C++-Interop evaluieren möchten - Teams, die einen kontrollierten Multiplayer-nahen Clientzustand visualisieren wollen - Mitwirkende, die ein klar dokumentiertes Compose/NDK-Beispiel suchen + +## Vollständiges Setup und Durchführung `run test` + +### Setup + +1. Repository lokal öffnen: `/home/runner/work/AndroidSA/AndroidSA` +2. Gradle Wrapper freischalten: + + ```bash + chmod +x ./gradlew + ``` + +3. Notwendige Toolchain: + - JDK 17 + - Android SDK 34 + - Android NDK `27.3.13750724` + - CMake 3.22.1+ + +### Testdurchführung + +```bash +./gradlew --no-daemon help :app:testDebugUnitTest :app:assemble --stacktrace --refresh-dependencies +./gradlew --no-daemon :app:testDebugUnitTest --stacktrace +cmake -S app/src/main/cpp -B /tmp/androidsa-native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON +cmake --build /tmp/androidsa-native-tests --target client_state_test +ctest --test-dir /tmp/androidsa-native-tests --output-on-failure +./gradlew --no-daemon check build --stacktrace +``` diff --git a/README.md b/README.md index f1c56d0..704a88c 100644 --- a/README.md +++ b/README.md @@ -263,6 +263,56 @@ Die Pipeline führt aus: - **Command wird abgelehnt:** Syntax, Maximallänge, verbotene Zeichen und Wertebereich prüfen - **Keine Paketereignisse sichtbar:** Connect- oder Simulations-Commands erneut auslösen, damit neue UDP-Probes erzeugt werden +## Vollständiges Setup und Durchführung der Testläufe + +### Setup-Schritte + +1. Repository klonen und in das Projektverzeichnis wechseln. +2. Gradle Wrapper ausführbar machen: + + ```bash + chmod +x ./gradlew + ``` + +3. Android-Toolchain bereitstellen: + - JDK 17 + - Android SDK 34 + - NDK `27.3.13750724` + - CMake 3.22.1+ +4. Optional in eingeschränkten Netzumgebungen den lokalen Google-Maven-Proxy starten: + + ```bash + python3 tools/google_maven_proxy.py --port 38473 + ``` + +### Durchführung `run test` + +1. Dependency-/Plugin-Auflösung vorwärmen: + + ```bash + ./gradlew --no-daemon help :app:testDebugUnitTest :app:assemble --stacktrace --refresh-dependencies + ``` + +2. JVM-Unit-Tests ausführen: + + ```bash + ./gradlew --no-daemon :app:testDebugUnitTest --stacktrace + ``` + +3. Native Host-Tests ausführen: + + ```bash + cmake -S app/src/main/cpp -B /tmp/androidsa-native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON + cmake --build /tmp/androidsa-native-tests --target client_state_test + ctest --test-dir /tmp/androidsa-native-tests --output-on-failure + ``` + +4. Vollständige Projektvalidierung abschließen: + + ```bash + ./gradlew --no-daemon check build --stacktrace + ``` + ## Lizenz Proprietary (XRDOGE-XRPL) diff --git a/app/README.md b/app/README.md index aeb1f88..523f4d6 100644 --- a/app/README.md +++ b/app/README.md @@ -100,3 +100,33 @@ Diese Regeln werden im nativen Layer erneut abgesichert. - Änderungen an Summary-Feldern müssen mit dem nativen Format synchron bleiben - UI-Texte sollten zum tatsächlichen Laufzeitverhalten der nativen Commands passen - Race-Conditions besonders bei Busy-State, Auto-Refresh und manuellem Dispatch beachten + +## Vollständiges Setup und Durchführung `run test` + +### Setup im App-Modul + +1. In das Repository-Root wechseln (`/home/runner/work/AndroidSA/AndroidSA`). +2. Gradle Wrapper aktivieren: + + ```bash + chmod +x ./gradlew + ``` + +3. Lokale Toolchain sicherstellen: + - JDK 17 + - Android SDK 34 + - NDK `27.3.13750724` + - CMake 3.22.1+ +4. Bei blockiertem Google Maven optional: + + ```bash + python3 tools/google_maven_proxy.py --port 38473 + ``` + +### Durchführung Testlauf + +```bash +./gradlew --no-daemon help :app:testDebugUnitTest :app:assemble --stacktrace --refresh-dependencies +./gradlew --no-daemon :app:testDebugUnitTest --stacktrace +./gradlew --no-daemon :app:check :app:build --stacktrace +``` diff --git a/app/src/main/cpp/README.md b/app/src/main/cpp/README.md index 09d2330..6909a0d 100644 --- a/app/src/main/cpp/README.md +++ b/app/src/main/cpp/README.md @@ -127,3 +127,28 @@ ctest --test-dir /tmp/androidsa-native-tests --output-on-failure - Änderungen an UDP-Probing oder Summary-Feldern mit Host-Test und JVM-Tests absichern - Event-Texte bewusst wählen, da sie direkt in der Android-Oberfläche erscheinen - Fehlerdiagnosen so formulieren, dass die Bridge sie konsistent als Fehlerzustand interpretieren kann + +## Vollständiges Setup und Durchführung `run test` + +### Setup für den nativen Layer + +1. Im Repository-Root arbeiten (`/home/runner/work/AndroidSA/AndroidSA`). +2. Voraussetzungen sicherstellen: + - JDK 17 (für Gradle/JVM-Tests) + - CMake 3.22.1+ + - Android NDK `27.3.13750724` +3. Optional Gradle-Wrapper ausführbar machen: + + ```bash + chmod +x ./gradlew + ``` + +### Durchführung Testlauf + +```bash +cmake -S app/src/main/cpp -B /tmp/androidsa-native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON +cmake --build /tmp/androidsa-native-tests --target client_state_test +ctest --test-dir /tmp/androidsa-native-tests --output-on-failure +./gradlew --no-daemon :app:testDebugUnitTest --stacktrace +./gradlew --no-daemon check build --stacktrace +``` diff --git a/docs/RELEASE_CHECKLIST.md b/docs/RELEASE_CHECKLIST.md index a22ff11..288b849 100644 --- a/docs/RELEASE_CHECKLIST.md +++ b/docs/RELEASE_CHECKLIST.md @@ -1,5 +1,16 @@ # Release Checklist +## 0) Vollständiges Setup und Durchführung `run test` + +- [ ] Arbeitsverzeichnis ist `/home/runner/work/AndroidSA/AndroidSA` +- [ ] Gradle Wrapper ist ausführbar (`chmod +x ./gradlew`) +- [ ] Toolchain ist installiert (JDK 17, Android SDK 34, NDK `27.3.13750724`, CMake 3.22.1+) +- [ ] Optionaler Google-Maven-Proxy bei blockierten Netzwerken gestartet (`python3 tools/google_maven_proxy.py --port 38473`) +- [ ] Gradle-Warmup erfolgreich (`./gradlew --no-daemon help :app:testDebugUnitTest :app:assemble --stacktrace --refresh-dependencies`) +- [ ] JVM-Tests erfolgreich (`./gradlew --no-daemon :app:testDebugUnitTest --stacktrace`) +- [ ] Native Host-Tests erfolgreich (`cmake -S app/src/main/cpp -B /tmp/androidsa-native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON && cmake --build /tmp/androidsa-native-tests --target client_state_test && ctest --test-dir /tmp/androidsa-native-tests --output-on-failure`) +- [ ] Vollständige Validierung erfolgreich (`./gradlew --no-daemon check build --stacktrace`) + ## 1) Inhalt und Dokumentation - [ ] `CHANGELOG.md` unter `Unreleased` vollständig aktualisiert From 87a903a8674f772740a83ca6f4ca425b3fead942 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 13 Sep 2026 01:07:07 +0000 Subject: [PATCH 2/8] Generalize repository root paths in markdown setup steps Co-authored-by: XRDOGE-XRPL <166251416+XRDOGE-XRPL@users.noreply.github.com> --- Projectvorstellungs.md | 2 +- app/README.md | 2 +- app/src/main/cpp/README.md | 2 +- docs/RELEASE_CHECKLIST.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Projectvorstellungs.md b/Projectvorstellungs.md index 8d2d3fa..0eb105c 100644 --- a/Projectvorstellungs.md +++ b/Projectvorstellungs.md @@ -61,7 +61,7 @@ Das Repository ist bereits so strukturiert, dass UI, Bridge und Native-Layer una ### Setup -1. Repository lokal öffnen: `/home/runner/work/AndroidSA/AndroidSA` +1. Repository lokal öffnen und in das Repository-Root wechseln. 2. Gradle Wrapper freischalten: ```bash diff --git a/app/README.md b/app/README.md index 523f4d6..954b547 100644 --- a/app/README.md +++ b/app/README.md @@ -105,7 +105,7 @@ Diese Regeln werden im nativen Layer erneut abgesichert. ### Setup im App-Modul -1. In das Repository-Root wechseln (`/home/runner/work/AndroidSA/AndroidSA`). +1. In das Repository-Root wechseln. 2. Gradle Wrapper aktivieren: ```bash diff --git a/app/src/main/cpp/README.md b/app/src/main/cpp/README.md index 6909a0d..50200cc 100644 --- a/app/src/main/cpp/README.md +++ b/app/src/main/cpp/README.md @@ -132,7 +132,7 @@ ctest --test-dir /tmp/androidsa-native-tests --output-on-failure ### Setup für den nativen Layer -1. Im Repository-Root arbeiten (`/home/runner/work/AndroidSA/AndroidSA`). +1. Im Repository-Root arbeiten. 2. Voraussetzungen sicherstellen: - JDK 17 (für Gradle/JVM-Tests) - CMake 3.22.1+ diff --git a/docs/RELEASE_CHECKLIST.md b/docs/RELEASE_CHECKLIST.md index 288b849..3187e3f 100644 --- a/docs/RELEASE_CHECKLIST.md +++ b/docs/RELEASE_CHECKLIST.md @@ -2,7 +2,7 @@ ## 0) Vollständiges Setup und Durchführung `run test` -- [ ] Arbeitsverzeichnis ist `/home/runner/work/AndroidSA/AndroidSA` +- [ ] Befehle werden im Repository-Root ausgeführt - [ ] Gradle Wrapper ist ausführbar (`chmod +x ./gradlew`) - [ ] Toolchain ist installiert (JDK 17, Android SDK 34, NDK `27.3.13750724`, CMake 3.22.1+) - [ ] Optionaler Google-Maven-Proxy bei blockierten Netzwerken gestartet (`python3 tools/google_maven_proxy.py --port 38473`) From bcd0f93f5a12e13483ecc44711094384e83fdd52 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 13 Sep 2026 01:08:23 +0000 Subject: [PATCH 3/8] Make markdown test setup paths portable and align native prerequisites Co-authored-by: XRDOGE-XRPL <166251416+XRDOGE-XRPL@users.noreply.github.com> --- Projectvorstellungs.md | 6 +++--- README.md | 14 +++++++------- app/src/main/cpp/README.md | 13 +++++++------ docs/RELEASE_CHECKLIST.md | 2 +- 4 files changed, 18 insertions(+), 17 deletions(-) diff --git a/Projectvorstellungs.md b/Projectvorstellungs.md index 0eb105c..3991f3b 100644 --- a/Projectvorstellungs.md +++ b/Projectvorstellungs.md @@ -79,8 +79,8 @@ Das Repository ist bereits so strukturiert, dass UI, Bridge und Native-Layer una ```bash ./gradlew --no-daemon help :app:testDebugUnitTest :app:assemble --stacktrace --refresh-dependencies ./gradlew --no-daemon :app:testDebugUnitTest --stacktrace -cmake -S app/src/main/cpp -B /tmp/androidsa-native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON -cmake --build /tmp/androidsa-native-tests --target client_state_test -ctest --test-dir /tmp/androidsa-native-tests --output-on-failure +cmake -S app/src/main/cpp -B build/native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON +cmake --build build/native-tests --target client_state_test +ctest --test-dir build/native-tests --output-on-failure ./gradlew --no-daemon check build --stacktrace ``` diff --git a/README.md b/README.md index 704a88c..4c527e1 100644 --- a/README.md +++ b/README.md @@ -207,9 +207,9 @@ chmod +x ./gradlew Zusätzlich für native Host-Tests: ```bash -cmake -S app/src/main/cpp -B /tmp/androidsa-native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON -cmake --build /tmp/androidsa-native-tests --target client_state_test -ctest --test-dir /tmp/androidsa-native-tests --output-on-failure +cmake -S app/src/main/cpp -B build/native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON +cmake --build build/native-tests --target client_state_test +ctest --test-dir build/native-tests --output-on-failure ``` ### Lokaler Google-Maven-Fallback für blockierte Umgebungen @@ -259,7 +259,7 @@ Die Pipeline führt aus: - **JNI-Library lädt nicht:** sicherstellen, dass `androidsa` erfolgreich gebaut wurde - **Gradle-Abhängigkeiten schlagen fehl:** Google Maven und Maven Central Erreichbarkeit prüfen; in blockierten Agent-Umgebungen den lokalen Mirror via `tools/google_maven_proxy.py` und `ANDROIDSA_GOOGLE_MAVEN_URL=http://127.0.0.1:38473/` verwenden -- **Native Tests schlagen fehl:** Build-Verzeichnis unter `/tmp/androidsa-native-tests` neu erzeugen +- **Native Tests schlagen fehl:** Build-Verzeichnis unter `build/native-tests` neu erzeugen - **Command wird abgelehnt:** Syntax, Maximallänge, verbotene Zeichen und Wertebereich prüfen - **Keine Paketereignisse sichtbar:** Connect- oder Simulations-Commands erneut auslösen, damit neue UDP-Probes erzeugt werden @@ -302,9 +302,9 @@ Die Pipeline führt aus: 3. Native Host-Tests ausführen: ```bash - cmake -S app/src/main/cpp -B /tmp/androidsa-native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON - cmake --build /tmp/androidsa-native-tests --target client_state_test - ctest --test-dir /tmp/androidsa-native-tests --output-on-failure + cmake -S app/src/main/cpp -B build/native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON + cmake --build build/native-tests --target client_state_test + ctest --test-dir build/native-tests --output-on-failure ``` 4. Vollständige Projektvalidierung abschließen: diff --git a/app/src/main/cpp/README.md b/app/src/main/cpp/README.md index 50200cc..576e7ec 100644 --- a/app/src/main/cpp/README.md +++ b/app/src/main/cpp/README.md @@ -116,9 +116,9 @@ Das Logging wird nach erfolgreichen Dispatches mit der aktuellen Diagnostics-Mel ### Direkter Host-Testlauf ```bash -cmake -S app/src/main/cpp -B /tmp/androidsa-native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON -cmake --build /tmp/androidsa-native-tests --target client_state_test -ctest --test-dir /tmp/androidsa-native-tests --output-on-failure +cmake -S app/src/main/cpp -B build/native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON +cmake --build build/native-tests --target client_state_test +ctest --test-dir build/native-tests --output-on-failure ``` ## Änderungsrichtlinien @@ -135,6 +135,7 @@ ctest --test-dir /tmp/androidsa-native-tests --output-on-failure 1. Im Repository-Root arbeiten. 2. Voraussetzungen sicherstellen: - JDK 17 (für Gradle/JVM-Tests) + - Android SDK 34 (für Gradle-Validierung) - CMake 3.22.1+ - Android NDK `27.3.13750724` 3. Optional Gradle-Wrapper ausführbar machen: @@ -146,9 +147,9 @@ ctest --test-dir /tmp/androidsa-native-tests --output-on-failure ### Durchführung Testlauf ```bash -cmake -S app/src/main/cpp -B /tmp/androidsa-native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON -cmake --build /tmp/androidsa-native-tests --target client_state_test -ctest --test-dir /tmp/androidsa-native-tests --output-on-failure +cmake -S app/src/main/cpp -B build/native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON +cmake --build build/native-tests --target client_state_test +ctest --test-dir build/native-tests --output-on-failure ./gradlew --no-daemon :app:testDebugUnitTest --stacktrace ./gradlew --no-daemon check build --stacktrace ``` diff --git a/docs/RELEASE_CHECKLIST.md b/docs/RELEASE_CHECKLIST.md index 3187e3f..99eb09f 100644 --- a/docs/RELEASE_CHECKLIST.md +++ b/docs/RELEASE_CHECKLIST.md @@ -8,7 +8,7 @@ - [ ] Optionaler Google-Maven-Proxy bei blockierten Netzwerken gestartet (`python3 tools/google_maven_proxy.py --port 38473`) - [ ] Gradle-Warmup erfolgreich (`./gradlew --no-daemon help :app:testDebugUnitTest :app:assemble --stacktrace --refresh-dependencies`) - [ ] JVM-Tests erfolgreich (`./gradlew --no-daemon :app:testDebugUnitTest --stacktrace`) -- [ ] Native Host-Tests erfolgreich (`cmake -S app/src/main/cpp -B /tmp/androidsa-native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON && cmake --build /tmp/androidsa-native-tests --target client_state_test && ctest --test-dir /tmp/androidsa-native-tests --output-on-failure`) +- [ ] Native Host-Tests erfolgreich (`cmake -S app/src/main/cpp -B build/native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON && cmake --build build/native-tests --target client_state_test && ctest --test-dir build/native-tests --output-on-failure`) - [ ] Vollständige Validierung erfolgreich (`./gradlew --no-daemon check build --stacktrace`) ## 1) Inhalt und Dokumentation From 9bc7e0b154a9be829221a75f82790deff861047f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 13 Sep 2026 01:08:44 +0000 Subject: [PATCH 4/8] Keep native README focused on native test execution Co-authored-by: XRDOGE-XRPL <166251416+XRDOGE-XRPL@users.noreply.github.com> --- app/src/main/cpp/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/cpp/README.md b/app/src/main/cpp/README.md index 576e7ec..8106111 100644 --- a/app/src/main/cpp/README.md +++ b/app/src/main/cpp/README.md @@ -150,6 +150,6 @@ ctest --test-dir build/native-tests --output-on-failure cmake -S app/src/main/cpp -B build/native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON cmake --build build/native-tests --target client_state_test ctest --test-dir build/native-tests --output-on-failure -./gradlew --no-daemon :app:testDebugUnitTest --stacktrace -./gradlew --no-daemon check build --stacktrace ``` + +Für den vollständigen app-/projektweiten Gradle-Testlauf siehe die zentrale Anleitung in `/README.md`. From e0f6d4196680768952950a46cd9ba8383ab3df6d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 13 Sep 2026 01:09:13 +0000 Subject: [PATCH 5/8] Clarify app-scoped test flow and reference root validation Co-authored-by: XRDOGE-XRPL <166251416+XRDOGE-XRPL@users.noreply.github.com> --- app/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/README.md b/app/README.md index 954b547..e02f934 100644 --- a/app/README.md +++ b/app/README.md @@ -123,10 +123,12 @@ Diese Regeln werden im nativen Layer erneut abgesichert. python3 tools/google_maven_proxy.py --port 38473 ``` -### Durchführung Testlauf +### Durchführung Testlauf (App-Modul) ```bash ./gradlew --no-daemon help :app:testDebugUnitTest :app:assemble --stacktrace --refresh-dependencies ./gradlew --no-daemon :app:testDebugUnitTest --stacktrace ./gradlew --no-daemon :app:check :app:build --stacktrace ``` + +Für den vollständigen projektweiten `run test` (inkl. Root-`check build`) siehe `/README.md`. From 3e7ec8a6db5507ef2e3288bc1b0d83be9f036eaa Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 13 Sep 2026 01:09:54 +0000 Subject: [PATCH 6/8] Reference root test guide from project overview markdown Co-authored-by: XRDOGE-XRPL <166251416+XRDOGE-XRPL@users.noreply.github.com> --- Projectvorstellungs.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Projectvorstellungs.md b/Projectvorstellungs.md index 3991f3b..f27ddac 100644 --- a/Projectvorstellungs.md +++ b/Projectvorstellungs.md @@ -76,11 +76,12 @@ Das Repository ist bereits so strukturiert, dass UI, Bridge und Native-Layer una ### Testdurchführung +Für den vollständigen projektweiten `run test` mit allen Schritten (Gradle-Warmup, JVM-Tests, native Host-Tests, abschließendes `check build`) siehe `/README.md`. + ```bash ./gradlew --no-daemon help :app:testDebugUnitTest :app:assemble --stacktrace --refresh-dependencies ./gradlew --no-daemon :app:testDebugUnitTest --stacktrace cmake -S app/src/main/cpp -B build/native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON cmake --build build/native-tests --target client_state_test ctest --test-dir build/native-tests --output-on-failure -./gradlew --no-daemon check build --stacktrace ``` From c8562ddf576ccfc22a6f957d7949b6e7c030b777 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 13 Sep 2026 01:10:14 +0000 Subject: [PATCH 7/8] Keep project overview test section as central README reference Co-authored-by: XRDOGE-XRPL <166251416+XRDOGE-XRPL@users.noreply.github.com> --- Projectvorstellungs.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Projectvorstellungs.md b/Projectvorstellungs.md index f27ddac..25d524c 100644 --- a/Projectvorstellungs.md +++ b/Projectvorstellungs.md @@ -77,11 +77,3 @@ Das Repository ist bereits so strukturiert, dass UI, Bridge und Native-Layer una ### Testdurchführung Für den vollständigen projektweiten `run test` mit allen Schritten (Gradle-Warmup, JVM-Tests, native Host-Tests, abschließendes `check build`) siehe `/README.md`. - -```bash -./gradlew --no-daemon help :app:testDebugUnitTest :app:assemble --stacktrace --refresh-dependencies -./gradlew --no-daemon :app:testDebugUnitTest --stacktrace -cmake -S app/src/main/cpp -B build/native-tests -DANDROIDSA_ENABLE_NATIVE_TESTS=ON -cmake --build build/native-tests --target client_state_test -ctest --test-dir build/native-tests --output-on-failure -``` From 182f82e45f440382b24b70334894d60a94fc2314 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 13 Sep 2026 01:10:42 +0000 Subject: [PATCH 8/8] Document that native test build directory is gitignored Co-authored-by: XRDOGE-XRPL <166251416+XRDOGE-XRPL@users.noreply.github.com> --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 4c527e1..10899bf 100644 --- a/README.md +++ b/README.md @@ -212,6 +212,8 @@ cmake --build build/native-tests --target client_state_test ctest --test-dir build/native-tests --output-on-failure ``` +`build/native-tests` liegt unter `build/` und ist per `.gitignore` vom Commit ausgeschlossen. + ### Lokaler Google-Maven-Fallback für blockierte Umgebungen Wenn `dl.google.com` lokal nicht aufgelöst oder durch die Laufzeitumgebung blockiert wird, kann ein lokaler Mirror-Proxy für Google-Maven-Artefakte gestartet werden: