Skip to content

validate district scripts against compiled Java API via JPype reflection - #28

Merged
adamkorynta merged 3 commits into
mainfrom
testing/test_compiled_java
Sep 11, 2026
Merged

validate district scripts against compiled Java API via JPype reflection#28
adamkorynta merged 3 commits into
mainfrom
testing/test_compiled_java

Conversation

@adamkorynta

Copy link
Copy Markdown
Member

Fixes #25

  • Reflect over the real compiled classes via JPype
  • Target the ScriptableInflow / ScriptableGateFlowCalc / ScriptableGateSettings interfaces
  • Validate call arity and best-effort argument-type categories (numeric/boolean/string) per overload
  • Add conftest.py to start the shared JVM
  • Wire smokeTestDistrictScripts (build.gradle) to depend on installPythonWheelForSmokeTest so JPype

@adamkorynta
adamkorynta force-pushed the testing/test_compiled_java branch from a675c00 to fe9f3bd Compare August 21, 2026 18:27
@adamkorynta
adamkorynta force-pushed the testing/test_compiled_java branch from fe9f3bd to 7e9b17d Compare September 11, 2026 16:08
Base automatically changed from feature/switch_to_instant to main September 11, 2026 16:08
Fixes #25
- Reflect over the real compiled classes via JPype
- Target the ScriptableInflow / ScriptableGateFlowCalc / ScriptableGateSettings interfaces
- Validate call arity and best-effort argument-type categories
  (numeric/boolean/string) per overload
- Add conftest.py to start the shared JVM
- Wire smokeTestDistrictScripts (build.gradle) to depend on
  installPythonWheelForSmokeTest so JPype
@adamkorynta
adamkorynta force-pushed the testing/test_compiled_java branch from 7e9b17d to 56d4238 Compare September 11, 2026 16:08
@adamkorynta
adamkorynta merged commit 51277a1 into main Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update test_district_scripts to test against compiled Java

2 participants